From db0abe89cfd3fb2a29423d9f7a6550204c13c616 Mon Sep 17 00:00:00 2001 From: Lean stage0 autoupdater <> Date: Wed, 5 Mar 2025 13:37:40 +0000 Subject: [PATCH] chore: update stage0 --- stage0/stdlib/Init/Data/SInt/Lemmas.c | 10 +- stage0/stdlib/Lean/Elab/Deriving/DecEq.c | 482 +- stage0/stdlib/Lean/Elab/MutualInductive.c | 779 +- .../Lean/Elab/PreDefinition/FixedParams.c | 23160 ++++++++++++++++ .../stdlib/Lean/Elab/PreDefinition/Mutual.c | 1899 -- .../Elab/PreDefinition/PartialFixpoint/Eqns.c | 30 +- .../PreDefinition/PartialFixpoint/Induction.c | 5751 ++-- .../Elab/PreDefinition/PartialFixpoint/Main.c | 6687 +++-- .../Elab/PreDefinition/Structural/BRecOn.c | 332 +- .../Lean/Elab/PreDefinition/Structural/Eqns.c | 39 +- .../PreDefinition/Structural/FindRecArg.c | 8194 +++--- .../Elab/PreDefinition/Structural/IndPred.c | 839 +- .../Lean/Elab/PreDefinition/Structural/Main.c | 11015 ++++---- .../PreDefinition/Structural/RecArgInfo.c | 1089 +- .../stdlib/Lean/Elab/PreDefinition/WF/Eqns.c | 659 +- .../stdlib/Lean/Elab/PreDefinition/WF/Fix.c | 5160 +++- .../Lean/Elab/PreDefinition/WF/GuessLex.c | 4715 ++-- .../stdlib/Lean/Elab/PreDefinition/WF/Main.c | 3265 ++- .../Lean/Elab/PreDefinition/WF/PackMutual.c | 3801 ++- .../stdlib/Lean/Elab/PreDefinition/WF/Rel.c | 4229 ++- stage0/stdlib/Lean/Elab/Structure.c | 125 +- .../BVDecide/Frontend/Normalize/Enums.c | 821 +- stage0/stdlib/Lean/Elab/Term.c | 2141 +- stage0/stdlib/Lean/Environment.c | 66 +- stage0/stdlib/Lean/Meta/ArgsPacker.c | 384 +- stage0/stdlib/Lean/Meta/Basic.c | 179 +- .../Lean/Meta/Match/MatcherApp/Transform.c | 399 +- stage0/stdlib/Lean/Meta/Tactic/FunInd.c | 13170 +++++---- stage0/stdlib/Lean/Meta/Tactic/FunIndInfo.c | 508 +- .../Lean/Meta/Tactic/Grind/Arith/Cutsat.c | 97 + .../Meta/Tactic/Grind/Arith/Cutsat/DvdCnstr.c | 3611 +-- .../Meta/Tactic/Grind/Arith/Cutsat/EqCnstr.c | 3676 ++- .../Meta/Tactic/Grind/Arith/Cutsat/LeCnstr.c | 10146 ++++--- .../Meta/Tactic/Grind/Arith/Cutsat/Proof.c | 19152 +++++++------ .../Meta/Tactic/Grind/Arith/Cutsat/Search.c | 11421 +++++--- .../Meta/Tactic/Grind/Arith/Cutsat/SearchM.c | 2222 +- .../Meta/Tactic/Grind/Arith/Cutsat/Types.c | 29 +- .../Meta/Tactic/Grind/Arith/Cutsat/Util.c | 3932 +-- stage0/stdlib/Lean/Replay.c | 499 +- .../Lean/Server/FileWorker/InlayHints.c | 3814 ++- stage0/stdlib/Std/Data/DHashMap/Basic.c | 490 + .../Std/Data/DHashMap/Internal/RawLemmas.c | 9445 ++++--- stage0/stdlib/Std/Data/DHashMap/Raw.c | 468 + stage0/stdlib/Std/Data/DHashMap/RawLemmas.c | 3058 +- stage0/stdlib/Std/Data/DTreeMap/Basic.c | 548 +- .../Std/Data/DTreeMap/Internal/Lemmas.c | 440 +- .../Std/Data/DTreeMap/Internal/Queries.c | 2 +- .../Std/Data/DTreeMap/Internal/WF/Lemmas.c | 105 + stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c | 548 +- 49 files changed, 103782 insertions(+), 69849 deletions(-) create mode 100644 stage0/stdlib/Lean/Elab/PreDefinition/FixedParams.c diff --git a/stage0/stdlib/Init/Data/SInt/Lemmas.c b/stage0/stdlib/Init/Data/SInt/Lemmas.c index f338207de4..256b75dacc 100644 --- a/stage0/stdlib/Init/Data/SInt/Lemmas.c +++ b/stage0/stdlib/Init/Data/SInt/Lemmas.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.SInt.Lemmas -// Imports: Init.Data.SInt.Basic Init.Data.BitVec.Lemmas +// Imports: Init.Data.SInt.Basic Init.Data.BitVec.Bitblast Init.Data.Int.LemmasAux #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -2738,7 +2738,8 @@ return x_4; } } lean_object* initialize_Init_Data_SInt_Basic(uint8_t builtin, lean_object*); -lean_object* initialize_Init_Data_BitVec_Lemmas(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_BitVec_Bitblast(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_Int_LemmasAux(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_SInt_Lemmas(uint8_t builtin, lean_object* w) { lean_object * res; @@ -2747,7 +2748,10 @@ _G_initialized = true; res = initialize_Init_Data_SInt_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Init_Data_BitVec_Lemmas(builtin, lean_io_mk_world()); +res = initialize_Init_Data_BitVec_Bitblast(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_Int_LemmasAux(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_commandDeclare__int__theorems_______closed__1 = _init_l_commandDeclare__int__theorems_______closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c index d8f8556e86..4078b006c2 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c @@ -14,21 +14,23 @@ extern "C" { #endif static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__1; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8; static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEq___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__9; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___closed__5; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__8; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__32; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__14; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__11; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__22; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14; static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__10; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__16; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__20; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___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*); @@ -36,7 +38,6 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2 static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__14; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__8(size_t, size_t, lean_object*); static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__6; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__4; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__13; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__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_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -65,7 +66,6 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2 static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__33; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__20; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__7; lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__14; @@ -82,7 +82,6 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_casesOnSuffix; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__6; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__5; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__17; LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Deriving_DecEq_mkDecEqInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -101,9 +100,11 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunctions___closed__2; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___lambda__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_Deriving_DecEq_mkAuxFunctions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__21; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__16; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__55; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__44; @@ -111,21 +112,23 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEq(lean_object*, lean_o lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__6; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12; lean_object* l_Lean_InductiveVal_numTypeFormers(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__40; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6; static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__5; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__6; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__3; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__23; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__11; +lean_object* l_Lean_Level_ofNat(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__19; static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__1; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__51; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__5; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___lambda__2___boxed(lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__4; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__10; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__7; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__24; @@ -146,12 +149,11 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__2; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Deriving_DecEq_mkDecEqCmds___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__29; lean_object* l_Lean_Elab_registerDerivingHandler(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__3; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkAuxFunctions___spec__2(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__12; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__35; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__5; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__47; @@ -195,17 +197,16 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__51; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__16; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__9; lean_object* lean_array_to_list(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__24; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__31; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__3; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__2; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__2; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_mkHeader(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_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857_(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__6; @@ -258,13 +259,9 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3 static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__6; static lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__1___closed__1; lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__2(size_t, size_t, lean_object*); -lean_object* l_Lean_Expr_appFn_x21(lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__15; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__6(uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__14; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__13; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__31; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__5; @@ -283,7 +280,6 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1 LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__2; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___closed__4; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__17; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__1; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__12; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__45; @@ -305,10 +301,8 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___close uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__7; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__8; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__39; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__37; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__12; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__14; LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkEnumOfNat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkEnumOfNat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -346,11 +340,14 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__8; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__4; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__5; 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_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___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* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__8; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4; lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10; LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__13; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__28; @@ -375,7 +372,6 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecE LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__46; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch(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_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -402,6 +398,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___lambda__3(lean LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__18; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__11; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___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*); @@ -420,14 +417,17 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__3; extern lean_object* l_Lean_instInhabitedInductiveVal; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7; static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__1; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__19; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__1; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___boxed(lean_object**); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__22; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5; static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__7; lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__40; @@ -438,6 +438,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1(le 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*); uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16; 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*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__52; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__57; @@ -449,7 +450,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader(lean_object*, static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__26; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__9; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__39; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -465,8 +465,8 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__20(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__9; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__26; -LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -11465,6 +11465,15 @@ return x_3; static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l_Lean_Level_ofNat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("ofNat", 5, 5); return x_1; @@ -11473,181 +11482,130 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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; uint8_t x_22; uint8_t x_23; lean_object* x_24; +x_12 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3; lean_inc(x_1); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_1); -lean_inc(x_2); x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_2); -x_14 = lean_array_mk(x_13); -x_15 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__2; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_16 = l_Lean_Meta_mkAppOptM(x_15, x_14, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(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; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Expr_appFn_x21(x_17); -lean_dec(x_17); -lean_inc(x_2); -lean_inc(x_6); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_6); -lean_ctor_set(x_20, 1, x_2); -x_21 = lean_array_mk(x_20); -x_22 = lean_array_get_size(x_3); -x_23 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_13, 1, x_1); +x_14 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__2; +x_15 = l_Lean_Expr_const___override(x_14, x_13); lean_inc(x_1); -x_24 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree(x_1, x_3, x_6, x_19, x_23, x_22); -lean_dec(x_22); -x_25 = 0; -x_26 = 1; -x_27 = 1; -x_28 = l_Lean_Meta_mkLambdaFVars(x_21, x_24, x_25, x_26, x_25, x_27, x_7, x_8, x_9, x_10, x_18); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_21); -if (lean_obj_tag(x_28) == 0) +lean_inc(x_6); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_1); +x_17 = lean_array_mk(x_16); +x_18 = lean_array_get_size(x_2); +x_19 = lean_unsigned_to_nat(0u); +lean_inc(x_3); +x_20 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree(x_3, x_2, x_6, x_15, x_19, x_18); +lean_dec(x_18); +x_21 = 0; +x_22 = 1; +x_23 = 1; +x_24 = l_Lean_Meta_mkLambdaFVars(x_17, x_20, x_21, x_22, x_21, x_23, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_17); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t 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 = l_Lean_mkArrow(x_4, x_1, x_9, x_10, x_30); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_mkArrow(x_4, x_3, x_9, x_10, x_26); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 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; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -x_35 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3; -x_36 = l_Lean_Name_str___override(x_5, x_35); -lean_inc(x_2); -lean_inc(x_36); -x_37 = lean_alloc_ctor(0, 3, 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; lean_object* x_37; lean_object* x_38; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_ctor_get(x_27, 1); +x_31 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4; +x_32 = l_Lean_Name_str___override(x_5, x_31); +lean_inc(x_1); +lean_inc(x_32); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_1); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set_tag(x_27, 1); +lean_ctor_set(x_27, 1, x_1); +lean_ctor_set(x_27, 0, x_32); +x_34 = lean_box(1); +x_35 = 1; +x_36 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_25); +lean_ctor_set(x_36, 2, x_34); +lean_ctor_set(x_36, 3, x_27); +lean_ctor_set_uint8(x_36, sizeof(void*)*4, x_35); +x_37 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_2); -lean_ctor_set(x_37, 2, x_33); -lean_ctor_set_tag(x_31, 1); -lean_ctor_set(x_31, 1, x_2); -lean_ctor_set(x_31, 0, x_36); -x_38 = lean_box(1); -x_39 = 1; -x_40 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_29); -lean_ctor_set(x_40, 2, x_38); -lean_ctor_set(x_40, 3, x_31); -lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_39); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = l_Lean_addAndCompile(x_41, x_9, x_10, x_34); -return x_42; +x_38 = l_Lean_addAndCompile(x_37, x_9, x_10, x_30); +return x_38; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_43 = lean_ctor_get(x_31, 0); -x_44 = lean_ctor_get(x_31, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_31); -x_45 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3; -x_46 = l_Lean_Name_str___override(x_5, x_45); -lean_inc(x_2); -lean_inc(x_46); -x_47 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_2); -lean_ctor_set(x_47, 2, x_43); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_2); -x_49 = lean_box(1); -x_50 = 1; -x_51 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_51, 0, x_47); -lean_ctor_set(x_51, 1, x_29); -lean_ctor_set(x_51, 2, x_49); -lean_ctor_set(x_51, 3, x_48); -lean_ctor_set_uint8(x_51, sizeof(void*)*4, x_50); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_53 = l_Lean_addAndCompile(x_52, x_9, x_10, x_44); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_39 = lean_ctor_get(x_27, 0); +x_40 = lean_ctor_get(x_27, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_27); +x_41 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4; +x_42 = l_Lean_Name_str___override(x_5, x_41); +lean_inc(x_1); +lean_inc(x_42); +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_1); +lean_ctor_set(x_43, 2, x_39); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_1); +x_45 = lean_box(1); +x_46 = 1; +x_47 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_47, 0, x_43); +lean_ctor_set(x_47, 1, x_25); +lean_ctor_set(x_47, 2, x_45); +lean_ctor_set(x_47, 3, x_44); +lean_ctor_set_uint8(x_47, sizeof(void*)*4, x_46); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_addAndCompile(x_48, x_9, x_10, x_40); +return x_49; +} +} +else +{ +uint8_t x_50; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_24); +if (x_50 == 0) +{ +return x_24; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_24, 0); +x_52 = lean_ctor_get(x_24, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_24); +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; } } -else -{ -uint8_t x_54; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_28); -if (x_54 == 0) -{ -return x_28; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_28, 0); -x_56 = lean_ctor_get(x_28, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_28); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_58 = !lean_is_exclusive(x_16); -if (x_58 == 0) -{ -return x_16; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_16, 0); -x_60 = lean_ctor_get(x_16, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_16); -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; -} -} } } static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__1() { @@ -11693,9 +11651,9 @@ lean_dec(x_8); x_13 = lean_array_mk(x_12); x_14 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__2; x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___boxed), 11, 5); -lean_closure_set(x_15, 0, x_11); -lean_closure_set(x_15, 1, x_10); -lean_closure_set(x_15, 2, x_13); +lean_closure_set(x_15, 0, x_10); +lean_closure_set(x_15, 1, x_13); +lean_closure_set(x_15, 2, x_11); lean_closure_set(x_15, 3, x_14); lean_closure_set(x_15, 4, x_1); x_16 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__41; @@ -11762,7 +11720,9 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_3); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); return x_12; } } @@ -12209,7 +12169,7 @@ lean_inc(x_1); x_11 = l_Lean_Name_str___override(x_1, x_10); x_12 = lean_box(0); x_13 = l_Lean_Expr_const___override(x_11, x_12); -x_14 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3; +x_14 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4; lean_inc(x_1); x_15 = l_Lean_Name_str___override(x_1, x_14); x_16 = l_Lean_Expr_const___override(x_15, x_12); @@ -12915,7 +12875,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3; +x_11 = l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4; lean_inc(x_1); x_12 = l_Lean_Name_str___override(x_1, x_11); x_13 = lean_mk_syntax_ident(x_12); @@ -15798,7 +15758,7 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1() { _start: { lean_object* x_1; @@ -15806,7 +15766,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandl return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__2() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -15816,27 +15776,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__3() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__2; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2; x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__4() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__3; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3; x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__5() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5() { _start: { lean_object* x_1; @@ -15844,17 +15804,17 @@ x_1 = lean_mk_string_unchecked("DecEq", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__6() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__4; -x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__5; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4; +x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__7() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7() { _start: { lean_object* x_1; @@ -15862,17 +15822,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__8() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__7; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6; +x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__9() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9() { _start: { lean_object* x_1; @@ -15880,57 +15840,57 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__10() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__8; -x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__9; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8; +x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__11() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__10; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10; x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__12() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__11; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11; x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__13() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__12; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12; x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__14() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__13; -x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__5; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13; +x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__15() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15() { _start: { lean_object* x_1; @@ -15938,32 +15898,32 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__16() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__14; -x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__15; +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14; +x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__17() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__16; -x_2 = lean_unsigned_to_nat(4879u); +x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16; +x_2 = lean_unsigned_to_nat(4857u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___closed__2; -x_3 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__1; +x_3 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1; x_4 = l_Lean_Elab_registerDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -15973,7 +15933,7 @@ lean_inc(x_5); lean_dec(x_4); x_6 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__4; x_7 = 0; -x_8 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__17; +x_8 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17; x_9 = l_Lean_registerTraceClass(x_6, x_7, x_8, x_5); return x_9; } @@ -16388,6 +16348,8 @@ l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__2 = _init_l_Lean_El lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__2); l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3 = _init_l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3(); lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__3); +l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4 = _init_l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4); l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__1 = _init_l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__1(); lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__1); l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__2 = _init_l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__2(); @@ -16532,41 +16494,41 @@ l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__58 = _init_l_Lean_Elab_Deriving lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__58); l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__59 = _init_l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__59(); lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__59); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__1 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__1); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__2 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__2(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__2); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__3 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__3(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__3); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__4 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__4(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__4); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__5 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__5(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__5); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__6 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__6(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__6); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__7 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__7(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__7); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__8 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__8(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__8); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__9 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__9(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__9); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__10 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__10(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__10); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__11 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__11(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__11); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__12 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__12(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__12); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__13 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__13(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__13); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__14 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__14(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__14); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__15 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__15(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__15); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__16 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__16(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__16); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__17 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__17(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879____closed__17); -if (builtin) {res = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4879_(lean_io_mk_world()); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17); +if (builtin) {res = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857_(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/MutualInductive.c b/stage0/stdlib/Lean/Elab/MutualInductive.c index dba3fdc102..34026d85bf 100644 --- a/stage0/stdlib/Lean/Elab/MutualInductive.c +++ b/stage0/stdlib/Lean/Elab/MutualInductive.c @@ -40,7 +40,7 @@ lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_withLoggingExceptio static lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabHeadersAux___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedInductiveElabStep1___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___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_collectUsed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___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___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__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*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualInductive___hyg_46____closed__5; static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualInductive___spec__4___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -294,6 +294,7 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Mutual static lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___closed__1; lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Elab_DeclNameGen_0__Lean_Elab_Command_NameGen_winnowExpr_visit___spec__2(lean_object*); lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___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* l_Lean_Level_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withViewTypeRef___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_collectUniverses___spec__3___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___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_collectUniverses___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -408,6 +409,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Comm lean_object* lean_nat_div(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_withExplicitToImplicit___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_ElabHeaderResult_checkLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__3(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___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkResultUniverse___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_updateResultingUniverse___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_throwError___at_Lean_Elab_Command_elabMutualInductive___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -766,6 +768,7 @@ lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_isMutualInductive___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_propagateUniversesToConstructors___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___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* 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*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -913,6 +916,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_M LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_ElabHeaderResult_checkLevelNames___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*); static lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyComputedFields___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___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_List_forIn_x27_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_isPropCandidate___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualInductive___hyg_85____closed__3; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___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*); @@ -27755,7 +27759,6 @@ x_17 = lean_array_uget(x_4, x_6); x_18 = lean_ctor_get(x_17, 4); lean_inc(x_18); lean_inc(x_8); -lean_inc(x_18); x_19 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_expandDeclId___spec__7(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_19) == 0) { @@ -27799,56 +27802,49 @@ x_32 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__ lean_dec(x_29); if (lean_obj_tag(x_32) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; +lean_object* x_33; size_t x_34; size_t x_35; x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); -lean_inc(x_12); -x_34 = l_Lean_enableRealizationsForConst(x_18, x_12, x_13, x_33); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = 1; -x_37 = lean_usize_add(x_6, x_36); -x_6 = x_37; +x_34 = 1; +x_35 = lean_usize_add(x_6, x_34); +x_6 = x_35; x_7 = x_31; -x_14 = x_35; +x_14 = x_33; goto _start; } else { -uint8_t x_39; -lean_dec(x_18); +uint8_t x_37; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_39 = !lean_is_exclusive(x_32); -if (x_39 == 0) +x_37 = !lean_is_exclusive(x_32); +if (x_37 == 0) { return x_32; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_32, 0); -x_41 = lean_ctor_get(x_32, 1); -lean_inc(x_41); -lean_inc(x_40); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_32, 0); +x_39 = lean_ctor_get(x_32, 1); +lean_inc(x_39); +lean_inc(x_38); lean_dec(x_32); -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; +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_43; -lean_dec(x_18); +uint8_t x_41; lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -27856,30 +27852,29 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_43 = !lean_is_exclusive(x_26); -if (x_43 == 0) +x_41 = !lean_is_exclusive(x_26); +if (x_41 == 0) { return x_26; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_26, 0); -x_45 = lean_ctor_get(x_26, 1); -lean_inc(x_45); -lean_inc(x_44); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_26, 0); +x_43 = lean_ctor_get(x_26, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_26); -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_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_47; -lean_dec(x_18); +uint8_t x_45; lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -27887,23 +27882,23 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_47 = !lean_is_exclusive(x_19); -if (x_47 == 0) +x_45 = !lean_is_exclusive(x_19); +if (x_45 == 0) { return x_19; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_19, 0); -x_49 = lean_ctor_get(x_19, 1); -lean_inc(x_49); -lean_inc(x_48); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_19, 0); +x_47 = lean_ctor_get(x_19, 1); +lean_inc(x_47); +lean_inc(x_46); lean_dec(x_19); -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; +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; } } } @@ -31869,6 +31864,46 @@ x_14 = lean_usize_dec_lt(x_5, x_4); if (x_14 == 0) { lean_object* x_15; +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_6); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +lean_dec(x_6); +x_16 = lean_array_uget(x_3, x_5); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_ctor_get(x_17, 4); +lean_inc(x_18); +lean_dec(x_17); +lean_inc(x_11); +x_19 = l_Lean_enableRealizationsForConst(x_18, x_11, x_12, x_13); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = 1; +x_22 = lean_usize_add(x_5, x_21); +x_23 = lean_box(0); +x_5 = x_22; +x_6 = x_23; +x_13 = x_20; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__3(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) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_5, x_4); +if (x_14 == 0) +{ +lean_object* x_15; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -31937,7 +31972,36 @@ return x_28; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_box(0); +x_14 = lean_box(0); +x_15 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__2(x_1, x_13, x_1, x_2, x_3, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +lean_ctor_set(x_15, 0, x_4); +return x_15; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_4); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -32010,61 +32074,29 @@ lean_inc(x_28); lean_dec(x_27); x_29 = lean_box(0); x_30 = lean_box(0); -x_31 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__2(x_3, x_29, x_3, x_19, x_20, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_31 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__3(x_3, x_29, x_3, x_19, x_20, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1(x_3, x_19, x_20, x_17, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_32); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -if (lean_obj_tag(x_31) == 0) -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -lean_ctor_set(x_31, 0, x_17); -return x_31; +return x_33; } else { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_17); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -else -{ -uint8_t x_36; -lean_dec(x_17); -x_36 = !lean_is_exclusive(x_31); -if (x_36 == 0) -{ -return x_31; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 0); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_31); -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 -{ -uint8_t x_40; +uint8_t x_34; lean_dec(x_17); lean_dec(x_10); lean_dec(x_11); @@ -32073,29 +32105,60 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_40 = !lean_is_exclusive(x_27); -if (x_40 == 0) +x_34 = !lean_is_exclusive(x_31); +if (x_34 == 0) +{ +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 0); +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_31); +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_38; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_27); +if (x_38 == 0) { return x_27; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_27, 0); -x_42 = lean_ctor_get(x_27, 1); -lean_inc(x_42); -lean_inc(x_41); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_27, 0); +x_40 = lean_ctor_get(x_27, 1); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_27); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +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; } } } else { -uint8_t x_44; +uint8_t x_42; lean_dec(x_17); lean_dec(x_10); lean_dec(x_11); @@ -32105,62 +32168,47 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_44 = !lean_is_exclusive(x_25); -if (x_44 == 0) +x_42 = !lean_is_exclusive(x_25); +if (x_42 == 0) { return x_25; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_25, 0); -x_46 = lean_ctor_get(x_25, 1); -lean_inc(x_46); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_25, 0); +x_44 = lean_ctor_get(x_25, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_25); -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_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; } } } else { -uint8_t x_48; -lean_dec(x_10); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_5); +x_46 = lean_ctor_get(x_22, 1); +lean_inc(x_46); +lean_dec(x_22); +x_47 = lean_box(0); +x_48 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1(x_3, x_19, x_20, x_17, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_46); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_3); -x_48 = !lean_is_exclusive(x_22); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_22, 0); -lean_dec(x_49); -lean_ctor_set(x_22, 0, x_17); -return x_22; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_22, 1); -lean_inc(x_50); -lean_dec(x_22); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_17); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} +return x_48; } } else { -uint8_t x_52; +uint8_t x_49; lean_dec(x_17); lean_dec(x_10); lean_dec(x_11); @@ -32170,29 +32218,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_52 = !lean_is_exclusive(x_22); -if (x_52 == 0) +x_49 = !lean_is_exclusive(x_22); +if (x_49 == 0) { return x_22; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_22, 0); -x_54 = lean_ctor_get(x_22, 1); -lean_inc(x_54); -lean_inc(x_53); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_22, 0); +x_51 = lean_ctor_get(x_22, 1); +lean_inc(x_51); +lean_inc(x_50); lean_dec(x_22); -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; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -uint8_t x_56; +uint8_t x_53; lean_dec(x_10); lean_dec(x_11); lean_dec(x_9); @@ -32201,47 +32249,44 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_56 = !lean_is_exclusive(x_16); -if (x_56 == 0) +x_53 = !lean_is_exclusive(x_16); +if (x_53 == 0) { return x_16; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_16, 0); -x_58 = lean_ctor_get(x_16, 1); -lean_inc(x_58); -lean_inc(x_57); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_16, 0); +x_55 = lean_ctor_get(x_16, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_16); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -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; uint8_t x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_60 = lean_ctor_get(x_10, 0); -x_61 = lean_ctor_get(x_10, 1); -x_62 = lean_ctor_get(x_10, 2); -x_63 = lean_ctor_get(x_10, 3); -x_64 = lean_ctor_get(x_10, 4); -x_65 = lean_ctor_get(x_10, 5); -x_66 = lean_ctor_get(x_10, 6); -x_67 = lean_ctor_get(x_10, 7); -x_68 = lean_ctor_get(x_10, 8); -x_69 = lean_ctor_get(x_10, 9); -x_70 = lean_ctor_get(x_10, 10); -x_71 = lean_ctor_get_uint8(x_10, sizeof(void*)*12); -x_72 = lean_ctor_get(x_10, 11); -x_73 = lean_ctor_get_uint8(x_10, sizeof(void*)*12 + 1); -lean_inc(x_72); -lean_inc(x_70); +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; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_57 = lean_ctor_get(x_10, 0); +x_58 = lean_ctor_get(x_10, 1); +x_59 = lean_ctor_get(x_10, 2); +x_60 = lean_ctor_get(x_10, 3); +x_61 = lean_ctor_get(x_10, 4); +x_62 = lean_ctor_get(x_10, 5); +x_63 = lean_ctor_get(x_10, 6); +x_64 = lean_ctor_get(x_10, 7); +x_65 = lean_ctor_get(x_10, 8); +x_66 = lean_ctor_get(x_10, 9); +x_67 = lean_ctor_get(x_10, 10); +x_68 = lean_ctor_get_uint8(x_10, sizeof(void*)*12); +x_69 = lean_ctor_get(x_10, 11); +x_70 = lean_ctor_get_uint8(x_10, sizeof(void*)*12 + 1); lean_inc(x_69); -lean_inc(x_68); lean_inc(x_67); lean_inc(x_66); lean_inc(x_65); @@ -32250,125 +32295,162 @@ lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); lean_dec(x_10); -x_74 = l_Lean_replaceRef(x_1, x_65); -lean_dec(x_65); -x_75 = lean_alloc_ctor(0, 12, 2); -lean_ctor_set(x_75, 0, x_60); -lean_ctor_set(x_75, 1, x_61); -lean_ctor_set(x_75, 2, x_62); -lean_ctor_set(x_75, 3, x_63); -lean_ctor_set(x_75, 4, x_64); -lean_ctor_set(x_75, 5, x_74); -lean_ctor_set(x_75, 6, x_66); -lean_ctor_set(x_75, 7, x_67); -lean_ctor_set(x_75, 8, x_68); -lean_ctor_set(x_75, 9, x_69); -lean_ctor_set(x_75, 10, x_70); -lean_ctor_set(x_75, 11, x_72); -lean_ctor_set_uint8(x_75, sizeof(void*)*12, x_71); -lean_ctor_set_uint8(x_75, sizeof(void*)*12 + 1, x_73); +x_71 = l_Lean_replaceRef(x_1, x_62); +lean_dec(x_62); +x_72 = lean_alloc_ctor(0, 12, 2); +lean_ctor_set(x_72, 0, x_57); +lean_ctor_set(x_72, 1, x_58); +lean_ctor_set(x_72, 2, x_59); +lean_ctor_set(x_72, 3, x_60); +lean_ctor_set(x_72, 4, x_61); +lean_ctor_set(x_72, 5, x_71); +lean_ctor_set(x_72, 6, x_63); +lean_ctor_set(x_72, 7, x_64); +lean_ctor_set(x_72, 8, x_65); +lean_ctor_set(x_72, 9, x_66); +lean_ctor_set(x_72, 10, x_67); +lean_ctor_set(x_72, 11, x_69); +lean_ctor_set_uint8(x_72, sizeof(void*)*12, x_68); +lean_ctor_set_uint8(x_72, sizeof(void*)*12 + 1, x_70); lean_inc(x_11); -lean_inc(x_75); +lean_inc(x_72); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_3); -x_76 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl(x_2, x_3, x_6, x_7, x_8, x_9, x_75, x_11, x_12); -if (lean_obj_tag(x_76) == 0) +x_73 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl(x_2, x_3, x_6, x_7, x_8, x_9, x_72, x_11, x_12); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; lean_object* x_81; lean_object* x_82; -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_array_size(x_3); -x_80 = 0; -lean_inc(x_3); -x_81 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__1(x_79, x_80, x_3); -lean_inc(x_11); +lean_object* x_74; lean_object* x_75; size_t x_76; size_t x_77; lean_object* x_78; lean_object* x_79; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_array_size(x_3); +x_77 = 0; +lean_inc(x_3); +x_78 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__1(x_76, x_77, x_3); +lean_inc(x_11); +lean_inc(x_72); lean_inc(x_9); lean_inc(x_8); -x_82 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkAuxConstructions(x_81, x_6, x_7, x_8, x_9, x_75, x_11, x_78); -lean_dec(x_81); -if (lean_obj_tag(x_82) == 0) +x_79 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkAuxConstructions(x_78, x_6, x_7, x_8, x_9, x_72, x_11, x_75); +lean_dec(x_78); +if (lean_obj_tag(x_79) == 0) { -uint8_t x_83; -x_83 = lean_ctor_get_uint8(x_4, sizeof(void*)*11); -if (x_83 == 0) +uint8_t x_80; +x_80 = lean_ctor_get_uint8(x_4, sizeof(void*)*11); +if (x_80 == 0) { -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); lean_inc(x_11); -lean_inc(x_75); +lean_inc(x_72); lean_inc(x_9); lean_inc(x_8); lean_inc(x_5); -x_85 = l_Lean_Meta_mkSizeOfInstances(x_5, x_8, x_9, x_75, x_11, x_84); -if (lean_obj_tag(x_85) == 0) +x_82 = l_Lean_Meta_mkSizeOfInstances(x_5, x_8, x_9, x_72, x_11, x_81); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); lean_inc(x_11); -lean_inc(x_75); +lean_inc(x_72); lean_inc(x_9); lean_inc(x_8); -x_87 = l_Lean_Meta_IndPredBelow_mkBelow(x_5, x_8, x_9, x_75, x_11, x_86); -if (lean_obj_tag(x_87) == 0) +x_84 = l_Lean_Meta_IndPredBelow_mkBelow(x_5, x_8, x_9, x_72, x_11, x_83); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_89 = lean_box(0); -x_90 = lean_box(0); -x_91 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__2(x_3, x_89, x_3, x_79, x_80, x_90, x_6, x_7, x_8, x_9, x_75, x_11, x_88); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +x_86 = lean_box(0); +x_87 = lean_box(0); +lean_inc(x_11); +lean_inc(x_72); +lean_inc(x_9); +lean_inc(x_8); +x_88 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__3(x_3, x_86, x_3, x_76, x_77, x_87, x_6, x_7, x_8, x_9, x_72, x_11, x_85); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +x_90 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1(x_3, x_76, x_77, x_74, x_87, x_6, x_7, x_8, x_9, x_72, x_11, x_89); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -if (lean_obj_tag(x_91) == 0) +return x_90; +} +else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_91, 1); +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_74); +lean_dec(x_72); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_91 = lean_ctor_get(x_88, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_88, 1); lean_inc(x_92); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_93 = x_91; +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_93 = x_88; } else { - lean_dec_ref(x_91); + lean_dec_ref(x_88); x_93 = lean_box(0); } if (lean_is_scalar(x_93)) { - x_94 = lean_alloc_ctor(0, 2, 0); + x_94 = lean_alloc_ctor(1, 2, 0); } else { x_94 = x_93; } -lean_ctor_set(x_94, 0, x_77); +lean_ctor_set(x_94, 0, x_91); lean_ctor_set(x_94, 1, x_92); return x_94; } +} else { lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_77); -x_95 = lean_ctor_get(x_91, 0); +lean_dec(x_74); +lean_dec(x_72); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_95 = lean_ctor_get(x_84, 0); lean_inc(x_95); -x_96 = lean_ctor_get(x_91, 1); +x_96 = lean_ctor_get(x_84, 1); lean_inc(x_96); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_97 = x_91; +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_97 = x_84; } else { - lean_dec_ref(x_91); + lean_dec_ref(x_84); x_97 = lean_box(0); } if (lean_is_scalar(x_97)) { @@ -32384,24 +32466,25 @@ return x_98; else { lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_77); -lean_dec(x_75); +lean_dec(x_74); +lean_dec(x_72); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); -x_99 = lean_ctor_get(x_87, 0); +x_99 = lean_ctor_get(x_82, 0); lean_inc(x_99); -x_100 = lean_ctor_get(x_87, 1); +x_100 = lean_ctor_get(x_82, 1); lean_inc(x_100); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_101 = x_87; +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_101 = x_82; } else { - lean_dec_ref(x_87); + lean_dec_ref(x_82); x_101 = lean_box(0); } if (lean_is_scalar(x_101)) { @@ -32416,42 +32499,27 @@ return x_102; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_77); -lean_dec(x_75); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_dec(x_5); +x_103 = lean_ctor_get(x_79, 1); +lean_inc(x_103); +lean_dec(x_79); +x_104 = lean_box(0); +x_105 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1(x_3, x_76, x_77, x_74, x_104, x_6, x_7, x_8, x_9, x_72, x_11, x_103); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_3); -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); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(1, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_104); -return x_106; +return x_105; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -lean_dec(x_75); +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_74); +lean_dec(x_72); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -32459,22 +32527,24 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_107 = lean_ctor_get(x_82, 1); +x_106 = lean_ctor_get(x_79, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_79, 1); lean_inc(x_107); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_108 = x_82; +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_108 = x_79; } else { - lean_dec_ref(x_82); + lean_dec_ref(x_79); x_108 = lean_box(0); } if (lean_is_scalar(x_108)) { - x_109 = lean_alloc_ctor(0, 2, 0); + x_109 = lean_alloc_ctor(1, 2, 0); } else { x_109 = x_108; } -lean_ctor_set(x_109, 0, x_77); +lean_ctor_set(x_109, 0, x_106); lean_ctor_set(x_109, 1, x_107); return x_109; } @@ -32482,8 +32552,7 @@ return x_109; else { lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_77); -lean_dec(x_75); +lean_dec(x_72); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -32491,16 +32560,16 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_110 = lean_ctor_get(x_82, 0); +x_110 = lean_ctor_get(x_73, 0); lean_inc(x_110); -x_111 = lean_ctor_get(x_82, 1); +x_111 = lean_ctor_get(x_73, 1); lean_inc(x_111); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_112 = x_82; +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_112 = x_73; } else { - lean_dec_ref(x_82); + lean_dec_ref(x_73); x_112 = lean_box(0); } if (lean_is_scalar(x_112)) { @@ -32513,39 +32582,6 @@ lean_ctor_set(x_113, 1, x_111); return x_113; } } -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_75); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_114 = lean_ctor_get(x_76, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_76, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_116 = x_76; -} else { - lean_dec_ref(x_76); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(1, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_114); -lean_ctor_set(x_117, 1, x_115); -return x_117; -} -} } } LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews(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) { @@ -32563,7 +32599,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 4); lean_inc(x_15); lean_inc(x_15); -x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1___boxed), 12, 5); +x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__2___boxed), 12, 5); lean_closure_set(x_16, 0, x_14); lean_closure_set(x_16, 1, x_1); lean_closure_set(x_16, 2, x_2); @@ -32594,6 +32630,26 @@ lean_dec(x_4); x_15 = lean_unbox_usize(x_5); lean_dec(x_5); x_16 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__2(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___spec__3(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_3); @@ -32605,8 +32661,27 @@ return x_16; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___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) { +_start: +{ lean_object* x_13; -x_13 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_elabInductiveViews___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_4); lean_dec(x_1); return x_13; diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/FixedParams.c b/stage0/stdlib/Lean/Elab/PreDefinition/FixedParams.c new file mode 100644 index 0000000000..78ba78e501 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/PreDefinition/FixedParams.c @@ -0,0 +1,23160 @@ +// Lean compiler output +// Module: Lean.Elab.PreDefinition.FixedParams +// Imports: Lean.Elab.PreDefinition.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 double l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___closed__1; +static lean_object* l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__1; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_numFixed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__10(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickFixed_go(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__2; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__3; +extern lean_object* l_Lean_Elab_instInhabitedPreDefinition; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___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_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__1; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__2; +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__1; +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_getFixedParamPerms___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___boxed__const__1; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__6; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3(lean_object*, lean_object*, size_t, size_t); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__6; +lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__2; +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__9(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(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*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__20(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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_numFixed___boxed(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__1; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__5; +uint8_t l_List_all___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_instToFormatInfo; +lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__4(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_FixedParamPerms_erase___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_getFixedParamPerms___lambda__1___closed__3; +extern lean_object* l_Lean_maxRecDepthErrorMessage; +lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs___spec__1___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedFixedParamPerms; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1(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_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__6(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__8; +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11___lambda__1(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_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__1; +lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__2(lean_object*); +size_t lean_uint64_to_usize(uint64_t); +uint64_t lean_uint64_lor(uint64_t, uint64_t); +static lean_object* l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__2; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__1(lean_object*, size_t, size_t); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__11___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_sort___override(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__4; +lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__10; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__6; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_array(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__2(lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__1; +extern uint8_t l_instInhabitedBool; +static lean_object* l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setVarying(lean_object*, lean_object*, lean_object*); +lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(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*); +static lean_object* l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090_(lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall___closed__1; +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__4; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__8; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setVarying___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Option_isNone___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__20___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_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__3(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go(lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__3(lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__9; +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__5; +static lean_object* l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__11; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5(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_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___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* l_Lean_Expr_fvarId_x21(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_FixedParamPerm_numFixed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPosWithDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamsInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_FixedParams_Info_mayBeFixed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___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*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__7; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__2; +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__14(lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__1; +static lean_object* l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__3; +static lean_object* l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__11(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__4; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__16(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3(lean_object*, lean_object*); +static uint64_t l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__15(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__10; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____boxed(lean_object*, lean_object*); +static lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__1; +lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__6(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___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*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_ofNat(lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__1; +static lean_object* l_Lean_Elab_FixedParams_Info_setVarying___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__18; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__10; +extern lean_object* l_instInhabitedNat; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParams_Info_init___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__17; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamPerms___lambda__1(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_FixedParamPerms_erase___spec__1(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_hasMVar(lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__6; +static lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___closed__1; +static lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__2(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_FixedParamPerm_pickVarying___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11___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*); +static lean_object* l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___closed__1; +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda(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_FixedParamPerms_erase___spec__11(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamPerms___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__3; +lean_object* l_Array_range___lambda__1___boxed(lean_object*); +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___lambda__1(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_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__1; +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall_go___closed__1; +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___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___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__19; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerms_erase(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_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*); +LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_isFixed___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__2(size_t, size_t, lean_object*, lean_object*, lean_object*); +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*); +lean_object* l_panic___at_Lean_Meta_whnfCore_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9___boxed(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_FixedParamPerm_pickVarying___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3(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_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___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*); +uint8_t lean_expr_eqv(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope(lean_object*, lean_object*); +lean_object* l_Array_zip___rarg(lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4; +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_Elab_FixedParamPerm_pickFixed_go___rarg___closed__3; +static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3___closed__1; +static lean_object* l_Lean_Elab_instInhabitedFixedParamPerms___closed__1; +uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__12(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_to_int(lean_object*); +LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__12; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__2; +lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__13(lean_object*, lean_object*); +lean_object* lean_nat_div(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__16; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__8; +lean_object* l_Array_ofFn___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16(lean_object*, lean_object*); +lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_getFixedParamPerms___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_instReprFixedParamPerms; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamsInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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 uint8_t l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__1(lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__4; +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__2; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofFormat(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__13; +uint8_t l_Lean_Expr_isMVar(lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setCallerParam___lambda__1(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_FixedParamPerms_erase___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_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__5___boxed(lean_object*, lean_object*); +static lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setCallerParam___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__8(lean_object*, lean_object*, size_t, size_t); +static lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__8; +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__2; +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__2; +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getParamRevDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_getFixedParamPerms___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__11(lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__6; +static lean_object* l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__3; +lean_object* lean_array_to_list(lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__5(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*); +static lean_object* l_Lean_Elab_getFixedParamsInfo___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___rarg___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_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15(lean_object*, lean_object*); +static lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__5; +uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___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_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__1; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__11; +lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_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_getFixedParamsInfo___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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_levelZero; +static lean_object* l_Lean_Elab_getFixedParamsInfo___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___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*); +lean_object* l_Lean_Expr_constName_x21(lean_object*); +extern lean_object* l_Lean_instInhabitedExpr; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___closed__1; +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__5; +static lean_object* l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___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_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__8(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_FixedParamPerm_numFixed___spec__1(lean_object*, size_t, size_t, lean_object*); +uint64_t l_Lean_Expr_hash(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickVarying(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_getFixedParamPerms___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___boxed(lean_object*, lean_object*); +static lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__2; +lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__9; +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__7; +uint8_t lean_name_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setCallerParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickFixed(lean_object*); +static lean_object* l_Lean_Elab_FixedParams_instToFormatInfo___closed__1; +lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__4; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__1; +static lean_object* l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12___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*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__7; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setVarying___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__3; +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__9; +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__7; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18; +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1; +lean_object* l_Lean_LocalDecl_fvarId(lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamsInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_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_Lean_Meta_withIncRecDepth___at_Lean_Elab_getFixedParamsInfo___spec__22___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_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParams_Info_init___spec__1(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__5; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__13; +static lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6; +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall___closed__3; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__16(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12___lambda__1(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_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__6; +lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__12; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__2; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__1; +lean_object* l_Lean_MessageData_ofExpr(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(lean_object*, lean_object*, lean_object*); +lean_object* l_instMonadControlTOfPure___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_init(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__19(lean_object*, lean_object*, uint8_t, uint8_t, 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___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__1; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__14; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19(lean_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_FixedParams_Info_addSelfCalls(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25(lean_object*, lean_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_FixedParamPerm_forallTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__4; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__3; +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setCallerParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10; +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__4___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___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_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__15; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__2; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___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_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___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_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___rarg___lambda__2(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_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__5; +lean_object* lean_string_length(lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__5(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1(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_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7; +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(lean_object*, size_t, size_t); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(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_Lean_Elab_getFixedParamPerms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__2; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__7; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__6; +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall___closed__4; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__20; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___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_Lean_Name_mkStr2(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_FixedParamPerms_fixedArePrefix(lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__4(lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__15(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__6(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__7(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__3; +lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t lean_uint64_xor(uint64_t, uint64_t); +static lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__1; +extern lean_object* l_Id_instMonad; +lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_getFixedParamPerms___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_getFixedParamsInfo___spec__21(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__1; +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__13(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12(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_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__14(lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__11; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__14___boxed(lean_object*, lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1(lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__8; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___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*); +uint64_t lean_uint64_shift_left(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +extern lean_object* l_String_instAppend; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__7(lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__4; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__1; +uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__2(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__4; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_FixedParamPerms_erase___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_ofSubarray___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +extern lean_object* l_Lean_Core_instMonadCoreM; +LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__2___boxed(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_getParamRevDeps___spec__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_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_getFixedParamsInfo___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__10; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11(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_object*); +lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__3; +static lean_object* l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__2; +size_t lean_usize_sub(size_t, size_t); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4; +lean_object* lean_array_mk(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__17; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__3; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setVarying___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__4; +static lean_object* l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___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*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isTracingEnabledForCore(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg(lean_object*); +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__12___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__17(lean_object*, lean_object*, size_t, size_t); +uint8_t l_Lean_Expr_hasFVar(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__14; +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__6___boxed(lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_instReprFixedParamPerms___closed__1; +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_FixedParamPerms_erase___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_array_size(lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__17(lean_object*, lean_object*, uint8_t, uint8_t, 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_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__4(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +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_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__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_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__10; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13(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_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__13___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__3; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, 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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__1(size_t, size_t, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_getCallerParam_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13___lambda__1(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_object*); +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__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_Elab_FixedParamPerm_pickFixed___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__1; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__9; +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__3___rarg(lean_object*); +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224_(lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +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*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerms_fixedArePrefix___boxed(lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_FixedParamPerm_isFixed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___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* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(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*); +uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); +static lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__4; +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_mayBeFixed___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isConst(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___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_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__7; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__15; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_getCallerParam_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isForall(lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__18(lean_object*, lean_object*, uint8_t, uint8_t, 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___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__21; +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_getFixedParamsInfo___spec__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerms_erase___closed__11; +static lean_object* l_Lean_Elab_getFixedParamPerms___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__1; +uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__9(lean_object*, lean_object*, size_t, size_t); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerm_pickVarying___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Format_indentD(lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__12(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__2; +static lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__4; +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__13; +static lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__3; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5; +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__2___rarg(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___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_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__8; +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instMonad___rarg(lean_object*); +size_t lean_usize_land(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__10(lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_1324____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___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*); +static lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16; +static lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__6; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_format(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParams_Info_init___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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +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 = lean_array_get_size(x_6); +lean_dec(x_6); +x_10 = lean_array_get_size(x_1); +x_11 = lean_box(0); +x_12 = lean_mk_array(x_10, x_11); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_mk_array(x_9, x_13); +x_15 = 1; +x_16 = lean_usize_add(x_3, x_15); +x_17 = lean_array_uset(x_8, x_3, x_14); +x_3 = x_16; +x_4 = x_17; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_init(lean_object* x_1) { +_start: +{ +size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; +x_2 = lean_array_size(x_1); +x_3 = 0; +lean_inc(x_1); +x_4 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParams_Info_init___spec__1(x_1, x_2, x_3, x_1); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParams_Info_init___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_FixedParams_Info_init___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_4, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_sub(x_4, x_10); +lean_dec(x_4); +x_12 = lean_array_fget(x_3, x_5); +x_13 = lean_nat_add(x_5, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_5); +x_14 = lean_box(0); +x_15 = lean_array_push(x_7, x_14); +x_4 = x_11; +x_5 = x_13; +x_6 = lean_box(0); +x_7 = x_15; +goto _start; +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_12, 0); +lean_ctor_set(x_12, 0, x_5); +x_19 = lean_array_set(x_18, x_1, x_12); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_array_push(x_7, x_20); +x_4 = x_11; +x_5 = x_13; +x_6 = lean_box(0); +x_7 = 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_12, 0); +lean_inc(x_23); +lean_dec(x_12); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_5); +x_25 = lean_array_set(x_23, x_1, x_24); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_array_push(x_7, x_26); +x_4 = x_11; +x_5 = x_13; +x_6 = lean_box(0); +x_7 = x_27; +goto _start; +} +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___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_unsigned_to_nat(0u); +x_8 = lean_nat_dec_eq(x_3, 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; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_sub(x_3, x_9); +lean_dec(x_3); +x_11 = lean_array_fget(x_2, x_4); +x_12 = lean_array_get_size(x_11); +x_13 = lean_mk_empty_array_with_capacity(x_12); +x_14 = l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__1(x_4, x_11, x_11, x_12, x_7, lean_box(0), x_13); +lean_dec(x_11); +x_15 = lean_nat_add(x_4, x_9); +lean_dec(x_4); +x_16 = lean_array_push(x_6, x_14); +x_3 = x_10; +x_4 = x_15; +x_5 = lean_box(0); +x_6 = x_16; +goto _start; +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_addSelfCalls(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_mk_empty_array_with_capacity(x_4); +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__2(x_3, x_3, x_4, x_6, lean_box(0), x_5); +lean_dec(x_3); +lean_ctor_set(x_1, 0, x_7); +return x_1; +} +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; +x_8 = lean_ctor_get(x_1, 0); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_1); +x_10 = lean_array_get_size(x_8); +x_11 = lean_mk_empty_array_with_capacity(x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__2(x_8, x_8, x_10, x_12, lean_box(0), x_11); +lean_dec(x_8); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___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: +{ +lean_object* x_7; +x_7 = l_Array_mapFinIdxM_map___at_Lean_Elab_FixedParams_Info_addSelfCalls___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +static lean_object* _init_l_Lean_Elab_FixedParams_Info_mayBeFixed___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_FixedParams_Info_mayBeFixed(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; +x_4 = lean_box(0); +x_5 = lean_ctor_get(x_3, 0); +x_6 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_7 = lean_array_get(x_6, x_5, x_1); +x_8 = lean_array_get(x_4, x_7, x_2); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = 0; +return x_9; +} +else +{ +uint8_t x_10; +lean_dec(x_8); +x_10 = 1; +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_mayBeFixed___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_FixedParams_Info_mayBeFixed(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_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_6, 1); +x_12 = lean_nat_dec_lt(x_8, x_11); +if (x_12 == 0) +{ +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_2); +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_box(0); +x_14 = lean_ctor_get(x_7, 0); +lean_inc(x_14); +lean_inc(x_4); +x_15 = lean_array_get(x_4, x_14, x_3); +lean_dec(x_14); +x_16 = lean_array_get(x_13, x_15, x_8); +lean_dec(x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_6, 2); +x_18 = lean_nat_add(x_8, x_17); +lean_dec(x_8); +x_8 = x_18; +x_9 = lean_box(0); +x_10 = lean_box(0); +goto _start; +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_array_get(x_13, x_21, x_1); +lean_dec(x_21); +lean_inc(x_2); +lean_ctor_set(x_16, 0, x_2); +x_23 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_22, x_16); +lean_dec(x_16); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_6, 2); +x_25 = lean_nat_add(x_8, x_24); +lean_dec(x_8); +x_8 = x_25; +x_9 = lean_box(0); +x_10 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_inc(x_8); +x_27 = l_Lean_Elab_FixedParams_Info_setVarying(x_3, x_8, x_7); +x_28 = lean_ctor_get(x_6, 2); +x_29 = lean_nat_add(x_8, x_28); +lean_dec(x_8); +x_7 = x_27; +x_8 = x_29; +x_9 = lean_box(0); +x_10 = lean_box(0); +goto _start; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_16, 0); +lean_inc(x_31); +lean_dec(x_16); +x_32 = lean_array_get(x_13, x_31, x_1); +lean_dec(x_31); +lean_inc(x_2); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_2); +x_34 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_32, x_33); +lean_dec(x_33); +lean_dec(x_32); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_6, 2); +x_36 = lean_nat_add(x_8, x_35); +lean_dec(x_8); +x_8 = x_36; +x_9 = lean_box(0); +x_10 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_inc(x_8); +x_38 = l_Lean_Elab_FixedParams_Info_setVarying(x_3, x_8, x_7); +x_39 = lean_ctor_get(x_6, 2); +x_40 = lean_nat_add(x_8, x_39); +lean_dec(x_8); +x_7 = x_38; +x_8 = x_40; +x_9 = lean_box(0); +x_10 = lean_box(0); +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___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) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_4, 1); +x_10 = lean_nat_dec_lt(x_6, x_9); +if (x_10 == 0) +{ +lean_dec(x_6); +lean_dec(x_2); +return x_5; +} +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; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_11 = lean_ctor_get(x_5, 0); +lean_inc(x_11); +x_12 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_13 = lean_array_get(x_12, x_11, x_6); +lean_dec(x_11); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_14); +lean_ctor_set(x_17, 2, x_16); +lean_inc(x_2); +x_18 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__1(x_1, x_2, x_6, x_12, x_17, x_17, x_5, x_15, lean_box(0), lean_box(0)); +lean_dec(x_17); +x_19 = lean_ctor_get(x_4, 2); +x_20 = lean_nat_add(x_6, x_19); +lean_dec(x_6); +x_5 = x_18; +x_6 = x_20; +x_7 = lean_box(0); +x_8 = lean_box(0); +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_6, x_5); +if (x_8 == 0) +{ +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; +x_9 = lean_array_uget(x_4, x_6); +x_10 = l_Lean_Elab_FixedParams_Info_setVarying(x_1, x_9, x_7); +x_11 = 1; +x_12 = lean_usize_add(x_6, x_11); +x_6 = x_12; +x_7 = x_10; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setVarying___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParams_Info_setVarying___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParams_Info_setVarying___lambda__1___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setVarying(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_FixedParams_Info_setVarying___closed__1; +x_5 = l_Lean_Elab_FixedParams_Info_mayBeFixed(x_1, x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(0); +x_7 = lean_apply_2(x_4, x_3, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; size_t x_14; lean_object* x_15; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_10 = x_3; +} else { + lean_dec_ref(x_3); + x_10 = lean_box(0); +} +x_11 = lean_array_get_size(x_8); +x_12 = lean_nat_dec_lt(x_1, x_11); +lean_dec(x_11); +x_13 = lean_box(0); +x_14 = 0; +if (x_12 == 0) +{ +x_15 = x_8; +goto block_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; +x_31 = lean_array_fget(x_8, x_1); +x_32 = lean_box(0); +x_33 = lean_array_fset(x_8, x_1, x_32); +x_34 = lean_box(0); +x_35 = lean_array_set(x_31, x_2, x_34); +x_36 = lean_array_fset(x_33, x_1, x_35); +x_15 = x_36; +goto block_30; +} +block_30: +{ +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; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_inc(x_15); +if (lean_is_scalar(x_10)) { + x_16 = lean_alloc_ctor(0, 2, 0); +} else { + x_16 = x_10; +} +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_9); +x_17 = lean_array_get_size(x_15); +lean_dec(x_15); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_17); +lean_ctor_set(x_20, 2, x_19); +lean_inc(x_2); +x_21 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__2(x_1, x_2, x_20, x_20, x_16, x_18, lean_box(0), lean_box(0)); +lean_dec(x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +x_23 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_24 = lean_array_get(x_23, x_22, x_1); +lean_dec(x_22); +x_25 = lean_array_get(x_23, x_24, x_2); +lean_dec(x_2); +lean_dec(x_24); +x_26 = lean_array_size(x_25); +x_27 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__3(x_1, x_13, x_25, x_25, x_26, x_14, x_21); +lean_dec(x_25); +x_28 = lean_box(0); +x_29 = lean_apply_2(x_4, x_27, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParams_Info_setVarying___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) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParams_Info_setVarying___spec__3(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setVarying___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_FixedParams_Info_setVarying___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setVarying___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_FixedParams_Info_setVarying(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_getCallerParam_x3f(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; +x_5 = lean_box(0); +x_6 = lean_ctor_get(x_4, 0); +x_7 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_8 = lean_array_get(x_7, x_6, x_1); +x_9 = lean_array_get(x_5, x_8, x_2); +lean_dec(x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; +x_10 = lean_box(0); +return x_10; +} +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_array_get(x_5, x_11, x_3); +lean_dec(x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_getCallerParam_x3f___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_FixedParams_Info_getCallerParam_x3f(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_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_8, 1); +x_14 = lean_nat_dec_lt(x_10, x_13); +if (x_14 == 0) +{ +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_box(0); +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +lean_inc(x_6); +x_17 = lean_array_get(x_6, x_16, x_5); +lean_dec(x_16); +x_18 = lean_array_get(x_15, x_17, x_10); +lean_dec(x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_8, 2); +x_20 = lean_nat_add(x_10, x_19); +lean_dec(x_10); +x_10 = x_20; +x_11 = lean_box(0); +x_12 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_18, 0); +lean_inc(x_22); +lean_dec(x_18); +x_23 = lean_array_get(x_15, x_22, x_1); +lean_dec(x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_8, 2); +x_25 = lean_nat_add(x_10, x_24); +lean_dec(x_10); +x_10 = x_25; +x_11 = lean_box(0); +x_12 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_nat_dec_eq(x_27, x_2); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_8, 2); +x_30 = lean_nat_add(x_10, x_29); +lean_dec(x_10); +x_10 = x_30; +x_11 = lean_box(0); +x_12 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_inc(x_4); +lean_inc(x_10); +x_32 = l_Lean_Elab_FixedParams_Info_setCallerParam(x_5, x_10, x_3, x_4, x_9); +x_33 = lean_ctor_get(x_8, 2); +x_34 = lean_nat_add(x_10, x_33); +lean_dec(x_10); +x_9 = x_32; +x_10 = x_34; +x_11 = lean_box(0); +x_12 = lean_box(0); +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___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, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_6, 1); +x_12 = lean_nat_dec_lt(x_8, x_11); +if (x_12 == 0) +{ +lean_dec(x_8); +lean_dec(x_4); +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_13 = lean_ctor_get(x_7, 0); +lean_inc(x_13); +x_14 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_15 = lean_array_get(x_14, x_13, x_8); +lean_dec(x_13); +x_16 = lean_array_get_size(x_15); +lean_dec(x_15); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_16); +lean_ctor_set(x_19, 2, x_18); +lean_inc(x_4); +x_20 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__1(x_1, x_2, x_3, x_4, x_8, x_14, x_19, x_19, x_7, x_17, lean_box(0), lean_box(0)); +lean_dec(x_19); +x_21 = lean_ctor_get(x_6, 2); +x_22 = lean_nat_add(x_8, x_21); +lean_dec(x_8); +x_7 = x_20; +x_8 = x_22; +x_9 = lean_box(0); +x_10 = lean_box(0); +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_4, 1); +x_10 = lean_nat_dec_lt(x_6, x_9); +if (x_10 == 0) +{ +lean_dec(x_6); +lean_dec(x_2); +return x_5; +} +else +{ +lean_object* x_11; +x_11 = lean_array_fget(x_3, x_6); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_4, 2); +x_13 = lean_nat_add(x_6, x_12); +lean_dec(x_6); +x_6 = x_13; +x_7 = lean_box(0); +x_8 = lean_box(0); +goto _start; +} +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); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_2); +x_16 = l_Lean_Elab_FixedParams_Info_setCallerParam(x_1, x_2, x_6, x_15, x_5); +x_17 = lean_ctor_get(x_4, 2); +x_18 = lean_nat_add(x_6, x_17); +lean_dec(x_6); +x_5 = x_16; +x_6 = x_18; +x_7 = lean_box(0); +x_8 = lean_box(0); +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setCallerParam___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_array_get_size(x_7); +lean_dec(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_8); +lean_ctor_set(x_11, 2, x_10); +x_12 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__2(x_1, x_2, x_3, x_4, x_11, x_11, x_5, x_9, lean_box(0), lean_box(0)); +lean_dec(x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setCallerParam(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; +x_6 = l_Lean_Elab_FixedParams_Info_mayBeFixed(x_1, x_2, x_5); +if (x_6 == 0) +{ +lean_dec(x_4); +lean_dec(x_2); +return x_5; +} +else +{ +uint8_t x_7; +x_7 = l_Lean_Elab_FixedParams_Info_mayBeFixed(x_3, x_4, x_5); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = l_Lean_Elab_FixedParams_Info_setVarying(x_1, x_2, x_5); +return x_8; +} +else +{ +lean_object* x_9; +x_9 = l_Lean_Elab_FixedParams_Info_getCallerParam_x3f(x_1, x_2, x_3, x_5); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_12 = x_5; +} else { + lean_dec_ref(x_5); + x_12 = lean_box(0); +} +x_13 = lean_array_get_size(x_10); +x_14 = lean_nat_dec_lt(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(0); +if (x_14 == 0) +{ +x_16 = x_10; +goto block_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_32 = lean_array_fget(x_10, x_1); +x_33 = lean_box(0); +x_34 = lean_array_fset(x_10, x_1, x_33); +x_35 = lean_array_get_size(x_32); +x_36 = lean_nat_dec_lt(x_2, x_35); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_array_fset(x_34, x_1, x_32); +x_16 = x_37; +goto block_31; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_array_fget(x_32, x_2); +x_39 = lean_array_fset(x_32, x_2, x_33); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_array_fset(x_39, x_2, x_15); +x_41 = lean_array_fset(x_34, x_1, x_40); +x_16 = x_41; +goto block_31; +} +else +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_38, 0); +lean_inc(x_4); +lean_ctor_set(x_38, 0, x_4); +x_44 = lean_array_set(x_43, x_3, x_38); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_array_fset(x_39, x_2, x_45); +x_47 = lean_array_fset(x_34, x_1, x_46); +x_16 = x_47; +goto block_31; +} +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; +x_48 = lean_ctor_get(x_38, 0); +lean_inc(x_48); +lean_dec(x_38); +lean_inc(x_4); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_4); +x_50 = lean_array_set(x_48, x_3, x_49); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_52 = lean_array_fset(x_39, x_2, x_51); +x_53 = lean_array_fset(x_34, x_1, x_52); +x_16 = x_53; +goto block_31; +} +} +} +} +block_31: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_inc(x_16); +if (lean_is_scalar(x_12)) { + x_17 = lean_alloc_ctor(0, 2, 0); +} else { + x_17 = x_12; +} +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_11); +x_18 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_19 = lean_array_get(x_18, x_16, x_3); +lean_dec(x_16); +x_20 = lean_array_get(x_15, x_19, x_4); +lean_dec(x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_Elab_FixedParams_Info_setCallerParam___lambda__1(x_1, x_2, x_3, x_4, x_17, x_21); +lean_dec(x_2); +return x_22; +} +else +{ +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_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_array_get_size(x_23); +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_24); +lean_ctor_set(x_27, 2, x_26); +lean_inc(x_2); +x_28 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__3(x_1, x_2, x_23, x_27, x_17, x_25, lean_box(0), lean_box(0)); +lean_dec(x_27); +lean_dec(x_23); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_FixedParams_Info_setCallerParam___lambda__1(x_1, x_2, x_3, x_4, x_28, x_29); +lean_dec(x_2); +return x_30; +} +} +} +else +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_9, 0); +lean_inc(x_54); +lean_dec(x_9); +x_55 = lean_nat_dec_eq(x_4, x_54); +lean_dec(x_54); +lean_dec(x_4); +if (x_55 == 0) +{ +lean_object* x_56; +x_56 = l_Lean_Elab_FixedParams_Info_setVarying(x_1, x_2, x_5); +return x_56; +} +else +{ +lean_dec(x_2); +return x_5; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParams_Info_setCallerParam___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setCallerParam___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_FixedParams_Info_setCallerParam___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_setCallerParam___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_FixedParams_Info_setCallerParam(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\?", 1, 1); +return x_1; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("#", 1, 1); +return x_1; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +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; +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ctor_get(x_1, 0); +lean_dec(x_7); +x_8 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__2; +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_8); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +x_11 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__2; +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_1 = x_10; +x_2 = x_12; +goto _start; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_1, 1); +x_16 = lean_ctor_get(x_1, 0); +lean_dec(x_16); +x_17 = !lean_is_exclusive(x_4); +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; +x_18 = lean_ctor_get(x_4, 0); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_18, x_19); +lean_dec(x_18); +x_21 = l___private_Init_Data_Repr_0__Nat_reprFast(x_20); +lean_ctor_set_tag(x_4, 3); +lean_ctor_set(x_4, 0, x_21); +x_22 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__4; +x_23 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_4); +x_24 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__6; +x_25 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_25); +{ +lean_object* _tmp_0 = x_15; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +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; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_27 = lean_ctor_get(x_4, 0); +lean_inc(x_27); +lean_dec(x_4); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_27, x_28); +lean_dec(x_27); +x_30 = l___private_Init_Data_Repr_0__Nat_reprFast(x_29); +x_31 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__4; +x_33 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__6; +x_35 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_35); +{ +lean_object* _tmp_0 = x_15; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +} +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; 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_37 = lean_ctor_get(x_1, 1); +lean_inc(x_37); +lean_dec(x_1); +x_38 = lean_ctor_get(x_4, 0); +lean_inc(x_38); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + x_39 = x_4; +} else { + lean_dec_ref(x_4); + x_39 = lean_box(0); +} +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_38, x_40); +lean_dec(x_38); +x_42 = l___private_Init_Data_Repr_0__Nat_reprFast(x_41); +if (lean_is_scalar(x_39)) { + x_43 = lean_alloc_ctor(3, 1, 0); +} else { + x_43 = x_39; + lean_ctor_set_tag(x_43, 3); +} +lean_ctor_set(x_43, 0, x_42); +x_44 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__4; +x_45 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__6; +x_47 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_2); +x_1 = x_37; +x_2 = x_48; +goto _start; +} +} +} +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("❌", 3, 1); +return x_1; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ", 1, 1); +return x_1; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("[", 1, 1); +return x_1; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__5; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__6; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___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_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]", 1, 1); +return x_1; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__9; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +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; +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ctor_get(x_1, 0); +lean_dec(x_7); +x_8 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__2; +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_8); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +x_11 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__2; +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_1 = x_10; +x_2 = x_12; +goto _start; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_15 = lean_ctor_get(x_1, 1); +x_16 = lean_ctor_get(x_1, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_4, 0); +lean_inc(x_17); +lean_dec(x_4); +x_18 = lean_array_to_list(x_17); +x_19 = lean_box(0); +x_20 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1(x_18, x_19); +x_21 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4; +x_22 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_20, x_21); +x_23 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__8; +x_24 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10; +x_26 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__7; +x_28 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = 0; +x_30 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_29); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_30); +{ +lean_object* _tmp_0 = x_15; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; +x_32 = lean_ctor_get(x_1, 1); +lean_inc(x_32); +lean_dec(x_1); +x_33 = lean_ctor_get(x_4, 0); +lean_inc(x_33); +lean_dec(x_4); +x_34 = lean_array_to_list(x_33); +x_35 = lean_box(0); +x_36 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1(x_34, x_35); +x_37 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4; +x_38 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_36, x_37); +x_39 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__8; +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_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10; +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_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__7; +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); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_2); +x_1 = x_32; +x_2 = x_47; +goto _start; +} +} +} +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("• ", 4, 2); +return x_1; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_to_list(x_5); +x_8 = lean_box(0); +x_9 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2(x_7, x_8); +x_10 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4; +x_11 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_9, x_10); +x_12 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__2; +x_13 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_13); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +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; +x_15 = lean_ctor_get(x_1, 0); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_1); +x_17 = lean_array_to_list(x_15); +x_18 = lean_box(0); +x_19 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2(x_17, x_18); +x_20 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4; +x_21 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_19, x_20); +x_22 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__2; +x_23 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_2); +x_1 = x_16; +x_2 = x_24; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParams_Info_format(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_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = lean_array_to_list(x_2); +x_4 = lean_box(0); +x_5 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3(x_3, x_4); +x_6 = lean_box(1); +x_7 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_5, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Elab_FixedParams_instToFormatInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParams_Info_format), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParams_instToFormatInfo() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_FixedParams_instToFormatInfo___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 5) +{ +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, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__4(x_1, x_4, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_unbox(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_7); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_5, x_9); +return x_10; +} +else +{ +uint8_t x_11; +lean_dec(x_5); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_6, 0); +lean_dec(x_12); +return x_6; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_dec(x_6); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +else +{ +lean_object* x_15; +x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_2, x_3); +return x_15; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__6(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_3 = x_9; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +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) +{ +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_getParamRevDeps___spec__7(x_1, x_3, x_8, x_9); +return x_10; +} +} +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_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = 0; +return x_15; +} +else +{ +size_t x_16; size_t x_17; uint8_t x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_18 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__8(x_1, x_11, x_16, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +x_4 = l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__6(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 0; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_12 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__9(x_1, x_5, x_10, x_11); +return x_12; +} +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_name_eq(x_1, x_4); +lean_dec(x_4); +x_6 = lean_box(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_3); +return x_7; +} +case 2: +{ +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 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(x_8, x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +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; uint8_t x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_9, 0); +lean_dec(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +x_15 = l_Lean_MetavarContext_getDecl(x_14, x_8); +lean_dec(x_8); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__5(x_1, x_17); +lean_dec(x_17); +x_19 = lean_box(x_18); +lean_ctor_set(x_9, 0, x_19); +return x_9; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); +lean_dec(x_9); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +x_22 = l_Lean_MetavarContext_getDecl(x_21, x_8); +lean_dec(x_8); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__5(x_1, x_24); +lean_dec(x_24); +x_26 = lean_box(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_20); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_8); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_dec(x_9); +x_29 = lean_ctor_get(x_10, 0); +lean_inc(x_29); +lean_dec(x_10); +x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_29, x_28); +return x_30; +} +} +case 5: +{ +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Expr_getAppFn(x_2); +x_32 = l_Lean_Expr_isMVar(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_31); +x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__4(x_1, x_2, x_3); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_inc(x_2); +x_34 = l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(x_2, x_3); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Expr_getAppFn(x_35); +x_38 = lean_expr_eqv(x_37, x_31); +lean_dec(x_31); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_dec(x_2); +x_2 = x_35; +x_3 = x_36; +goto _start; +} +else +{ +lean_object* x_40; +lean_dec(x_35); +x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__4(x_1, x_2, x_36); +return x_40; +} +} +} +case 6: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_2, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_2, 2); +lean_inc(x_42); +lean_dec(x_2); +x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_41, x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_unbox(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_44); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_42, x_46); +return x_47; +} +else +{ +uint8_t x_48; +lean_dec(x_42); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_43, 0); +lean_dec(x_49); +return x_43; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_dec(x_43); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +case 7: +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_2, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_2, 2); +lean_inc(x_53); +lean_dec(x_2); +x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_52, x_3); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_55); +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_53, x_57); +return x_58; +} +else +{ +uint8_t x_59; +lean_dec(x_53); +x_59 = !lean_is_exclusive(x_54); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_54, 0); +lean_dec(x_60); +return x_54; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +lean_dec(x_54); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +case 8: +{ +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_63 = lean_ctor_get(x_2, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_2, 2); +lean_inc(x_64); +x_65 = lean_ctor_get(x_2, 3); +lean_inc(x_65); +lean_dec(x_2); +x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_63, x_3); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_67); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_64, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_71); +x_73 = lean_ctor_get(x_70, 1); +lean_inc(x_73); +lean_dec(x_70); +x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_65, x_73); +return x_74; +} +else +{ +uint8_t x_75; +lean_dec(x_65); +x_75 = !lean_is_exclusive(x_70); +if (x_75 == 0) +{ +lean_object* x_76; +x_76 = lean_ctor_get(x_70, 0); +lean_dec(x_76); +return x_70; +} +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_71); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +else +{ +uint8_t x_79; +lean_dec(x_65); +lean_dec(x_64); +x_79 = !lean_is_exclusive(x_66); +if (x_79 == 0) +{ +lean_object* x_80; +x_80 = lean_ctor_get(x_66, 0); +lean_dec(x_80); +return x_66; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_66, 1); +lean_inc(x_81); +lean_dec(x_66); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_67); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} +case 10: +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_2, 1); +lean_inc(x_83); +lean_dec(x_2); +x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_83, x_3); +return x_84; +} +case 11: +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_2, 2); +lean_inc(x_85); +lean_dec(x_2); +x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_85, x_3); +return x_86; +} +default: +{ +uint8_t x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_2); +x_87 = 0; +x_88 = lean_box(x_87); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_3); +return x_89; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___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; +lean_inc(x_2); +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_2); +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 0); +lean_dec(x_8); +x_9 = 0; +x_10 = lean_box(x_9); +lean_ctor_set(x_4, 0, x_10); +return x_4; +} +else +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = 0; +x_13 = lean_box(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +lean_dec(x_4); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__3(x_1, x_2, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 5) +{ +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, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__12(x_1, x_4, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_unbox(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_7); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_5, x_9); +return x_10; +} +else +{ +uint8_t x_11; +lean_dec(x_5); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_6, 0); +lean_dec(x_12); +return x_6; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_dec(x_6); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +else +{ +lean_object* x_15; +x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_2, x_3); +return x_15; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__14(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_3 = x_9; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__16(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__14(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +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) +{ +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_getParamRevDeps___spec__15(x_1, x_3, x_8, x_9); +return x_10; +} +} +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_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = 0; +return x_15; +} +else +{ +size_t x_16; size_t x_17; uint8_t x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_18 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__16(x_1, x_11, x_16, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__17(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__13(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +x_4 = l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__14(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 0; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_12 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__17(x_1, x_5, x_10, x_11); +return x_12; +} +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_name_eq(x_1, x_4); +lean_dec(x_4); +x_6 = lean_box(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_3); +return x_7; +} +case 2: +{ +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 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(x_8, x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +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; uint8_t x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_9, 0); +lean_dec(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +x_15 = l_Lean_MetavarContext_getDecl(x_14, x_8); +lean_dec(x_8); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__13(x_1, x_17); +lean_dec(x_17); +x_19 = lean_box(x_18); +lean_ctor_set(x_9, 0, x_19); +return x_9; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); +lean_dec(x_9); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +x_22 = l_Lean_MetavarContext_getDecl(x_21, x_8); +lean_dec(x_8); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__13(x_1, x_24); +lean_dec(x_24); +x_26 = lean_box(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_20); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_8); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_dec(x_9); +x_29 = lean_ctor_get(x_10, 0); +lean_inc(x_29); +lean_dec(x_10); +x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_29, x_28); +return x_30; +} +} +case 5: +{ +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Expr_getAppFn(x_2); +x_32 = l_Lean_Expr_isMVar(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_31); +x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__12(x_1, x_2, x_3); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_inc(x_2); +x_34 = l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(x_2, x_3); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Expr_getAppFn(x_35); +x_38 = lean_expr_eqv(x_37, x_31); +lean_dec(x_31); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_dec(x_2); +x_2 = x_35; +x_3 = x_36; +goto _start; +} +else +{ +lean_object* x_40; +lean_dec(x_35); +x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__12(x_1, x_2, x_36); +return x_40; +} +} +} +case 6: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_2, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_2, 2); +lean_inc(x_42); +lean_dec(x_2); +x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_41, x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_unbox(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_44); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_42, x_46); +return x_47; +} +else +{ +uint8_t x_48; +lean_dec(x_42); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_43, 0); +lean_dec(x_49); +return x_43; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_dec(x_43); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +case 7: +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_2, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_2, 2); +lean_inc(x_53); +lean_dec(x_2); +x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_52, x_3); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_55); +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_53, x_57); +return x_58; +} +else +{ +uint8_t x_59; +lean_dec(x_53); +x_59 = !lean_is_exclusive(x_54); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_54, 0); +lean_dec(x_60); +return x_54; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +lean_dec(x_54); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +case 8: +{ +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_63 = lean_ctor_get(x_2, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_2, 2); +lean_inc(x_64); +x_65 = lean_ctor_get(x_2, 3); +lean_inc(x_65); +lean_dec(x_2); +x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_63, x_3); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_67); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_64, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_71); +x_73 = lean_ctor_get(x_70, 1); +lean_inc(x_73); +lean_dec(x_70); +x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_65, x_73); +return x_74; +} +else +{ +uint8_t x_75; +lean_dec(x_65); +x_75 = !lean_is_exclusive(x_70); +if (x_75 == 0) +{ +lean_object* x_76; +x_76 = lean_ctor_get(x_70, 0); +lean_dec(x_76); +return x_70; +} +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_71); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +else +{ +uint8_t x_79; +lean_dec(x_65); +lean_dec(x_64); +x_79 = !lean_is_exclusive(x_66); +if (x_79 == 0) +{ +lean_object* x_80; +x_80 = lean_ctor_get(x_66, 0); +lean_dec(x_80); +return x_66; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_66, 1); +lean_inc(x_81); +lean_dec(x_66); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_67); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} +case 10: +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_2, 1); +lean_inc(x_83); +lean_dec(x_2); +x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_83, x_3); +return x_84; +} +case 11: +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_2, 2); +lean_inc(x_85); +lean_dec(x_2); +x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_85, x_3); +return x_86; +} +default: +{ +uint8_t x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_2); +x_87 = 0; +x_88 = lean_box(x_87); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_3); +return x_89; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_inc(x_2); +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_2); +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 0); +lean_dec(x_8); +x_9 = 0; +x_10 = lean_box(x_9); +lean_ctor_set(x_4, 0, x_10); +return x_4; +} +else +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = 0; +x_13 = lean_box(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +lean_dec(x_4); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__11(x_1, x_2, x_15); +return x_16; +} +} +} +static lean_object* _init_l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___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_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__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_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__1; +x_3 = lean_mk_array(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___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_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__2; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_get(x_4, x_7); +x_9 = !lean_is_exclusive(x_8); +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_8, 0); +x_11 = lean_ctor_get(x_8, 1); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__3; +lean_inc(x_12); +lean_ctor_set(x_8, 1, x_12); +lean_ctor_set(x_8, 0, x_13); +x_14 = l_Lean_Expr_hasFVar(x_1); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = l_Lean_Expr_hasMVar(x_1); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_dec(x_8); +lean_dec(x_1); +x_16 = lean_st_ref_take(x_4, 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_is_exclusive(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_17, 0); +lean_dec(x_20); +lean_ctor_set(x_17, 0, x_12); +x_21 = lean_st_ref_set(x_4, x_17, x_18); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = 0; +x_25 = lean_box(x_24); +lean_ctor_set(x_21, 0, x_25); +return x_21; +} +else +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = 0; +x_28 = lean_box(x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_26); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; +x_30 = lean_ctor_get(x_17, 1); +x_31 = lean_ctor_get(x_17, 2); +x_32 = lean_ctor_get(x_17, 3); +x_33 = lean_ctor_get(x_17, 4); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_17); +x_34 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_34, 0, x_12); +lean_ctor_set(x_34, 1, x_30); +lean_ctor_set(x_34, 2, x_31); +lean_ctor_set(x_34, 3, x_32); +lean_ctor_set(x_34, 4, x_33); +x_35 = lean_st_ref_set(x_4, x_34, x_18); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + x_37 = x_35; +} else { + lean_dec_ref(x_35); + x_37 = lean_box(0); +} +x_38 = 0; +x_39 = lean_box(x_38); +if (lean_is_scalar(x_37)) { + x_40 = lean_alloc_ctor(0, 2, 0); +} else { + x_40 = x_37; +} +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_36); +return x_40; +} +} +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; uint8_t x_48; +lean_dec(x_12); +x_41 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_2, x_1, x_8); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_st_ref_take(x_4, x_11); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = lean_ctor_get(x_46, 0); +lean_dec(x_49); +lean_ctor_set(x_46, 0, x_44); +x_50 = lean_st_ref_set(x_4, x_46, x_47); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_50, 0); +lean_dec(x_52); +lean_ctor_set(x_50, 0, x_43); +return x_50; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_43); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +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; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_55 = lean_ctor_get(x_46, 1); +x_56 = lean_ctor_get(x_46, 2); +x_57 = lean_ctor_get(x_46, 3); +x_58 = lean_ctor_get(x_46, 4); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_46); +x_59 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_59, 0, x_44); +lean_ctor_set(x_59, 1, x_55); +lean_ctor_set(x_59, 2, x_56); +lean_ctor_set(x_59, 3, x_57); +lean_ctor_set(x_59, 4, x_58); +x_60 = lean_st_ref_set(x_4, x_59, x_47); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_62 = x_60; +} else { + lean_dec_ref(x_60); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_43); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_dec(x_12); +x_64 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_2, x_1, x_8); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_st_ref_take(x_4, x_11); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = !lean_is_exclusive(x_69); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_72 = lean_ctor_get(x_69, 0); +lean_dec(x_72); +lean_ctor_set(x_69, 0, x_67); +x_73 = lean_st_ref_set(x_4, x_69, x_70); +x_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_73, 0); +lean_dec(x_75); +lean_ctor_set(x_73, 0, x_66); +return x_73; +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_73, 1); +lean_inc(x_76); +lean_dec(x_73); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_66); +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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_78 = lean_ctor_get(x_69, 1); +x_79 = lean_ctor_get(x_69, 2); +x_80 = lean_ctor_get(x_69, 3); +x_81 = lean_ctor_get(x_69, 4); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_69); +x_82 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_82, 0, x_67); +lean_ctor_set(x_82, 1, x_78); +lean_ctor_set(x_82, 2, x_79); +lean_ctor_set(x_82, 3, x_80); +lean_ctor_set(x_82, 4, x_81); +x_83 = lean_st_ref_set(x_4, x_82, x_70); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_85 = x_83; +} else { + lean_dec_ref(x_83); + x_85 = lean_box(0); +} +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_85; +} +lean_ctor_set(x_86, 0, x_66); +lean_ctor_set(x_86, 1, x_84); +return x_86; +} +} +} +else +{ +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_8, 0); +x_88 = lean_ctor_get(x_8, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_8); +x_89 = lean_ctor_get(x_87, 0); +lean_inc(x_89); +lean_dec(x_87); +x_90 = l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__3; +lean_inc(x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); +x_92 = l_Lean_Expr_hasFVar(x_1); +if (x_92 == 0) +{ +uint8_t x_93; +x_93 = l_Lean_Expr_hasMVar(x_1); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_91); +lean_dec(x_1); +x_94 = lean_st_ref_take(x_4, x_88); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_95, 2); +lean_inc(x_98); +x_99 = lean_ctor_get(x_95, 3); +lean_inc(x_99); +x_100 = lean_ctor_get(x_95, 4); +lean_inc(x_100); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + lean_ctor_release(x_95, 2); + lean_ctor_release(x_95, 3); + lean_ctor_release(x_95, 4); + x_101 = x_95; +} else { + lean_dec_ref(x_95); + x_101 = lean_box(0); +} +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(0, 5, 0); +} else { + x_102 = x_101; +} +lean_ctor_set(x_102, 0, x_89); +lean_ctor_set(x_102, 1, x_97); +lean_ctor_set(x_102, 2, x_98); +lean_ctor_set(x_102, 3, x_99); +lean_ctor_set(x_102, 4, x_100); +x_103 = lean_st_ref_set(x_4, x_102, x_96); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = 0; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_105; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; +} +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; 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_dec(x_89); +x_109 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_2, x_1, x_91); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 0); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_st_ref_take(x_4, x_88); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec(x_113); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_114, 2); +lean_inc(x_117); +x_118 = lean_ctor_get(x_114, 3); +lean_inc(x_118); +x_119 = lean_ctor_get(x_114, 4); +lean_inc(x_119); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + lean_ctor_release(x_114, 2); + lean_ctor_release(x_114, 3); + lean_ctor_release(x_114, 4); + x_120 = x_114; +} else { + lean_dec_ref(x_114); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(0, 5, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_112); +lean_ctor_set(x_121, 1, x_116); +lean_ctor_set(x_121, 2, x_117); +lean_ctor_set(x_121, 3, x_118); +lean_ctor_set(x_121, 4, x_119); +x_122 = lean_st_ref_set(x_4, x_121, x_115); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; +} else { + lean_dec_ref(x_122); + x_124 = lean_box(0); +} +if (lean_is_scalar(x_124)) { + x_125 = lean_alloc_ctor(0, 2, 0); +} else { + x_125 = x_124; +} +lean_ctor_set(x_125, 0, x_111); +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; 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_dec(x_89); +x_126 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_2, x_1, x_91); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 0); +lean_inc(x_128); +lean_dec(x_126); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_st_ref_take(x_4, x_88); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +x_134 = lean_ctor_get(x_131, 2); +lean_inc(x_134); +x_135 = lean_ctor_get(x_131, 3); +lean_inc(x_135); +x_136 = lean_ctor_get(x_131, 4); +lean_inc(x_136); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + lean_ctor_release(x_131, 2); + lean_ctor_release(x_131, 3); + lean_ctor_release(x_131, 4); + x_137 = x_131; +} else { + lean_dec_ref(x_131); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 5, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_129); +lean_ctor_set(x_138, 1, x_133); +lean_ctor_set(x_138, 2, x_134); +lean_ctor_set(x_138, 3, x_135); +lean_ctor_set(x_138, 4, x_136); +x_139 = lean_st_ref_set(x_4, x_138, x_132); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_141 = x_139; +} else { + lean_dec_ref(x_139); + x_141 = lean_box(0); +} +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(0, 2, 0); +} else { + x_142 = x_141; +} +lean_ctor_set(x_142, 0, x_128); +lean_ctor_set(x_142, 1, x_140); +return x_142; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__18(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; uint8_t x_14; +x_13 = lean_ctor_get(x_3, 1); +x_14 = lean_nat_dec_lt(x_5, x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_fget(x_1, x_5); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_17 = lean_infer_type(x_16, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(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; uint8_t x_24; +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_fget(x_1, x_2); +x_21 = l_Lean_Expr_fvarId_x21(x_20); +lean_dec(x_20); +x_22 = l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1(x_18, x_21, x_8, x_9, x_10, x_11, x_19); +lean_dec(x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_ctor_get(x_3, 2); +x_27 = lean_nat_add(x_5, x_26); +lean_dec(x_5); +x_5 = x_27; +x_6 = lean_box(0); +x_7 = lean_box(0); +x_12 = x_25; +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +lean_inc(x_5); +x_30 = lean_array_push(x_4, x_5); +x_31 = lean_ctor_get(x_3, 2); +x_32 = lean_nat_add(x_5, x_31); +lean_dec(x_5); +x_4 = x_30; +x_5 = x_32; +x_6 = lean_box(0); +x_7 = lean_box(0); +x_12 = x_29; +goto _start; +} +} +else +{ +uint8_t x_34; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +x_34 = !lean_is_exclusive(x_17); +if (x_34 == 0) +{ +return x_17; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_17, 0); +x_36 = lean_ctor_get(x_17, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_17); +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; +} +} +} +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_array_mk(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19(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; uint8_t x_14; +x_13 = lean_ctor_get(x_3, 1); +x_14 = lean_nat_dec_lt(x_5, x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_inc(x_2); +lean_inc(x_17); +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_2); +lean_ctor_set(x_18, 2, x_16); +x_19 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_20 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__18(x_1, x_5, x_18, x_19, x_17, lean_box(0), lean_box(0), x_8, x_9, x_10, x_11, x_12); +lean_dec(x_18); +if (lean_obj_tag(x_20) == 0) +{ +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_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_push(x_4, x_21); +x_24 = lean_ctor_get(x_3, 2); +x_25 = lean_nat_add(x_5, x_24); +lean_dec(x_5); +x_4 = x_23; +x_5 = x_25; +x_6 = lean_box(0); +x_7 = lean_box(0); +x_12 = x_22; +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +return x_20; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_20); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = lean_array_get_size(x_1); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_unsigned_to_nat(1u); +lean_inc(x_8); +x_11 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_8); +lean_ctor_set(x_11, 2, x_10); +x_12 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_13 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19(x_1, x_8, x_11, x_12, x_9, lean_box(0), lean_box(0), x_3, x_4, x_5, x_6, x_7); +lean_dec(x_11); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +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; +} +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___lambda__1___boxed), 7, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +x_14 = lean_ctor_get(x_11, 5); +lean_inc(x_14); +lean_dec(x_11); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___closed__1; +x_16 = 1; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_17 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +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 = 1; +x_21 = lean_usize_add(x_2, x_20); +x_22 = lean_array_uset(x_13, x_2, x_18); +x_2 = x_21; +x_3 = x_22; +x_8 = x_19; +goto _start; +} +else +{ +uint8_t x_24; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getParamRevDeps(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_array_size(x_1); +x_8 = 0; +x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__4(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__7(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__8___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__8(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__6(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_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__9___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__9(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__5(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_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__3(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__2(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_getParamRevDeps___spec__12(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__15___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__15(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__16___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__16(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentArray_anyMAux___at_Lean_Elab_getParamRevDeps___spec__14(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_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__17___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_getParamRevDeps___spec__17(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__13___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentArray_anyM___at_Lean_Elab_getParamRevDeps___spec__13(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_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_getParamRevDeps___spec__11(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_getParamRevDeps___spec__10(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1(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); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__18(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); +lean_dec(x_2); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19(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); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___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_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___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_array_get_size(x_5); +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_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); +lean_closure_set(x_1, 0, lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_getFixedParamsInfo___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; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___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; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_4, 2); +x_8 = l_Lean_isTracingEnabledForCore(x_1, x_7, x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +static double _init_l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; double x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = 0; +x_3 = l_Float_ofScientific(x_1, x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_8 = lean_ctor_get(x_5, 5); +x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_3, x_4, x_5, x_6, 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); +x_12 = lean_st_ref_take(x_6, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +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, 1); +x_17 = lean_ctor_get(x_12, 0); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_13, 3); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +lean_object* x_21; double 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; uint8_t x_30; +x_21 = lean_ctor_get(x_14, 0); +x_22 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___closed__1; +x_23 = 0; +x_24 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5; +x_25 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set_float(x_25, sizeof(void*)*2, x_22); +lean_ctor_set_float(x_25, sizeof(void*)*2 + 8, x_22); +lean_ctor_set_uint8(x_25, sizeof(void*)*2 + 16, x_23); +x_26 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_27 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_10); +lean_ctor_set(x_27, 2, x_26); +lean_inc(x_8); +lean_ctor_set(x_12, 1, x_27); +lean_ctor_set(x_12, 0, x_8); +x_28 = l_Lean_PersistentArray_push___rarg(x_21, x_12); +lean_ctor_set(x_14, 0, x_28); +x_29 = lean_st_ref_set(x_6, x_13, x_16); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_29, 0, x_32); +return x_29; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +else +{ +uint64_t x_36; lean_object* x_37; double x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_36 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); +x_37 = lean_ctor_get(x_14, 0); +lean_inc(x_37); +lean_dec(x_14); +x_38 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___closed__1; +x_39 = 0; +x_40 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5; +x_41 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_41, 0, x_1); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set_float(x_41, sizeof(void*)*2, x_38); +lean_ctor_set_float(x_41, sizeof(void*)*2 + 8, x_38); +lean_ctor_set_uint8(x_41, sizeof(void*)*2 + 16, x_39); +x_42 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_43 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_10); +lean_ctor_set(x_43, 2, x_42); +lean_inc(x_8); +lean_ctor_set(x_12, 1, x_43); +lean_ctor_set(x_12, 0, x_8); +x_44 = l_Lean_PersistentArray_push___rarg(x_37, x_12); +x_45 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set_uint64(x_45, sizeof(void*)*1, x_36); +lean_ctor_set(x_13, 3, x_45); +x_46 = lean_st_ref_set(x_6, x_13, x_16); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_48 = x_46; +} else { + lean_dec_ref(x_46); + x_48 = lean_box(0); +} +x_49 = lean_box(0); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_48; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +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; uint64_t x_58; lean_object* x_59; lean_object* x_60; double x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_51 = lean_ctor_get(x_13, 0); +x_52 = lean_ctor_get(x_13, 1); +x_53 = lean_ctor_get(x_13, 2); +x_54 = lean_ctor_get(x_13, 4); +x_55 = lean_ctor_get(x_13, 5); +x_56 = lean_ctor_get(x_13, 6); +x_57 = lean_ctor_get(x_13, 7); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_13); +x_58 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); +x_59 = lean_ctor_get(x_14, 0); +lean_inc(x_59); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_60 = x_14; +} else { + lean_dec_ref(x_14); + x_60 = lean_box(0); +} +x_61 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___closed__1; +x_62 = 0; +x_63 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5; +x_64 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_64, 0, x_1); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set_float(x_64, sizeof(void*)*2, x_61); +lean_ctor_set_float(x_64, sizeof(void*)*2 + 8, x_61); +lean_ctor_set_uint8(x_64, sizeof(void*)*2 + 16, x_62); +x_65 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_66 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_10); +lean_ctor_set(x_66, 2, x_65); +lean_inc(x_8); +lean_ctor_set(x_12, 1, x_66); +lean_ctor_set(x_12, 0, x_8); +x_67 = l_Lean_PersistentArray_push___rarg(x_59, x_12); +if (lean_is_scalar(x_60)) { + x_68 = lean_alloc_ctor(0, 1, 8); +} else { + x_68 = x_60; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set_uint64(x_68, sizeof(void*)*1, x_58); +x_69 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_69, 0, x_51); +lean_ctor_set(x_69, 1, x_52); +lean_ctor_set(x_69, 2, x_53); +lean_ctor_set(x_69, 3, x_68); +lean_ctor_set(x_69, 4, x_54); +lean_ctor_set(x_69, 5, x_55); +lean_ctor_set(x_69, 6, x_56); +lean_ctor_set(x_69, 7, x_57); +x_70 = lean_st_ref_set(x_6, x_69, x_16); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_72 = x_70; +} else { + lean_dec_ref(x_70); + x_72 = lean_box(0); +} +x_73 = lean_box(0); +if (lean_is_scalar(x_72)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_72; +} +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +return x_74; +} +} +else +{ +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; uint64_t x_84; lean_object* x_85; lean_object* x_86; double x_87; uint8_t 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; +x_75 = lean_ctor_get(x_12, 1); +lean_inc(x_75); +lean_dec(x_12); +x_76 = lean_ctor_get(x_13, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_13, 1); +lean_inc(x_77); +x_78 = lean_ctor_get(x_13, 2); +lean_inc(x_78); +x_79 = lean_ctor_get(x_13, 4); +lean_inc(x_79); +x_80 = lean_ctor_get(x_13, 5); +lean_inc(x_80); +x_81 = lean_ctor_get(x_13, 6); +lean_inc(x_81); +x_82 = lean_ctor_get(x_13, 7); +lean_inc(x_82); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + lean_ctor_release(x_13, 3); + lean_ctor_release(x_13, 4); + lean_ctor_release(x_13, 5); + lean_ctor_release(x_13, 6); + lean_ctor_release(x_13, 7); + x_83 = x_13; +} else { + lean_dec_ref(x_13); + x_83 = lean_box(0); +} +x_84 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); +x_85 = lean_ctor_get(x_14, 0); +lean_inc(x_85); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_86 = x_14; +} else { + lean_dec_ref(x_14); + x_86 = lean_box(0); +} +x_87 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___closed__1; +x_88 = 0; +x_89 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5; +x_90 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_90, 0, x_1); +lean_ctor_set(x_90, 1, x_89); +lean_ctor_set_float(x_90, sizeof(void*)*2, x_87); +lean_ctor_set_float(x_90, sizeof(void*)*2 + 8, x_87); +lean_ctor_set_uint8(x_90, sizeof(void*)*2 + 16, x_88); +x_91 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_92 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_10); +lean_ctor_set(x_92, 2, x_91); +lean_inc(x_8); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_8); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_PersistentArray_push___rarg(x_85, x_93); +if (lean_is_scalar(x_86)) { + x_95 = lean_alloc_ctor(0, 1, 8); +} else { + x_95 = x_86; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set_uint64(x_95, sizeof(void*)*1, x_84); +if (lean_is_scalar(x_83)) { + x_96 = lean_alloc_ctor(0, 8, 0); +} else { + x_96 = x_83; +} +lean_ctor_set(x_96, 0, x_76); +lean_ctor_set(x_96, 1, x_77); +lean_ctor_set(x_96, 2, x_78); +lean_ctor_set(x_96, 3, x_95); +lean_ctor_set(x_96, 4, x_79); +lean_ctor_set(x_96, 5, x_80); +lean_ctor_set(x_96, 6, x_81); +lean_ctor_set(x_96, 7, x_82); +x_97 = lean_st_ref_set(x_6, x_96, x_75); +x_98 = lean_ctor_get(x_97, 1); +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 = lean_box(0); +if (lean_is_scalar(x_99)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_99; +} +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_98); +return x_101; +} +} +} +static uint64_t _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1() { +_start: +{ +uint8_t x_1; uint64_t x_2; +x_1 = 2; +x_2 = l_Lean_Meta_TransparencyMode_toUInt64(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___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, 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, lean_object* x_17) { +_start: +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_8, 1); +x_19 = lean_nat_dec_lt(x_10, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +x_20 = lean_box(x_9); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_17); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_st_ref_get(x_1, x_17); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Elab_FixedParams_Info_mayBeFixed(x_2, x_10, x_31); +lean_dec(x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_box(x_9); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_22 = x_35; +x_23 = x_32; +goto block_29; +} +else +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_36 = lean_array_fget(x_4, x_10); +x_37 = lean_ctor_get(x_13, 0); +lean_inc(x_37); +x_38 = lean_ctor_get_uint8(x_13, sizeof(void*)*7 + 8); +x_39 = lean_ctor_get(x_13, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_13, 2); +lean_inc(x_40); +x_41 = lean_ctor_get(x_13, 3); +lean_inc(x_41); +x_42 = lean_ctor_get(x_13, 4); +lean_inc(x_42); +x_43 = lean_ctor_get(x_13, 5); +lean_inc(x_43); +x_44 = lean_ctor_get(x_13, 6); +lean_inc(x_44); +x_45 = !lean_is_exclusive(x_37); +if (x_45 == 0) +{ +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; uint8_t x_56; uint8_t x_57; uint8_t x_58; uint8_t x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; uint8_t x_64; uint64_t x_65; uint8_t x_66; lean_object* x_67; uint64_t x_68; uint64_t x_69; uint64_t x_70; uint64_t x_71; uint64_t x_72; lean_object* x_73; lean_object* x_74; +x_46 = lean_ctor_get_uint8(x_13, sizeof(void*)*7 + 9); +x_47 = lean_ctor_get_uint8(x_13, sizeof(void*)*7 + 10); +x_48 = lean_ctor_get_uint8(x_37, 0); +x_49 = lean_ctor_get_uint8(x_37, 1); +x_50 = lean_ctor_get_uint8(x_37, 2); +x_51 = lean_ctor_get_uint8(x_37, 3); +x_52 = lean_ctor_get_uint8(x_37, 4); +x_53 = lean_ctor_get_uint8(x_37, 5); +x_54 = lean_ctor_get_uint8(x_37, 7); +x_55 = lean_ctor_get_uint8(x_37, 8); +x_56 = lean_ctor_get_uint8(x_37, 10); +x_57 = lean_ctor_get_uint8(x_37, 11); +x_58 = lean_ctor_get_uint8(x_37, 12); +x_59 = lean_ctor_get_uint8(x_37, 13); +x_60 = lean_ctor_get_uint8(x_37, 14); +x_61 = lean_ctor_get_uint8(x_37, 15); +x_62 = lean_ctor_get_uint8(x_37, 16); +x_63 = lean_ctor_get_uint8(x_37, 17); +x_64 = 0; +lean_ctor_set_uint8(x_37, 6, x_64); +x_65 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_37); +lean_dec(x_37); +x_66 = 2; +x_67 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_67, 0, x_48); +lean_ctor_set_uint8(x_67, 1, x_49); +lean_ctor_set_uint8(x_67, 2, x_50); +lean_ctor_set_uint8(x_67, 3, x_51); +lean_ctor_set_uint8(x_67, 4, x_52); +lean_ctor_set_uint8(x_67, 5, x_53); +lean_ctor_set_uint8(x_67, 6, x_64); +lean_ctor_set_uint8(x_67, 7, x_54); +lean_ctor_set_uint8(x_67, 8, x_55); +lean_ctor_set_uint8(x_67, 9, x_66); +lean_ctor_set_uint8(x_67, 10, x_56); +lean_ctor_set_uint8(x_67, 11, x_57); +lean_ctor_set_uint8(x_67, 12, x_58); +lean_ctor_set_uint8(x_67, 13, x_59); +lean_ctor_set_uint8(x_67, 14, x_60); +lean_ctor_set_uint8(x_67, 15, x_61); +lean_ctor_set_uint8(x_67, 16, x_62); +lean_ctor_set_uint8(x_67, 17, x_63); +x_68 = 2; +x_69 = lean_uint64_shift_right(x_65, x_68); +x_70 = lean_uint64_shift_left(x_69, x_68); +x_71 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1; +x_72 = lean_uint64_lor(x_70, x_71); +x_73 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_73, 0, x_67); +lean_ctor_set(x_73, 1, x_39); +lean_ctor_set(x_73, 2, x_40); +lean_ctor_set(x_73, 3, x_41); +lean_ctor_set(x_73, 4, x_42); +lean_ctor_set(x_73, 5, x_43); +lean_ctor_set(x_73, 6, x_44); +lean_ctor_set_uint64(x_73, sizeof(void*)*7, x_72); +lean_ctor_set_uint8(x_73, sizeof(void*)*7 + 8, x_38); +lean_ctor_set_uint8(x_73, sizeof(void*)*7 + 9, x_46); +lean_ctor_set_uint8(x_73, sizeof(void*)*7 + 10, x_47); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_7); +x_74 = l_Lean_Meta_isExprDefEq(x_36, x_7, x_73, x_14, x_15, x_16, x_32); +if (lean_obj_tag(x_74) == 0) +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_unbox(x_75); +lean_dec(x_75); +if (x_76 == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_74, 1); +lean_inc(x_77); +lean_dec(x_74); +x_78 = lean_box(x_9); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_22 = x_79; +x_23 = x_77; +goto block_29; +} +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; lean_object* x_87; +x_80 = lean_ctor_get(x_74, 1); +lean_inc(x_80); +lean_dec(x_74); +x_81 = lean_st_ref_take(x_1, x_80); +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); +lean_inc(x_10); +lean_inc(x_6); +x_84 = l_Lean_Elab_FixedParams_Info_setCallerParam(x_5, x_6, x_2, x_10, x_82); +x_85 = lean_st_ref_set(x_1, x_84, x_83); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__2; +x_22 = x_87; +x_23 = x_86; +goto block_29; +} +} +else +{ +uint8_t x_88; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +x_88 = !lean_is_exclusive(x_74); +if (x_88 == 0) +{ +return x_74; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_74, 0); +x_90 = lean_ctor_get(x_74, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_74); +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; +} +} +} +else +{ +uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; uint8_t x_102; uint8_t x_103; uint8_t x_104; uint8_t x_105; uint8_t x_106; uint8_t x_107; uint8_t x_108; uint8_t x_109; uint8_t x_110; uint8_t x_111; lean_object* x_112; uint64_t x_113; uint8_t x_114; lean_object* x_115; uint64_t x_116; uint64_t x_117; uint64_t x_118; uint64_t x_119; uint64_t x_120; lean_object* x_121; lean_object* x_122; +x_92 = lean_ctor_get_uint8(x_13, sizeof(void*)*7 + 9); +x_93 = lean_ctor_get_uint8(x_13, sizeof(void*)*7 + 10); +x_94 = lean_ctor_get_uint8(x_37, 0); +x_95 = lean_ctor_get_uint8(x_37, 1); +x_96 = lean_ctor_get_uint8(x_37, 2); +x_97 = lean_ctor_get_uint8(x_37, 3); +x_98 = lean_ctor_get_uint8(x_37, 4); +x_99 = lean_ctor_get_uint8(x_37, 5); +x_100 = lean_ctor_get_uint8(x_37, 7); +x_101 = lean_ctor_get_uint8(x_37, 8); +x_102 = lean_ctor_get_uint8(x_37, 9); +x_103 = lean_ctor_get_uint8(x_37, 10); +x_104 = lean_ctor_get_uint8(x_37, 11); +x_105 = lean_ctor_get_uint8(x_37, 12); +x_106 = lean_ctor_get_uint8(x_37, 13); +x_107 = lean_ctor_get_uint8(x_37, 14); +x_108 = lean_ctor_get_uint8(x_37, 15); +x_109 = lean_ctor_get_uint8(x_37, 16); +x_110 = lean_ctor_get_uint8(x_37, 17); +lean_dec(x_37); +x_111 = 0; +x_112 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_112, 0, x_94); +lean_ctor_set_uint8(x_112, 1, x_95); +lean_ctor_set_uint8(x_112, 2, x_96); +lean_ctor_set_uint8(x_112, 3, x_97); +lean_ctor_set_uint8(x_112, 4, x_98); +lean_ctor_set_uint8(x_112, 5, x_99); +lean_ctor_set_uint8(x_112, 6, x_111); +lean_ctor_set_uint8(x_112, 7, x_100); +lean_ctor_set_uint8(x_112, 8, x_101); +lean_ctor_set_uint8(x_112, 9, x_102); +lean_ctor_set_uint8(x_112, 10, x_103); +lean_ctor_set_uint8(x_112, 11, x_104); +lean_ctor_set_uint8(x_112, 12, x_105); +lean_ctor_set_uint8(x_112, 13, x_106); +lean_ctor_set_uint8(x_112, 14, x_107); +lean_ctor_set_uint8(x_112, 15, x_108); +lean_ctor_set_uint8(x_112, 16, x_109); +lean_ctor_set_uint8(x_112, 17, x_110); +x_113 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_112); +lean_dec(x_112); +x_114 = 2; +x_115 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_115, 0, x_94); +lean_ctor_set_uint8(x_115, 1, x_95); +lean_ctor_set_uint8(x_115, 2, x_96); +lean_ctor_set_uint8(x_115, 3, x_97); +lean_ctor_set_uint8(x_115, 4, x_98); +lean_ctor_set_uint8(x_115, 5, x_99); +lean_ctor_set_uint8(x_115, 6, x_111); +lean_ctor_set_uint8(x_115, 7, x_100); +lean_ctor_set_uint8(x_115, 8, x_101); +lean_ctor_set_uint8(x_115, 9, x_114); +lean_ctor_set_uint8(x_115, 10, x_103); +lean_ctor_set_uint8(x_115, 11, x_104); +lean_ctor_set_uint8(x_115, 12, x_105); +lean_ctor_set_uint8(x_115, 13, x_106); +lean_ctor_set_uint8(x_115, 14, x_107); +lean_ctor_set_uint8(x_115, 15, x_108); +lean_ctor_set_uint8(x_115, 16, x_109); +lean_ctor_set_uint8(x_115, 17, x_110); +x_116 = 2; +x_117 = lean_uint64_shift_right(x_113, x_116); +x_118 = lean_uint64_shift_left(x_117, x_116); +x_119 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1; +x_120 = lean_uint64_lor(x_118, x_119); +x_121 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_121, 0, x_115); +lean_ctor_set(x_121, 1, x_39); +lean_ctor_set(x_121, 2, x_40); +lean_ctor_set(x_121, 3, x_41); +lean_ctor_set(x_121, 4, x_42); +lean_ctor_set(x_121, 5, x_43); +lean_ctor_set(x_121, 6, x_44); +lean_ctor_set_uint64(x_121, sizeof(void*)*7, x_120); +lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 8, x_38); +lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 9, x_92); +lean_ctor_set_uint8(x_121, sizeof(void*)*7 + 10, x_93); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_7); +x_122 = l_Lean_Meta_isExprDefEq(x_36, x_7, x_121, x_14, x_15, x_16, x_32); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; uint8_t x_124; +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_unbox(x_123); +lean_dec(x_123); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_122, 1); +lean_inc(x_125); +lean_dec(x_122); +x_126 = lean_box(x_9); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_126); +x_22 = x_127; +x_23 = x_125; +goto block_29; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_128 = lean_ctor_get(x_122, 1); +lean_inc(x_128); +lean_dec(x_122); +x_129 = lean_st_ref_take(x_1, x_128); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +lean_inc(x_10); +lean_inc(x_6); +x_132 = l_Lean_Elab_FixedParams_Info_setCallerParam(x_5, x_6, x_2, x_10, x_130); +x_133 = lean_st_ref_set(x_1, x_132, x_131); +x_134 = lean_ctor_get(x_133, 1); +lean_inc(x_134); +lean_dec(x_133); +x_135 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__2; +x_22 = x_135; +x_23 = x_134; +goto block_29; +} +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +x_136 = lean_ctor_get(x_122, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_122, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_138 = x_122; +} else { + lean_dec_ref(x_122); + x_138 = lean_box(0); +} +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(1, 2, 0); +} else { + x_139 = x_138; +} +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_137); +return x_139; +} +} +} +block_29: +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_8, 2); +x_26 = lean_nat_add(x_10, x_25); +lean_dec(x_10); +x_27 = lean_unbox(x_24); +lean_dec(x_24); +x_9 = x_27; +x_10 = x_26; +x_11 = lean_box(0); +x_12 = lean_box(0); +x_17 = x_23; +goto _start; +} +} +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___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; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_10 = lean_st_ref_take(x_1, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_FixedParams_Info_setVarying(x_2, x_3, x_11); +x_14 = lean_st_ref_set(x_1, x_13, x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +x_17 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Elab", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("definition", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fixedParams", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__1; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__2; +x_3 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getFixedParams: notFixed ", 25, 25); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(":\nIn ", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\ntoo few arguments for ", 23, 23); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\n", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__13; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" not matched", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__15; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" =/= ", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__17; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___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, 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) { +_start: +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_10, 1); +x_21 = lean_nat_dec_lt(x_12, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_19); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_41; uint8_t x_42; +lean_dec(x_11); +x_41 = lean_st_ref_get(x_1, x_19); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_41, 0); +x_44 = lean_ctor_get(x_41, 1); +x_45 = l_Lean_Elab_FixedParams_Info_mayBeFixed(x_8, x_12, x_43); +lean_dec(x_43); +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +lean_ctor_set(x_41, 0, x_46); +x_23 = x_41; +goto block_40; +} +else +{ +lean_object* x_47; uint8_t x_48; +lean_free_object(x_41); +x_47 = lean_array_get_size(x_7); +x_48 = lean_nat_dec_lt(x_12, x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_50 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_49, x_15, x_16, x_17, x_18, x_44); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_box(0); +lean_inc(x_12); +x_55 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_54, x_15, x_16, x_17, x_18, x_53); +x_23 = x_55; +goto block_40; +} +else +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_50); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_57 = lean_ctor_get(x_50, 1); +x_58 = lean_ctor_get(x_50, 0); +lean_dec(x_58); +lean_inc(x_8); +x_59 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_60 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_60, 0, x_59); +x_61 = l_Lean_MessageData_ofFormat(x_60); +x_62 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +lean_ctor_set_tag(x_50, 7); +lean_ctor_set(x_50, 1, x_61); +lean_ctor_set(x_50, 0, x_62); +x_63 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +x_64 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_64, 0, x_50); +lean_ctor_set(x_64, 1, x_63); +lean_inc(x_12); +x_65 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_66 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = l_Lean_MessageData_ofFormat(x_66); +lean_inc(x_67); +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_64); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +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_6); +x_71 = l_Lean_MessageData_ofExpr(x_6); +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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__11; +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 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_67); +x_76 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_77 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_49, x_77, x_15, x_16, x_17, x_18, x_57); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +lean_inc(x_12); +x_81 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_79, x_15, x_16, x_17, x_18, x_80); +lean_dec(x_79); +x_23 = x_81; +goto block_40; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_82 = lean_ctor_get(x_50, 1); +lean_inc(x_82); +lean_dec(x_50); +lean_inc(x_8); +x_83 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_84 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_84, 0, x_83); +x_85 = l_Lean_MessageData_ofFormat(x_84); +x_86 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +x_87 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +x_89 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +lean_inc(x_12); +x_90 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_91 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_92 = l_Lean_MessageData_ofFormat(x_91); +lean_inc(x_92); +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_89); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_95 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +lean_inc(x_6); +x_96 = l_Lean_MessageData_ofExpr(x_6); +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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__11; +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_92); +x_101 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_102 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_49, x_102, x_15, x_16, x_17, x_18, x_82); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +lean_inc(x_12); +x_106 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_104, x_15, x_16, x_17, x_18, x_105); +lean_dec(x_104); +x_23 = x_106; +goto block_40; +} +} +} +else +{ +lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_107 = lean_array_fget(x_7, x_12); +x_108 = lean_st_ref_get(x_1, x_44); +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_108, 0); +x_111 = lean_ctor_get(x_108, 1); +x_112 = l_Lean_Elab_FixedParams_Info_getCallerParam_x3f(x_8, x_12, x_2, x_110); +lean_dec(x_110); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; +x_113 = lean_unsigned_to_nat(0u); +x_114 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +x_115 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_5); +lean_ctor_set(x_115, 2, x_114); +x_116 = 0; +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_107); +lean_inc(x_12); +x_117 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5(x_1, x_2, x_3, x_4, x_8, x_12, x_107, x_115, x_116, x_113, lean_box(0), lean_box(0), x_15, x_16, x_17, x_18, x_111); +lean_dec(x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; uint8_t x_119; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +lean_dec(x_118); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_120 = lean_ctor_get(x_117, 1); +lean_inc(x_120); +lean_dec(x_117); +x_121 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_122 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_121, x_15, x_16, x_17, x_18, x_120); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_unbox(x_123); +lean_dec(x_123); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_free_object(x_108); +lean_dec(x_107); +x_125 = lean_ctor_get(x_122, 1); +lean_inc(x_125); +lean_dec(x_122); +x_126 = lean_box(0); +lean_inc(x_12); +x_127 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_126, x_15, x_16, x_17, x_18, x_125); +x_23 = x_127; +goto block_40; +} +else +{ +uint8_t x_128; +x_128 = !lean_is_exclusive(x_122); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_129 = lean_ctor_get(x_122, 1); +x_130 = lean_ctor_get(x_122, 0); +lean_dec(x_130); +lean_inc(x_8); +x_131 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +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 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +lean_ctor_set_tag(x_122, 7); +lean_ctor_set(x_122, 1, x_133); +lean_ctor_set(x_122, 0, x_134); +x_135 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +lean_ctor_set_tag(x_108, 7); +lean_ctor_set(x_108, 1, x_135); +lean_ctor_set(x_108, 0, x_122); +lean_inc(x_12); +x_136 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_137 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_137, 0, x_136); +x_138 = l_Lean_MessageData_ofFormat(x_137); +x_139 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_139, 0, x_108); +lean_ctor_set(x_139, 1, x_138); +x_140 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_141 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +lean_inc(x_6); +x_142 = l_Lean_MessageData_ofExpr(x_6); +x_143 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +x_144 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_145 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean_MessageData_ofExpr(x_107); +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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16; +x_149 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +x_150 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_121, x_149, x_15, x_16, x_17, x_18, x_129); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_150, 1); +lean_inc(x_152); +lean_dec(x_150); +lean_inc(x_12); +x_153 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_151, x_15, x_16, x_17, x_18, x_152); +lean_dec(x_151); +x_23 = x_153; +goto block_40; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_154 = lean_ctor_get(x_122, 1); +lean_inc(x_154); +lean_dec(x_122); +lean_inc(x_8); +x_155 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_156 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_156, 0, x_155); +x_157 = l_Lean_MessageData_ofFormat(x_156); +x_158 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +x_159 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +lean_ctor_set_tag(x_108, 7); +lean_ctor_set(x_108, 1, x_160); +lean_ctor_set(x_108, 0, x_159); +lean_inc(x_12); +x_161 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_162 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_162, 0, x_161); +x_163 = l_Lean_MessageData_ofFormat(x_162); +x_164 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_164, 0, x_108); +lean_ctor_set(x_164, 1, x_163); +x_165 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_166 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_165); +lean_inc(x_6); +x_167 = l_Lean_MessageData_ofExpr(x_6); +x_168 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +x_169 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_170 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Lean_MessageData_ofExpr(x_107); +x_172 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +x_173 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16; +x_174 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +x_175 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_121, x_174, x_15, x_16, x_17, x_18, x_154); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +lean_inc(x_12); +x_178 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_176, x_15, x_16, x_17, x_18, x_177); +lean_dec(x_176); +x_23 = x_178; +goto block_40; +} +} +} +else +{ +uint8_t x_179; +lean_free_object(x_108); +lean_dec(x_107); +x_179 = !lean_is_exclusive(x_117); +if (x_179 == 0) +{ +lean_object* x_180; lean_object* x_181; +x_180 = lean_ctor_get(x_117, 0); +lean_dec(x_180); +x_181 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +lean_ctor_set(x_117, 0, x_181); +x_23 = x_117; +goto block_40; +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_117, 1); +lean_inc(x_182); +lean_dec(x_117); +x_183 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +x_184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_182); +x_23 = x_184; +goto block_40; +} +} +} +else +{ +uint8_t x_185; +lean_free_object(x_108); +lean_dec(x_107); +x_185 = !lean_is_exclusive(x_117); +if (x_185 == 0) +{ +x_23 = x_117; +goto block_40; +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_186 = lean_ctor_get(x_117, 0); +x_187 = lean_ctor_get(x_117, 1); +lean_inc(x_187); +lean_inc(x_186); +lean_dec(x_117); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +x_23 = x_188; +goto block_40; +} +} +} +else +{ +uint8_t x_189; +x_189 = !lean_is_exclusive(x_112); +if (x_189 == 0) +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; +x_190 = lean_ctor_get(x_112, 0); +x_191 = l_Lean_instInhabitedExpr; +x_192 = lean_array_get(x_191, x_4, x_190); +lean_dec(x_190); +x_193 = lean_ctor_get(x_15, 0); +lean_inc(x_193); +x_194 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 8); +x_195 = lean_ctor_get(x_15, 1); +lean_inc(x_195); +x_196 = lean_ctor_get(x_15, 2); +lean_inc(x_196); +x_197 = lean_ctor_get(x_15, 3); +lean_inc(x_197); +x_198 = lean_ctor_get(x_15, 4); +lean_inc(x_198); +x_199 = lean_ctor_get(x_15, 5); +lean_inc(x_199); +x_200 = lean_ctor_get(x_15, 6); +lean_inc(x_200); +x_201 = !lean_is_exclusive(x_193); +if (x_201 == 0) +{ +uint8_t x_202; uint8_t x_203; uint8_t x_204; uint8_t x_205; uint8_t x_206; uint8_t x_207; uint8_t x_208; uint8_t x_209; uint8_t x_210; uint8_t x_211; uint8_t x_212; uint8_t x_213; uint8_t x_214; uint8_t x_215; uint8_t x_216; uint8_t x_217; uint8_t x_218; uint8_t x_219; uint8_t x_220; uint64_t x_221; uint8_t x_222; lean_object* x_223; uint64_t x_224; uint64_t x_225; uint64_t x_226; uint64_t x_227; uint64_t x_228; lean_object* x_229; lean_object* x_230; +x_202 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 9); +x_203 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 10); +x_204 = lean_ctor_get_uint8(x_193, 0); +x_205 = lean_ctor_get_uint8(x_193, 1); +x_206 = lean_ctor_get_uint8(x_193, 2); +x_207 = lean_ctor_get_uint8(x_193, 3); +x_208 = lean_ctor_get_uint8(x_193, 4); +x_209 = lean_ctor_get_uint8(x_193, 5); +x_210 = lean_ctor_get_uint8(x_193, 7); +x_211 = lean_ctor_get_uint8(x_193, 8); +x_212 = lean_ctor_get_uint8(x_193, 10); +x_213 = lean_ctor_get_uint8(x_193, 11); +x_214 = lean_ctor_get_uint8(x_193, 12); +x_215 = lean_ctor_get_uint8(x_193, 13); +x_216 = lean_ctor_get_uint8(x_193, 14); +x_217 = lean_ctor_get_uint8(x_193, 15); +x_218 = lean_ctor_get_uint8(x_193, 16); +x_219 = lean_ctor_get_uint8(x_193, 17); +x_220 = 0; +lean_ctor_set_uint8(x_193, 6, x_220); +x_221 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_193); +lean_dec(x_193); +x_222 = 2; +x_223 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_223, 0, x_204); +lean_ctor_set_uint8(x_223, 1, x_205); +lean_ctor_set_uint8(x_223, 2, x_206); +lean_ctor_set_uint8(x_223, 3, x_207); +lean_ctor_set_uint8(x_223, 4, x_208); +lean_ctor_set_uint8(x_223, 5, x_209); +lean_ctor_set_uint8(x_223, 6, x_220); +lean_ctor_set_uint8(x_223, 7, x_210); +lean_ctor_set_uint8(x_223, 8, x_211); +lean_ctor_set_uint8(x_223, 9, x_222); +lean_ctor_set_uint8(x_223, 10, x_212); +lean_ctor_set_uint8(x_223, 11, x_213); +lean_ctor_set_uint8(x_223, 12, x_214); +lean_ctor_set_uint8(x_223, 13, x_215); +lean_ctor_set_uint8(x_223, 14, x_216); +lean_ctor_set_uint8(x_223, 15, x_217); +lean_ctor_set_uint8(x_223, 16, x_218); +lean_ctor_set_uint8(x_223, 17, x_219); +x_224 = 2; +x_225 = lean_uint64_shift_right(x_221, x_224); +x_226 = lean_uint64_shift_left(x_225, x_224); +x_227 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1; +x_228 = lean_uint64_lor(x_226, x_227); +x_229 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_229, 0, x_223); +lean_ctor_set(x_229, 1, x_195); +lean_ctor_set(x_229, 2, x_196); +lean_ctor_set(x_229, 3, x_197); +lean_ctor_set(x_229, 4, x_198); +lean_ctor_set(x_229, 5, x_199); +lean_ctor_set(x_229, 6, x_200); +lean_ctor_set_uint64(x_229, sizeof(void*)*7, x_228); +lean_ctor_set_uint8(x_229, sizeof(void*)*7 + 8, x_194); +lean_ctor_set_uint8(x_229, sizeof(void*)*7 + 9, x_202); +lean_ctor_set_uint8(x_229, sizeof(void*)*7 + 10, x_203); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_107); +lean_inc(x_192); +x_230 = l_Lean_Meta_isExprDefEq(x_192, x_107, x_229, x_16, x_17, x_18, x_111); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_231; uint8_t x_232; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_unbox(x_231); +lean_dec(x_231); +if (x_232 == 0) +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; +x_233 = lean_ctor_get(x_230, 1); +lean_inc(x_233); +lean_dec(x_230); +x_234 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_235 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_234, x_15, x_16, x_17, x_18, x_233); +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +x_237 = lean_unbox(x_236); +lean_dec(x_236); +if (x_237 == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; +lean_dec(x_192); +lean_free_object(x_112); +lean_free_object(x_108); +lean_dec(x_107); +x_238 = lean_ctor_get(x_235, 1); +lean_inc(x_238); +lean_dec(x_235); +x_239 = lean_box(0); +lean_inc(x_12); +x_240 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_239, x_15, x_16, x_17, x_18, x_238); +x_23 = x_240; +goto block_40; +} +else +{ +uint8_t x_241; +x_241 = !lean_is_exclusive(x_235); +if (x_241 == 0) +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_242 = lean_ctor_get(x_235, 1); +x_243 = lean_ctor_get(x_235, 0); +lean_dec(x_243); +lean_inc(x_8); +x_244 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +lean_ctor_set_tag(x_112, 3); +lean_ctor_set(x_112, 0, x_244); +x_245 = l_Lean_MessageData_ofFormat(x_112); +x_246 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +lean_ctor_set_tag(x_235, 7); +lean_ctor_set(x_235, 1, x_245); +lean_ctor_set(x_235, 0, x_246); +x_247 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +lean_ctor_set_tag(x_108, 7); +lean_ctor_set(x_108, 1, x_247); +lean_ctor_set(x_108, 0, x_235); +lean_inc(x_12); +x_248 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_249 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_249, 0, x_248); +x_250 = l_Lean_MessageData_ofFormat(x_249); +x_251 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_251, 0, x_108); +lean_ctor_set(x_251, 1, x_250); +x_252 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_253 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); +lean_inc(x_6); +x_254 = l_Lean_MessageData_ofExpr(x_6); +x_255 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_255, 0, x_253); +lean_ctor_set(x_255, 1, x_254); +x_256 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_257 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_257, 0, x_255); +lean_ctor_set(x_257, 1, x_256); +x_258 = l_Lean_MessageData_ofExpr(x_192); +x_259 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_259, 0, x_257); +lean_ctor_set(x_259, 1, x_258); +x_260 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18; +x_261 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_261, 0, x_259); +lean_ctor_set(x_261, 1, x_260); +x_262 = l_Lean_MessageData_ofExpr(x_107); +x_263 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_263, 0, x_261); +lean_ctor_set(x_263, 1, x_262); +x_264 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_265 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +x_266 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_234, x_265, x_15, x_16, x_17, x_18, x_242); +x_267 = lean_ctor_get(x_266, 0); +lean_inc(x_267); +x_268 = lean_ctor_get(x_266, 1); +lean_inc(x_268); +lean_dec(x_266); +lean_inc(x_12); +x_269 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_267, x_15, x_16, x_17, x_18, x_268); +lean_dec(x_267); +x_23 = x_269; +goto block_40; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +x_270 = lean_ctor_get(x_235, 1); +lean_inc(x_270); +lean_dec(x_235); +lean_inc(x_8); +x_271 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +lean_ctor_set_tag(x_112, 3); +lean_ctor_set(x_112, 0, x_271); +x_272 = l_Lean_MessageData_ofFormat(x_112); +x_273 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +x_274 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_272); +x_275 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +lean_ctor_set_tag(x_108, 7); +lean_ctor_set(x_108, 1, x_275); +lean_ctor_set(x_108, 0, x_274); +lean_inc(x_12); +x_276 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_277 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_277, 0, x_276); +x_278 = l_Lean_MessageData_ofFormat(x_277); +x_279 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_279, 0, x_108); +lean_ctor_set(x_279, 1, x_278); +x_280 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_281 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_281, 0, x_279); +lean_ctor_set(x_281, 1, x_280); +lean_inc(x_6); +x_282 = l_Lean_MessageData_ofExpr(x_6); +x_283 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +x_284 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_285 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +x_286 = l_Lean_MessageData_ofExpr(x_192); +x_287 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_287, 0, x_285); +lean_ctor_set(x_287, 1, x_286); +x_288 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18; +x_289 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_289, 0, x_287); +lean_ctor_set(x_289, 1, x_288); +x_290 = l_Lean_MessageData_ofExpr(x_107); +x_291 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_291, 0, x_289); +lean_ctor_set(x_291, 1, x_290); +x_292 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_293 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_293, 0, x_291); +lean_ctor_set(x_293, 1, x_292); +x_294 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_234, x_293, x_15, x_16, x_17, x_18, x_270); +x_295 = lean_ctor_get(x_294, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_294, 1); +lean_inc(x_296); +lean_dec(x_294); +lean_inc(x_12); +x_297 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_295, x_15, x_16, x_17, x_18, x_296); +lean_dec(x_295); +x_23 = x_297; +goto block_40; +} +} +} +else +{ +uint8_t x_298; +lean_dec(x_192); +lean_free_object(x_112); +lean_free_object(x_108); +lean_dec(x_107); +x_298 = !lean_is_exclusive(x_230); +if (x_298 == 0) +{ +lean_object* x_299; lean_object* x_300; +x_299 = lean_ctor_get(x_230, 0); +lean_dec(x_299); +x_300 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +lean_ctor_set(x_230, 0, x_300); +x_23 = x_230; +goto block_40; +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_301 = lean_ctor_get(x_230, 1); +lean_inc(x_301); +lean_dec(x_230); +x_302 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +x_303 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_303, 0, x_302); +lean_ctor_set(x_303, 1, x_301); +x_23 = x_303; +goto block_40; +} +} +} +else +{ +uint8_t x_304; +lean_dec(x_192); +lean_free_object(x_112); +lean_free_object(x_108); +lean_dec(x_107); +x_304 = !lean_is_exclusive(x_230); +if (x_304 == 0) +{ +x_23 = x_230; +goto block_40; +} +else +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_305 = lean_ctor_get(x_230, 0); +x_306 = lean_ctor_get(x_230, 1); +lean_inc(x_306); +lean_inc(x_305); +lean_dec(x_230); +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_305); +lean_ctor_set(x_307, 1, x_306); +x_23 = x_307; +goto block_40; +} +} +} +else +{ +uint8_t x_308; uint8_t x_309; uint8_t x_310; uint8_t x_311; uint8_t x_312; uint8_t x_313; uint8_t x_314; uint8_t x_315; uint8_t x_316; uint8_t x_317; uint8_t x_318; uint8_t x_319; uint8_t x_320; uint8_t x_321; uint8_t x_322; uint8_t x_323; uint8_t x_324; uint8_t x_325; uint8_t x_326; uint8_t x_327; lean_object* x_328; uint64_t x_329; uint8_t x_330; lean_object* x_331; uint64_t x_332; uint64_t x_333; uint64_t x_334; uint64_t x_335; uint64_t x_336; lean_object* x_337; lean_object* x_338; +x_308 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 9); +x_309 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 10); +x_310 = lean_ctor_get_uint8(x_193, 0); +x_311 = lean_ctor_get_uint8(x_193, 1); +x_312 = lean_ctor_get_uint8(x_193, 2); +x_313 = lean_ctor_get_uint8(x_193, 3); +x_314 = lean_ctor_get_uint8(x_193, 4); +x_315 = lean_ctor_get_uint8(x_193, 5); +x_316 = lean_ctor_get_uint8(x_193, 7); +x_317 = lean_ctor_get_uint8(x_193, 8); +x_318 = lean_ctor_get_uint8(x_193, 9); +x_319 = lean_ctor_get_uint8(x_193, 10); +x_320 = lean_ctor_get_uint8(x_193, 11); +x_321 = lean_ctor_get_uint8(x_193, 12); +x_322 = lean_ctor_get_uint8(x_193, 13); +x_323 = lean_ctor_get_uint8(x_193, 14); +x_324 = lean_ctor_get_uint8(x_193, 15); +x_325 = lean_ctor_get_uint8(x_193, 16); +x_326 = lean_ctor_get_uint8(x_193, 17); +lean_dec(x_193); +x_327 = 0; +x_328 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_328, 0, x_310); +lean_ctor_set_uint8(x_328, 1, x_311); +lean_ctor_set_uint8(x_328, 2, x_312); +lean_ctor_set_uint8(x_328, 3, x_313); +lean_ctor_set_uint8(x_328, 4, x_314); +lean_ctor_set_uint8(x_328, 5, x_315); +lean_ctor_set_uint8(x_328, 6, x_327); +lean_ctor_set_uint8(x_328, 7, x_316); +lean_ctor_set_uint8(x_328, 8, x_317); +lean_ctor_set_uint8(x_328, 9, x_318); +lean_ctor_set_uint8(x_328, 10, x_319); +lean_ctor_set_uint8(x_328, 11, x_320); +lean_ctor_set_uint8(x_328, 12, x_321); +lean_ctor_set_uint8(x_328, 13, x_322); +lean_ctor_set_uint8(x_328, 14, x_323); +lean_ctor_set_uint8(x_328, 15, x_324); +lean_ctor_set_uint8(x_328, 16, x_325); +lean_ctor_set_uint8(x_328, 17, x_326); +x_329 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_328); +lean_dec(x_328); +x_330 = 2; +x_331 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_331, 0, x_310); +lean_ctor_set_uint8(x_331, 1, x_311); +lean_ctor_set_uint8(x_331, 2, x_312); +lean_ctor_set_uint8(x_331, 3, x_313); +lean_ctor_set_uint8(x_331, 4, x_314); +lean_ctor_set_uint8(x_331, 5, x_315); +lean_ctor_set_uint8(x_331, 6, x_327); +lean_ctor_set_uint8(x_331, 7, x_316); +lean_ctor_set_uint8(x_331, 8, x_317); +lean_ctor_set_uint8(x_331, 9, x_330); +lean_ctor_set_uint8(x_331, 10, x_319); +lean_ctor_set_uint8(x_331, 11, x_320); +lean_ctor_set_uint8(x_331, 12, x_321); +lean_ctor_set_uint8(x_331, 13, x_322); +lean_ctor_set_uint8(x_331, 14, x_323); +lean_ctor_set_uint8(x_331, 15, x_324); +lean_ctor_set_uint8(x_331, 16, x_325); +lean_ctor_set_uint8(x_331, 17, x_326); +x_332 = 2; +x_333 = lean_uint64_shift_right(x_329, x_332); +x_334 = lean_uint64_shift_left(x_333, x_332); +x_335 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1; +x_336 = lean_uint64_lor(x_334, x_335); +x_337 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_337, 0, x_331); +lean_ctor_set(x_337, 1, x_195); +lean_ctor_set(x_337, 2, x_196); +lean_ctor_set(x_337, 3, x_197); +lean_ctor_set(x_337, 4, x_198); +lean_ctor_set(x_337, 5, x_199); +lean_ctor_set(x_337, 6, x_200); +lean_ctor_set_uint64(x_337, sizeof(void*)*7, x_336); +lean_ctor_set_uint8(x_337, sizeof(void*)*7 + 8, x_194); +lean_ctor_set_uint8(x_337, sizeof(void*)*7 + 9, x_308); +lean_ctor_set_uint8(x_337, sizeof(void*)*7 + 10, x_309); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_107); +lean_inc(x_192); +x_338 = l_Lean_Meta_isExprDefEq(x_192, x_107, x_337, x_16, x_17, x_18, x_111); +if (lean_obj_tag(x_338) == 0) +{ +lean_object* x_339; uint8_t x_340; +x_339 = lean_ctor_get(x_338, 0); +lean_inc(x_339); +x_340 = lean_unbox(x_339); +lean_dec(x_339); +if (x_340 == 0) +{ +lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; uint8_t x_345; +x_341 = lean_ctor_get(x_338, 1); +lean_inc(x_341); +lean_dec(x_338); +x_342 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_343 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_342, x_15, x_16, x_17, x_18, x_341); +x_344 = lean_ctor_get(x_343, 0); +lean_inc(x_344); +x_345 = lean_unbox(x_344); +lean_dec(x_344); +if (x_345 == 0) +{ +lean_object* x_346; lean_object* x_347; lean_object* x_348; +lean_dec(x_192); +lean_free_object(x_112); +lean_free_object(x_108); +lean_dec(x_107); +x_346 = lean_ctor_get(x_343, 1); +lean_inc(x_346); +lean_dec(x_343); +x_347 = lean_box(0); +lean_inc(x_12); +x_348 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_347, x_15, x_16, x_17, x_18, x_346); +x_23 = x_348; +goto block_40; +} +else +{ +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; +x_349 = lean_ctor_get(x_343, 1); +lean_inc(x_349); +if (lean_is_exclusive(x_343)) { + lean_ctor_release(x_343, 0); + lean_ctor_release(x_343, 1); + x_350 = x_343; +} else { + lean_dec_ref(x_343); + x_350 = lean_box(0); +} +lean_inc(x_8); +x_351 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +lean_ctor_set_tag(x_112, 3); +lean_ctor_set(x_112, 0, x_351); +x_352 = l_Lean_MessageData_ofFormat(x_112); +x_353 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +if (lean_is_scalar(x_350)) { + x_354 = lean_alloc_ctor(7, 2, 0); +} else { + x_354 = x_350; + lean_ctor_set_tag(x_354, 7); +} +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_354, 1, x_352); +x_355 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +lean_ctor_set_tag(x_108, 7); +lean_ctor_set(x_108, 1, x_355); +lean_ctor_set(x_108, 0, x_354); +lean_inc(x_12); +x_356 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_357 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_357, 0, x_356); +x_358 = l_Lean_MessageData_ofFormat(x_357); +x_359 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_359, 0, x_108); +lean_ctor_set(x_359, 1, x_358); +x_360 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_361 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_361, 0, x_359); +lean_ctor_set(x_361, 1, x_360); +lean_inc(x_6); +x_362 = l_Lean_MessageData_ofExpr(x_6); +x_363 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_363, 0, x_361); +lean_ctor_set(x_363, 1, x_362); +x_364 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_365 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_365, 0, x_363); +lean_ctor_set(x_365, 1, x_364); +x_366 = l_Lean_MessageData_ofExpr(x_192); +x_367 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_367, 0, x_365); +lean_ctor_set(x_367, 1, x_366); +x_368 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18; +x_369 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_369, 0, x_367); +lean_ctor_set(x_369, 1, x_368); +x_370 = l_Lean_MessageData_ofExpr(x_107); +x_371 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_371, 0, x_369); +lean_ctor_set(x_371, 1, x_370); +x_372 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_373 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_373, 0, x_371); +lean_ctor_set(x_373, 1, x_372); +x_374 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_342, x_373, x_15, x_16, x_17, x_18, x_349); +x_375 = lean_ctor_get(x_374, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_374, 1); +lean_inc(x_376); +lean_dec(x_374); +lean_inc(x_12); +x_377 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_375, x_15, x_16, x_17, x_18, x_376); +lean_dec(x_375); +x_23 = x_377; +goto block_40; +} +} +else +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +lean_dec(x_192); +lean_free_object(x_112); +lean_free_object(x_108); +lean_dec(x_107); +x_378 = lean_ctor_get(x_338, 1); +lean_inc(x_378); +if (lean_is_exclusive(x_338)) { + lean_ctor_release(x_338, 0); + lean_ctor_release(x_338, 1); + x_379 = x_338; +} else { + lean_dec_ref(x_338); + x_379 = lean_box(0); +} +x_380 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +if (lean_is_scalar(x_379)) { + x_381 = lean_alloc_ctor(0, 2, 0); +} else { + x_381 = x_379; +} +lean_ctor_set(x_381, 0, x_380); +lean_ctor_set(x_381, 1, x_378); +x_23 = x_381; +goto block_40; +} +} +else +{ +lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; +lean_dec(x_192); +lean_free_object(x_112); +lean_free_object(x_108); +lean_dec(x_107); +x_382 = lean_ctor_get(x_338, 0); +lean_inc(x_382); +x_383 = lean_ctor_get(x_338, 1); +lean_inc(x_383); +if (lean_is_exclusive(x_338)) { + lean_ctor_release(x_338, 0); + lean_ctor_release(x_338, 1); + x_384 = x_338; +} else { + lean_dec_ref(x_338); + x_384 = lean_box(0); +} +if (lean_is_scalar(x_384)) { + x_385 = lean_alloc_ctor(1, 2, 0); +} else { + x_385 = x_384; +} +lean_ctor_set(x_385, 0, x_382); +lean_ctor_set(x_385, 1, x_383); +x_23 = x_385; +goto block_40; +} +} +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; uint8_t x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; uint8_t x_398; uint8_t x_399; uint8_t x_400; uint8_t x_401; uint8_t x_402; uint8_t x_403; uint8_t x_404; uint8_t x_405; uint8_t x_406; uint8_t x_407; uint8_t x_408; uint8_t x_409; uint8_t x_410; uint8_t x_411; uint8_t x_412; uint8_t x_413; uint8_t x_414; uint8_t x_415; lean_object* x_416; uint8_t x_417; lean_object* x_418; uint64_t x_419; uint8_t x_420; lean_object* x_421; uint64_t x_422; uint64_t x_423; uint64_t x_424; uint64_t x_425; uint64_t x_426; lean_object* x_427; lean_object* x_428; +x_386 = lean_ctor_get(x_112, 0); +lean_inc(x_386); +lean_dec(x_112); +x_387 = l_Lean_instInhabitedExpr; +x_388 = lean_array_get(x_387, x_4, x_386); +lean_dec(x_386); +x_389 = lean_ctor_get(x_15, 0); +lean_inc(x_389); +x_390 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 8); +x_391 = lean_ctor_get(x_15, 1); +lean_inc(x_391); +x_392 = lean_ctor_get(x_15, 2); +lean_inc(x_392); +x_393 = lean_ctor_get(x_15, 3); +lean_inc(x_393); +x_394 = lean_ctor_get(x_15, 4); +lean_inc(x_394); +x_395 = lean_ctor_get(x_15, 5); +lean_inc(x_395); +x_396 = lean_ctor_get(x_15, 6); +lean_inc(x_396); +x_397 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 9); +x_398 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 10); +x_399 = lean_ctor_get_uint8(x_389, 0); +x_400 = lean_ctor_get_uint8(x_389, 1); +x_401 = lean_ctor_get_uint8(x_389, 2); +x_402 = lean_ctor_get_uint8(x_389, 3); +x_403 = lean_ctor_get_uint8(x_389, 4); +x_404 = lean_ctor_get_uint8(x_389, 5); +x_405 = lean_ctor_get_uint8(x_389, 7); +x_406 = lean_ctor_get_uint8(x_389, 8); +x_407 = lean_ctor_get_uint8(x_389, 9); +x_408 = lean_ctor_get_uint8(x_389, 10); +x_409 = lean_ctor_get_uint8(x_389, 11); +x_410 = lean_ctor_get_uint8(x_389, 12); +x_411 = lean_ctor_get_uint8(x_389, 13); +x_412 = lean_ctor_get_uint8(x_389, 14); +x_413 = lean_ctor_get_uint8(x_389, 15); +x_414 = lean_ctor_get_uint8(x_389, 16); +x_415 = lean_ctor_get_uint8(x_389, 17); +if (lean_is_exclusive(x_389)) { + x_416 = x_389; +} else { + lean_dec_ref(x_389); + x_416 = lean_box(0); +} +x_417 = 0; +if (lean_is_scalar(x_416)) { + x_418 = lean_alloc_ctor(0, 0, 18); +} else { + x_418 = x_416; +} +lean_ctor_set_uint8(x_418, 0, x_399); +lean_ctor_set_uint8(x_418, 1, x_400); +lean_ctor_set_uint8(x_418, 2, x_401); +lean_ctor_set_uint8(x_418, 3, x_402); +lean_ctor_set_uint8(x_418, 4, x_403); +lean_ctor_set_uint8(x_418, 5, x_404); +lean_ctor_set_uint8(x_418, 6, x_417); +lean_ctor_set_uint8(x_418, 7, x_405); +lean_ctor_set_uint8(x_418, 8, x_406); +lean_ctor_set_uint8(x_418, 9, x_407); +lean_ctor_set_uint8(x_418, 10, x_408); +lean_ctor_set_uint8(x_418, 11, x_409); +lean_ctor_set_uint8(x_418, 12, x_410); +lean_ctor_set_uint8(x_418, 13, x_411); +lean_ctor_set_uint8(x_418, 14, x_412); +lean_ctor_set_uint8(x_418, 15, x_413); +lean_ctor_set_uint8(x_418, 16, x_414); +lean_ctor_set_uint8(x_418, 17, x_415); +x_419 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_418); +lean_dec(x_418); +x_420 = 2; +x_421 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_421, 0, x_399); +lean_ctor_set_uint8(x_421, 1, x_400); +lean_ctor_set_uint8(x_421, 2, x_401); +lean_ctor_set_uint8(x_421, 3, x_402); +lean_ctor_set_uint8(x_421, 4, x_403); +lean_ctor_set_uint8(x_421, 5, x_404); +lean_ctor_set_uint8(x_421, 6, x_417); +lean_ctor_set_uint8(x_421, 7, x_405); +lean_ctor_set_uint8(x_421, 8, x_406); +lean_ctor_set_uint8(x_421, 9, x_420); +lean_ctor_set_uint8(x_421, 10, x_408); +lean_ctor_set_uint8(x_421, 11, x_409); +lean_ctor_set_uint8(x_421, 12, x_410); +lean_ctor_set_uint8(x_421, 13, x_411); +lean_ctor_set_uint8(x_421, 14, x_412); +lean_ctor_set_uint8(x_421, 15, x_413); +lean_ctor_set_uint8(x_421, 16, x_414); +lean_ctor_set_uint8(x_421, 17, x_415); +x_422 = 2; +x_423 = lean_uint64_shift_right(x_419, x_422); +x_424 = lean_uint64_shift_left(x_423, x_422); +x_425 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1; +x_426 = lean_uint64_lor(x_424, x_425); +x_427 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_427, 0, x_421); +lean_ctor_set(x_427, 1, x_391); +lean_ctor_set(x_427, 2, x_392); +lean_ctor_set(x_427, 3, x_393); +lean_ctor_set(x_427, 4, x_394); +lean_ctor_set(x_427, 5, x_395); +lean_ctor_set(x_427, 6, x_396); +lean_ctor_set_uint64(x_427, sizeof(void*)*7, x_426); +lean_ctor_set_uint8(x_427, sizeof(void*)*7 + 8, x_390); +lean_ctor_set_uint8(x_427, sizeof(void*)*7 + 9, x_397); +lean_ctor_set_uint8(x_427, sizeof(void*)*7 + 10, x_398); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_107); +lean_inc(x_388); +x_428 = l_Lean_Meta_isExprDefEq(x_388, x_107, x_427, x_16, x_17, x_18, x_111); +if (lean_obj_tag(x_428) == 0) +{ +lean_object* x_429; uint8_t x_430; +x_429 = lean_ctor_get(x_428, 0); +lean_inc(x_429); +x_430 = lean_unbox(x_429); +lean_dec(x_429); +if (x_430 == 0) +{ +lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; uint8_t x_435; +x_431 = lean_ctor_get(x_428, 1); +lean_inc(x_431); +lean_dec(x_428); +x_432 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_433 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_432, x_15, x_16, x_17, x_18, x_431); +x_434 = lean_ctor_get(x_433, 0); +lean_inc(x_434); +x_435 = lean_unbox(x_434); +lean_dec(x_434); +if (x_435 == 0) +{ +lean_object* x_436; lean_object* x_437; lean_object* x_438; +lean_dec(x_388); +lean_free_object(x_108); +lean_dec(x_107); +x_436 = lean_ctor_get(x_433, 1); +lean_inc(x_436); +lean_dec(x_433); +x_437 = lean_box(0); +lean_inc(x_12); +x_438 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_437, x_15, x_16, x_17, x_18, x_436); +x_23 = x_438; +goto block_40; +} +else +{ +lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; +x_439 = lean_ctor_get(x_433, 1); +lean_inc(x_439); +if (lean_is_exclusive(x_433)) { + lean_ctor_release(x_433, 0); + lean_ctor_release(x_433, 1); + x_440 = x_433; +} else { + lean_dec_ref(x_433); + x_440 = lean_box(0); +} +lean_inc(x_8); +x_441 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_442 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_442, 0, x_441); +x_443 = l_Lean_MessageData_ofFormat(x_442); +x_444 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +if (lean_is_scalar(x_440)) { + x_445 = lean_alloc_ctor(7, 2, 0); +} else { + x_445 = x_440; + lean_ctor_set_tag(x_445, 7); +} +lean_ctor_set(x_445, 0, x_444); +lean_ctor_set(x_445, 1, x_443); +x_446 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +lean_ctor_set_tag(x_108, 7); +lean_ctor_set(x_108, 1, x_446); +lean_ctor_set(x_108, 0, x_445); +lean_inc(x_12); +x_447 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_448 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_448, 0, x_447); +x_449 = l_Lean_MessageData_ofFormat(x_448); +x_450 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_450, 0, x_108); +lean_ctor_set(x_450, 1, x_449); +x_451 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_452 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_452, 0, x_450); +lean_ctor_set(x_452, 1, x_451); +lean_inc(x_6); +x_453 = l_Lean_MessageData_ofExpr(x_6); +x_454 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_454, 0, x_452); +lean_ctor_set(x_454, 1, x_453); +x_455 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_456 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_456, 0, x_454); +lean_ctor_set(x_456, 1, x_455); +x_457 = l_Lean_MessageData_ofExpr(x_388); +x_458 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_458, 0, x_456); +lean_ctor_set(x_458, 1, x_457); +x_459 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18; +x_460 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_460, 0, x_458); +lean_ctor_set(x_460, 1, x_459); +x_461 = l_Lean_MessageData_ofExpr(x_107); +x_462 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_462, 0, x_460); +lean_ctor_set(x_462, 1, x_461); +x_463 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_464 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_464, 0, x_462); +lean_ctor_set(x_464, 1, x_463); +x_465 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_432, x_464, x_15, x_16, x_17, x_18, x_439); +x_466 = lean_ctor_get(x_465, 0); +lean_inc(x_466); +x_467 = lean_ctor_get(x_465, 1); +lean_inc(x_467); +lean_dec(x_465); +lean_inc(x_12); +x_468 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_466, x_15, x_16, x_17, x_18, x_467); +lean_dec(x_466); +x_23 = x_468; +goto block_40; +} +} +else +{ +lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; +lean_dec(x_388); +lean_free_object(x_108); +lean_dec(x_107); +x_469 = lean_ctor_get(x_428, 1); +lean_inc(x_469); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + x_470 = x_428; +} else { + lean_dec_ref(x_428); + x_470 = lean_box(0); +} +x_471 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +if (lean_is_scalar(x_470)) { + x_472 = lean_alloc_ctor(0, 2, 0); +} else { + x_472 = x_470; +} +lean_ctor_set(x_472, 0, x_471); +lean_ctor_set(x_472, 1, x_469); +x_23 = x_472; +goto block_40; +} +} +else +{ +lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; +lean_dec(x_388); +lean_free_object(x_108); +lean_dec(x_107); +x_473 = lean_ctor_get(x_428, 0); +lean_inc(x_473); +x_474 = lean_ctor_get(x_428, 1); +lean_inc(x_474); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + x_475 = x_428; +} else { + lean_dec_ref(x_428); + x_475 = lean_box(0); +} +if (lean_is_scalar(x_475)) { + x_476 = lean_alloc_ctor(1, 2, 0); +} else { + x_476 = x_475; +} +lean_ctor_set(x_476, 0, x_473); +lean_ctor_set(x_476, 1, x_474); +x_23 = x_476; +goto block_40; +} +} +} +} +else +{ +lean_object* x_477; lean_object* x_478; lean_object* x_479; +x_477 = lean_ctor_get(x_108, 0); +x_478 = lean_ctor_get(x_108, 1); +lean_inc(x_478); +lean_inc(x_477); +lean_dec(x_108); +x_479 = l_Lean_Elab_FixedParams_Info_getCallerParam_x3f(x_8, x_12, x_2, x_477); +lean_dec(x_477); +if (lean_obj_tag(x_479) == 0) +{ +lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; lean_object* x_484; +x_480 = lean_unsigned_to_nat(0u); +x_481 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +x_482 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_482, 0, x_480); +lean_ctor_set(x_482, 1, x_5); +lean_ctor_set(x_482, 2, x_481); +x_483 = 0; +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_107); +lean_inc(x_12); +x_484 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5(x_1, x_2, x_3, x_4, x_8, x_12, x_107, x_482, x_483, x_480, lean_box(0), lean_box(0), x_15, x_16, x_17, x_18, x_478); +lean_dec(x_482); +if (lean_obj_tag(x_484) == 0) +{ +lean_object* x_485; uint8_t x_486; +x_485 = lean_ctor_get(x_484, 0); +lean_inc(x_485); +x_486 = lean_unbox(x_485); +lean_dec(x_485); +if (x_486 == 0) +{ +lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; uint8_t x_491; +x_487 = lean_ctor_get(x_484, 1); +lean_inc(x_487); +lean_dec(x_484); +x_488 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_489 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_488, x_15, x_16, x_17, x_18, x_487); +x_490 = lean_ctor_get(x_489, 0); +lean_inc(x_490); +x_491 = lean_unbox(x_490); +lean_dec(x_490); +if (x_491 == 0) +{ +lean_object* x_492; lean_object* x_493; lean_object* x_494; +lean_dec(x_107); +x_492 = lean_ctor_get(x_489, 1); +lean_inc(x_492); +lean_dec(x_489); +x_493 = lean_box(0); +lean_inc(x_12); +x_494 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_493, x_15, x_16, x_17, x_18, x_492); +x_23 = x_494; +goto block_40; +} +else +{ +lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; +x_495 = lean_ctor_get(x_489, 1); +lean_inc(x_495); +if (lean_is_exclusive(x_489)) { + lean_ctor_release(x_489, 0); + lean_ctor_release(x_489, 1); + x_496 = x_489; +} else { + lean_dec_ref(x_489); + x_496 = lean_box(0); +} +lean_inc(x_8); +x_497 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_498 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_498, 0, x_497); +x_499 = l_Lean_MessageData_ofFormat(x_498); +x_500 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +if (lean_is_scalar(x_496)) { + x_501 = lean_alloc_ctor(7, 2, 0); +} else { + x_501 = x_496; + lean_ctor_set_tag(x_501, 7); +} +lean_ctor_set(x_501, 0, x_500); +lean_ctor_set(x_501, 1, x_499); +x_502 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +x_503 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_503, 0, x_501); +lean_ctor_set(x_503, 1, x_502); +lean_inc(x_12); +x_504 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_505 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_505, 0, x_504); +x_506 = l_Lean_MessageData_ofFormat(x_505); +x_507 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_507, 0, x_503); +lean_ctor_set(x_507, 1, x_506); +x_508 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_509 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_509, 0, x_507); +lean_ctor_set(x_509, 1, x_508); +lean_inc(x_6); +x_510 = l_Lean_MessageData_ofExpr(x_6); +x_511 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_511, 0, x_509); +lean_ctor_set(x_511, 1, x_510); +x_512 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_513 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_513, 0, x_511); +lean_ctor_set(x_513, 1, x_512); +x_514 = l_Lean_MessageData_ofExpr(x_107); +x_515 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_515, 0, x_513); +lean_ctor_set(x_515, 1, x_514); +x_516 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16; +x_517 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_517, 0, x_515); +lean_ctor_set(x_517, 1, x_516); +x_518 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_488, x_517, x_15, x_16, x_17, x_18, x_495); +x_519 = lean_ctor_get(x_518, 0); +lean_inc(x_519); +x_520 = lean_ctor_get(x_518, 1); +lean_inc(x_520); +lean_dec(x_518); +lean_inc(x_12); +x_521 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_519, x_15, x_16, x_17, x_18, x_520); +lean_dec(x_519); +x_23 = x_521; +goto block_40; +} +} +else +{ +lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; +lean_dec(x_107); +x_522 = lean_ctor_get(x_484, 1); +lean_inc(x_522); +if (lean_is_exclusive(x_484)) { + lean_ctor_release(x_484, 0); + lean_ctor_release(x_484, 1); + x_523 = x_484; +} else { + lean_dec_ref(x_484); + x_523 = lean_box(0); +} +x_524 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +if (lean_is_scalar(x_523)) { + x_525 = lean_alloc_ctor(0, 2, 0); +} else { + x_525 = x_523; +} +lean_ctor_set(x_525, 0, x_524); +lean_ctor_set(x_525, 1, x_522); +x_23 = x_525; +goto block_40; +} +} +else +{ +lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; +lean_dec(x_107); +x_526 = lean_ctor_get(x_484, 0); +lean_inc(x_526); +x_527 = lean_ctor_get(x_484, 1); +lean_inc(x_527); +if (lean_is_exclusive(x_484)) { + lean_ctor_release(x_484, 0); + lean_ctor_release(x_484, 1); + x_528 = x_484; +} else { + lean_dec_ref(x_484); + x_528 = lean_box(0); +} +if (lean_is_scalar(x_528)) { + x_529 = lean_alloc_ctor(1, 2, 0); +} else { + x_529 = x_528; +} +lean_ctor_set(x_529, 0, x_526); +lean_ctor_set(x_529, 1, x_527); +x_23 = x_529; +goto block_40; +} +} +else +{ +lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; uint8_t x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; uint8_t x_542; uint8_t x_543; uint8_t x_544; uint8_t x_545; uint8_t x_546; uint8_t x_547; uint8_t x_548; uint8_t x_549; uint8_t x_550; uint8_t x_551; uint8_t x_552; uint8_t x_553; uint8_t x_554; uint8_t x_555; uint8_t x_556; uint8_t x_557; uint8_t x_558; uint8_t x_559; uint8_t x_560; lean_object* x_561; uint8_t x_562; lean_object* x_563; uint64_t x_564; uint8_t x_565; lean_object* x_566; uint64_t x_567; uint64_t x_568; uint64_t x_569; uint64_t x_570; uint64_t x_571; lean_object* x_572; lean_object* x_573; +x_530 = lean_ctor_get(x_479, 0); +lean_inc(x_530); +if (lean_is_exclusive(x_479)) { + lean_ctor_release(x_479, 0); + x_531 = x_479; +} else { + lean_dec_ref(x_479); + x_531 = lean_box(0); +} +x_532 = l_Lean_instInhabitedExpr; +x_533 = lean_array_get(x_532, x_4, x_530); +lean_dec(x_530); +x_534 = lean_ctor_get(x_15, 0); +lean_inc(x_534); +x_535 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 8); +x_536 = lean_ctor_get(x_15, 1); +lean_inc(x_536); +x_537 = lean_ctor_get(x_15, 2); +lean_inc(x_537); +x_538 = lean_ctor_get(x_15, 3); +lean_inc(x_538); +x_539 = lean_ctor_get(x_15, 4); +lean_inc(x_539); +x_540 = lean_ctor_get(x_15, 5); +lean_inc(x_540); +x_541 = lean_ctor_get(x_15, 6); +lean_inc(x_541); +x_542 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 9); +x_543 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 10); +x_544 = lean_ctor_get_uint8(x_534, 0); +x_545 = lean_ctor_get_uint8(x_534, 1); +x_546 = lean_ctor_get_uint8(x_534, 2); +x_547 = lean_ctor_get_uint8(x_534, 3); +x_548 = lean_ctor_get_uint8(x_534, 4); +x_549 = lean_ctor_get_uint8(x_534, 5); +x_550 = lean_ctor_get_uint8(x_534, 7); +x_551 = lean_ctor_get_uint8(x_534, 8); +x_552 = lean_ctor_get_uint8(x_534, 9); +x_553 = lean_ctor_get_uint8(x_534, 10); +x_554 = lean_ctor_get_uint8(x_534, 11); +x_555 = lean_ctor_get_uint8(x_534, 12); +x_556 = lean_ctor_get_uint8(x_534, 13); +x_557 = lean_ctor_get_uint8(x_534, 14); +x_558 = lean_ctor_get_uint8(x_534, 15); +x_559 = lean_ctor_get_uint8(x_534, 16); +x_560 = lean_ctor_get_uint8(x_534, 17); +if (lean_is_exclusive(x_534)) { + x_561 = x_534; +} else { + lean_dec_ref(x_534); + x_561 = lean_box(0); +} +x_562 = 0; +if (lean_is_scalar(x_561)) { + x_563 = lean_alloc_ctor(0, 0, 18); +} else { + x_563 = x_561; +} +lean_ctor_set_uint8(x_563, 0, x_544); +lean_ctor_set_uint8(x_563, 1, x_545); +lean_ctor_set_uint8(x_563, 2, x_546); +lean_ctor_set_uint8(x_563, 3, x_547); +lean_ctor_set_uint8(x_563, 4, x_548); +lean_ctor_set_uint8(x_563, 5, x_549); +lean_ctor_set_uint8(x_563, 6, x_562); +lean_ctor_set_uint8(x_563, 7, x_550); +lean_ctor_set_uint8(x_563, 8, x_551); +lean_ctor_set_uint8(x_563, 9, x_552); +lean_ctor_set_uint8(x_563, 10, x_553); +lean_ctor_set_uint8(x_563, 11, x_554); +lean_ctor_set_uint8(x_563, 12, x_555); +lean_ctor_set_uint8(x_563, 13, x_556); +lean_ctor_set_uint8(x_563, 14, x_557); +lean_ctor_set_uint8(x_563, 15, x_558); +lean_ctor_set_uint8(x_563, 16, x_559); +lean_ctor_set_uint8(x_563, 17, x_560); +x_564 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_563); +lean_dec(x_563); +x_565 = 2; +x_566 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_566, 0, x_544); +lean_ctor_set_uint8(x_566, 1, x_545); +lean_ctor_set_uint8(x_566, 2, x_546); +lean_ctor_set_uint8(x_566, 3, x_547); +lean_ctor_set_uint8(x_566, 4, x_548); +lean_ctor_set_uint8(x_566, 5, x_549); +lean_ctor_set_uint8(x_566, 6, x_562); +lean_ctor_set_uint8(x_566, 7, x_550); +lean_ctor_set_uint8(x_566, 8, x_551); +lean_ctor_set_uint8(x_566, 9, x_565); +lean_ctor_set_uint8(x_566, 10, x_553); +lean_ctor_set_uint8(x_566, 11, x_554); +lean_ctor_set_uint8(x_566, 12, x_555); +lean_ctor_set_uint8(x_566, 13, x_556); +lean_ctor_set_uint8(x_566, 14, x_557); +lean_ctor_set_uint8(x_566, 15, x_558); +lean_ctor_set_uint8(x_566, 16, x_559); +lean_ctor_set_uint8(x_566, 17, x_560); +x_567 = 2; +x_568 = lean_uint64_shift_right(x_564, x_567); +x_569 = lean_uint64_shift_left(x_568, x_567); +x_570 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1; +x_571 = lean_uint64_lor(x_569, x_570); +x_572 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_572, 0, x_566); +lean_ctor_set(x_572, 1, x_536); +lean_ctor_set(x_572, 2, x_537); +lean_ctor_set(x_572, 3, x_538); +lean_ctor_set(x_572, 4, x_539); +lean_ctor_set(x_572, 5, x_540); +lean_ctor_set(x_572, 6, x_541); +lean_ctor_set_uint64(x_572, sizeof(void*)*7, x_571); +lean_ctor_set_uint8(x_572, sizeof(void*)*7 + 8, x_535); +lean_ctor_set_uint8(x_572, sizeof(void*)*7 + 9, x_542); +lean_ctor_set_uint8(x_572, sizeof(void*)*7 + 10, x_543); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_107); +lean_inc(x_533); +x_573 = l_Lean_Meta_isExprDefEq(x_533, x_107, x_572, x_16, x_17, x_18, x_478); +if (lean_obj_tag(x_573) == 0) +{ +lean_object* x_574; uint8_t x_575; +x_574 = lean_ctor_get(x_573, 0); +lean_inc(x_574); +x_575 = lean_unbox(x_574); +lean_dec(x_574); +if (x_575 == 0) +{ +lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; uint8_t x_580; +x_576 = lean_ctor_get(x_573, 1); +lean_inc(x_576); +lean_dec(x_573); +x_577 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_578 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_577, x_15, x_16, x_17, x_18, x_576); +x_579 = lean_ctor_get(x_578, 0); +lean_inc(x_579); +x_580 = lean_unbox(x_579); +lean_dec(x_579); +if (x_580 == 0) +{ +lean_object* x_581; lean_object* x_582; lean_object* x_583; +lean_dec(x_533); +lean_dec(x_531); +lean_dec(x_107); +x_581 = lean_ctor_get(x_578, 1); +lean_inc(x_581); +lean_dec(x_578); +x_582 = lean_box(0); +lean_inc(x_12); +x_583 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_582, x_15, x_16, x_17, x_18, x_581); +x_23 = x_583; +goto block_40; +} +else +{ +lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; +x_584 = lean_ctor_get(x_578, 1); +lean_inc(x_584); +if (lean_is_exclusive(x_578)) { + lean_ctor_release(x_578, 0); + lean_ctor_release(x_578, 1); + x_585 = x_578; +} else { + lean_dec_ref(x_578); + x_585 = lean_box(0); +} +lean_inc(x_8); +x_586 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +if (lean_is_scalar(x_531)) { + x_587 = lean_alloc_ctor(3, 1, 0); +} else { + x_587 = x_531; + lean_ctor_set_tag(x_587, 3); +} +lean_ctor_set(x_587, 0, x_586); +x_588 = l_Lean_MessageData_ofFormat(x_587); +x_589 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +if (lean_is_scalar(x_585)) { + x_590 = lean_alloc_ctor(7, 2, 0); +} else { + x_590 = x_585; + lean_ctor_set_tag(x_590, 7); +} +lean_ctor_set(x_590, 0, x_589); +lean_ctor_set(x_590, 1, x_588); +x_591 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +x_592 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_592, 0, x_590); +lean_ctor_set(x_592, 1, x_591); +lean_inc(x_12); +x_593 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_594 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_594, 0, x_593); +x_595 = l_Lean_MessageData_ofFormat(x_594); +x_596 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_596, 0, x_592); +lean_ctor_set(x_596, 1, x_595); +x_597 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_598 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_598, 0, x_596); +lean_ctor_set(x_598, 1, x_597); +lean_inc(x_6); +x_599 = l_Lean_MessageData_ofExpr(x_6); +x_600 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_600, 0, x_598); +lean_ctor_set(x_600, 1, x_599); +x_601 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_602 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_602, 0, x_600); +lean_ctor_set(x_602, 1, x_601); +x_603 = l_Lean_MessageData_ofExpr(x_533); +x_604 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_604, 0, x_602); +lean_ctor_set(x_604, 1, x_603); +x_605 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18; +x_606 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_606, 0, x_604); +lean_ctor_set(x_606, 1, x_605); +x_607 = l_Lean_MessageData_ofExpr(x_107); +x_608 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_608, 0, x_606); +lean_ctor_set(x_608, 1, x_607); +x_609 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_610 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_610, 0, x_608); +lean_ctor_set(x_610, 1, x_609); +x_611 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_577, x_610, x_15, x_16, x_17, x_18, x_584); +x_612 = lean_ctor_get(x_611, 0); +lean_inc(x_612); +x_613 = lean_ctor_get(x_611, 1); +lean_inc(x_613); +lean_dec(x_611); +lean_inc(x_12); +x_614 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_612, x_15, x_16, x_17, x_18, x_613); +lean_dec(x_612); +x_23 = x_614; +goto block_40; +} +} +else +{ +lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; +lean_dec(x_533); +lean_dec(x_531); +lean_dec(x_107); +x_615 = lean_ctor_get(x_573, 1); +lean_inc(x_615); +if (lean_is_exclusive(x_573)) { + lean_ctor_release(x_573, 0); + lean_ctor_release(x_573, 1); + x_616 = x_573; +} else { + lean_dec_ref(x_573); + x_616 = lean_box(0); +} +x_617 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +if (lean_is_scalar(x_616)) { + x_618 = lean_alloc_ctor(0, 2, 0); +} else { + x_618 = x_616; +} +lean_ctor_set(x_618, 0, x_617); +lean_ctor_set(x_618, 1, x_615); +x_23 = x_618; +goto block_40; +} +} +else +{ +lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; +lean_dec(x_533); +lean_dec(x_531); +lean_dec(x_107); +x_619 = lean_ctor_get(x_573, 0); +lean_inc(x_619); +x_620 = lean_ctor_get(x_573, 1); +lean_inc(x_620); +if (lean_is_exclusive(x_573)) { + lean_ctor_release(x_573, 0); + lean_ctor_release(x_573, 1); + x_621 = x_573; +} else { + lean_dec_ref(x_573); + x_621 = lean_box(0); +} +if (lean_is_scalar(x_621)) { + x_622 = lean_alloc_ctor(1, 2, 0); +} else { + x_622 = x_621; +} +lean_ctor_set(x_622, 0, x_619); +lean_ctor_set(x_622, 1, x_620); +x_23 = x_622; +goto block_40; +} +} +} +} +} +} +else +{ +lean_object* x_623; lean_object* x_624; uint8_t x_625; +x_623 = lean_ctor_get(x_41, 0); +x_624 = lean_ctor_get(x_41, 1); +lean_inc(x_624); +lean_inc(x_623); +lean_dec(x_41); +x_625 = l_Lean_Elab_FixedParams_Info_mayBeFixed(x_8, x_12, x_623); +lean_dec(x_623); +if (x_625 == 0) +{ +lean_object* x_626; lean_object* x_627; +x_626 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +x_627 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_627, 0, x_626); +lean_ctor_set(x_627, 1, x_624); +x_23 = x_627; +goto block_40; +} +else +{ +lean_object* x_628; uint8_t x_629; +x_628 = lean_array_get_size(x_7); +x_629 = lean_nat_dec_lt(x_12, x_628); +lean_dec(x_628); +if (x_629 == 0) +{ +lean_object* x_630; lean_object* x_631; lean_object* x_632; uint8_t x_633; +x_630 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_631 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_630, x_15, x_16, x_17, x_18, x_624); +x_632 = lean_ctor_get(x_631, 0); +lean_inc(x_632); +x_633 = lean_unbox(x_632); +lean_dec(x_632); +if (x_633 == 0) +{ +lean_object* x_634; lean_object* x_635; lean_object* x_636; +x_634 = lean_ctor_get(x_631, 1); +lean_inc(x_634); +lean_dec(x_631); +x_635 = lean_box(0); +lean_inc(x_12); +x_636 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_635, x_15, x_16, x_17, x_18, x_634); +x_23 = x_636; +goto block_40; +} +else +{ +lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; +x_637 = lean_ctor_get(x_631, 1); +lean_inc(x_637); +if (lean_is_exclusive(x_631)) { + lean_ctor_release(x_631, 0); + lean_ctor_release(x_631, 1); + x_638 = x_631; +} else { + lean_dec_ref(x_631); + x_638 = lean_box(0); +} +lean_inc(x_8); +x_639 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_640 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_640, 0, x_639); +x_641 = l_Lean_MessageData_ofFormat(x_640); +x_642 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +if (lean_is_scalar(x_638)) { + x_643 = lean_alloc_ctor(7, 2, 0); +} else { + x_643 = x_638; + lean_ctor_set_tag(x_643, 7); +} +lean_ctor_set(x_643, 0, x_642); +lean_ctor_set(x_643, 1, x_641); +x_644 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +x_645 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_645, 0, x_643); +lean_ctor_set(x_645, 1, x_644); +lean_inc(x_12); +x_646 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_647 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_647, 0, x_646); +x_648 = l_Lean_MessageData_ofFormat(x_647); +lean_inc(x_648); +x_649 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_649, 0, x_645); +lean_ctor_set(x_649, 1, x_648); +x_650 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_651 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_651, 0, x_649); +lean_ctor_set(x_651, 1, x_650); +lean_inc(x_6); +x_652 = l_Lean_MessageData_ofExpr(x_6); +x_653 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_653, 0, x_651); +lean_ctor_set(x_653, 1, x_652); +x_654 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__11; +x_655 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_655, 0, x_653); +lean_ctor_set(x_655, 1, x_654); +x_656 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_656, 0, x_655); +lean_ctor_set(x_656, 1, x_648); +x_657 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_658 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_658, 0, x_656); +lean_ctor_set(x_658, 1, x_657); +x_659 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_630, x_658, x_15, x_16, x_17, x_18, x_637); +x_660 = lean_ctor_get(x_659, 0); +lean_inc(x_660); +x_661 = lean_ctor_get(x_659, 1); +lean_inc(x_661); +lean_dec(x_659); +lean_inc(x_12); +x_662 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_660, x_15, x_16, x_17, x_18, x_661); +lean_dec(x_660); +x_23 = x_662; +goto block_40; +} +} +else +{ +lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; +x_663 = lean_array_fget(x_7, x_12); +x_664 = lean_st_ref_get(x_1, x_624); +x_665 = lean_ctor_get(x_664, 0); +lean_inc(x_665); +x_666 = lean_ctor_get(x_664, 1); +lean_inc(x_666); +if (lean_is_exclusive(x_664)) { + lean_ctor_release(x_664, 0); + lean_ctor_release(x_664, 1); + x_667 = x_664; +} else { + lean_dec_ref(x_664); + x_667 = lean_box(0); +} +x_668 = l_Lean_Elab_FixedParams_Info_getCallerParam_x3f(x_8, x_12, x_2, x_665); +lean_dec(x_665); +if (lean_obj_tag(x_668) == 0) +{ +lean_object* x_669; lean_object* x_670; lean_object* x_671; uint8_t x_672; lean_object* x_673; +x_669 = lean_unsigned_to_nat(0u); +x_670 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +x_671 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_671, 0, x_669); +lean_ctor_set(x_671, 1, x_5); +lean_ctor_set(x_671, 2, x_670); +x_672 = 0; +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_663); +lean_inc(x_12); +x_673 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5(x_1, x_2, x_3, x_4, x_8, x_12, x_663, x_671, x_672, x_669, lean_box(0), lean_box(0), x_15, x_16, x_17, x_18, x_666); +lean_dec(x_671); +if (lean_obj_tag(x_673) == 0) +{ +lean_object* x_674; uint8_t x_675; +x_674 = lean_ctor_get(x_673, 0); +lean_inc(x_674); +x_675 = lean_unbox(x_674); +lean_dec(x_674); +if (x_675 == 0) +{ +lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; uint8_t x_680; +x_676 = lean_ctor_get(x_673, 1); +lean_inc(x_676); +lean_dec(x_673); +x_677 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_678 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_677, x_15, x_16, x_17, x_18, x_676); +x_679 = lean_ctor_get(x_678, 0); +lean_inc(x_679); +x_680 = lean_unbox(x_679); +lean_dec(x_679); +if (x_680 == 0) +{ +lean_object* x_681; lean_object* x_682; lean_object* x_683; +lean_dec(x_667); +lean_dec(x_663); +x_681 = lean_ctor_get(x_678, 1); +lean_inc(x_681); +lean_dec(x_678); +x_682 = lean_box(0); +lean_inc(x_12); +x_683 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_682, x_15, x_16, x_17, x_18, x_681); +x_23 = x_683; +goto block_40; +} +else +{ +lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; +x_684 = lean_ctor_get(x_678, 1); +lean_inc(x_684); +if (lean_is_exclusive(x_678)) { + lean_ctor_release(x_678, 0); + lean_ctor_release(x_678, 1); + x_685 = x_678; +} else { + lean_dec_ref(x_678); + x_685 = lean_box(0); +} +lean_inc(x_8); +x_686 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_687 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_687, 0, x_686); +x_688 = l_Lean_MessageData_ofFormat(x_687); +x_689 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +if (lean_is_scalar(x_685)) { + x_690 = lean_alloc_ctor(7, 2, 0); +} else { + x_690 = x_685; + lean_ctor_set_tag(x_690, 7); +} +lean_ctor_set(x_690, 0, x_689); +lean_ctor_set(x_690, 1, x_688); +x_691 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +if (lean_is_scalar(x_667)) { + x_692 = lean_alloc_ctor(7, 2, 0); +} else { + x_692 = x_667; + lean_ctor_set_tag(x_692, 7); +} +lean_ctor_set(x_692, 0, x_690); +lean_ctor_set(x_692, 1, x_691); +lean_inc(x_12); +x_693 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_694 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_694, 0, x_693); +x_695 = l_Lean_MessageData_ofFormat(x_694); +x_696 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_696, 0, x_692); +lean_ctor_set(x_696, 1, x_695); +x_697 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_698 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_698, 0, x_696); +lean_ctor_set(x_698, 1, x_697); +lean_inc(x_6); +x_699 = l_Lean_MessageData_ofExpr(x_6); +x_700 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_700, 0, x_698); +lean_ctor_set(x_700, 1, x_699); +x_701 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_702 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_702, 0, x_700); +lean_ctor_set(x_702, 1, x_701); +x_703 = l_Lean_MessageData_ofExpr(x_663); +x_704 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_704, 0, x_702); +lean_ctor_set(x_704, 1, x_703); +x_705 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16; +x_706 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_706, 0, x_704); +lean_ctor_set(x_706, 1, x_705); +x_707 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_677, x_706, x_15, x_16, x_17, x_18, x_684); +x_708 = lean_ctor_get(x_707, 0); +lean_inc(x_708); +x_709 = lean_ctor_get(x_707, 1); +lean_inc(x_709); +lean_dec(x_707); +lean_inc(x_12); +x_710 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_708, x_15, x_16, x_17, x_18, x_709); +lean_dec(x_708); +x_23 = x_710; +goto block_40; +} +} +else +{ +lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; +lean_dec(x_667); +lean_dec(x_663); +x_711 = lean_ctor_get(x_673, 1); +lean_inc(x_711); +if (lean_is_exclusive(x_673)) { + lean_ctor_release(x_673, 0); + lean_ctor_release(x_673, 1); + x_712 = x_673; +} else { + lean_dec_ref(x_673); + x_712 = lean_box(0); +} +x_713 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +if (lean_is_scalar(x_712)) { + x_714 = lean_alloc_ctor(0, 2, 0); +} else { + x_714 = x_712; +} +lean_ctor_set(x_714, 0, x_713); +lean_ctor_set(x_714, 1, x_711); +x_23 = x_714; +goto block_40; +} +} +else +{ +lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; +lean_dec(x_667); +lean_dec(x_663); +x_715 = lean_ctor_get(x_673, 0); +lean_inc(x_715); +x_716 = lean_ctor_get(x_673, 1); +lean_inc(x_716); +if (lean_is_exclusive(x_673)) { + lean_ctor_release(x_673, 0); + lean_ctor_release(x_673, 1); + x_717 = x_673; +} else { + lean_dec_ref(x_673); + x_717 = lean_box(0); +} +if (lean_is_scalar(x_717)) { + x_718 = lean_alloc_ctor(1, 2, 0); +} else { + x_718 = x_717; +} +lean_ctor_set(x_718, 0, x_715); +lean_ctor_set(x_718, 1, x_716); +x_23 = x_718; +goto block_40; +} +} +else +{ +lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; uint8_t x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; uint8_t x_731; uint8_t x_732; uint8_t x_733; uint8_t x_734; uint8_t x_735; uint8_t x_736; uint8_t x_737; uint8_t x_738; uint8_t x_739; uint8_t x_740; uint8_t x_741; uint8_t x_742; uint8_t x_743; uint8_t x_744; uint8_t x_745; uint8_t x_746; uint8_t x_747; uint8_t x_748; uint8_t x_749; lean_object* x_750; uint8_t x_751; lean_object* x_752; uint64_t x_753; uint8_t x_754; lean_object* x_755; uint64_t x_756; uint64_t x_757; uint64_t x_758; uint64_t x_759; uint64_t x_760; lean_object* x_761; lean_object* x_762; +x_719 = lean_ctor_get(x_668, 0); +lean_inc(x_719); +if (lean_is_exclusive(x_668)) { + lean_ctor_release(x_668, 0); + x_720 = x_668; +} else { + lean_dec_ref(x_668); + x_720 = lean_box(0); +} +x_721 = l_Lean_instInhabitedExpr; +x_722 = lean_array_get(x_721, x_4, x_719); +lean_dec(x_719); +x_723 = lean_ctor_get(x_15, 0); +lean_inc(x_723); +x_724 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 8); +x_725 = lean_ctor_get(x_15, 1); +lean_inc(x_725); +x_726 = lean_ctor_get(x_15, 2); +lean_inc(x_726); +x_727 = lean_ctor_get(x_15, 3); +lean_inc(x_727); +x_728 = lean_ctor_get(x_15, 4); +lean_inc(x_728); +x_729 = lean_ctor_get(x_15, 5); +lean_inc(x_729); +x_730 = lean_ctor_get(x_15, 6); +lean_inc(x_730); +x_731 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 9); +x_732 = lean_ctor_get_uint8(x_15, sizeof(void*)*7 + 10); +x_733 = lean_ctor_get_uint8(x_723, 0); +x_734 = lean_ctor_get_uint8(x_723, 1); +x_735 = lean_ctor_get_uint8(x_723, 2); +x_736 = lean_ctor_get_uint8(x_723, 3); +x_737 = lean_ctor_get_uint8(x_723, 4); +x_738 = lean_ctor_get_uint8(x_723, 5); +x_739 = lean_ctor_get_uint8(x_723, 7); +x_740 = lean_ctor_get_uint8(x_723, 8); +x_741 = lean_ctor_get_uint8(x_723, 9); +x_742 = lean_ctor_get_uint8(x_723, 10); +x_743 = lean_ctor_get_uint8(x_723, 11); +x_744 = lean_ctor_get_uint8(x_723, 12); +x_745 = lean_ctor_get_uint8(x_723, 13); +x_746 = lean_ctor_get_uint8(x_723, 14); +x_747 = lean_ctor_get_uint8(x_723, 15); +x_748 = lean_ctor_get_uint8(x_723, 16); +x_749 = lean_ctor_get_uint8(x_723, 17); +if (lean_is_exclusive(x_723)) { + x_750 = x_723; +} else { + lean_dec_ref(x_723); + x_750 = lean_box(0); +} +x_751 = 0; +if (lean_is_scalar(x_750)) { + x_752 = lean_alloc_ctor(0, 0, 18); +} else { + x_752 = x_750; +} +lean_ctor_set_uint8(x_752, 0, x_733); +lean_ctor_set_uint8(x_752, 1, x_734); +lean_ctor_set_uint8(x_752, 2, x_735); +lean_ctor_set_uint8(x_752, 3, x_736); +lean_ctor_set_uint8(x_752, 4, x_737); +lean_ctor_set_uint8(x_752, 5, x_738); +lean_ctor_set_uint8(x_752, 6, x_751); +lean_ctor_set_uint8(x_752, 7, x_739); +lean_ctor_set_uint8(x_752, 8, x_740); +lean_ctor_set_uint8(x_752, 9, x_741); +lean_ctor_set_uint8(x_752, 10, x_742); +lean_ctor_set_uint8(x_752, 11, x_743); +lean_ctor_set_uint8(x_752, 12, x_744); +lean_ctor_set_uint8(x_752, 13, x_745); +lean_ctor_set_uint8(x_752, 14, x_746); +lean_ctor_set_uint8(x_752, 15, x_747); +lean_ctor_set_uint8(x_752, 16, x_748); +lean_ctor_set_uint8(x_752, 17, x_749); +x_753 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_752); +lean_dec(x_752); +x_754 = 2; +x_755 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_755, 0, x_733); +lean_ctor_set_uint8(x_755, 1, x_734); +lean_ctor_set_uint8(x_755, 2, x_735); +lean_ctor_set_uint8(x_755, 3, x_736); +lean_ctor_set_uint8(x_755, 4, x_737); +lean_ctor_set_uint8(x_755, 5, x_738); +lean_ctor_set_uint8(x_755, 6, x_751); +lean_ctor_set_uint8(x_755, 7, x_739); +lean_ctor_set_uint8(x_755, 8, x_740); +lean_ctor_set_uint8(x_755, 9, x_754); +lean_ctor_set_uint8(x_755, 10, x_742); +lean_ctor_set_uint8(x_755, 11, x_743); +lean_ctor_set_uint8(x_755, 12, x_744); +lean_ctor_set_uint8(x_755, 13, x_745); +lean_ctor_set_uint8(x_755, 14, x_746); +lean_ctor_set_uint8(x_755, 15, x_747); +lean_ctor_set_uint8(x_755, 16, x_748); +lean_ctor_set_uint8(x_755, 17, x_749); +x_756 = 2; +x_757 = lean_uint64_shift_right(x_753, x_756); +x_758 = lean_uint64_shift_left(x_757, x_756); +x_759 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1; +x_760 = lean_uint64_lor(x_758, x_759); +x_761 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_761, 0, x_755); +lean_ctor_set(x_761, 1, x_725); +lean_ctor_set(x_761, 2, x_726); +lean_ctor_set(x_761, 3, x_727); +lean_ctor_set(x_761, 4, x_728); +lean_ctor_set(x_761, 5, x_729); +lean_ctor_set(x_761, 6, x_730); +lean_ctor_set_uint64(x_761, sizeof(void*)*7, x_760); +lean_ctor_set_uint8(x_761, sizeof(void*)*7 + 8, x_724); +lean_ctor_set_uint8(x_761, sizeof(void*)*7 + 9, x_731); +lean_ctor_set_uint8(x_761, sizeof(void*)*7 + 10, x_732); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_663); +lean_inc(x_722); +x_762 = l_Lean_Meta_isExprDefEq(x_722, x_663, x_761, x_16, x_17, x_18, x_666); +if (lean_obj_tag(x_762) == 0) +{ +lean_object* x_763; uint8_t x_764; +x_763 = lean_ctor_get(x_762, 0); +lean_inc(x_763); +x_764 = lean_unbox(x_763); +lean_dec(x_763); +if (x_764 == 0) +{ +lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; uint8_t x_769; +x_765 = lean_ctor_get(x_762, 1); +lean_inc(x_765); +lean_dec(x_762); +x_766 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_767 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___spec__3(x_766, x_15, x_16, x_17, x_18, x_765); +x_768 = lean_ctor_get(x_767, 0); +lean_inc(x_768); +x_769 = lean_unbox(x_768); +lean_dec(x_768); +if (x_769 == 0) +{ +lean_object* x_770; lean_object* x_771; lean_object* x_772; +lean_dec(x_722); +lean_dec(x_720); +lean_dec(x_667); +lean_dec(x_663); +x_770 = lean_ctor_get(x_767, 1); +lean_inc(x_770); +lean_dec(x_767); +x_771 = lean_box(0); +lean_inc(x_12); +x_772 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_771, x_15, x_16, x_17, x_18, x_770); +x_23 = x_772; +goto block_40; +} +else +{ +lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; +x_773 = lean_ctor_get(x_767, 1); +lean_inc(x_773); +if (lean_is_exclusive(x_767)) { + lean_ctor_release(x_767, 0); + lean_ctor_release(x_767, 1); + x_774 = x_767; +} else { + lean_dec_ref(x_767); + x_774 = lean_box(0); +} +lean_inc(x_8); +x_775 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +if (lean_is_scalar(x_720)) { + x_776 = lean_alloc_ctor(3, 1, 0); +} else { + x_776 = x_720; + lean_ctor_set_tag(x_776, 3); +} +lean_ctor_set(x_776, 0, x_775); +x_777 = l_Lean_MessageData_ofFormat(x_776); +x_778 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6; +if (lean_is_scalar(x_774)) { + x_779 = lean_alloc_ctor(7, 2, 0); +} else { + x_779 = x_774; + lean_ctor_set_tag(x_779, 7); +} +lean_ctor_set(x_779, 0, x_778); +lean_ctor_set(x_779, 1, x_777); +x_780 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7; +if (lean_is_scalar(x_667)) { + x_781 = lean_alloc_ctor(7, 2, 0); +} else { + x_781 = x_667; + lean_ctor_set_tag(x_781, 7); +} +lean_ctor_set(x_781, 0, x_779); +lean_ctor_set(x_781, 1, x_780); +lean_inc(x_12); +x_782 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); +x_783 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_783, 0, x_782); +x_784 = l_Lean_MessageData_ofFormat(x_783); +x_785 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_785, 0, x_781); +lean_ctor_set(x_785, 1, x_784); +x_786 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9; +x_787 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_787, 0, x_785); +lean_ctor_set(x_787, 1, x_786); +lean_inc(x_6); +x_788 = l_Lean_MessageData_ofExpr(x_6); +x_789 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_789, 0, x_787); +lean_ctor_set(x_789, 1, x_788); +x_790 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14; +x_791 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_791, 0, x_789); +lean_ctor_set(x_791, 1, x_790); +x_792 = l_Lean_MessageData_ofExpr(x_722); +x_793 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_793, 0, x_791); +lean_ctor_set(x_793, 1, x_792); +x_794 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18; +x_795 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_795, 0, x_793); +lean_ctor_set(x_795, 1, x_794); +x_796 = l_Lean_MessageData_ofExpr(x_663); +x_797 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_797, 0, x_795); +lean_ctor_set(x_797, 1, x_796); +x_798 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_799 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_799, 0, x_797); +lean_ctor_set(x_799, 1, x_798); +x_800 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(x_766, x_799, x_15, x_16, x_17, x_18, x_773); +x_801 = lean_ctor_get(x_800, 0); +lean_inc(x_801); +x_802 = lean_ctor_get(x_800, 1); +lean_inc(x_802); +lean_dec(x_800); +lean_inc(x_12); +x_803 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, x_8, x_12, x_801, x_15, x_16, x_17, x_18, x_802); +lean_dec(x_801); +x_23 = x_803; +goto block_40; +} +} +else +{ +lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; +lean_dec(x_722); +lean_dec(x_720); +lean_dec(x_667); +lean_dec(x_663); +x_804 = lean_ctor_get(x_762, 1); +lean_inc(x_804); +if (lean_is_exclusive(x_762)) { + lean_ctor_release(x_762, 0); + lean_ctor_release(x_762, 1); + x_805 = x_762; +} else { + lean_dec_ref(x_762); + x_805 = lean_box(0); +} +x_806 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1; +if (lean_is_scalar(x_805)) { + x_807 = lean_alloc_ctor(0, 2, 0); +} else { + x_807 = x_805; +} +lean_ctor_set(x_807, 0, x_806); +lean_ctor_set(x_807, 1, x_804); +x_23 = x_807; +goto block_40; +} +} +else +{ +lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; +lean_dec(x_722); +lean_dec(x_720); +lean_dec(x_667); +lean_dec(x_663); +x_808 = lean_ctor_get(x_762, 0); +lean_inc(x_808); +x_809 = lean_ctor_get(x_762, 1); +lean_inc(x_809); +if (lean_is_exclusive(x_762)) { + lean_ctor_release(x_762, 0); + lean_ctor_release(x_762, 1); + x_810 = x_762; +} else { + lean_dec_ref(x_762); + x_810 = lean_box(0); +} +if (lean_is_scalar(x_810)) { + x_811 = lean_alloc_ctor(1, 2, 0); +} else { + x_811 = x_810; +} +lean_ctor_set(x_811, 0, x_808); +lean_ctor_set(x_811, 1, x_809); +x_23 = x_811; +goto block_40; +} +} +} +} +} +block_40: +{ +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 0); +lean_dec(x_26); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +lean_ctor_set(x_23, 0, x_27); +return x_23; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_dec(x_23); +x_29 = lean_ctor_get(x_24, 0); +lean_inc(x_29); +lean_dec(x_24); +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; +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_dec(x_23); +x_32 = lean_ctor_get(x_24, 0); +lean_inc(x_32); +lean_dec(x_24); +x_33 = lean_ctor_get(x_10, 2); +x_34 = lean_nat_add(x_12, x_33); +lean_dec(x_12); +x_11 = x_32; +x_12 = x_34; +x_13 = lean_box(0); +x_14 = lean_box(0); +x_19 = x_31; +goto _start; +} +} +else +{ +uint8_t x_36; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_36 = !lean_is_exclusive(x_23); +if (x_36 == 0) +{ +return x_23; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_23, 0); +x_38 = lean_ctor_get(x_23, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_23); +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 uint8_t l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 3); +x_4 = lean_name_eq(x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = l_Lean_Expr_constName_x21(x_1); +x_18 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__1___boxed), 2, 1); +lean_closure_set(x_18, 0, x_17); +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Array_findIdx_x3f_loop___rarg(x_18, x_2, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +x_21 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_16); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +lean_dec(x_20); +x_24 = l_instInhabitedNat; +x_25 = lean_array_get(x_24, x_3, x_23); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 1, x_25); +lean_ctor_set(x_27, 2, x_26); +x_28 = lean_box(0); +x_29 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23, x_27, x_27, x_28, x_19, lean_box(0), lean_box(0), x_12, x_13, x_14, x_15, x_16); +lean_dec(x_27); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1; +lean_ctor_set(x_29, 0, x_32); +return x_29; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +else +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_29); +if (x_36 == 0) +{ +return x_29; +} +else +{ +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_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_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +if (lean_obj_tag(x_9) == 5) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_9, 1); +lean_inc(x_18); +lean_dec(x_9); +x_19 = lean_array_set(x_10, x_11, x_18); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_11, x_20); +lean_dec(x_11); +x_9 = x_17; +x_10 = x_19; +x_11 = x_21; +goto _start; +} +else +{ +uint8_t x_23; +lean_dec(x_11); +x_23 = l_Lean_Expr_isConst(x_9); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_24 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1; +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_16); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_box(0); +x_27 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_26, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_10); +lean_dec(x_9); +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_2); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +x_14 = lean_apply_6(x_2, x_7, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +switch (lean_obj_tag(x_15)) { +case 0: +{ +uint8_t x_16; +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_2); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 0); +lean_dec(x_17); +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_dec(x_14); +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_19); +return x_21; +} +} +case 1: +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_7); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_dec(x_14); +x_23 = lean_ctor_get(x_15, 0); +lean_inc(x_23); +lean_dec(x_15); +x_24 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_22); +return x_24; +} +default: +{ +lean_object* x_25; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_25 = lean_ctor_get(x_15, 0); +lean_inc(x_25); +lean_dec(x_15); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_14); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_14, 0); +lean_dec(x_27); +lean_ctor_set(x_14, 0, x_7); +return x_14; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_14, 1); +lean_inc(x_28); +lean_dec(x_14); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_7); +x_30 = !lean_is_exclusive(x_14); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_14, 0); +lean_dec(x_31); +x_32 = lean_ctor_get(x_25, 0); +lean_inc(x_32); +lean_dec(x_25); +lean_ctor_set(x_14, 0, x_32); +return x_14; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_14, 1); +lean_inc(x_33); +lean_dec(x_14); +x_34 = lean_ctor_get(x_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +} +} +} +else +{ +uint8_t x_36; +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_2); +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_14); +if (x_36 == 0) +{ +return x_14; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_14, 0); +x_38 = lean_ctor_get(x_14, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_14); +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_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg___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) { +_start: +{ +lean_object* x_9; +x_9 = lean_apply_7(x_1, x_3, x_2, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg___lambda__1), 8, 2); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, x_6); +x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_12, x_5, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 0); +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg___boxed), 11, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_push(x_1, x_9); +x_17 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +if (lean_obj_tag(x_8) == 6) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_8, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_8, 2); +lean_inc(x_17); +x_18 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_19 = lean_expr_instantiate_rev(x_16, x_7); +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_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_20 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_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_box(x_3); +x_24 = lean_box(x_4); +x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11___lambda__1___boxed), 15, 8); +lean_closure_set(x_25, 0, x_7); +lean_closure_set(x_25, 1, x_1); +lean_closure_set(x_25, 2, x_2); +lean_closure_set(x_25, 3, x_23); +lean_closure_set(x_25, 4, x_24); +lean_closure_set(x_25, 5, x_5); +lean_closure_set(x_25, 6, x_6); +lean_closure_set(x_25, 7, x_17); +x_26 = 0; +x_27 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg(x_15, x_18, x_21, x_25, x_26, x_9, x_10, x_11, x_12, x_13, x_22); +return x_27; +} +else +{ +uint8_t x_28; +lean_dec(x_17); +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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_20); +if (x_28 == 0) +{ +return x_20; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_20, 0); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_20); +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; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_33 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = 0; +x_37 = 1; +x_38 = l_Lean_Meta_mkLambdaFVars(x_7, x_34, x_36, x_3, x_36, x_37, x_10, x_11, x_12, x_13, x_35); +lean_dec(x_7); +if (lean_obj_tag(x_38) == 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); +x_41 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_39, x_9, x_10, x_11, x_12, x_13, x_40); +return x_41; +} +else +{ +uint8_t x_42; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +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; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_33); +if (x_46 == 0) +{ +return x_33; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_33, 0); +x_48 = lean_ctor_get(x_33, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_33); +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_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg___lambda__1), 8, 2); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, x_6); +x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_12, x_5, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 0); +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___rarg___boxed), 11, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_push(x_1, x_9); +x_17 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +if (lean_obj_tag(x_8) == 7) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_8, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_8, 2); +lean_inc(x_17); +x_18 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_19 = lean_expr_instantiate_rev(x_16, x_7); +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_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_20 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_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_box(x_3); +x_24 = lean_box(x_4); +x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12___lambda__1___boxed), 15, 8); +lean_closure_set(x_25, 0, x_7); +lean_closure_set(x_25, 1, x_1); +lean_closure_set(x_25, 2, x_2); +lean_closure_set(x_25, 3, x_23); +lean_closure_set(x_25, 4, x_24); +lean_closure_set(x_25, 5, x_5); +lean_closure_set(x_25, 6, x_6); +lean_closure_set(x_25, 7, x_17); +x_26 = 0; +x_27 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___rarg(x_15, x_18, x_21, x_25, x_26, x_9, x_10, x_11, x_12, x_13, x_22); +return x_27; +} +else +{ +uint8_t x_28; +lean_dec(x_17); +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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_20); +if (x_28 == 0) +{ +return x_20; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_20, 0); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_20); +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; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_33 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = 0; +x_37 = 1; +x_38 = l_Lean_Meta_mkForallFVars(x_7, x_34, x_36, x_3, x_37, x_10, x_11, x_12, x_13, x_35); +lean_dec(x_7); +if (lean_obj_tag(x_38) == 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); +x_41 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_39, x_9, x_10, x_11, x_12, x_13, x_40); +return x_41; +} +else +{ +uint8_t x_42; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +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; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_33); +if (x_46 == 0) +{ +return x_33; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_33, 0); +x_48 = lean_ctor_get(x_33, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_33); +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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg___lambda__1), 8, 2); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, x_6); +x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(x_1, x_2, x_3, x_12, x_5, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 0); +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16___rarg___boxed), 11, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_push(x_1, x_9); +x_17 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +if (lean_obj_tag(x_8) == 8) +{ +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_8, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_8, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_8, 3); +lean_inc(x_18); +lean_dec(x_8); +x_19 = lean_expr_instantiate_rev(x_16, x_7); +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_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_20 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_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_expr_instantiate_rev(x_17, x_7); +lean_dec(x_17); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_24 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_9, x_10, x_11, x_12, x_13, x_22); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_box(x_3); +x_28 = lean_box(x_4); +x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13___lambda__1___boxed), 15, 8); +lean_closure_set(x_29, 0, x_7); +lean_closure_set(x_29, 1, x_1); +lean_closure_set(x_29, 2, x_2); +lean_closure_set(x_29, 3, x_27); +lean_closure_set(x_29, 4, x_28); +lean_closure_set(x_29, 5, x_5); +lean_closure_set(x_29, 6, x_6); +lean_closure_set(x_29, 7, x_18); +x_30 = 0; +x_31 = l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16___rarg(x_15, x_21, x_25, x_29, x_30, x_9, x_10, x_11, x_12, x_13, x_26); +return x_31; +} +else +{ +uint8_t x_32; +lean_dec(x_21); +lean_dec(x_18); +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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_24); +if (x_32 == 0) +{ +return x_24; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 0); +x_34 = lean_ctor_get(x_24, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_24); +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; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_18); +lean_dec(x_17); +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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_20); +if (x_36 == 0) +{ +return x_20; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_20, 0); +x_38 = lean_ctor_get(x_20, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_20); +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_40; lean_object* x_41; +x_40 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_41 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_40, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; lean_object* x_46; +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 = 0; +x_45 = 1; +x_46 = l_Lean_Meta_mkLambdaFVars(x_7, x_42, x_44, x_3, x_44, x_45, x_10, x_11, x_12, x_13, x_43); +lean_dec(x_7); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_47, x_9, x_10, x_11, x_12, x_13, x_48); +return x_49; +} +else +{ +uint8_t x_50; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_46); +if (x_50 == 0) +{ +return x_46; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_46, 0); +x_52 = lean_ctor_get(x_46, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_46); +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; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_41); +if (x_54 == 0) +{ +return x_41; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_41, 0); +x_56 = lean_ctor_get(x_41, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_41); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__17(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_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) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_8, x_7); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_uget(x_9, x_8); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_9, x_8, x_19); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_21 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +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 = 1; +x_25 = lean_usize_add(x_8, x_24); +x_26 = lean_array_uset(x_20, x_8, x_22); +x_8 = x_25; +x_9 = x_26; +x_15 = x_23; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +return x_21; +} +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__18(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_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) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_8, x_7); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_uget(x_9, x_8); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_9, x_8, x_19); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_21 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +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 = 1; +x_25 = lean_usize_add(x_8, x_24); +x_26 = lean_array_uset(x_20, x_8, x_22); +x_8 = x_25; +x_9 = x_26; +x_15 = x_23; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +return x_21; +} +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__19(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_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) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_8, x_7); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_uget(x_9, x_8); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_9, x_8, x_19); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_21 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +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 = 1; +x_25 = lean_usize_add(x_8, x_24); +x_26 = lean_array_uset(x_20, x_8, x_22); +x_8 = x_25; +x_9 = x_26; +x_15 = x_23; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +return x_21; +} +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_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__20(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +if (lean_obj_tag(x_7) == 5) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_dec(x_7); +x_18 = lean_array_set(x_8, x_9, x_17); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_9, x_19); +lean_dec(x_9); +x_7 = x_16; +x_8 = x_18; +x_9 = x_20; +goto _start; +} +else +{ +lean_dec(x_9); +if (x_4 == 0) +{ +lean_object* x_22; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_22 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_array_size(x_8); +x_26 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_26, x_8, x_10, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_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_Lean_mkAppN(x_23, x_28); +lean_dec(x_28); +x_31 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_30, x_10, x_11, x_12, x_13, x_14, x_29); +return x_31; +} +else +{ +uint8_t x_32; +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_27); +if (x_32 == 0) +{ +return x_27; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_ctor_get(x_27, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_27); +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; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_22); +if (x_36 == 0) +{ +return x_22; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_22, 0); +x_38 = lean_ctor_get(x_22, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_22); +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 +{ +uint8_t x_40; +x_40 = l_Lean_Expr_isConst(x_7); +if (x_40 == 0) +{ +lean_object* x_41; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_41 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; +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 = lean_array_size(x_8); +x_45 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_44, x_45, x_8, x_10, x_11, x_12, x_13, x_14, x_43); +if (lean_obj_tag(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_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_mkAppN(x_42, x_47); +lean_dec(x_47); +x_50 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_49, x_10, x_11, x_12, x_13, x_14, x_48); +return x_50; +} +else +{ +uint8_t x_51; +lean_dec(x_42); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_51 = !lean_is_exclusive(x_46); +if (x_51 == 0) +{ +return x_46; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_46, 0); +x_53 = lean_ctor_get(x_46, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_46); +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; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_41); +if (x_55 == 0) +{ +return x_41; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_41, 0); +x_57 = lean_ctor_get(x_41, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_41); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +size_t x_59; size_t x_60; lean_object* x_61; +x_59 = lean_array_size(x_8); +x_60 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_61 = l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__19(x_1, x_2, x_3, x_4, x_5, x_6, x_59, x_60, x_8, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l_Lean_mkAppN(x_7, x_62); +lean_dec(x_62); +x_65 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_64, x_10, x_11, x_12, x_13, x_14, x_63); +return x_65; +} +else +{ +uint8_t x_66; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_66 = !lean_is_exclusive(x_61); +if (x_66 == 0) +{ +return x_61; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_61, 0); +x_68 = lean_ctor_get(x_61, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_61); +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; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_getFixedParamsInfo___spec__21___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, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_9 = lean_apply_6(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_apply_7(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_11); +return x_12; +} +else +{ +uint8_t x_13; +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_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_9); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_getFixedParamsInfo___spec__21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_getFixedParamsInfo___spec__21___rarg), 8, 0); +return x_3; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("runtime", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("maxRecDepth", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__1; +x_2 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_maxRecDepthErrorMessage; +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_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__4; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__3; +x_2 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__5; +x_3 = lean_alloc_ctor(8, 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_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___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; lean_object* x_9; +x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__6; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___boxed), 6, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_getFixedParamsInfo___spec__22(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; 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; uint8_t x_23; uint8_t x_24; +x_10 = lean_ctor_get(x_7, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_7, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_7, 2); +lean_inc(x_12); +x_13 = lean_ctor_get(x_7, 3); +lean_inc(x_13); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +x_16 = lean_ctor_get(x_7, 6); +lean_inc(x_16); +x_17 = lean_ctor_get(x_7, 7); +lean_inc(x_17); +x_18 = lean_ctor_get(x_7, 8); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 9); +lean_inc(x_19); +x_20 = lean_ctor_get(x_7, 10); +lean_inc(x_20); +x_21 = lean_ctor_get_uint8(x_7, sizeof(void*)*12); +x_22 = lean_ctor_get(x_7, 11); +lean_inc(x_22); +x_23 = lean_ctor_get_uint8(x_7, sizeof(void*)*12 + 1); +x_24 = lean_nat_dec_eq(x_13, x_14); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_7); +if (x_25 == 0) +{ +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; +x_26 = lean_ctor_get(x_7, 11); +lean_dec(x_26); +x_27 = lean_ctor_get(x_7, 10); +lean_dec(x_27); +x_28 = lean_ctor_get(x_7, 9); +lean_dec(x_28); +x_29 = lean_ctor_get(x_7, 8); +lean_dec(x_29); +x_30 = lean_ctor_get(x_7, 7); +lean_dec(x_30); +x_31 = lean_ctor_get(x_7, 6); +lean_dec(x_31); +x_32 = lean_ctor_get(x_7, 5); +lean_dec(x_32); +x_33 = lean_ctor_get(x_7, 4); +lean_dec(x_33); +x_34 = lean_ctor_get(x_7, 3); +lean_dec(x_34); +x_35 = lean_ctor_get(x_7, 2); +lean_dec(x_35); +x_36 = lean_ctor_get(x_7, 1); +lean_dec(x_36); +x_37 = lean_ctor_get(x_7, 0); +lean_dec(x_37); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_add(x_13, x_38); +lean_dec(x_13); +lean_ctor_set(x_7, 3, x_39); +x_40 = lean_apply_6(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_40) == 0) +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +return x_40; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_40); +x_44 = lean_alloc_ctor(0, 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_45; +x_45 = !lean_is_exclusive(x_40); +if (x_45 == 0) +{ +return x_40; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* 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_dec(x_40); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_7); +x_49 = lean_unsigned_to_nat(1u); +x_50 = lean_nat_add(x_13, x_49); +lean_dec(x_13); +x_51 = lean_alloc_ctor(0, 12, 2); +lean_ctor_set(x_51, 0, x_10); +lean_ctor_set(x_51, 1, x_11); +lean_ctor_set(x_51, 2, x_12); +lean_ctor_set(x_51, 3, x_50); +lean_ctor_set(x_51, 4, x_14); +lean_ctor_set(x_51, 5, x_15); +lean_ctor_set(x_51, 6, x_16); +lean_ctor_set(x_51, 7, x_17); +lean_ctor_set(x_51, 8, x_18); +lean_ctor_set(x_51, 9, x_19); +lean_ctor_set(x_51, 10, x_20); +lean_ctor_set(x_51, 11, x_22); +lean_ctor_set_uint8(x_51, sizeof(void*)*12, x_21); +lean_ctor_set_uint8(x_51, sizeof(void*)*12 + 1, x_23); +x_52 = lean_apply_6(x_3, x_4, x_5, x_6, x_51, x_8, x_9); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_55 = x_52; +} else { + lean_dec_ref(x_52); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_52, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_52, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_59 = x_52; +} else { + lean_dec_ref(x_52); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +else +{ +lean_object* x_61; uint8_t x_62; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_3); +x_61 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg(x_15, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) +{ +return x_61; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_61, 0); +x_64 = lean_ctor_get(x_61, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_61); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_levelZero; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +switch (lean_obj_tag(x_8)) { +case 0: +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_62 = lean_ctor_get(x_8, 0); +lean_inc(x_62); +lean_dec(x_8); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_14); +return x_63; +} +case 1: +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_7); +x_64 = lean_ctor_get(x_8, 0); +lean_inc(x_64); +lean_dec(x_8); +x_65 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_64, x_9, x_10, x_11, x_12, x_13, x_14); +return x_65; +} +default: +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_8, 0); +lean_inc(x_66); +lean_dec(x_8); +if (lean_obj_tag(x_66) == 0) +{ +x_15 = x_7; +goto block_61; +} +else +{ +lean_object* x_67; +lean_dec(x_7); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +lean_dec(x_66); +x_15 = x_67; +goto block_61; +} +} +} +block_61: +{ +switch (lean_obj_tag(x_15)) { +case 5: +{ +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_16 = lean_unsigned_to_nat(0u); +x_17 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_16); +x_18 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___closed__1; +lean_inc(x_17); +x_19 = lean_mk_array(x_17, x_18); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_17, x_20); +lean_dec(x_17); +x_22 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_19, x_21, x_9, x_10, x_11, x_12, x_13, x_14); +return x_22; +} +case 6: +{ +lean_object* x_23; lean_object* x_24; +x_23 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_24 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_24; +} +case 7: +{ +lean_object* x_25; lean_object* x_26; +x_25 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_26 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_26; +} +case 8: +{ +lean_object* x_27; lean_object* x_28; +x_27 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_28 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_27, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_28; +} +case 10: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_30); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_31 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_30, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; uint8_t x_36; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ptr_addr(x_30); +lean_dec(x_30); +x_35 = lean_ptr_addr(x_32); +x_36 = lean_usize_dec_eq(x_34, x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_15); +x_37 = l_Lean_Expr_mdata___override(x_29, x_32); +x_38 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_37, x_9, x_10, x_11, x_12, x_13, x_33); +return x_38; +} +else +{ +lean_object* x_39; +lean_dec(x_32); +lean_dec(x_29); +x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13, x_33); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_30); +lean_dec(x_29); +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_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_31); +if (x_40 == 0) +{ +return x_31; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_31, 0); +x_42 = lean_ctor_get(x_31, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_31); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +case 11: +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_15, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_15, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_15, 2); +lean_inc(x_46); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_46); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_47 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_46, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; uint8_t x_52; +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 = lean_ptr_addr(x_46); +lean_dec(x_46); +x_51 = lean_ptr_addr(x_48); +x_52 = lean_usize_dec_eq(x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_15); +x_53 = l_Lean_Expr_proj___override(x_44, x_45, x_48); +x_54 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_53, x_9, x_10, x_11, x_12, x_13, x_49); +return x_54; +} +else +{ +lean_object* x_55; +lean_dec(x_48); +lean_dec(x_45); +lean_dec(x_44); +x_55 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13, x_49); +return x_55; +} +} +else +{ +uint8_t x_56; +lean_dec(x_46); +lean_dec(x_45); +lean_dec(x_44); +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_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_56 = !lean_is_exclusive(x_47); +if (x_56 == 0) +{ +return x_47; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_47, 0); +x_58 = lean_ctor_get(x_47, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_47); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +default: +{ +lean_object* x_60; +x_60 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_60; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__2(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_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; size_t x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +x_9 = lean_array_get_size(x_8); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = lean_usize_sub(x_10, x_1); +x_12 = lean_usize_land(x_2, x_11); +x_13 = lean_array_uget(x_8, x_12); +x_14 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__2(x_3, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_7, x_15); +lean_dec(x_7); +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_3); +lean_ctor_set(x_17, 1, x_4); +lean_ctor_set(x_17, 2, x_13); +x_18 = lean_array_uset(x_8, x_12, x_17); +x_19 = lean_unsigned_to_nat(4u); +x_20 = lean_nat_mul(x_16, x_19); +x_21 = lean_unsigned_to_nat(3u); +x_22 = lean_nat_div(x_20, x_21); +lean_dec(x_20); +x_23 = lean_array_get_size(x_18); +x_24 = lean_nat_dec_le(x_22, x_23); +lean_dec(x_23); +lean_dec(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(x_18); +lean_ctor_set(x_5, 1, x_25); +lean_ctor_set(x_5, 0, x_16); +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_5); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_ctor_set(x_5, 1, x_18); +lean_ctor_set(x_5, 0, x_16); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_5); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = lean_box(0); +x_31 = lean_array_uset(x_8, x_12, x_30); +x_32 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__6(x_3, x_4, x_13); +x_33 = lean_array_uset(x_31, x_12, x_32); +lean_ctor_set(x_5, 1, x_33); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_5); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; +x_36 = lean_ctor_get(x_5, 0); +x_37 = lean_ctor_get(x_5, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_5); +x_38 = lean_array_get_size(x_37); +x_39 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_40 = lean_usize_sub(x_39, x_1); +x_41 = lean_usize_land(x_2, x_40); +x_42 = lean_array_uget(x_37, x_41); +x_43 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__2(x_3, x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_add(x_36, x_44); +lean_dec(x_36); +x_46 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_46, 0, x_3); +lean_ctor_set(x_46, 1, x_4); +lean_ctor_set(x_46, 2, x_42); +x_47 = lean_array_uset(x_37, x_41, x_46); +x_48 = lean_unsigned_to_nat(4u); +x_49 = lean_nat_mul(x_45, x_48); +x_50 = lean_unsigned_to_nat(3u); +x_51 = lean_nat_div(x_49, x_50); +lean_dec(x_49); +x_52 = lean_array_get_size(x_47); +x_53 = lean_nat_dec_le(x_51, x_52); +lean_dec(x_52); +lean_dec(x_51); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(x_47); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_45); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_box(0); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_47); +x_59 = lean_box(0); +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; +} +} +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; +x_61 = lean_box(0); +x_62 = lean_array_uset(x_37, x_41, x_61); +x_63 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__6(x_3, x_4, x_42); +x_64 = lean_array_uset(x_62, x_41, x_63); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_36); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_box(0); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +} +} +static lean_object* _init_l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +lean_inc(x_8); +x_14 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_14, 0, lean_box(0)); +lean_closure_set(x_14, 1, lean_box(0)); +lean_closure_set(x_14, 2, x_8); +lean_inc(x_6); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_15 = lean_apply_7(x_6, lean_box(0), x_14, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_array_get_size(x_19); +x_21 = l_Lean_Expr_hash(x_7); +x_22 = 32; +x_23 = lean_uint64_shift_right(x_21, x_22); +x_24 = lean_uint64_xor(x_21, x_23); +x_25 = 16; +x_26 = lean_uint64_shift_right(x_24, x_25); +x_27 = lean_uint64_xor(x_24, x_26); +x_28 = lean_uint64_to_usize(x_27); +x_29 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_30 = 1; +x_31 = lean_usize_sub(x_29, x_30); +x_32 = lean_usize_land(x_28, x_31); +x_33 = lean_array_uget(x_19, x_32); +lean_dec(x_19); +x_34 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_7, x_33); +lean_dec(x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_free_object(x_15); +lean_inc(x_1); +lean_inc(x_7); +x_35 = lean_apply_1(x_1, x_7); +x_36 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_36, 0, x_35); +x_37 = lean_box(x_3); +x_38 = lean_box(x_4); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_39 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___boxed), 14, 7); +lean_closure_set(x_39, 0, x_1); +lean_closure_set(x_39, 1, x_2); +lean_closure_set(x_39, 2, x_37); +lean_closure_set(x_39, 3, x_38); +lean_closure_set(x_39, 4, x_5); +lean_closure_set(x_39, 5, x_6); +lean_closure_set(x_39, 6, x_7); +x_40 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_getFixedParamsInfo___spec__21___rarg), 8, 2); +lean_closure_set(x_40, 0, x_36); +lean_closure_set(x_40, 1, x_39); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_41 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_getFixedParamsInfo___spec__22(x_5, lean_box(0), x_40, x_8, x_9, x_10, x_11, x_12, x_18); +lean_dec(x_5); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +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_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___boxed__const__1; +x_45 = lean_box_usize(x_28); +lean_inc(x_42); +x_46 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__2___boxed), 5, 4); +lean_closure_set(x_46, 0, x_44); +lean_closure_set(x_46, 1, x_45); +lean_closure_set(x_46, 2, x_7); +lean_closure_set(x_46, 3, x_42); +x_47 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_47, 0, x_8); +lean_closure_set(x_47, 1, x_46); +x_48 = lean_apply_7(x_6, lean_box(0), x_47, x_9, x_10, x_11, x_12, x_43); +if (lean_obj_tag(x_48) == 0) +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +lean_ctor_set(x_48, 0, x_42); +return x_48; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 1); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_42); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +uint8_t x_53; +lean_dec(x_42); +x_53 = !lean_is_exclusive(x_48); +if (x_53 == 0) +{ +return x_48; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_48, 0); +x_55 = lean_ctor_get(x_48, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_48); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +uint8_t x_57; +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); +x_57 = !lean_is_exclusive(x_41); +if (x_57 == 0) +{ +return x_41; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_41, 0); +x_59 = lean_ctor_get(x_41, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_41); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +lean_object* x_61; +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_2); +lean_dec(x_1); +x_61 = lean_ctor_get(x_34, 0); +lean_inc(x_61); +lean_dec(x_34); +lean_ctor_set(x_15, 0, x_61); +return x_15; +} +} +else +{ +lean_object* x_62; 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_62 = lean_ctor_get(x_15, 0); +x_63 = lean_ctor_get(x_15, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_15); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = lean_array_get_size(x_64); +x_66 = l_Lean_Expr_hash(x_7); +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); +lean_dec(x_64); +x_79 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_7, x_78); +lean_dec(x_78); +if (lean_obj_tag(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_inc(x_1); +lean_inc(x_7); +x_80 = lean_apply_1(x_1, x_7); +x_81 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_81, 0, x_80); +x_82 = lean_box(x_3); +x_83 = lean_box(x_4); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_84 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___boxed), 14, 7); +lean_closure_set(x_84, 0, x_1); +lean_closure_set(x_84, 1, x_2); +lean_closure_set(x_84, 2, x_82); +lean_closure_set(x_84, 3, x_83); +lean_closure_set(x_84, 4, x_5); +lean_closure_set(x_84, 5, x_6); +lean_closure_set(x_84, 6, x_7); +x_85 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_getFixedParamsInfo___spec__21___rarg), 8, 2); +lean_closure_set(x_85, 0, x_81); +lean_closure_set(x_85, 1, x_84); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_86 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_getFixedParamsInfo___spec__22(x_5, lean_box(0), x_85, x_8, x_9, x_10, x_11, x_12, x_63); +lean_dec(x_5); +if (lean_obj_tag(x_86) == 0) +{ +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; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___boxed__const__1; +x_90 = lean_box_usize(x_73); +lean_inc(x_87); +x_91 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__2___boxed), 5, 4); +lean_closure_set(x_91, 0, x_89); +lean_closure_set(x_91, 1, x_90); +lean_closure_set(x_91, 2, x_7); +lean_closure_set(x_91, 3, x_87); +x_92 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_92, 0, x_8); +lean_closure_set(x_92, 1, x_91); +x_93 = lean_apply_7(x_6, lean_box(0), x_92, x_9, x_10, x_11, x_12, x_88); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_95 = x_93; +} else { + lean_dec_ref(x_93); + x_95 = lean_box(0); +} +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_95; +} +lean_ctor_set(x_96, 0, x_87); +lean_ctor_set(x_96, 1, x_94); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_87); +x_97 = lean_ctor_get(x_93, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_93, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_99 = x_93; +} else { + lean_dec_ref(x_93); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +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); +x_101 = lean_ctor_get(x_86, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_86, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_103 = x_86; +} else { + lean_dec_ref(x_86); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +else +{ +lean_object* x_105; lean_object* x_106; +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_2); +lean_dec(x_1); +x_105 = lean_ctor_get(x_79, 0); +lean_inc(x_105); +lean_dec(x_79); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_63); +return x_106; +} +} +} +else +{ +uint8_t x_107; +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_2); +lean_dec(x_1); +x_107 = !lean_is_exclusive(x_15); +if (x_107 == 0) +{ +return x_15; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_15, 0); +x_109 = lean_ctor_get(x_15, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_15); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___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) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_apply_1(x_2, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +static lean_object* _init_l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___lambda__1___boxed), 7, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +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_box(0); +x_12 = l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___closed__1; +x_13 = l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__3; +x_14 = lean_st_mk_ref(x_13, x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_15); +x_17 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_2, x_3, x_4, x_5, x_11, x_12, x_1, x_15, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(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_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_st_ref_get(x_15, x_19); +lean_dec(x_15); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_18); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec(x_15); +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) +{ +return x_17; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_17, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_17); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; lean_object* x_11; +x_9 = lean_box(0); +x_10 = 0; +x_11 = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(x_1, x_10, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) +{ +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24___rarg___boxed), 8, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +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_14 = lean_unsigned_to_nat(0u); +x_15 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_14); +x_16 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___closed__1; +lean_inc(x_15); +x_17 = lean_mk_array(x_15, x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_15, x_18); +lean_dec(x_15); +lean_inc(x_8); +x_20 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_8, x_17, x_19, x_9, x_10, x_11, x_12, x_13); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("params.size = arities[callerIdx]!\n\n -- TODO: transform is overkill, a simple visit-all-subexpression that takes applications\n -- as whole suffices\n ", 163, 163); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.FixedParams", 35, 35); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.getFixedParamsInfo", 28, 28); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__6() { +_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__5; +x_3 = lean_unsigned_to_nat(197u); +x_4 = lean_unsigned_to_nat(6u); +x_5 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__2___boxed), 6, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_array_get_size(x_6); +x_14 = l_instInhabitedNat; +x_15 = lean_array_get(x_14, x_1, x_2); +x_16 = lean_nat_dec_eq(x_13, x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_13); +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_17 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__6; +x_18 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2(x_17, x_8, x_9, x_10, x_11, x_12); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; +x_19 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__1___boxed), 13, 7); +lean_closure_set(x_19, 0, x_3); +lean_closure_set(x_19, 1, x_1); +lean_closure_set(x_19, 2, x_4); +lean_closure_set(x_19, 3, x_2); +lean_closure_set(x_19, 4, x_5); +lean_closure_set(x_19, 5, x_6); +lean_closure_set(x_19, 6, x_13); +x_20 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__7; +x_21 = 0; +x_22 = 1; +x_23 = l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8(x_7, x_19, x_20, x_21, x_22, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +x_26 = lean_box(0); +lean_ctor_set(x_23, 0, x_26); +return x_23; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_23); +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; +} +} +} +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Core_instMonadCoreM; +x_2 = l_ReaderT_instMonad___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__1; +x_2 = l_ReaderT_instApplicativeOfMonad___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__2; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_instMonadControlTOfPure___rarg(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_4, 1); +x_15 = lean_nat_dec_lt(x_6, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +else +{ +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_dec(x_5); +x_17 = lean_array_fget(x_1, x_6); +x_18 = lean_ctor_get(x_17, 5); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__3; +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_6); +lean_inc(x_2); +x_20 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3), 12, 5); +lean_closure_set(x_20, 0, x_2); +lean_closure_set(x_20, 1, x_6); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_3); +lean_closure_set(x_20, 4, x_19); +x_21 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_22 = l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24___rarg(x_18, x_20, x_21, x_9, x_10, x_11, x_12, x_13); +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, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get(x_4, 2); +x_25 = lean_nat_add(x_6, x_24); +lean_dec(x_6); +x_26 = lean_box(0); +x_5 = x_26; +x_6 = x_25; +x_7 = lean_box(0); +x_8 = lean_box(0); +x_13 = x_23; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +return x_22; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_22, 0); +x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_22); +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_getFixedParamsInfo___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) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_getFixedParamsInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getFixedParams:", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_getFixedParamsInfo___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_getFixedParamsInfo___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamsInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_7 = l_Lean_Elab_getParamRevDeps(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; size_t x_10; size_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; uint8_t x_22; +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_array_size(x_8); +x_11 = 0; +lean_inc(x_8); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__1(x_10, x_11, x_8); +x_13 = l_Lean_Elab_FixedParams_Info_init(x_8); +x_14 = lean_st_mk_ref(x_13, x_9); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_st_ref_take(x_15, x_16); +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_Elab_FixedParams_Info_addSelfCalls(x_18); +x_21 = lean_st_ref_set(x_15, x_20, x_19); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_23 = lean_ctor_get(x_21, 1); +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +x_25 = lean_array_get_size(x_1); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_25); +lean_ctor_set(x_28, 2, x_27); +x_29 = lean_box(0); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_15); +x_30 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25(x_1, x_12, x_15, x_28, x_29, x_26, lean_box(0), lean_box(0), x_2, x_3, x_4, x_5, x_23); +lean_dec(x_28); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_st_ref_get(x_15, x_31); +lean_dec(x_15); +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 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_37 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_36, x_2, x_3, x_4, x_5, x_35); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_unbox(x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +uint8_t x_40; +lean_free_object(x_32); +lean_free_object(x_21); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_37, 0); +lean_dec(x_41); +lean_ctor_set(x_37, 0, x_34); +return x_37; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_37, 1); +lean_inc(x_42); +lean_dec(x_37); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_34); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +lean_dec(x_37); +lean_inc(x_34); +x_45 = l_Lean_Elab_FixedParams_Info_format(x_34); +x_46 = l_Std_Format_indentD(x_45); +x_47 = l_Lean_MessageData_ofFormat(x_46); +x_48 = l_Lean_Elab_getFixedParamsInfo___closed__2; +lean_ctor_set_tag(x_32, 7); +lean_ctor_set(x_32, 1, x_47); +lean_ctor_set(x_32, 0, x_48); +x_49 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_49); +lean_ctor_set(x_21, 0, x_32); +x_50 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_36, x_21, x_2, x_3, x_4, x_5, x_44); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_50, 0); +lean_dec(x_52); +lean_ctor_set(x_50, 0, x_34); +return x_50; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_34); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_55 = lean_ctor_get(x_32, 0); +x_56 = lean_ctor_get(x_32, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_32); +x_57 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_58 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_57, x_2, x_3, x_4, x_5, x_56); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_unbox(x_59); +lean_dec(x_59); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_free_object(x_21); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_62 = x_58; +} else { + lean_dec_ref(x_58); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_55); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_64 = lean_ctor_get(x_58, 1); +lean_inc(x_64); +lean_dec(x_58); +lean_inc(x_55); +x_65 = l_Lean_Elab_FixedParams_Info_format(x_55); +x_66 = l_Std_Format_indentD(x_65); +x_67 = l_Lean_MessageData_ofFormat(x_66); +x_68 = l_Lean_Elab_getFixedParamsInfo___closed__2; +x_69 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_70); +lean_ctor_set(x_21, 0, x_69); +x_71 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_57, x_21, x_2, x_3, x_4, x_5, x_64); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_73 = x_71; +} else { + lean_dec_ref(x_71); + x_73 = lean_box(0); +} +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_55); +lean_ctor_set(x_74, 1, x_72); +return x_74; +} +} +} +else +{ +uint8_t x_75; +lean_free_object(x_21); +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_75 = !lean_is_exclusive(x_30); +if (x_75 == 0) +{ +return x_30; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_30, 0); +x_77 = lean_ctor_get(x_30, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_30); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_79 = lean_ctor_get(x_21, 1); +lean_inc(x_79); +lean_dec(x_21); +x_80 = lean_array_get_size(x_1); +x_81 = lean_unsigned_to_nat(0u); +x_82 = lean_unsigned_to_nat(1u); +x_83 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_80); +lean_ctor_set(x_83, 2, x_82); +x_84 = lean_box(0); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_15); +x_85 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25(x_1, x_12, x_15, x_83, x_84, x_81, lean_box(0), lean_box(0), x_2, x_3, x_4, x_5, x_79); +lean_dec(x_83); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_st_ref_get(x_15, x_86); +lean_dec(x_15); +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 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_92 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_91, x_2, x_3, x_4, x_5, x_89); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_unbox(x_93); +lean_dec(x_93); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_90); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_95 = lean_ctor_get(x_92, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_96 = x_92; +} else { + lean_dec_ref(x_92); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_88); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_98 = lean_ctor_get(x_92, 1); +lean_inc(x_98); +lean_dec(x_92); +lean_inc(x_88); +x_99 = l_Lean_Elab_FixedParams_Info_format(x_88); +x_100 = l_Std_Format_indentD(x_99); +x_101 = l_Lean_MessageData_ofFormat(x_100); +x_102 = l_Lean_Elab_getFixedParamsInfo___closed__2; +if (lean_is_scalar(x_90)) { + x_103 = lean_alloc_ctor(7, 2, 0); +} else { + x_103 = x_90; + lean_ctor_set_tag(x_103, 7); +} +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +x_104 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12; +x_105 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_91, x_105, x_2, x_3, x_4, x_5, x_98); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_108 = x_106; +} else { + lean_dec_ref(x_106); + x_108 = lean_box(0); +} +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_108; +} +lean_ctor_set(x_109, 0, x_88); +lean_ctor_set(x_109, 1, x_107); +return x_109; +} +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_110 = lean_ctor_get(x_85, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_85, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_112 = x_85; +} else { + lean_dec_ref(x_85); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); +} else { + x_113 = x_112; +} +lean_ctor_set(x_113, 0, x_110); +lean_ctor_set(x_113, 1, x_111); +return x_113; +} +} +} +else +{ +uint8_t x_114; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_114 = !lean_is_exclusive(x_7); +if (x_114 == 0) +{ +return x_7; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_7, 0); +x_116 = lean_ctor_get(x_7, 1); +lean_inc(x_116); +lean_inc(x_115); +lean_dec(x_7); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +return x_117; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___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_getFixedParamsInfo___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___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: +{ +lean_object* x_7; +x_7 = l_Lean_isTracingEnabledFor___at_Lean_Elab_getFixedParamsInfo___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_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4(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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_9); +lean_dec(x_9); +x_19 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1(x_1, 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); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___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, x_17, x_18, x_19); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__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_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___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: +{ +lean_object* x_17; +x_17 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_getFixedParamsInfo___spec__10(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___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, 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; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_2); +lean_dec(x_2); +x_13 = lean_unbox(x_5); +lean_dec(x_5); +x_14 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___rarg(x_1, x_12, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__14(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = lean_unbox(x_5); +lean_dec(x_5); +x_18 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11___lambda__1(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); +lean_dec(x_3); +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_getFixedParamsInfo___spec__11(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___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, 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; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_2); +lean_dec(x_2); +x_13 = lean_unbox(x_5); +lean_dec(x_5); +x_14 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___rarg(x_1, x_12, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedParamsInfo___spec__15(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = lean_unbox(x_5); +lean_dec(x_5); +x_18 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12___lambda__1(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); +lean_dec(x_3); +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_getFixedParamsInfo___spec__12(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16___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, 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_5); +lean_dec(x_5); +x_13 = l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16___rarg(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedParamsInfo___spec__16(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = lean_unbox(x_5); +lean_dec(x_5); +x_18 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13___lambda__1(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); +lean_dec(x_3); +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_getFixedParamsInfo___spec__13(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_19 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__17(x_1, x_2, x_16, x_17, x_5, x_6, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_19 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__18(x_1, x_2, x_16, x_17, x_5, x_6, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_19 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_getFixedParamsInfo___spec__19(x_1, x_2, x_16, x_17, x_5, x_6, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__20(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___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_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +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_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_getFixedParamsInfo___spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_getFixedParamsInfo___spec__22(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___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; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); +lean_dec(x_3); +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__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_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__2(x_6, x_7, x_3, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___lambda__1(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_transform___at_Lean_Elab_getFixedParamsInfo___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_unbox(x_4); +lean_dec(x_4); +x_12 = lean_unbox(x_5); +lean_dec(x_5); +x_13 = l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8(x_1, x_2, x_3, x_11, x_12, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24___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, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +lean_dec(x_3); +x_10 = l_Lean_Meta_lambdaTelescope___at_Lean_Elab_getFixedParamsInfo___spec__24___rarg(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___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) { +_start: +{ +lean_object* x_14; +x_14 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamsInfo___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_getFixedParamsInfo___lambda__1(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); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_instInhabitedFixedParamPerms___closed__1() { +_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_FixedParams_Info_mayBeFixed___closed__1; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_instInhabitedFixedParamPerms() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_instInhabitedFixedParamPerms___closed__1; +return x_1; +} +} +static lean_object* _init_l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("none", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("some ", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__2; +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; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_1, 0); +x_6 = l___private_Init_Data_Repr_0__Nat_reprFast(x_5); +lean_ctor_set_tag(x_1, 3); +lean_ctor_set(x_1, 0, x_6); +x_7 = l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__4; +x_8 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_1); +x_9 = l_Repr_addAppParen(x_8, x_2); +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; +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 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__4; +x_14 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = l_Repr_addAppParen(x_14, x_2); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__5(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_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3(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_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__4(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_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3(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_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3(x_8, x_9); +x_11 = l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__5(x_2, x_10, x_4); +return x_11; +} +} +} +} +static lean_object* _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(",", 1, 1); +return x_1; +} +} +static lean_object* _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___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_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___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_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("#[", 2, 2); +return x_1; +} +} +static lean_object* _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__4; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__5; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___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_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("#[]", 3, 3); +return x_1; +} +} +static lean_object* _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__8; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1(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_eq(x_2, x_3); +lean_dec(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_5 = lean_array_to_list(x_1); +x_6 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3; +x_7 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__4(x_5, x_6); +x_8 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7; +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +x_10 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10; +x_11 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6; +x_13 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = 1; +x_15 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9; +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__8(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__10(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__8(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__8(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__9(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__8(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__8(x_7); +x_9 = l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__10(x_2, x_8, x_4); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__7(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_eq(x_2, x_3); +lean_dec(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_5 = lean_array_to_list(x_1); +x_6 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3; +x_7 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__9(x_5, x_6); +x_8 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7; +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +x_10 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10; +x_11 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6; +x_13 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = 1; +x_15 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9; +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__12(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__7(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__7(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__11(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__7(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__7(x_7); +x_9 = l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__12(x_2, x_8, x_4); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__6(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_eq(x_2, x_3); +lean_dec(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_5 = lean_array_to_list(x_1); +x_6 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3; +x_7 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__11(x_5, x_6); +x_8 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7; +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +x_10 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10; +x_11 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6; +x_13 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = 1; +x_15 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9; +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__14(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__6(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__6(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__13(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__6(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__6(x_7); +x_9 = l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__14(x_2, x_8, x_4); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__16(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__15(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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1(x_7); +x_9 = l_List_foldl___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__16(x_2, x_8, x_4); +return x_9; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("numFixed", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" := ", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__5; +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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(12u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("perms", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__10() { +_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_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("revDeps", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(11u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("{ ", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__14; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__15; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" }", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____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_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__13; +x_2 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9; +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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__21() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__20; +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_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090_(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; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_3 = lean_ctor_get(x_1, 0); +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_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__7; +x_7 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +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_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__6; +x_11 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__2; +x_13 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +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_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__9; +x_17 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__5; +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 = lean_ctor_get(x_1, 1); +lean_inc(x_20); +x_21 = lean_array_get_size(x_20); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_nat_dec_eq(x_21, x_22); +lean_dec(x_21); +x_24 = lean_ctor_get(x_1, 2); +lean_inc(x_24); +lean_dec(x_1); +x_25 = lean_array_get_size(x_24); +x_26 = lean_nat_dec_eq(x_25, x_22); +lean_dec(x_25); +if (x_23 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; +x_69 = lean_array_to_list(x_20); +x_70 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3; +x_71 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__15(x_69, x_70); +x_72 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7; +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 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10; +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 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6; +x_77 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = 1; +x_79 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_78); +x_27 = x_79; +goto block_68; +} +else +{ +lean_object* x_80; +lean_dec(x_20); +x_80 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9; +x_27 = x_80; +goto block_68; +} +block_68: +{ +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_28 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__10; +x_29 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_8); +x_31 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_12); +x_33 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_14); +x_34 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__12; +x_35 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_18); +if (x_26 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; 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; +x_37 = lean_array_to_list(x_24); +x_38 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3; +x_39 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__13(x_37, x_38); +x_40 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7; +x_41 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10; +x_43 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6; +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 = 1; +x_47 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set_uint8(x_47, sizeof(void*)*1, x_46); +x_48 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__13; +x_49 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set_uint8(x_50, sizeof(void*)*1, x_8); +x_51 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_51, 0, x_36); +lean_ctor_set(x_51, 1, x_50); +x_52 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__17; +x_53 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__19; +x_55 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__16; +x_57 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set_uint8(x_58, sizeof(void*)*1, x_8); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_24); +x_59 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__21; +x_60 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_60, 0, x_36); +lean_ctor_set(x_60, 1, x_59); +x_61 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__17; +x_62 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__19; +x_64 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__16; +x_66 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*1, x_8); +return x_67; +} +} +} +} +LEAN_EXPORT lean_object* l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090_(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_instReprFixedParamPerms___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_instReprFixedParamPerms() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_instReprFixedParamPerms___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_getFixedParamPerms___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_getFixedParamPerms___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; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("paramInfo[0]! = some paramIdx\n ", 38, 38); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.getFixedParamPerms", 28, 28); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(277u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__2; +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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_2, 1); +x_13 = lean_nat_dec_lt(x_4, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_3); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_3); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_15, 1); +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_3, 0); +x_21 = lean_ctor_get(x_3, 1); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_23 = lean_ctor_get(x_18, 0); +x_24 = lean_ctor_get(x_18, 1); +x_25 = lean_ctor_get(x_19, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_19, 2); +lean_inc(x_27); +x_28 = lean_nat_dec_lt(x_26, x_27); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_3); +lean_ctor_set(x_29, 1, x_11); +return x_29; +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_19); +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; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_31 = lean_ctor_get(x_19, 2); +lean_dec(x_31); +x_32 = lean_ctor_get(x_19, 1); +lean_dec(x_32); +x_33 = lean_ctor_get(x_19, 0); +lean_dec(x_33); +x_34 = lean_array_fget(x_25, x_26); +x_35 = lean_unsigned_to_nat(1u); +x_36 = lean_nat_add(x_26, x_35); +lean_dec(x_26); +lean_ctor_set(x_19, 1, x_36); +x_37 = lean_ctor_get(x_20, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_20, 1); +lean_inc(x_38); +x_39 = lean_ctor_get(x_20, 2); +lean_inc(x_39); +x_40 = lean_nat_dec_lt(x_38, x_39); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_37); +lean_dec(x_34); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_3); +lean_ctor_set(x_41, 1, x_11); +return x_41; +} +else +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_20); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_20, 2); +lean_dec(x_43); +x_44 = lean_ctor_get(x_20, 1); +lean_dec(x_44); +x_45 = lean_ctor_get(x_20, 0); +lean_dec(x_45); +x_46 = lean_nat_add(x_38, x_35); +lean_dec(x_38); +lean_ctor_set(x_20, 1, x_46); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_box(0); +x_48 = lean_array_push(x_23, x_47); +lean_ctor_set(x_18, 0, x_48); +x_49 = lean_ctor_get(x_2, 2); +x_50 = lean_nat_add(x_4, x_49); +lean_dec(x_4); +x_4 = x_50; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +uint8_t x_52; +x_52 = !lean_is_exclusive(x_34); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_53 = lean_ctor_get(x_34, 0); +x_54 = lean_box(0); +x_55 = lean_unsigned_to_nat(0u); +x_56 = lean_array_get(x_54, x_53, x_55); +lean_dec(x_53); +lean_inc(x_4); +lean_ctor_set(x_34, 0, x_4); +x_57 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_56, x_34); +lean_dec(x_34); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +lean_dec(x_20); +lean_dec(x_19); +lean_free_object(x_18); +lean_dec(x_24); +lean_dec(x_23); +lean_free_object(x_3); +lean_free_object(x_15); +x_58 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_59 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__2(x_58, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +if (lean_obj_tag(x_60) == 0) +{ +uint8_t x_61; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_59); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_59, 0); +lean_dec(x_62); +x_63 = lean_ctor_get(x_60, 0); +lean_inc(x_63); +lean_dec(x_60); +lean_ctor_set(x_59, 0, x_63); +return x_59; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_59, 1); +lean_inc(x_64); +lean_dec(x_59); +x_65 = lean_ctor_get(x_60, 0); +lean_inc(x_65); +lean_dec(x_60); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_59, 1); +lean_inc(x_67); +lean_dec(x_59); +x_68 = lean_ctor_get(x_60, 0); +lean_inc(x_68); +lean_dec(x_60); +x_69 = lean_ctor_get(x_2, 2); +x_70 = lean_nat_add(x_4, x_69); +lean_dec(x_4); +x_3 = x_68; +x_4 = x_70; +x_5 = lean_box(0); +x_6 = lean_box(0); +x_11 = x_67; +goto _start; +} +} +else +{ +uint8_t x_72; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_72 = !lean_is_exclusive(x_59); +if (x_72 == 0) +{ +return x_59; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_59, 0); +x_74 = lean_ctor_get(x_59, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_59); +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; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_inc(x_24); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_24); +x_77 = lean_array_push(x_23, x_76); +x_78 = lean_nat_add(x_24, x_35); +lean_dec(x_24); +lean_ctor_set(x_18, 1, x_78); +lean_ctor_set(x_18, 0, x_77); +x_79 = lean_ctor_get(x_2, 2); +x_80 = lean_nat_add(x_4, x_79); +lean_dec(x_4); +x_4 = x_80; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_82 = lean_ctor_get(x_34, 0); +lean_inc(x_82); +lean_dec(x_34); +x_83 = lean_box(0); +x_84 = lean_unsigned_to_nat(0u); +x_85 = lean_array_get(x_83, x_82, x_84); +lean_dec(x_82); +lean_inc(x_4); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_4); +x_87 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_85, x_86); +lean_dec(x_86); +lean_dec(x_85); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; +lean_dec(x_20); +lean_dec(x_19); +lean_free_object(x_18); +lean_dec(x_24); +lean_dec(x_23); +lean_free_object(x_3); +lean_free_object(x_15); +x_88 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_89 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__2(x_88, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_92 = x_89; +} else { + lean_dec_ref(x_89); + x_92 = lean_box(0); +} +x_93 = lean_ctor_get(x_90, 0); +lean_inc(x_93); +lean_dec(x_90); +if (lean_is_scalar(x_92)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_92; +} +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_91); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_95 = lean_ctor_get(x_89, 1); +lean_inc(x_95); +lean_dec(x_89); +x_96 = lean_ctor_get(x_90, 0); +lean_inc(x_96); +lean_dec(x_90); +x_97 = lean_ctor_get(x_2, 2); +x_98 = lean_nat_add(x_4, x_97); +lean_dec(x_4); +x_3 = x_96; +x_4 = x_98; +x_5 = lean_box(0); +x_6 = lean_box(0); +x_11 = x_95; +goto _start; +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_100 = lean_ctor_get(x_89, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_89, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_102 = x_89; +} else { + lean_dec_ref(x_89); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(1, 2, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_100); +lean_ctor_set(x_103, 1, x_101); +return x_103; +} +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_inc(x_24); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_24); +x_105 = lean_array_push(x_23, x_104); +x_106 = lean_nat_add(x_24, x_35); +lean_dec(x_24); +lean_ctor_set(x_18, 1, x_106); +lean_ctor_set(x_18, 0, x_105); +x_107 = lean_ctor_get(x_2, 2); +x_108 = lean_nat_add(x_4, x_107); +lean_dec(x_4); +x_4 = x_108; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +else +{ +lean_object* x_110; lean_object* x_111; +lean_dec(x_20); +x_110 = lean_nat_add(x_38, x_35); +lean_dec(x_38); +x_111 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_111, 0, x_37); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set(x_111, 2, x_39); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_112 = lean_box(0); +x_113 = lean_array_push(x_23, x_112); +lean_ctor_set(x_18, 0, x_113); +lean_ctor_set(x_3, 0, x_111); +x_114 = lean_ctor_get(x_2, 2); +x_115 = lean_nat_add(x_4, x_114); +lean_dec(x_4); +x_4 = x_115; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_117 = lean_ctor_get(x_34, 0); +lean_inc(x_117); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + x_118 = x_34; +} else { + lean_dec_ref(x_34); + x_118 = lean_box(0); +} +x_119 = lean_box(0); +x_120 = lean_unsigned_to_nat(0u); +x_121 = lean_array_get(x_119, x_117, x_120); +lean_dec(x_117); +lean_inc(x_4); +if (lean_is_scalar(x_118)) { + x_122 = lean_alloc_ctor(1, 1, 0); +} else { + x_122 = x_118; +} +lean_ctor_set(x_122, 0, x_4); +x_123 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_121, x_122); +lean_dec(x_122); +lean_dec(x_121); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; +lean_dec(x_111); +lean_dec(x_19); +lean_free_object(x_18); +lean_dec(x_24); +lean_dec(x_23); +lean_free_object(x_3); +lean_free_object(x_15); +x_124 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_125 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__2(x_124, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +if (lean_obj_tag(x_126) == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_128 = x_125; +} else { + lean_dec_ref(x_125); + x_128 = lean_box(0); +} +x_129 = lean_ctor_get(x_126, 0); +lean_inc(x_129); +lean_dec(x_126); +if (lean_is_scalar(x_128)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_128; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_127); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_131 = lean_ctor_get(x_125, 1); +lean_inc(x_131); +lean_dec(x_125); +x_132 = lean_ctor_get(x_126, 0); +lean_inc(x_132); +lean_dec(x_126); +x_133 = lean_ctor_get(x_2, 2); +x_134 = lean_nat_add(x_4, x_133); +lean_dec(x_4); +x_3 = x_132; +x_4 = x_134; +x_5 = lean_box(0); +x_6 = lean_box(0); +x_11 = x_131; +goto _start; +} +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_136 = lean_ctor_get(x_125, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_125, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_138 = x_125; +} else { + lean_dec_ref(x_125); + x_138 = lean_box(0); +} +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(1, 2, 0); +} else { + x_139 = x_138; +} +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_137); +return x_139; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_inc(x_24); +x_140 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_140, 0, x_24); +x_141 = lean_array_push(x_23, x_140); +x_142 = lean_nat_add(x_24, x_35); +lean_dec(x_24); +lean_ctor_set(x_18, 1, x_142); +lean_ctor_set(x_18, 0, x_141); +lean_ctor_set(x_3, 0, x_111); +x_143 = lean_ctor_get(x_2, 2); +x_144 = lean_nat_add(x_4, x_143); +lean_dec(x_4); +x_4 = x_144; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; +lean_dec(x_19); +x_146 = lean_array_fget(x_25, x_26); +x_147 = lean_unsigned_to_nat(1u); +x_148 = lean_nat_add(x_26, x_147); +lean_dec(x_26); +x_149 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_149, 0, x_25); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_149, 2, x_27); +x_150 = lean_ctor_get(x_20, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_20, 1); +lean_inc(x_151); +x_152 = lean_ctor_get(x_20, 2); +lean_inc(x_152); +x_153 = lean_nat_dec_lt(x_151, x_152); +if (x_153 == 0) +{ +lean_object* x_154; +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_150); +lean_dec(x_146); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_ctor_set(x_15, 0, x_149); +x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_154, 0, x_3); +lean_ctor_set(x_154, 1, x_11); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + lean_ctor_release(x_20, 2); + x_155 = x_20; +} else { + lean_dec_ref(x_20); + x_155 = lean_box(0); +} +x_156 = lean_nat_add(x_151, x_147); +lean_dec(x_151); +if (lean_is_scalar(x_155)) { + x_157 = lean_alloc_ctor(0, 3, 0); +} else { + x_157 = x_155; +} +lean_ctor_set(x_157, 0, x_150); +lean_ctor_set(x_157, 1, x_156); +lean_ctor_set(x_157, 2, x_152); +if (lean_obj_tag(x_146) == 0) +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_158 = lean_box(0); +x_159 = lean_array_push(x_23, x_158); +lean_ctor_set(x_18, 0, x_159); +lean_ctor_set(x_15, 0, x_149); +lean_ctor_set(x_3, 0, x_157); +x_160 = lean_ctor_get(x_2, 2); +x_161 = lean_nat_add(x_4, x_160); +lean_dec(x_4); +x_4 = x_161; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; +x_163 = lean_ctor_get(x_146, 0); +lean_inc(x_163); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + x_164 = x_146; +} else { + lean_dec_ref(x_146); + x_164 = lean_box(0); +} +x_165 = lean_box(0); +x_166 = lean_unsigned_to_nat(0u); +x_167 = lean_array_get(x_165, x_163, x_166); +lean_dec(x_163); +lean_inc(x_4); +if (lean_is_scalar(x_164)) { + x_168 = lean_alloc_ctor(1, 1, 0); +} else { + x_168 = x_164; +} +lean_ctor_set(x_168, 0, x_4); +x_169 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_167, x_168); +lean_dec(x_168); +lean_dec(x_167); +if (x_169 == 0) +{ +lean_object* x_170; lean_object* x_171; +lean_dec(x_157); +lean_dec(x_149); +lean_free_object(x_18); +lean_dec(x_24); +lean_dec(x_23); +lean_free_object(x_3); +lean_free_object(x_15); +x_170 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_171 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__2(x_170, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_174 = x_171; +} else { + lean_dec_ref(x_171); + x_174 = lean_box(0); +} +x_175 = lean_ctor_get(x_172, 0); +lean_inc(x_175); +lean_dec(x_172); +if (lean_is_scalar(x_174)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_174; +} +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_173); +return x_176; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_177 = lean_ctor_get(x_171, 1); +lean_inc(x_177); +lean_dec(x_171); +x_178 = lean_ctor_get(x_172, 0); +lean_inc(x_178); +lean_dec(x_172); +x_179 = lean_ctor_get(x_2, 2); +x_180 = lean_nat_add(x_4, x_179); +lean_dec(x_4); +x_3 = x_178; +x_4 = x_180; +x_5 = lean_box(0); +x_6 = lean_box(0); +x_11 = x_177; +goto _start; +} +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_182 = lean_ctor_get(x_171, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_171, 1); +lean_inc(x_183); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_184 = x_171; +} else { + lean_dec_ref(x_171); + x_184 = lean_box(0); +} +if (lean_is_scalar(x_184)) { + x_185 = lean_alloc_ctor(1, 2, 0); +} else { + x_185 = x_184; +} +lean_ctor_set(x_185, 0, x_182); +lean_ctor_set(x_185, 1, x_183); +return x_185; +} +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +lean_inc(x_24); +x_186 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_186, 0, x_24); +x_187 = lean_array_push(x_23, x_186); +x_188 = lean_nat_add(x_24, x_147); +lean_dec(x_24); +lean_ctor_set(x_18, 1, x_188); +lean_ctor_set(x_18, 0, x_187); +lean_ctor_set(x_15, 0, x_149); +lean_ctor_set(x_3, 0, x_157); +x_189 = lean_ctor_get(x_2, 2); +x_190 = lean_nat_add(x_4, x_189); +lean_dec(x_4); +x_4 = x_190; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_192 = lean_ctor_get(x_18, 0); +x_193 = lean_ctor_get(x_18, 1); +lean_inc(x_193); +lean_inc(x_192); +lean_dec(x_18); +x_194 = lean_ctor_get(x_19, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_19, 1); +lean_inc(x_195); +x_196 = lean_ctor_get(x_19, 2); +lean_inc(x_196); +x_197 = lean_nat_dec_lt(x_195, x_196); +if (x_197 == 0) +{ +lean_object* x_198; lean_object* x_199; +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_192); +lean_ctor_set(x_198, 1, x_193); +lean_ctor_set(x_15, 1, x_198); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_3); +lean_ctor_set(x_199, 1, x_11); +return x_199; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + lean_ctor_release(x_19, 2); + x_200 = x_19; +} else { + lean_dec_ref(x_19); + x_200 = lean_box(0); +} +x_201 = lean_array_fget(x_194, x_195); +x_202 = lean_unsigned_to_nat(1u); +x_203 = lean_nat_add(x_195, x_202); +lean_dec(x_195); +if (lean_is_scalar(x_200)) { + x_204 = lean_alloc_ctor(0, 3, 0); +} else { + x_204 = x_200; +} +lean_ctor_set(x_204, 0, x_194); +lean_ctor_set(x_204, 1, x_203); +lean_ctor_set(x_204, 2, x_196); +x_205 = lean_ctor_get(x_20, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_20, 1); +lean_inc(x_206); +x_207 = lean_ctor_get(x_20, 2); +lean_inc(x_207); +x_208 = lean_nat_dec_lt(x_206, x_207); +if (x_208 == 0) +{ +lean_object* x_209; lean_object* x_210; +lean_dec(x_207); +lean_dec(x_206); +lean_dec(x_205); +lean_dec(x_201); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_192); +lean_ctor_set(x_209, 1, x_193); +lean_ctor_set(x_15, 1, x_209); +lean_ctor_set(x_15, 0, x_204); +x_210 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_210, 0, x_3); +lean_ctor_set(x_210, 1, x_11); +return x_210; +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + lean_ctor_release(x_20, 2); + x_211 = x_20; +} else { + lean_dec_ref(x_20); + x_211 = lean_box(0); +} +x_212 = lean_nat_add(x_206, x_202); +lean_dec(x_206); +if (lean_is_scalar(x_211)) { + x_213 = lean_alloc_ctor(0, 3, 0); +} else { + x_213 = x_211; +} +lean_ctor_set(x_213, 0, x_205); +lean_ctor_set(x_213, 1, x_212); +lean_ctor_set(x_213, 2, x_207); +if (lean_obj_tag(x_201) == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_214 = lean_box(0); +x_215 = lean_array_push(x_192, x_214); +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_193); +lean_ctor_set(x_15, 1, x_216); +lean_ctor_set(x_15, 0, x_204); +lean_ctor_set(x_3, 0, x_213); +x_217 = lean_ctor_get(x_2, 2); +x_218 = lean_nat_add(x_4, x_217); +lean_dec(x_4); +x_4 = x_218; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +x_220 = lean_ctor_get(x_201, 0); +lean_inc(x_220); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + x_221 = x_201; +} else { + lean_dec_ref(x_201); + x_221 = lean_box(0); +} +x_222 = lean_box(0); +x_223 = lean_unsigned_to_nat(0u); +x_224 = lean_array_get(x_222, x_220, x_223); +lean_dec(x_220); +lean_inc(x_4); +if (lean_is_scalar(x_221)) { + x_225 = lean_alloc_ctor(1, 1, 0); +} else { + x_225 = x_221; +} +lean_ctor_set(x_225, 0, x_4); +x_226 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_224, x_225); +lean_dec(x_225); +lean_dec(x_224); +if (x_226 == 0) +{ +lean_object* x_227; lean_object* x_228; +lean_dec(x_213); +lean_dec(x_204); +lean_dec(x_193); +lean_dec(x_192); +lean_free_object(x_3); +lean_free_object(x_15); +x_227 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_228 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__2(x_227, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_228) == 0) +{ +lean_object* x_229; +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +if (lean_obj_tag(x_229) == 0) +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_230 = lean_ctor_get(x_228, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_228)) { + lean_ctor_release(x_228, 0); + lean_ctor_release(x_228, 1); + x_231 = x_228; +} else { + lean_dec_ref(x_228); + x_231 = lean_box(0); +} +x_232 = lean_ctor_get(x_229, 0); +lean_inc(x_232); +lean_dec(x_229); +if (lean_is_scalar(x_231)) { + x_233 = lean_alloc_ctor(0, 2, 0); +} else { + x_233 = x_231; +} +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_230); +return x_233; +} +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_234 = lean_ctor_get(x_228, 1); +lean_inc(x_234); +lean_dec(x_228); +x_235 = lean_ctor_get(x_229, 0); +lean_inc(x_235); +lean_dec(x_229); +x_236 = lean_ctor_get(x_2, 2); +x_237 = lean_nat_add(x_4, x_236); +lean_dec(x_4); +x_3 = x_235; +x_4 = x_237; +x_5 = lean_box(0); +x_6 = lean_box(0); +x_11 = x_234; +goto _start; +} +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_239 = lean_ctor_get(x_228, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_228, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_228)) { + lean_ctor_release(x_228, 0); + lean_ctor_release(x_228, 1); + x_241 = x_228; +} else { + lean_dec_ref(x_228); + x_241 = lean_box(0); +} +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); +} else { + x_242 = x_241; +} +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; +} +} +else +{ +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_inc(x_193); +x_243 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_243, 0, x_193); +x_244 = lean_array_push(x_192, x_243); +x_245 = lean_nat_add(x_193, x_202); +lean_dec(x_193); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_244); +lean_ctor_set(x_246, 1, x_245); +lean_ctor_set(x_15, 1, x_246); +lean_ctor_set(x_15, 0, x_204); +lean_ctor_set(x_3, 0, x_213); +x_247 = lean_ctor_get(x_2, 2); +x_248 = lean_nat_add(x_4, x_247); +lean_dec(x_4); +x_4 = x_248; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +} +else +{ +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; +x_250 = lean_ctor_get(x_15, 1); +x_251 = lean_ctor_get(x_15, 0); +x_252 = lean_ctor_get(x_3, 0); +lean_inc(x_252); +lean_dec(x_3); +x_253 = lean_ctor_get(x_250, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_250, 1); +lean_inc(x_254); +if (lean_is_exclusive(x_250)) { + lean_ctor_release(x_250, 0); + lean_ctor_release(x_250, 1); + x_255 = x_250; +} else { + lean_dec_ref(x_250); + x_255 = lean_box(0); +} +x_256 = lean_ctor_get(x_251, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_251, 1); +lean_inc(x_257); +x_258 = lean_ctor_get(x_251, 2); +lean_inc(x_258); +x_259 = lean_nat_dec_lt(x_257, x_258); +if (x_259 == 0) +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; +lean_dec(x_258); +lean_dec(x_257); +lean_dec(x_256); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +if (lean_is_scalar(x_255)) { + x_260 = lean_alloc_ctor(0, 2, 0); +} else { + x_260 = x_255; +} +lean_ctor_set(x_260, 0, x_253); +lean_ctor_set(x_260, 1, x_254); +lean_ctor_set(x_15, 1, x_260); +x_261 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_261, 0, x_252); +lean_ctor_set(x_261, 1, x_15); +x_262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_11); +return x_262; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; +if (lean_is_exclusive(x_251)) { + lean_ctor_release(x_251, 0); + lean_ctor_release(x_251, 1); + lean_ctor_release(x_251, 2); + x_263 = x_251; +} else { + lean_dec_ref(x_251); + x_263 = lean_box(0); +} +x_264 = lean_array_fget(x_256, x_257); +x_265 = lean_unsigned_to_nat(1u); +x_266 = lean_nat_add(x_257, x_265); +lean_dec(x_257); +if (lean_is_scalar(x_263)) { + x_267 = lean_alloc_ctor(0, 3, 0); +} else { + x_267 = x_263; +} +lean_ctor_set(x_267, 0, x_256); +lean_ctor_set(x_267, 1, x_266); +lean_ctor_set(x_267, 2, x_258); +x_268 = lean_ctor_get(x_252, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_252, 1); +lean_inc(x_269); +x_270 = lean_ctor_get(x_252, 2); +lean_inc(x_270); +x_271 = lean_nat_dec_lt(x_269, x_270); +if (x_271 == 0) +{ +lean_object* x_272; lean_object* x_273; lean_object* x_274; +lean_dec(x_270); +lean_dec(x_269); +lean_dec(x_268); +lean_dec(x_264); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +if (lean_is_scalar(x_255)) { + x_272 = lean_alloc_ctor(0, 2, 0); +} else { + x_272 = x_255; +} +lean_ctor_set(x_272, 0, x_253); +lean_ctor_set(x_272, 1, x_254); +lean_ctor_set(x_15, 1, x_272); +lean_ctor_set(x_15, 0, x_267); +x_273 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_273, 0, x_252); +lean_ctor_set(x_273, 1, x_15); +x_274 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_11); +return x_274; +} +else +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; +if (lean_is_exclusive(x_252)) { + lean_ctor_release(x_252, 0); + lean_ctor_release(x_252, 1); + lean_ctor_release(x_252, 2); + x_275 = x_252; +} else { + lean_dec_ref(x_252); + x_275 = lean_box(0); +} +x_276 = lean_nat_add(x_269, x_265); +lean_dec(x_269); +if (lean_is_scalar(x_275)) { + x_277 = lean_alloc_ctor(0, 3, 0); +} else { + x_277 = x_275; +} +lean_ctor_set(x_277, 0, x_268); +lean_ctor_set(x_277, 1, x_276); +lean_ctor_set(x_277, 2, x_270); +if (lean_obj_tag(x_264) == 0) +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_278 = lean_box(0); +x_279 = lean_array_push(x_253, x_278); +if (lean_is_scalar(x_255)) { + x_280 = lean_alloc_ctor(0, 2, 0); +} else { + x_280 = x_255; +} +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_254); +lean_ctor_set(x_15, 1, x_280); +lean_ctor_set(x_15, 0, x_267); +x_281 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_281, 0, x_277); +lean_ctor_set(x_281, 1, x_15); +x_282 = lean_ctor_get(x_2, 2); +x_283 = lean_nat_add(x_4, x_282); +lean_dec(x_4); +x_3 = x_281; +x_4 = x_283; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; +x_285 = lean_ctor_get(x_264, 0); +lean_inc(x_285); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + x_286 = x_264; +} else { + lean_dec_ref(x_264); + x_286 = lean_box(0); +} +x_287 = lean_box(0); +x_288 = lean_unsigned_to_nat(0u); +x_289 = lean_array_get(x_287, x_285, x_288); +lean_dec(x_285); +lean_inc(x_4); +if (lean_is_scalar(x_286)) { + x_290 = lean_alloc_ctor(1, 1, 0); +} else { + x_290 = x_286; +} +lean_ctor_set(x_290, 0, x_4); +x_291 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_289, x_290); +lean_dec(x_290); +lean_dec(x_289); +if (x_291 == 0) +{ +lean_object* x_292; lean_object* x_293; +lean_dec(x_277); +lean_dec(x_267); +lean_dec(x_255); +lean_dec(x_254); +lean_dec(x_253); +lean_free_object(x_15); +x_292 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_293 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__2(x_292, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_293) == 0) +{ +lean_object* x_294; +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +if (lean_obj_tag(x_294) == 0) +{ +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_295 = lean_ctor_get(x_293, 1); +lean_inc(x_295); +if (lean_is_exclusive(x_293)) { + lean_ctor_release(x_293, 0); + lean_ctor_release(x_293, 1); + x_296 = x_293; +} else { + lean_dec_ref(x_293); + x_296 = lean_box(0); +} +x_297 = lean_ctor_get(x_294, 0); +lean_inc(x_297); +lean_dec(x_294); +if (lean_is_scalar(x_296)) { + x_298 = lean_alloc_ctor(0, 2, 0); +} else { + x_298 = x_296; +} +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_298, 1, x_295); +return x_298; +} +else +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; +x_299 = lean_ctor_get(x_293, 1); +lean_inc(x_299); +lean_dec(x_293); +x_300 = lean_ctor_get(x_294, 0); +lean_inc(x_300); +lean_dec(x_294); +x_301 = lean_ctor_get(x_2, 2); +x_302 = lean_nat_add(x_4, x_301); +lean_dec(x_4); +x_3 = x_300; +x_4 = x_302; +x_5 = lean_box(0); +x_6 = lean_box(0); +x_11 = x_299; +goto _start; +} +} +else +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_304 = lean_ctor_get(x_293, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_293, 1); +lean_inc(x_305); +if (lean_is_exclusive(x_293)) { + lean_ctor_release(x_293, 0); + lean_ctor_release(x_293, 1); + x_306 = x_293; +} else { + lean_dec_ref(x_293); + x_306 = lean_box(0); +} +if (lean_is_scalar(x_306)) { + x_307 = lean_alloc_ctor(1, 2, 0); +} else { + x_307 = x_306; +} +lean_ctor_set(x_307, 0, x_304); +lean_ctor_set(x_307, 1, x_305); +return x_307; +} +} +else +{ +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +lean_inc(x_254); +x_308 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_308, 0, x_254); +x_309 = lean_array_push(x_253, x_308); +x_310 = lean_nat_add(x_254, x_265); +lean_dec(x_254); +if (lean_is_scalar(x_255)) { + x_311 = lean_alloc_ctor(0, 2, 0); +} else { + x_311 = x_255; +} +lean_ctor_set(x_311, 0, x_309); +lean_ctor_set(x_311, 1, x_310); +lean_ctor_set(x_15, 1, x_311); +lean_ctor_set(x_15, 0, x_267); +x_312 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_312, 0, x_277); +lean_ctor_set(x_312, 1, x_15); +x_313 = lean_ctor_get(x_2, 2); +x_314 = lean_nat_add(x_4, x_313); +lean_dec(x_4); +x_3 = x_312; +x_4 = x_314; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +} +else +{ +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; +x_316 = lean_ctor_get(x_15, 1); +x_317 = lean_ctor_get(x_15, 0); +lean_inc(x_316); +lean_inc(x_317); +lean_dec(x_15); +x_318 = lean_ctor_get(x_3, 0); +lean_inc(x_318); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_319 = x_3; +} else { + lean_dec_ref(x_3); + x_319 = lean_box(0); +} +x_320 = lean_ctor_get(x_316, 0); +lean_inc(x_320); +x_321 = lean_ctor_get(x_316, 1); +lean_inc(x_321); +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_322 = x_316; +} else { + lean_dec_ref(x_316); + x_322 = lean_box(0); +} +x_323 = lean_ctor_get(x_317, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_317, 1); +lean_inc(x_324); +x_325 = lean_ctor_get(x_317, 2); +lean_inc(x_325); +x_326 = lean_nat_dec_lt(x_324, x_325); +if (x_326 == 0) +{ +lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; +lean_dec(x_325); +lean_dec(x_324); +lean_dec(x_323); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +if (lean_is_scalar(x_322)) { + x_327 = lean_alloc_ctor(0, 2, 0); +} else { + x_327 = x_322; +} +lean_ctor_set(x_327, 0, x_320); +lean_ctor_set(x_327, 1, x_321); +x_328 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_328, 0, x_317); +lean_ctor_set(x_328, 1, x_327); +if (lean_is_scalar(x_319)) { + x_329 = lean_alloc_ctor(0, 2, 0); +} else { + x_329 = x_319; +} +lean_ctor_set(x_329, 0, x_318); +lean_ctor_set(x_329, 1, x_328); +x_330 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_330, 0, x_329); +lean_ctor_set(x_330, 1, x_11); +return x_330; +} +else +{ +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; +if (lean_is_exclusive(x_317)) { + lean_ctor_release(x_317, 0); + lean_ctor_release(x_317, 1); + lean_ctor_release(x_317, 2); + x_331 = x_317; +} else { + lean_dec_ref(x_317); + x_331 = lean_box(0); +} +x_332 = lean_array_fget(x_323, x_324); +x_333 = lean_unsigned_to_nat(1u); +x_334 = lean_nat_add(x_324, x_333); +lean_dec(x_324); +if (lean_is_scalar(x_331)) { + x_335 = lean_alloc_ctor(0, 3, 0); +} else { + x_335 = x_331; +} +lean_ctor_set(x_335, 0, x_323); +lean_ctor_set(x_335, 1, x_334); +lean_ctor_set(x_335, 2, x_325); +x_336 = lean_ctor_get(x_318, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_318, 1); +lean_inc(x_337); +x_338 = lean_ctor_get(x_318, 2); +lean_inc(x_338); +x_339 = lean_nat_dec_lt(x_337, x_338); +if (x_339 == 0) +{ +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; +lean_dec(x_338); +lean_dec(x_337); +lean_dec(x_336); +lean_dec(x_332); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +if (lean_is_scalar(x_322)) { + x_340 = lean_alloc_ctor(0, 2, 0); +} else { + x_340 = x_322; +} +lean_ctor_set(x_340, 0, x_320); +lean_ctor_set(x_340, 1, x_321); +x_341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_341, 0, x_335); +lean_ctor_set(x_341, 1, x_340); +if (lean_is_scalar(x_319)) { + x_342 = lean_alloc_ctor(0, 2, 0); +} else { + x_342 = x_319; +} +lean_ctor_set(x_342, 0, x_318); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_343, 0, x_342); +lean_ctor_set(x_343, 1, x_11); +return x_343; +} +else +{ +lean_object* x_344; lean_object* x_345; lean_object* x_346; +if (lean_is_exclusive(x_318)) { + lean_ctor_release(x_318, 0); + lean_ctor_release(x_318, 1); + lean_ctor_release(x_318, 2); + x_344 = x_318; +} else { + lean_dec_ref(x_318); + x_344 = lean_box(0); +} +x_345 = lean_nat_add(x_337, x_333); +lean_dec(x_337); +if (lean_is_scalar(x_344)) { + x_346 = lean_alloc_ctor(0, 3, 0); +} else { + x_346 = x_344; +} +lean_ctor_set(x_346, 0, x_336); +lean_ctor_set(x_346, 1, x_345); +lean_ctor_set(x_346, 2, x_338); +if (lean_obj_tag(x_332) == 0) +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +x_347 = lean_box(0); +x_348 = lean_array_push(x_320, x_347); +if (lean_is_scalar(x_322)) { + x_349 = lean_alloc_ctor(0, 2, 0); +} else { + x_349 = x_322; +} +lean_ctor_set(x_349, 0, x_348); +lean_ctor_set(x_349, 1, x_321); +x_350 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_350, 0, x_335); +lean_ctor_set(x_350, 1, x_349); +if (lean_is_scalar(x_319)) { + x_351 = lean_alloc_ctor(0, 2, 0); +} else { + x_351 = x_319; +} +lean_ctor_set(x_351, 0, x_346); +lean_ctor_set(x_351, 1, x_350); +x_352 = lean_ctor_get(x_2, 2); +x_353 = lean_nat_add(x_4, x_352); +lean_dec(x_4); +x_3 = x_351; +x_4 = x_353; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; uint8_t x_361; +x_355 = lean_ctor_get(x_332, 0); +lean_inc(x_355); +if (lean_is_exclusive(x_332)) { + lean_ctor_release(x_332, 0); + x_356 = x_332; +} else { + lean_dec_ref(x_332); + x_356 = lean_box(0); +} +x_357 = lean_box(0); +x_358 = lean_unsigned_to_nat(0u); +x_359 = lean_array_get(x_357, x_355, x_358); +lean_dec(x_355); +lean_inc(x_4); +if (lean_is_scalar(x_356)) { + x_360 = lean_alloc_ctor(1, 1, 0); +} else { + x_360 = x_356; +} +lean_ctor_set(x_360, 0, x_4); +x_361 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___spec__1(x_359, x_360); +lean_dec(x_360); +lean_dec(x_359); +if (x_361 == 0) +{ +lean_object* x_362; lean_object* x_363; +lean_dec(x_346); +lean_dec(x_335); +lean_dec(x_322); +lean_dec(x_321); +lean_dec(x_320); +lean_dec(x_319); +x_362 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_363 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__2(x_362, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_363) == 0) +{ +lean_object* x_364; +x_364 = lean_ctor_get(x_363, 0); +lean_inc(x_364); +if (lean_obj_tag(x_364) == 0) +{ +lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_365 = lean_ctor_get(x_363, 1); +lean_inc(x_365); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + x_366 = x_363; +} else { + lean_dec_ref(x_363); + x_366 = lean_box(0); +} +x_367 = lean_ctor_get(x_364, 0); +lean_inc(x_367); +lean_dec(x_364); +if (lean_is_scalar(x_366)) { + x_368 = lean_alloc_ctor(0, 2, 0); +} else { + x_368 = x_366; +} +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_365); +return x_368; +} +else +{ +lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; +x_369 = lean_ctor_get(x_363, 1); +lean_inc(x_369); +lean_dec(x_363); +x_370 = lean_ctor_get(x_364, 0); +lean_inc(x_370); +lean_dec(x_364); +x_371 = lean_ctor_get(x_2, 2); +x_372 = lean_nat_add(x_4, x_371); +lean_dec(x_4); +x_3 = x_370; +x_4 = x_372; +x_5 = lean_box(0); +x_6 = lean_box(0); +x_11 = x_369; +goto _start; +} +} +else +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_374 = lean_ctor_get(x_363, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_363, 1); +lean_inc(x_375); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + x_376 = x_363; +} else { + lean_dec_ref(x_363); + x_376 = lean_box(0); +} +if (lean_is_scalar(x_376)) { + x_377 = lean_alloc_ctor(1, 2, 0); +} else { + x_377 = x_376; +} +lean_ctor_set(x_377, 0, x_374); +lean_ctor_set(x_377, 1, x_375); +return x_377; +} +} +else +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; +lean_inc(x_321); +x_378 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_378, 0, x_321); +x_379 = lean_array_push(x_320, x_378); +x_380 = lean_nat_add(x_321, x_333); +lean_dec(x_321); +if (lean_is_scalar(x_322)) { + x_381 = lean_alloc_ctor(0, 2, 0); +} else { + x_381 = x_322; +} +lean_ctor_set(x_381, 0, x_379); +lean_ctor_set(x_381, 1, x_380); +x_382 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_382, 0, x_335); +lean_ctor_set(x_382, 1, x_381); +if (lean_is_scalar(x_319)) { + x_383 = lean_alloc_ctor(0, 2, 0); +} else { + x_383 = x_319; +} +lean_ctor_set(x_383, 0, x_346); +lean_ctor_set(x_383, 1, x_382); +x_384 = lean_ctor_get(x_2, 2); +x_385 = lean_nat_add(x_4, x_384); +lean_dec(x_4); +x_3 = x_383; +x_4 = x_385; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_getFixedParamPerms___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; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Incomplete paramInfo", 20, 20); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___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; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(293u); +x_4 = lean_unsigned_to_nat(12u); +x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__1; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("firstPerm[firstParamIdx]!.isSome\n ", 45, 45); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__3; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___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; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(290u); +x_4 = lean_unsigned_to_nat(12u); +x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__4; +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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5(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) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_6, x_5); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_array_uget(x_4, x_6); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; +x_16 = lean_box(0); +x_17 = lean_array_push(x_7, x_16); +x_18 = 1; +x_19 = lean_usize_add(x_6, x_18); +x_6 = x_19; +x_7 = x_17; +goto _start; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_15, 0); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_box(0); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_array_get(x_22, x_21, x_23); +lean_dec(x_21); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__2; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_26 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2(x_25, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = 1; +x_29 = lean_usize_add(x_6, x_28); +x_6 = x_29; +x_12 = x_27; +goto _start; +} +else +{ +uint8_t x_31; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_31 = !lean_is_exclusive(x_26); +if (x_31 == 0) +{ +return x_26; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_26, 0); +x_33 = lean_ctor_get(x_26, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_26); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_24, 0); +lean_inc(x_35); +lean_dec(x_24); +x_36 = lean_array_get(x_22, x_1, x_35); +lean_dec(x_35); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_7); +x_37 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__5; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_38 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__4(x_37, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_40 = !lean_is_exclusive(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_38, 0); +lean_dec(x_41); +x_42 = lean_ctor_get(x_39, 0); +lean_inc(x_42); +lean_dec(x_39); +lean_ctor_set(x_38, 0, x_42); +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 1); +lean_inc(x_43); +lean_dec(x_38); +x_44 = lean_ctor_get(x_39, 0); +lean_inc(x_44); +lean_dec(x_39); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +return x_45; +} +} +else +{ +lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; +x_46 = lean_ctor_get(x_38, 1); +lean_inc(x_46); +lean_dec(x_38); +x_47 = lean_ctor_get(x_39, 0); +lean_inc(x_47); +lean_dec(x_39); +x_48 = 1; +x_49 = lean_usize_add(x_6, x_48); +x_6 = x_49; +x_7 = x_47; +x_12 = x_46; +goto _start; +} +} +else +{ +uint8_t x_51; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_51 = !lean_is_exclusive(x_38); +if (x_51 == 0) +{ +return x_38; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_38, 0); +x_53 = lean_ctor_get(x_38, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_38); +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; +} +} +} +else +{ +lean_object* x_55; size_t x_56; size_t x_57; +x_55 = lean_array_push(x_7, x_36); +x_56 = 1; +x_57 = lean_usize_add(x_6, x_56); +x_6 = x_57; +x_7 = x_55; +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_5, 1); +x_16 = lean_nat_dec_lt(x_7, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_3); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_6); +lean_ctor_set(x_17, 1, x_14); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_array_fget(x_2, x_7); +x_19 = lean_box(0); +x_20 = lean_array_size(x_18); +x_21 = 0; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_3); +x_22 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5(x_4, x_18, x_19, x_18, x_20, x_21, x_3, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_18); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_array_push(x_6, x_23); +x_26 = lean_ctor_get(x_5, 2); +x_27 = lean_nat_add(x_7, x_26); +lean_dec(x_7); +x_6 = x_25; +x_7 = x_27; +x_8 = lean_box(0); +x_9 = lean_box(0); +x_14 = x_24; +goto _start; +} +else +{ +uint8_t x_29; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_29 = !lean_is_exclusive(x_22); +if (x_29 == 0) +{ +return x_22; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_22, 0); +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_22); +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; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_getFixedParamPerms___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("xs.size = paramInfos.size\n\n ", 31, 31); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_getFixedParamPerms___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_getFixedParamPerms___lambda__1___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_getFixedParamPerms___lambda__1___closed__3() { +_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(271u); +x_4 = lean_unsigned_to_nat(4u); +x_5 = l_Lean_Elab_getFixedParamPerms___lambda__1___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_getFixedParamPerms___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___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; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamPerms___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) { +_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; uint8_t x_15; +x_9 = lean_ctor_get(x_1, 0); +x_10 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_get(x_10, x_9, x_11); +x_13 = lean_array_get_size(x_2); +x_14 = lean_array_get_size(x_12); +x_15 = lean_nat_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_2); +x_16 = l_Lean_Elab_getFixedParamPerms___lambda__1___closed__3; +x_17 = l_panic___at_Lean_Elab_getFixedParamPerms___spec__1(x_16, x_4, x_5, x_6, x_7, x_8); +return x_17; +} +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; lean_object* x_25; lean_object* x_26; +x_18 = lean_box(0); +lean_inc(x_13); +x_19 = l_Array_toSubarray___rarg(x_2, x_11, x_13); +x_20 = l_Array_toSubarray___rarg(x_12, x_11, x_14); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_13); +lean_ctor_set(x_22, 2, x_21); +x_23 = l_Lean_Elab_getFixedParamPerms___lambda__1___closed__4; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_26 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3(x_22, x_22, x_25, x_11, lean_box(0), lean_box(0), x_4, x_5, x_6, x_7, x_8); +lean_dec(x_22); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_dec(x_26); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +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_32 = lean_ctor_get(x_29, 0); +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_ctor_set_tag(x_29, 1); +lean_ctor_set(x_29, 1, x_18); +x_34 = lean_array_mk(x_29); +x_35 = lean_array_get_size(x_9); +x_36 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_36, 0, x_21); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_36, 2, x_21); +x_37 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_38 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__6(x_1, x_9, x_37, x_32, x_36, x_34, x_21, lean_box(0), lean_box(0), x_4, x_5, x_6, x_7, x_30); +lean_dec(x_36); +lean_dec(x_32); +if (lean_obj_tag(x_38) == 0) +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_38, 0); +x_41 = lean_ctor_get(x_1, 1); +lean_inc(x_41); +x_42 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_42, 0, x_33); +lean_ctor_set(x_42, 1, x_40); +lean_ctor_set(x_42, 2, x_41); +lean_ctor_set(x_38, 0, x_42); +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_ctor_get(x_1, 1); +lean_inc(x_45); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_33); +lean_ctor_set(x_46, 1, x_43); +lean_ctor_set(x_46, 2, x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_44); +return x_47; +} +} +else +{ +uint8_t x_48; +lean_dec(x_33); +x_48 = !lean_is_exclusive(x_38); +if (x_48 == 0) +{ +return x_38; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_38, 0); +x_50 = lean_ctor_get(x_38, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_38); +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; +} +} +} +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; +x_52 = lean_ctor_get(x_29, 0); +x_53 = lean_ctor_get(x_29, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_29); +lean_inc(x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_18); +x_55 = lean_array_mk(x_54); +x_56 = lean_array_get_size(x_9); +x_57 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_57, 0, x_21); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_21); +x_58 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_59 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__6(x_1, x_9, x_58, x_52, x_57, x_55, x_21, lean_box(0), lean_box(0), x_4, x_5, x_6, x_7, x_30); +lean_dec(x_57); +lean_dec(x_52); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_62 = x_59; +} else { + lean_dec_ref(x_59); + x_62 = lean_box(0); +} +x_63 = lean_ctor_get(x_1, 1); +lean_inc(x_63); +x_64 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_64, 0, x_53); +lean_ctor_set(x_64, 1, x_60); +lean_ctor_set(x_64, 2, x_63); +if (lean_is_scalar(x_62)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_62; +} +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_61); +return x_65; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec(x_53); +x_66 = lean_ctor_get(x_59, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_59, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_68 = x_59; +} else { + lean_dec_ref(x_59); + x_68 = lean_box(0); +} +if (lean_is_scalar(x_68)) { + x_69 = lean_alloc_ctor(1, 2, 0); +} else { + x_69 = x_68; +} +lean_ctor_set(x_69, 0, x_66); +lean_ctor_set(x_69, 1, x_67); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_70 = !lean_is_exclusive(x_26); +if (x_70 == 0) +{ +return x_26; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_26, 0); +x_72 = lean_ctor_get(x_26, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_26); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamPerms(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_7 = l_Lean_Elab_getFixedParamsInfo(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Elab_instInhabitedPreDefinition; +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_get(x_10, x_1, x_11); +lean_dec(x_1); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_getFixedParamPerms___lambda__1___boxed), 8, 1); +lean_closure_set(x_14, 0, x_8); +x_15 = 0; +x_16 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_13, x_14, x_15, x_2, x_3, x_4, x_5, x_9); +return x_16; +} +else +{ +uint8_t x_17; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_7); +if (x_17 == 0) +{ +return x_7; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +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_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___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, 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: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_14 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5(x_1, x_2, x_3, x_4, x_13, x_14, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___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); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getFixedParamPerms___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_getFixedParamPerms___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_FixedParamPerm_numFixed___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) +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = 1; +x_7 = lean_usize_sub(x_2, x_6); +x_8 = lean_array_uget(x_1, x_7); +if (lean_obj_tag(x_8) == 0) +{ +x_2 = x_7; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_4, x_10); +lean_dec(x_4); +x_2 = x_7; +x_4 = x_11; +goto _start; +} +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_numFixed(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 = lean_unsigned_to_nat(0u); +return x_5; +} +else +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_7 = 0; +x_8 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_FixedParamPerm_numFixed___spec__1(x_1, x_6, x_7, x_3); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_FixedParamPerm_numFixed___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_foldrMUnsafe_fold___at_Lean_Elab_FixedParamPerm_numFixed___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_numFixed___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_FixedParamPerm_numFixed(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_FixedParamPerm_isFixed(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) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_array_fget(x_1, x_2); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = 0; +return x_7; +} +else +{ +uint8_t x_8; +lean_dec(x_6); +x_8 = 1; +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_isFixed___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Elab_FixedParamPerm_isFixed(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_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__1___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; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__1___rarg), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__2___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; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__2___rarg), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__3___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; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__3___rarg), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__4___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; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__4___rarg), 6, 0); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("xs'.size = 1\n ", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_private.Lean.Elab.PreDefinition.FixedParams.0.Lean.Elab.FixedParamPerm.forallTelescopeImpl.go", 94, 94); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(318u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fixedParamIdx < xs.size\n ", 32, 32); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(321u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__6; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("!( __do_lift._@.Lean.Elab.PreDefinition.FixedParams._hyg.4070.0 ).hasLooseBVars\n ", 88, 88); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__8; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__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; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(320u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__9; +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___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_array_get_size(x_6); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_16 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__4; +x_17 = l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__2___rarg(x_16, x_8, x_9, x_10, x_11, x_12); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = l_Lean_instInhabitedExpr; +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_get(x_18, x_6, x_19); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_20); +x_21 = lean_infer_type(x_20, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +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 = l_Lean_Expr_hasLooseBVars(x_22); +lean_dec(x_22); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_array_get_size(x_1); +x_26 = lean_nat_dec_lt(x_2, x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_20); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_27 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__7; +x_28 = l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__3___rarg(x_27, x_8, x_9, x_10, x_11, x_23); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_nat_add(x_3, x_14); +x_30 = lean_array_set(x_1, x_2, x_20); +x_31 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg(x_4, x_5, x_29, x_7, x_30, x_8, x_9, x_10, x_11, x_23); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_20); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_32 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__10; +x_33 = l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__4___rarg(x_32, x_8, x_9, x_10, x_11, x_23); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_20); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_21); +if (x_34 == 0) +{ +return x_21; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_21, 0); +x_36 = lean_ctor_get(x_21, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_21); +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; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("type.isForall\n ", 20, 20); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__3() { +_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(325u); +x_4 = lean_unsigned_to_nat(6u); +x_5 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_array_get_size(x_1); +x_12 = lean_nat_dec_lt(x_3, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_13 = lean_apply_6(x_2, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +else +{ +lean_object* x_14; +x_14 = lean_array_fget(x_1, x_3); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_15 = lean_whnf(x_4, x_6, x_7, x_8, x_9, x_10); +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 = l_Lean_Expr_isForall(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_16); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__3; +x_20 = l_panic___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___spec__1___rarg(x_19, x_6, x_7, x_8, x_9, x_17); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_3, x_21); +lean_dec(x_3); +x_23 = l_Lean_Expr_bindingBody_x21(x_16); +lean_dec(x_16); +x_3 = x_22; +x_4 = x_23; +x_10 = x_17; +goto _start; +} +} +else +{ +uint8_t x_25; +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_25 = !lean_is_exclusive(x_15); +if (x_25 == 0) +{ +return x_15; +} +else +{ +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_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_14, 0); +lean_inc(x_29); +lean_dec(x_14); +x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___boxed), 12, 5); +lean_closure_set(x_30, 0, x_5); +lean_closure_set(x_30, 1, x_29); +lean_closure_set(x_30, 2, x_3); +lean_closure_set(x_30, 3, x_1); +lean_closure_set(x_30, 4, x_2); +x_31 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__4; +x_32 = 1; +x_33 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_4, x_31, x_30, x_32, x_6, x_7, x_8, x_9, x_10); +return x_33; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Level_ofNat(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__1; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___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, 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; +x_9 = l_Lean_Elab_FixedParamPerm_numFixed(x_1); +x_10 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__2; +x_11 = lean_mk_array(x_9, x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg(x_1, x_3, x_12, x_2, x_11, x_4, x_5, x_6, x_7, x_8); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg), 8, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___rarg___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_apply_1(x_1, x_3); +x_10 = lean_apply_7(x_2, lean_box(0), x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___rarg___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_forallTelescope___rarg___lambda__1), 8, 2); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_4); +x_11 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___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; 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_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_forallTelescope___rarg___lambda__2), 9, 3); +lean_closure_set(x_7, 0, x_5); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_4); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_apply_2(x_8, lean_box(0), x_7); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_apply_1(x_10, lean_box(0)); +x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_forallTelescope___rarg), 5, 0); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ys.size = 1\n ", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerm.instantiateForall.go", 45, 45); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(349u); +x_4 = lean_unsigned_to_nat(10u); +x_5 = l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__2; +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_FixedParamPerm_instantiateForall_go___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; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_get_size(x_3); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__4; +x_14 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_13, x_5, x_6, x_7, x_8, x_9); +return x_14; +} +else +{ +lean_object* x_15; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_15 = l_Lean_Elab_FixedParamPerm_instantiateForall_go(x_1, x_2, 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; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +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 = 0; +x_19 = 1; +x_20 = 1; +x_21 = l_Lean_Meta_mkForallFVars(x_3, x_16, x_18, x_19, x_20, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +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; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___closed__1() { +_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(345u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__6; +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_FixedParamPerm_instantiateForall_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: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_3); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___boxed), 9, 2); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_11); +x_13 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__4; +x_14 = 0; +x_15 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_3, x_13, x_12, x_14, x_4, x_5, x_6, x_7, x_8); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_2); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_2, 1); +x_18 = lean_ctor_get(x_2, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_10, 0); +lean_inc(x_19); +lean_dec(x_10); +x_20 = lean_array_get_size(x_1); +x_21 = lean_nat_dec_lt(x_19, x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_19); +lean_free_object(x_2); +lean_dec(x_17); +lean_dec(x_3); +lean_dec(x_1); +x_22 = l_Lean_Elab_FixedParamPerm_instantiateForall_go___closed__1; +x_23 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_22, x_4, x_5, x_6, x_7, x_8); +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; +x_24 = l_Lean_instInhabitedExpr; +x_25 = lean_array_get(x_24, x_1, x_19); +lean_dec(x_19); +x_26 = lean_box(0); +lean_ctor_set(x_2, 1, x_26); +lean_ctor_set(x_2, 0, x_25); +x_27 = lean_array_mk(x_2); +x_28 = lean_unsigned_to_nat(0u); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_29 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_27, x_28, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* 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_2 = x_17; +x_3 = x_30; +x_8 = x_31; +goto _start; +} +else +{ +uint8_t x_33; +lean_dec(x_17); +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_29); +if (x_33 == 0) +{ +return x_29; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_29); +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 +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_2, 1); +lean_inc(x_37); +lean_dec(x_2); +x_38 = lean_ctor_get(x_10, 0); +lean_inc(x_38); +lean_dec(x_10); +x_39 = lean_array_get_size(x_1); +x_40 = lean_nat_dec_lt(x_38, x_39); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_38); +lean_dec(x_37); +lean_dec(x_3); +lean_dec(x_1); +x_41 = l_Lean_Elab_FixedParamPerm_instantiateForall_go___closed__1; +x_42 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_41, x_4, x_5, x_6, x_7, x_8); +return x_42; +} +else +{ +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_43 = l_Lean_instInhabitedExpr; +x_44 = lean_array_get(x_43, x_1, x_38); +lean_dec(x_38); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_array_mk(x_46); +x_48 = lean_unsigned_to_nat(0u); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_49 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_47, x_48, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_47); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; +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_2 = x_37; +x_3 = x_50; +x_8 = x_51; +goto _start; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_37); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_53 = lean_ctor_get(x_49, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_55 = x_49; +} else { + lean_dec_ref(x_49); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(1, 2, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1(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; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("xs.size = perm.numFixed\n ", 26, 26); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateForall___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerm.instantiateForall", 42, 42); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateForall___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateForall___closed__3; +x_3 = lean_unsigned_to_nat(339u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Elab_FixedParamPerm_instantiateForall___closed__2; +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_FixedParamPerm_instantiateForall(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; uint8_t x_11; +x_9 = lean_array_get_size(x_3); +x_10 = l_Lean_Elab_FixedParamPerm_numFixed(x_1); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = l_Lean_Elab_FixedParamPerm_instantiateForall___closed__4; +x_13 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_12, x_4, x_5, x_6, x_7, x_8); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_to_list(x_1); +x_15 = l_Lean_Elab_FixedParamPerm_instantiateForall_go(x_3, x_14, x_2, x_4, x_5, x_6, x_7, x_8); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___rarg(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) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_2); +x_11 = 0; +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(x_1, x_11, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_10); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___rarg___boxed), 9, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ys.size = 1\n ", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerm.instantiateLambda.go", 45, 45); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(372u); +x_4 = lean_unsigned_to_nat(12u); +x_5 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__2; +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_FixedParamPerm_instantiateLambda_go___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; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_get_size(x_3); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__4; +x_14 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_13, x_5, x_6, x_7, x_8, x_9); +return x_14; +} +else +{ +lean_object* x_15; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_15 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go(x_1, x_2, 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; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +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 = 0; +x_19 = 1; +x_20 = 1; +x_21 = l_Lean_Meta_mkLambdaFVars(x_3, x_16, x_18, x_19, x_18, x_20, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +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; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Option_isNone___rarg___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___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; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(364u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__6; +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_FixedParamPerm_instantiateLambda_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: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_3); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__1; +lean_inc(x_11); +x_13 = l_List_all___rarg(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___boxed), 9, 2); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_11); +x_15 = lean_unsigned_to_nat(1u); +x_16 = 0; +x_17 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___rarg(x_3, x_15, x_14, x_16, x_4, x_5, x_6, x_7, x_8); +return x_17; +} +else +{ +lean_object* x_18; +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_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_3); +lean_ctor_set(x_18, 1, x_8); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_2); +if (x_19 == 0) +{ +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_2, 1); +x_21 = lean_ctor_get(x_2, 0); +lean_dec(x_21); +x_22 = lean_ctor_get(x_10, 0); +lean_inc(x_22); +lean_dec(x_10); +x_23 = lean_array_get_size(x_1); +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_free_object(x_2); +lean_dec(x_20); +lean_dec(x_3); +lean_dec(x_1); +x_25 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__2; +x_26 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_25, x_4, x_5, x_6, x_7, x_8); +return x_26; +} +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; +x_27 = l_Lean_instInhabitedExpr; +x_28 = lean_array_get(x_27, x_1, x_22); +lean_dec(x_22); +x_29 = lean_box(0); +lean_ctor_set(x_2, 1, x_29); +lean_ctor_set(x_2, 0, x_28); +x_30 = lean_array_mk(x_2); +x_31 = lean_unsigned_to_nat(0u); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_32 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_30, x_31, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_30); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; +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_2 = x_20; +x_3 = x_33; +x_8 = x_34; +goto _start; +} +else +{ +uint8_t x_36; +lean_dec(x_20); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_32); +if (x_36 == 0) +{ +return x_32; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_32, 0); +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_32); +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_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = lean_ctor_get(x_2, 1); +lean_inc(x_40); +lean_dec(x_2); +x_41 = lean_ctor_get(x_10, 0); +lean_inc(x_41); +lean_dec(x_10); +x_42 = lean_array_get_size(x_1); +x_43 = lean_nat_dec_lt(x_41, x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_3); +lean_dec(x_1); +x_44 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__2; +x_45 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_44, x_4, x_5, x_6, x_7, x_8); +return x_45; +} +else +{ +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; +x_46 = l_Lean_instInhabitedExpr; +x_47 = lean_array_get(x_46, x_1, x_41); +lean_dec(x_41); +x_48 = lean_box(0); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_array_mk(x_49); +x_51 = lean_unsigned_to_nat(0u); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_52 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_50, x_51, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_50); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_2 = x_40; +x_3 = x_53; +x_8 = x_54; +goto _start; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_40); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_56 = lean_ctor_get(x_52, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_52, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_58 = x_52; +} else { + lean_dec_ref(x_52); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_4); +lean_dec(x_4); +x_11 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___rarg(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1(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; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerm.instantiateLambda", 42, 42); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_instantiateLambda___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; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__1; +x_3 = lean_unsigned_to_nat(358u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Elab_FixedParamPerm_instantiateForall___closed__2; +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_FixedParamPerm_instantiateLambda(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; uint8_t x_11; +x_9 = lean_array_get_size(x_3); +x_10 = l_Lean_Elab_FixedParamPerm_numFixed(x_1); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__2; +x_13 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_12, x_4, x_5, x_6, x_7, x_8); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_to_list(x_1); +x_15 = l_Lean_Elab_FixedParamPerm_instantiateLambda_go(x_3, x_14, x_2, x_4, x_5, x_6, x_7, x_8); +return x_15; +} +} +} +static lean_object* _init_l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Id_instMonad; +x_2 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_3 = l_instInhabitedOfMonad___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg___closed__1; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg), 1, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fixedParamIdx < ys.size\n ", 32, 32); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerm.pickFixed.go", 37, 37); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__3; +x_3 = lean_unsigned_to_nat(390u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__2; +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_FixedParamPerm_pickFixed_go___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +return x_2; +} +else +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_1 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_array_get_size(x_2); +x_11 = lean_nat_dec_lt(x_9, x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_12 = l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__4; +x_13 = l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg(x_12); +return x_13; +} +else +{ +lean_object* x_14; +x_14 = lean_array_set(x_2, x_9, x_8); +lean_dec(x_9); +x_1 = x_7; +x_2 = x_14; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickFixed_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg), 2, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("xs.size = perm.size\n ", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__1; +x_3 = l_String_instAppend; +x_4 = lean_apply_2(x_3, x_1, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerm.pickFixed", 34, 34); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_pickFixed___rarg___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_Id_instMonad; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +lean_dec(x_2); +x_4 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_5 = lean_apply_2(x_3, lean_box(0), x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___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_array_get_size(x_2); +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_eq(x_3, x_4); +lean_dec(x_4); +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_dec(x_3); +x_6 = l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg___closed__1; +x_7 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_8 = l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__3; +x_9 = lean_unsigned_to_nat(380u); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__2; +x_12 = l_panicWithPosWithDecl___rarg(x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +else +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_eq(x_3, x_13); +lean_dec(x_3); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_array_fget(x_2, x_13); +x_16 = l_Lean_Elab_FixedParamPerm_numFixed(x_1); +x_17 = lean_mk_array(x_16, x_15); +x_18 = l_Array_zip___rarg(x_1, x_2); +x_19 = lean_array_to_list(x_18); +x_20 = l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg(x_19, x_17); +return x_20; +} +else +{ +lean_object* x_21; +x_21 = l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__4; +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickFixed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_pickFixed___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_FixedParamPerm_pickFixed___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerm_pickVarying___spec__1___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, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_ctor_get(x_3, 1); +x_9 = lean_nat_dec_lt(x_5, x_8); +if (x_9 == 0) +{ +lean_dec(x_5); +return x_4; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_array_get_size(x_1); +x_11 = lean_nat_dec_lt(x_5, x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_array_fget(x_2, x_5); +x_13 = lean_array_push(x_4, x_12); +x_14 = lean_ctor_get(x_3, 2); +x_15 = lean_nat_add(x_5, x_14); +lean_dec(x_5); +x_4 = x_13; +x_5 = x_15; +x_6 = lean_box(0); +x_7 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_17; +x_17 = lean_array_fget(x_1, x_5); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_fget(x_2, x_5); +x_19 = lean_array_push(x_4, x_18); +x_20 = lean_ctor_get(x_3, 2); +x_21 = lean_nat_add(x_5, x_20); +lean_dec(x_5); +x_4 = x_19; +x_5 = x_21; +x_6 = lean_box(0); +x_7 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_17); +x_23 = lean_ctor_get(x_3, 2); +x_24 = lean_nat_add(x_5, x_23); +lean_dec(x_5); +x_5 = x_24; +x_6 = lean_box(0); +x_7 = lean_box(0); +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerm_pickVarying___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerm_pickVarying___spec__1___rarg___boxed), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___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; +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 2, x_5); +x_7 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_8 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerm_pickVarying___spec__1___rarg(x_1, x_2, x_6, x_7, x_4, lean_box(0), lean_box(0)); +lean_dec(x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickVarying(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_pickVarying___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerm_pickVarying___spec__1___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, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerm_pickVarying___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_eq(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_array_uget(x_1, x_2); +if (lean_obj_tag(x_5) == 0) +{ +size_t x_6; size_t x_7; +x_6 = 1; +x_7 = lean_usize_add(x_2, x_6); +x_2 = x_7; +goto _start; +} +else +{ +uint8_t x_9; +lean_dec(x_5); +x_9 = 1; +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = 0; +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__2___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__2___rarg), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__3___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__3___rarg), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__4___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__4___rarg), 1, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerm.buildArgs.go", 37, 37); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("FixedParams.buildArgs: too few varying args", 43, 43); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__3() { +_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__1; +x_3 = lean_unsigned_to_nat(429u); +x_4 = lean_unsigned_to_nat(12u); +x_5 = l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("FixedParams.buildArgs: too few fixed args", 41, 41); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___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; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__1; +x_3 = lean_unsigned_to_nat(421u); +x_4 = lean_unsigned_to_nat(10u); +x_5 = l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__4; +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_FixedParamPerm_buildArgs_go___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; uint8_t x_8; +x_7 = lean_array_get_size(x_1); +x_8 = lean_nat_dec_lt(x_4, 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_dec(x_4); +lean_dec(x_1); +x_9 = lean_array_get_size(x_3); +x_10 = l_Array_toSubarray___rarg(x_3, x_5, x_9); +x_11 = l_Array_ofSubarray___rarg(x_10); +lean_dec(x_10); +x_12 = l_Array_append___rarg(x_6, x_11); +lean_dec(x_11); +return x_12; +} +else +{ +lean_object* x_13; +x_13 = lean_array_fget(x_1, x_4); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_get_size(x_3); +x_15 = lean_nat_dec_lt(x_5, x_14); +lean_dec(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; uint8_t x_21; +lean_dec(x_5); +lean_dec(x_3); +x_16 = lean_array_get_size(x_1); +x_17 = l_Array_toSubarray___rarg(x_1, x_4, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_17, 2); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +return x_6; +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_array_get_size(x_18); +x_23 = lean_nat_dec_le(x_20, x_22); +if (x_23 == 0) +{ +uint8_t x_24; +lean_dec(x_20); +x_24 = lean_nat_dec_lt(x_19, x_22); +if (x_24 == 0) +{ +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_18); +return x_6; +} +else +{ +size_t x_25; size_t x_26; uint8_t x_27; +x_25 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_26 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_27 = l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__1(x_18, x_25, x_26); +lean_dec(x_18); +if (x_27 == 0) +{ +return x_6; +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_6); +x_28 = l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__3; +x_29 = l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__2___rarg(x_28); +return x_29; +} +} +} +else +{ +size_t x_30; size_t x_31; uint8_t x_32; +lean_dec(x_22); +x_30 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_31 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_32 = l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__1(x_18, x_30, x_31); +lean_dec(x_18); +if (x_32 == 0) +{ +return x_6; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_6); +x_33 = l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__3; +x_34 = l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__3___rarg(x_33); +return x_34; +} +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_unsigned_to_nat(1u); +x_36 = lean_nat_add(x_4, x_35); +lean_dec(x_4); +x_37 = lean_nat_add(x_5, x_35); +x_38 = lean_array_fget(x_3, x_5); +lean_dec(x_5); +x_39 = lean_array_push(x_6, x_38); +x_4 = x_36; +x_5 = x_37; +x_6 = x_39; +goto _start; +} +} +else +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_13, 0); +lean_inc(x_41); +lean_dec(x_13); +x_42 = lean_array_get_size(x_2); +x_43 = lean_nat_dec_lt(x_41, x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_44 = l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__5; +x_45 = l_panic___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__4___rarg(x_44); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_unsigned_to_nat(1u); +x_47 = lean_nat_add(x_4, x_46); +lean_dec(x_4); +x_48 = lean_array_fget(x_2, x_41); +lean_dec(x_41); +x_49 = lean_array_push(x_6, x_48); +x_4 = x_47; +x_6 = x_49; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___boxed), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerm_buildArgs_go___spec__1(x_1, x_4, x_5); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs_go___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_FixedParamPerm_buildArgs_go___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_panic___at_Lean_Elab_FixedParamPerm_buildArgs___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerm_buildArgs___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_panic___at_Lean_Elab_FixedParamPerm_buildArgs___spec__1___rarg), 1, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fixedArgs.size = perm.numFixed\n ", 33, 33); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerm.buildArgs", 34, 34); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerm_buildArgs___rarg___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__3; +x_3 = lean_unsigned_to_nat(412u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__2; +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_FixedParamPerm_buildArgs___rarg(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 = l_Lean_Elab_FixedParamPerm_numFixed(x_1); +x_6 = lean_nat_dec_eq(x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +lean_dec(x_1); +x_7 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__4; +x_8 = l_panic___at_Lean_Elab_FixedParamPerm_buildArgs___spec__1___rarg(x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_11 = l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg(x_1, x_2, x_3, x_9, x_9, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_buildArgs___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_fixedArePrefix___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_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, 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; +} +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_FixedParamPerms_fixedArePrefix___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) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_6, x_8); +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_unsigned_to_nat(1u); +x_11 = lean_nat_sub(x_6, x_10); +lean_dec(x_6); +x_12 = lean_array_fget(x_4, x_11); +x_13 = lean_array_fget(x_5, x_11); +x_14 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_1324____spec__1(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_11); +x_15 = 0; +return x_15; +} +else +{ +x_3 = lean_box(0); +x_6 = x_11; +x_7 = lean_box(0); +goto _start; +} +} +else +{ +uint8_t x_17; +lean_dec(x_6); +x_17 = 1; +return x_17; +} +} +} +static lean_object* _init_l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Array_range___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_ctor_get(x_1, 0); +x_8 = l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3___closed__1; +x_9 = l_Array_ofFn___rarg(x_7, x_8); +x_10 = lean_array_size(x_9); +x_11 = 0; +x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__1(x_10, x_11, x_9); +x_13 = lean_array_get_size(x_6); +x_14 = lean_nat_sub(x_13, x_7); +x_15 = lean_box(0); +x_16 = lean_mk_array(x_14, x_15); +x_17 = l_Array_append___rarg(x_12, x_16); +lean_dec(x_16); +x_18 = lean_array_get_size(x_17); +x_19 = lean_nat_dec_eq(x_13, x_18); +lean_dec(x_18); +if (x_19 == 0) +{ +uint8_t x_20; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_6); +x_20 = 1; +return x_20; +} +else +{ +uint8_t x_21; +x_21 = l_Array_isEqvAux___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__2(x_1, x_6, lean_box(0), x_6, x_17, x_13, lean_box(0)); +lean_dec(x_17); +lean_dec(x_6); +if (x_21 == 0) +{ +uint8_t x_22; +x_22 = 1; +return x_22; +} +else +{ +size_t x_23; size_t x_24; +x_23 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +goto _start; +} +} +} +else +{ +uint8_t x_26; +x_26 = 0; +return x_26; +} +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_FixedParamPerms_fixedArePrefix(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, 1); +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_3); +x_6 = 1; +return x_6; +} +else +{ +size_t x_7; size_t x_8; uint8_t x_9; +x_7 = 0; +x_8 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_9 = l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3(x_1, x_2, x_7, x_8); +if (x_9 == 0) +{ +uint8_t x_10; +x_10 = 1; +return x_10; +} +else +{ +uint8_t x_11; +x_11 = 0; +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_fixedArePrefix___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_FixedParamPerms_fixedArePrefix___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Elab_FixedParamPerms_fixedArePrefix___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) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = l_Array_isEqvAux___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_box(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerms_fixedArePrefix___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_FixedParamPerms_fixedArePrefix(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_instInhabitedFixedParamPerms; +x_2 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___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; +} +} +static lean_object* _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Id_instMonad; +x_2 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__2; +x_3 = l_instInhabitedOfMonad___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__3; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_FixedParams_Info_mayBeFixed___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_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Id_instMonad; +x_2 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__1; +x_3 = l_instInhabitedOfMonad___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__2; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("paramIdx < mapping.size\n ", 30, 30); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.FixedParamPerms.erase", 31, 31); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(459u); +x_4 = lean_unsigned_to_nat(6u); +x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__2; +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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_6, x_5); +if (x_8 == 0) +{ +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_array_uget(x_4, x_6); +x_10 = lean_array_get_size(x_1); +x_11 = lean_nat_dec_lt(x_9, x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_7); +x_12 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__4; +x_13 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2(x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +return x_14; +} +else +{ +lean_object* x_15; size_t x_16; size_t x_17; +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_6, x_16); +x_6 = x_17; +x_7 = x_15; +goto _start; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = lean_array_get(x_19, x_1, x_9); +lean_dec(x_9); +if (lean_obj_tag(x_20) == 0) +{ +size_t x_21; size_t x_22; +x_21 = 1; +x_22 = lean_usize_add(x_6, x_21); +x_6 = x_22; +goto _start; +} +else +{ +lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); +lean_dec(x_20); +x_25 = 1; +x_26 = lean_box(x_25); +x_27 = lean_array_set(x_7, x_24, x_26); +lean_dec(x_24); +x_28 = 1; +x_29 = lean_usize_add(x_6, x_28); +x_6 = x_29; +x_7 = x_27; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___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_ctor_get(x_2, 1); +x_8 = lean_nat_dec_lt(x_4, x_7); +if (x_8 == 0) +{ +lean_dec(x_4); +return x_3; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_3); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_3, 0); +x_13 = lean_ctor_get(x_3, 1); +lean_dec(x_13); +x_14 = !lean_is_exclusive(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; uint8_t x_20; +x_15 = lean_ctor_get(x_9, 1); +x_16 = lean_ctor_get(x_9, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_10, 2); +lean_inc(x_19); +x_20 = lean_nat_dec_lt(x_18, x_19); +if (x_20 == 0) +{ +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_4); +return x_3; +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_10); +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; lean_object* x_30; uint8_t x_31; +x_22 = lean_ctor_get(x_10, 2); +lean_dec(x_22); +x_23 = lean_ctor_get(x_10, 1); +lean_dec(x_23); +x_24 = lean_ctor_get(x_10, 0); +lean_dec(x_24); +x_25 = lean_array_fget(x_17, x_18); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_add(x_18, x_26); +lean_dec(x_18); +lean_ctor_set(x_10, 1, x_27); +x_28 = lean_ctor_get(x_12, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_12, 1); +lean_inc(x_29); +x_30 = lean_ctor_get(x_12, 2); +lean_inc(x_30); +x_31 = lean_nat_dec_lt(x_29, x_30); +if (x_31 == 0) +{ +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_28); +lean_dec(x_25); +lean_dec(x_4); +return x_3; +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_12); +if (x_32 == 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; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_33 = lean_ctor_get(x_12, 2); +lean_dec(x_33); +x_34 = lean_ctor_get(x_12, 1); +lean_dec(x_34); +x_35 = lean_ctor_get(x_12, 0); +lean_dec(x_35); +x_36 = lean_array_fget(x_28, x_29); +x_37 = lean_nat_add(x_29, x_26); +lean_dec(x_29); +lean_ctor_set(x_12, 1, x_37); +x_38 = lean_box(0); +x_39 = lean_array_size(x_36); +x_40 = 0; +x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3(x_25, x_36, x_38, x_36, x_39, x_40, x_15); +lean_dec(x_36); +lean_dec(x_25); +lean_ctor_set(x_9, 1, x_41); +x_42 = lean_ctor_get(x_2, 2); +x_43 = lean_nat_add(x_4, x_42); +lean_dec(x_4); +x_4 = x_43; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_12); +x_45 = lean_array_fget(x_28, x_29); +x_46 = lean_nat_add(x_29, x_26); +lean_dec(x_29); +x_47 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_47, 0, x_28); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_47, 2, x_30); +x_48 = lean_box(0); +x_49 = lean_array_size(x_45); +x_50 = 0; +x_51 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3(x_25, x_45, x_48, x_45, x_49, x_50, x_15); +lean_dec(x_45); +lean_dec(x_25); +lean_ctor_set(x_9, 1, x_51); +lean_ctor_set(x_3, 0, x_47); +x_52 = lean_ctor_get(x_2, 2); +x_53 = lean_nat_add(x_4, x_52); +lean_dec(x_4); +x_4 = x_53; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +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; lean_object* x_61; uint8_t x_62; +lean_dec(x_10); +x_55 = lean_array_fget(x_17, x_18); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_add(x_18, x_56); +lean_dec(x_18); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_17); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_19); +x_59 = lean_ctor_get(x_12, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_12, 1); +lean_inc(x_60); +x_61 = lean_ctor_get(x_12, 2); +lean_inc(x_61); +x_62 = lean_nat_dec_lt(x_60, x_61); +if (x_62 == 0) +{ +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_55); +lean_dec(x_4); +lean_ctor_set(x_9, 0, x_58); +return x_3; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; size_t x_68; size_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + lean_ctor_release(x_12, 2); + x_63 = x_12; +} else { + lean_dec_ref(x_12); + x_63 = lean_box(0); +} +x_64 = lean_array_fget(x_59, x_60); +x_65 = lean_nat_add(x_60, x_56); +lean_dec(x_60); +if (lean_is_scalar(x_63)) { + x_66 = lean_alloc_ctor(0, 3, 0); +} else { + x_66 = x_63; +} +lean_ctor_set(x_66, 0, x_59); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_61); +x_67 = lean_box(0); +x_68 = lean_array_size(x_64); +x_69 = 0; +x_70 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3(x_55, x_64, x_67, x_64, x_68, x_69, x_15); +lean_dec(x_64); +lean_dec(x_55); +lean_ctor_set(x_9, 1, x_70); +lean_ctor_set(x_9, 0, x_58); +lean_ctor_set(x_3, 0, x_66); +x_71 = lean_ctor_get(x_2, 2); +x_72 = lean_nat_add(x_4, x_71); +lean_dec(x_4); +x_4 = x_72; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_9, 1); +lean_inc(x_74); +lean_dec(x_9); +x_75 = lean_ctor_get(x_10, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_10, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_10, 2); +lean_inc(x_77); +x_78 = lean_nat_dec_lt(x_76, x_77); +if (x_78 == 0) +{ +lean_object* x_79; +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_75); +lean_dec(x_4); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_10); +lean_ctor_set(x_79, 1, x_74); +lean_ctor_set(x_3, 1, x_79); +return x_3; +} +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; lean_object* x_87; uint8_t x_88; +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + lean_ctor_release(x_10, 2); + x_80 = x_10; +} else { + lean_dec_ref(x_10); + x_80 = lean_box(0); +} +x_81 = lean_array_fget(x_75, x_76); +x_82 = lean_unsigned_to_nat(1u); +x_83 = lean_nat_add(x_76, x_82); +lean_dec(x_76); +if (lean_is_scalar(x_80)) { + x_84 = lean_alloc_ctor(0, 3, 0); +} else { + x_84 = x_80; +} +lean_ctor_set(x_84, 0, x_75); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_77); +x_85 = lean_ctor_get(x_12, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_12, 1); +lean_inc(x_86); +x_87 = lean_ctor_get(x_12, 2); +lean_inc(x_87); +x_88 = lean_nat_dec_lt(x_86, x_87); +if (x_88 == 0) +{ +lean_object* x_89; +lean_dec(x_87); +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_81); +lean_dec(x_4); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_84); +lean_ctor_set(x_89, 1, x_74); +lean_ctor_set(x_3, 1, x_89); +return x_3; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; size_t x_95; size_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + lean_ctor_release(x_12, 2); + x_90 = x_12; +} else { + lean_dec_ref(x_12); + x_90 = lean_box(0); +} +x_91 = lean_array_fget(x_85, x_86); +x_92 = lean_nat_add(x_86, x_82); +lean_dec(x_86); +if (lean_is_scalar(x_90)) { + x_93 = lean_alloc_ctor(0, 3, 0); +} else { + x_93 = x_90; +} +lean_ctor_set(x_93, 0, x_85); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set(x_93, 2, x_87); +x_94 = lean_box(0); +x_95 = lean_array_size(x_91); +x_96 = 0; +x_97 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3(x_81, x_91, x_94, x_91, x_95, x_96, x_74); +lean_dec(x_91); +lean_dec(x_81); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_84); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_3, 1, x_98); +lean_ctor_set(x_3, 0, x_93); +x_99 = lean_ctor_get(x_2, 2); +x_100 = lean_nat_add(x_4, x_99); +lean_dec(x_4); +x_4 = x_100; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_102 = lean_ctor_get(x_3, 0); +lean_inc(x_102); +lean_dec(x_3); +x_103 = lean_ctor_get(x_9, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + x_104 = x_9; +} else { + lean_dec_ref(x_9); + x_104 = lean_box(0); +} +x_105 = lean_ctor_get(x_10, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_10, 1); +lean_inc(x_106); +x_107 = lean_ctor_get(x_10, 2); +lean_inc(x_107); +x_108 = lean_nat_dec_lt(x_106, x_107); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_4); +if (lean_is_scalar(x_104)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_104; +} +lean_ctor_set(x_109, 0, x_10); +lean_ctor_set(x_109, 1, x_103); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_102); +lean_ctor_set(x_110, 1, x_109); +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; uint8_t x_119; +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + lean_ctor_release(x_10, 2); + x_111 = x_10; +} else { + lean_dec_ref(x_10); + x_111 = lean_box(0); +} +x_112 = lean_array_fget(x_105, x_106); +x_113 = lean_unsigned_to_nat(1u); +x_114 = lean_nat_add(x_106, x_113); +lean_dec(x_106); +if (lean_is_scalar(x_111)) { + x_115 = lean_alloc_ctor(0, 3, 0); +} else { + x_115 = x_111; +} +lean_ctor_set(x_115, 0, x_105); +lean_ctor_set(x_115, 1, x_114); +lean_ctor_set(x_115, 2, x_107); +x_116 = lean_ctor_get(x_102, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_102, 1); +lean_inc(x_117); +x_118 = lean_ctor_get(x_102, 2); +lean_inc(x_118); +x_119 = lean_nat_dec_lt(x_117, x_118); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; +lean_dec(x_118); +lean_dec(x_117); +lean_dec(x_116); +lean_dec(x_112); +lean_dec(x_4); +if (lean_is_scalar(x_104)) { + x_120 = lean_alloc_ctor(0, 2, 0); +} else { + x_120 = x_104; +} +lean_ctor_set(x_120, 0, x_115); +lean_ctor_set(x_120, 1, x_103); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_102); +lean_ctor_set(x_121, 1, x_120); +return x_121; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; size_t x_127; size_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + lean_ctor_release(x_102, 2); + x_122 = x_102; +} else { + lean_dec_ref(x_102); + x_122 = lean_box(0); +} +x_123 = lean_array_fget(x_116, x_117); +x_124 = lean_nat_add(x_117, x_113); +lean_dec(x_117); +if (lean_is_scalar(x_122)) { + x_125 = lean_alloc_ctor(0, 3, 0); +} else { + x_125 = x_122; +} +lean_ctor_set(x_125, 0, x_116); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_125, 2, x_118); +x_126 = lean_box(0); +x_127 = lean_array_size(x_123); +x_128 = 0; +x_129 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3(x_112, x_123, x_126, x_123, x_127, x_128, x_103); +lean_dec(x_123); +lean_dec(x_112); +if (lean_is_scalar(x_104)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_104; +} +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_129); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_125); +lean_ctor_set(x_131, 1, x_130); +x_132 = lean_ctor_get(x_2, 2); +x_133 = lean_nat_add(x_4, x_132); +lean_dec(x_4); +x_3 = x_131; +x_4 = x_133; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__5(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) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_6, x_5); +if (x_8 == 0) +{ +return x_7; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_uget(x_4, x_6); +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_7, 1); +x_13 = lean_box(0); +x_14 = lean_array_get(x_13, x_1, x_9); +lean_dec(x_9); +if (lean_obj_tag(x_14) == 0) +{ +size_t x_15; size_t x_16; +x_15 = 1; +x_16 = lean_usize_add(x_6, x_15); +x_6 = x_16; +goto _start; +} +else +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = l_instInhabitedBool; +x_20 = lean_box(x_19); +x_21 = lean_array_get(x_20, x_12, x_18); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; +lean_dec(x_11); +x_23 = 1; +x_24 = lean_box(x_23); +x_25 = lean_array_set(x_12, x_18, x_24); +lean_dec(x_18); +x_26 = lean_box(x_23); +lean_ctor_set(x_7, 1, x_25); +lean_ctor_set(x_7, 0, x_26); +x_27 = 1; +x_28 = lean_usize_add(x_6, x_27); +x_6 = x_28; +goto _start; +} +else +{ +size_t x_30; size_t x_31; +lean_dec(x_18); +x_30 = 1; +x_31 = lean_usize_add(x_6, x_30); +x_6 = x_31; +goto _start; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_7, 0); +x_34 = lean_ctor_get(x_7, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_7); +x_35 = lean_box(0); +x_36 = lean_array_get(x_35, x_1, x_9); +lean_dec(x_9); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; size_t x_38; size_t x_39; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +x_38 = 1; +x_39 = lean_usize_add(x_6, x_38); +x_6 = x_39; +x_7 = x_37; +goto _start; +} +else +{ +lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +lean_dec(x_36); +x_42 = l_instInhabitedBool; +x_43 = lean_box(x_42); +x_44 = lean_array_get(x_43, x_34, x_41); +x_45 = lean_unbox(x_44); +lean_dec(x_44); +if (x_45 == 0) +{ +uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; +lean_dec(x_33); +x_46 = 1; +x_47 = lean_box(x_46); +x_48 = lean_array_set(x_34, x_41, x_47); +lean_dec(x_41); +x_49 = lean_box(x_46); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = 1; +x_52 = lean_usize_add(x_6, x_51); +x_6 = x_52; +x_7 = x_50; +goto _start; +} +else +{ +lean_object* x_54; size_t x_55; size_t x_56; +lean_dec(x_41); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_33); +lean_ctor_set(x_54, 1, x_34); +x_55 = 1; +x_56 = lean_usize_add(x_6, x_55); +x_6 = x_56; +x_7 = x_54; +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_5, 1); +x_11 = lean_nat_dec_lt(x_7, x_10); +if (x_11 == 0) +{ +lean_dec(x_7); +return x_6; +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_6); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_6, 1); +x_14 = lean_array_fget(x_4, x_7); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_5, 2); +x_16 = lean_nat_add(x_7, x_15); +lean_dec(x_7); +x_3 = lean_box(0); +x_7 = x_16; +x_8 = lean_box(0); +x_9 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = l_instInhabitedBool; +x_20 = lean_box(x_19); +x_21 = lean_array_get(x_20, x_13, x_18); +lean_dec(x_18); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_5, 2); +x_24 = lean_nat_add(x_7, x_23); +lean_dec(x_7); +x_3 = lean_box(0); +x_7 = x_24; +x_8 = lean_box(0); +x_9 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; uint8_t x_34; +x_26 = lean_box(0); +x_27 = lean_ctor_get(x_1, 2); +x_28 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_29 = lean_array_get(x_28, x_27, x_2); +x_30 = lean_array_get(x_28, x_29, x_7); +lean_dec(x_29); +x_31 = lean_array_size(x_30); +x_32 = 0; +x_33 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__5(x_4, x_26, x_30, x_30, x_31, x_32, x_6); +lean_dec(x_30); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_5, 2); +x_36 = lean_nat_add(x_7, x_35); +lean_dec(x_7); +x_3 = lean_box(0); +x_6 = x_33; +x_7 = x_36; +x_8 = lean_box(0); +x_9 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_33, 0); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_33); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_ctor_get(x_5, 2); +x_42 = lean_nat_add(x_7, x_41); +lean_dec(x_7); +x_3 = lean_box(0); +x_6 = x_40; +x_7 = x_42; +x_8 = lean_box(0); +x_9 = lean_box(0); +goto _start; +} +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_6, 0); +x_45 = lean_ctor_get(x_6, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_6); +x_46 = lean_array_fget(x_4, x_7); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_45); +x_48 = lean_ctor_get(x_5, 2); +x_49 = lean_nat_add(x_7, x_48); +lean_dec(x_7); +x_3 = lean_box(0); +x_6 = x_47; +x_7 = x_49; +x_8 = lean_box(0); +x_9 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_51 = lean_ctor_get(x_46, 0); +lean_inc(x_51); +lean_dec(x_46); +x_52 = l_instInhabitedBool; +x_53 = lean_box(x_52); +x_54 = lean_array_get(x_53, x_45, x_51); +lean_dec(x_51); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_44); +lean_ctor_set(x_56, 1, x_45); +x_57 = lean_ctor_get(x_5, 2); +x_58 = lean_nat_add(x_7, x_57); +lean_dec(x_7); +x_3 = lean_box(0); +x_6 = x_56; +x_7 = x_58; +x_8 = lean_box(0); +x_9 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; size_t x_66; size_t 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; +x_60 = lean_box(0); +x_61 = lean_ctor_get(x_1, 2); +x_62 = l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1; +x_63 = lean_array_get(x_62, x_61, x_2); +x_64 = lean_array_get(x_62, x_63, x_7); +lean_dec(x_63); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_44); +lean_ctor_set(x_65, 1, x_45); +x_66 = lean_array_size(x_64); +x_67 = 0; +x_68 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__5(x_4, x_60, x_64, x_64, x_66, x_67, x_65); +lean_dec(x_64); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_71 = x_68; +} else { + lean_dec_ref(x_68); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +x_73 = lean_ctor_get(x_5, 2); +x_74 = lean_nat_add(x_7, x_73); +lean_dec(x_7); +x_3 = lean_box(0); +x_6 = x_72; +x_7 = x_74; +x_8 = lean_box(0); +x_9 = lean_box(0); +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__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) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_ctor_get(x_3, 1); +x_9 = lean_nat_dec_lt(x_5, x_8); +if (x_9 == 0) +{ +lean_dec(x_5); +return x_4; +} +else +{ +uint8_t x_10; +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_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_array_fget(x_2, x_5); +x_12 = lean_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_12); +lean_ctor_set(x_15, 2, x_14); +x_16 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__6(x_1, x_5, lean_box(0), x_11, x_15, x_4, x_13, lean_box(0), lean_box(0)); +lean_dec(x_15); +lean_dec(x_11); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_3, 2); +x_19 = lean_nat_add(x_5, x_18); +lean_dec(x_5); +x_4 = x_16; +x_5 = x_19; +x_6 = lean_box(0); +x_7 = lean_box(0); +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 = 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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_ctor_get(x_3, 2); +x_25 = lean_nat_add(x_5, x_24); +lean_dec(x_5); +x_4 = x_23; +x_5 = x_25; +x_6 = lean_box(0); +x_7 = lean_box(0); +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; 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_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_4); +x_29 = lean_array_fget(x_2, x_5); +x_30 = lean_array_get_size(x_29); +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_30); +lean_ctor_set(x_33, 2, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_27); +lean_ctor_set(x_34, 1, x_28); +x_35 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__6(x_1, x_5, lean_box(0), x_29, x_33, x_34, x_31, lean_box(0), lean_box(0)); +lean_dec(x_33); +lean_dec(x_29); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + x_38 = x_35; +} else { + lean_dec_ref(x_35); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_ctor_get(x_3, 2); +x_41 = lean_nat_add(x_5, x_40); +lean_dec(x_5); +x_4 = x_39; +x_5 = x_41; +x_6 = lean_box(0); +x_7 = lean_box(0); +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_FixedParamPerms_erase___spec__8(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; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_3); +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_4, 0); +lean_dec(x_8); +return x_4; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +else +{ +uint8_t x_11; +lean_dec(x_5); +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_12 = lean_ctor_get(x_4, 0); +lean_dec(x_12); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_unsigned_to_nat(1u); +lean_inc(x_3); +x_15 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_3); +lean_ctor_set(x_15, 2, x_14); +x_16 = 0; +x_17 = lean_box(x_16); +lean_ctor_set(x_4, 0, x_17); +x_18 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__7(x_1, x_2, x_15, x_4, x_13, lean_box(0), lean_box(0)); +lean_dec(x_15); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +x_4 = x_18; +goto _start; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_18, 0); +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_18); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_4 = x_23; +goto _start; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_25 = lean_ctor_get(x_4, 1); +lean_inc(x_25); +lean_dec(x_4); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_unsigned_to_nat(1u); +lean_inc(x_3); +x_28 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_27); +x_29 = 0; +x_30 = lean_box(x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_25); +x_32 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__7(x_1, x_2, x_28, x_31, x_26, lean_box(0), lean_box(0)); +lean_dec(x_28); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_35 = x_32; +} else { + lean_dec_ref(x_32); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_34); +x_4 = x_36; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_nat_dec_lt(x_4, x_7); +if (x_8 == 0) +{ +lean_dec(x_4); +return x_3; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_dec(x_14); +x_15 = !lean_is_exclusive(x_3); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_ctor_get(x_3, 1); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_11); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_22 = lean_ctor_get(x_11, 0); +x_23 = lean_ctor_get(x_11, 1); +x_24 = lean_ctor_get(x_13, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_13, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_13, 2); +lean_inc(x_26); +x_27 = lean_nat_dec_lt(x_25, x_26); +if (x_27 == 0) +{ +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_4); +return x_3; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_13); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_29 = lean_ctor_get(x_13, 2); +lean_dec(x_29); +x_30 = lean_ctor_get(x_13, 1); +lean_dec(x_30); +x_31 = lean_ctor_get(x_13, 0); +lean_dec(x_31); +x_32 = lean_array_fget(x_24, x_25); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_nat_add(x_25, x_33); +lean_dec(x_25); +lean_ctor_set(x_13, 1, x_34); +x_35 = lean_ctor_get(x_16, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_16, 1); +lean_inc(x_36); +x_37 = lean_ctor_get(x_16, 2); +lean_inc(x_37); +x_38 = lean_nat_dec_lt(x_36, x_37); +if (x_38 == 0) +{ +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_32); +lean_dec(x_4); +return x_3; +} +else +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_16); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_16, 2); +lean_dec(x_40); +x_41 = lean_ctor_get(x_16, 1); +lean_dec(x_41); +x_42 = lean_ctor_get(x_16, 0); +lean_dec(x_42); +x_43 = lean_array_fget(x_35, x_36); +x_44 = lean_unbox(x_43); +lean_dec(x_43); +x_45 = lean_nat_add(x_36, x_33); +lean_dec(x_36); +lean_ctor_set(x_16, 1, x_45); +if (x_44 == 0) +{ +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_46 = lean_array_get_size(x_23); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_array_push(x_22, x_47); +x_49 = lean_array_push(x_23, x_32); +lean_ctor_set(x_11, 1, x_49); +lean_ctor_set(x_11, 0, x_48); +x_50 = lean_ctor_get(x_2, 2); +x_51 = lean_nat_add(x_4, x_50); +lean_dec(x_4); +x_4 = x_51; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +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; +x_53 = lean_box(0); +x_54 = lean_array_push(x_22, x_53); +x_55 = l_Lean_Expr_fvarId_x21(x_32); +lean_dec(x_32); +x_56 = lean_array_push(x_19, x_55); +lean_ctor_set(x_11, 0, x_54); +lean_ctor_set(x_10, 0, x_56); +x_57 = lean_ctor_get(x_2, 2); +x_58 = lean_nat_add(x_4, x_57); +lean_dec(x_4); +x_4 = x_58; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +else +{ +lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_16); +x_60 = lean_array_fget(x_35, x_36); +x_61 = lean_unbox(x_60); +lean_dec(x_60); +x_62 = lean_nat_add(x_36, x_33); +lean_dec(x_36); +x_63 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_63, 0, x_35); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_37); +if (x_61 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_64 = lean_array_get_size(x_23); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_array_push(x_22, x_65); +x_67 = lean_array_push(x_23, x_32); +lean_ctor_set(x_11, 1, x_67); +lean_ctor_set(x_11, 0, x_66); +lean_ctor_set(x_3, 0, x_63); +x_68 = lean_ctor_get(x_2, 2); +x_69 = lean_nat_add(x_4, x_68); +lean_dec(x_4); +x_4 = x_69; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_71 = lean_box(0); +x_72 = lean_array_push(x_22, x_71); +x_73 = l_Lean_Expr_fvarId_x21(x_32); +lean_dec(x_32); +x_74 = lean_array_push(x_19, x_73); +lean_ctor_set(x_11, 0, x_72); +lean_ctor_set(x_10, 0, x_74); +lean_ctor_set(x_3, 0, x_63); +x_75 = lean_ctor_get(x_2, 2); +x_76 = lean_nat_add(x_4, x_75); +lean_dec(x_4); +x_4 = x_76; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +lean_dec(x_13); +x_78 = lean_array_fget(x_24, x_25); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_add(x_25, x_79); +lean_dec(x_25); +x_81 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_81, 0, x_24); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_26); +x_82 = lean_ctor_get(x_16, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_16, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_16, 2); +lean_inc(x_84); +x_85 = lean_nat_dec_lt(x_83, x_84); +if (x_85 == 0) +{ +lean_dec(x_84); +lean_dec(x_83); +lean_dec(x_82); +lean_dec(x_78); +lean_dec(x_4); +lean_ctor_set(x_9, 0, x_81); +return x_3; +} +else +{ +lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_86 = x_16; +} else { + lean_dec_ref(x_16); + x_86 = lean_box(0); +} +x_87 = lean_array_fget(x_82, x_83); +x_88 = lean_unbox(x_87); +lean_dec(x_87); +x_89 = lean_nat_add(x_83, x_79); +lean_dec(x_83); +if (lean_is_scalar(x_86)) { + x_90 = lean_alloc_ctor(0, 3, 0); +} else { + x_90 = x_86; +} +lean_ctor_set(x_90, 0, x_82); +lean_ctor_set(x_90, 1, x_89); +lean_ctor_set(x_90, 2, x_84); +if (x_88 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_91 = lean_array_get_size(x_23); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_91); +x_93 = lean_array_push(x_22, x_92); +x_94 = lean_array_push(x_23, x_78); +lean_ctor_set(x_11, 1, x_94); +lean_ctor_set(x_11, 0, x_93); +lean_ctor_set(x_9, 0, x_81); +lean_ctor_set(x_3, 0, x_90); +x_95 = lean_ctor_get(x_2, 2); +x_96 = lean_nat_add(x_4, x_95); +lean_dec(x_4); +x_4 = x_96; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_98 = lean_box(0); +x_99 = lean_array_push(x_22, x_98); +x_100 = l_Lean_Expr_fvarId_x21(x_78); +lean_dec(x_78); +x_101 = lean_array_push(x_19, x_100); +lean_ctor_set(x_11, 0, x_99); +lean_ctor_set(x_10, 0, x_101); +lean_ctor_set(x_9, 0, x_81); +lean_ctor_set(x_3, 0, x_90); +x_102 = lean_ctor_get(x_2, 2); +x_103 = lean_nat_add(x_4, x_102); +lean_dec(x_4); +x_4 = x_103; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +x_105 = lean_ctor_get(x_11, 0); +x_106 = lean_ctor_get(x_11, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_11); +x_107 = lean_ctor_get(x_13, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_13, 1); +lean_inc(x_108); +x_109 = lean_ctor_get(x_13, 2); +lean_inc(x_109); +x_110 = lean_nat_dec_lt(x_108, x_109); +if (x_110 == 0) +{ +lean_object* x_111; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_4); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_105); +lean_ctor_set(x_111, 1, x_106); +lean_ctor_set(x_10, 1, x_111); +return x_3; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + x_112 = x_13; +} else { + lean_dec_ref(x_13); + x_112 = lean_box(0); +} +x_113 = lean_array_fget(x_107, x_108); +x_114 = lean_unsigned_to_nat(1u); +x_115 = lean_nat_add(x_108, x_114); +lean_dec(x_108); +if (lean_is_scalar(x_112)) { + x_116 = lean_alloc_ctor(0, 3, 0); +} else { + x_116 = x_112; +} +lean_ctor_set(x_116, 0, x_107); +lean_ctor_set(x_116, 1, x_115); +lean_ctor_set(x_116, 2, x_109); +x_117 = lean_ctor_get(x_16, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_16, 1); +lean_inc(x_118); +x_119 = lean_ctor_get(x_16, 2); +lean_inc(x_119); +x_120 = lean_nat_dec_lt(x_118, x_119); +if (x_120 == 0) +{ +lean_object* x_121; +lean_dec(x_119); +lean_dec(x_118); +lean_dec(x_117); +lean_dec(x_113); +lean_dec(x_4); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_105); +lean_ctor_set(x_121, 1, x_106); +lean_ctor_set(x_10, 1, x_121); +lean_ctor_set(x_9, 0, x_116); +return x_3; +} +else +{ +lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_122 = x_16; +} else { + lean_dec_ref(x_16); + x_122 = lean_box(0); +} +x_123 = lean_array_fget(x_117, x_118); +x_124 = lean_unbox(x_123); +lean_dec(x_123); +x_125 = lean_nat_add(x_118, x_114); +lean_dec(x_118); +if (lean_is_scalar(x_122)) { + x_126 = lean_alloc_ctor(0, 3, 0); +} else { + x_126 = x_122; +} +lean_ctor_set(x_126, 0, x_117); +lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_126, 2, x_119); +if (x_124 == 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; +x_127 = lean_array_get_size(x_106); +x_128 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_128, 0, x_127); +x_129 = lean_array_push(x_105, x_128); +x_130 = lean_array_push(x_106, x_113); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +lean_ctor_set(x_10, 1, x_131); +lean_ctor_set(x_9, 0, x_116); +lean_ctor_set(x_3, 0, x_126); +x_132 = lean_ctor_get(x_2, 2); +x_133 = lean_nat_add(x_4, x_132); +lean_dec(x_4); +x_4 = x_133; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_135 = lean_box(0); +x_136 = lean_array_push(x_105, x_135); +x_137 = l_Lean_Expr_fvarId_x21(x_113); +lean_dec(x_113); +x_138 = lean_array_push(x_19, x_137); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_106); +lean_ctor_set(x_10, 1, x_139); +lean_ctor_set(x_10, 0, x_138); +lean_ctor_set(x_9, 0, x_116); +lean_ctor_set(x_3, 0, x_126); +x_140 = lean_ctor_get(x_2, 2); +x_141 = lean_nat_add(x_4, x_140); +lean_dec(x_4); +x_4 = x_141; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_143 = lean_ctor_get(x_10, 0); +lean_inc(x_143); +lean_dec(x_10); +x_144 = lean_ctor_get(x_11, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_11, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_146 = x_11; +} else { + lean_dec_ref(x_11); + x_146 = lean_box(0); +} +x_147 = lean_ctor_get(x_13, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_13, 1); +lean_inc(x_148); +x_149 = lean_ctor_get(x_13, 2); +lean_inc(x_149); +x_150 = lean_nat_dec_lt(x_148, x_149); +if (x_150 == 0) +{ +lean_object* x_151; lean_object* x_152; +lean_dec(x_149); +lean_dec(x_148); +lean_dec(x_147); +lean_dec(x_4); +if (lean_is_scalar(x_146)) { + x_151 = lean_alloc_ctor(0, 2, 0); +} else { + x_151 = x_146; +} +lean_ctor_set(x_151, 0, x_144); +lean_ctor_set(x_151, 1, x_145); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_143); +lean_ctor_set(x_152, 1, x_151); +lean_ctor_set(x_9, 1, x_152); +return x_3; +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + x_153 = x_13; +} else { + lean_dec_ref(x_13); + x_153 = lean_box(0); +} +x_154 = lean_array_fget(x_147, x_148); +x_155 = lean_unsigned_to_nat(1u); +x_156 = lean_nat_add(x_148, x_155); +lean_dec(x_148); +if (lean_is_scalar(x_153)) { + x_157 = lean_alloc_ctor(0, 3, 0); +} else { + x_157 = x_153; +} +lean_ctor_set(x_157, 0, x_147); +lean_ctor_set(x_157, 1, x_156); +lean_ctor_set(x_157, 2, x_149); +x_158 = lean_ctor_get(x_16, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_16, 1); +lean_inc(x_159); +x_160 = lean_ctor_get(x_16, 2); +lean_inc(x_160); +x_161 = lean_nat_dec_lt(x_159, x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +lean_dec(x_160); +lean_dec(x_159); +lean_dec(x_158); +lean_dec(x_154); +lean_dec(x_4); +if (lean_is_scalar(x_146)) { + x_162 = lean_alloc_ctor(0, 2, 0); +} else { + x_162 = x_146; +} +lean_ctor_set(x_162, 0, x_144); +lean_ctor_set(x_162, 1, x_145); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_143); +lean_ctor_set(x_163, 1, x_162); +lean_ctor_set(x_9, 1, x_163); +lean_ctor_set(x_9, 0, x_157); +return x_3; +} +else +{ +lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_164 = x_16; +} else { + lean_dec_ref(x_16); + x_164 = lean_box(0); +} +x_165 = lean_array_fget(x_158, x_159); +x_166 = lean_unbox(x_165); +lean_dec(x_165); +x_167 = lean_nat_add(x_159, x_155); +lean_dec(x_159); +if (lean_is_scalar(x_164)) { + x_168 = lean_alloc_ctor(0, 3, 0); +} else { + x_168 = x_164; +} +lean_ctor_set(x_168, 0, x_158); +lean_ctor_set(x_168, 1, x_167); +lean_ctor_set(x_168, 2, x_160); +if (x_166 == 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; lean_object* x_175; lean_object* x_176; +x_169 = lean_array_get_size(x_145); +x_170 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_170, 0, x_169); +x_171 = lean_array_push(x_144, x_170); +x_172 = lean_array_push(x_145, x_154); +if (lean_is_scalar(x_146)) { + x_173 = lean_alloc_ctor(0, 2, 0); +} else { + x_173 = x_146; +} +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_143); +lean_ctor_set(x_174, 1, x_173); +lean_ctor_set(x_9, 1, x_174); +lean_ctor_set(x_9, 0, x_157); +lean_ctor_set(x_3, 0, x_168); +x_175 = lean_ctor_get(x_2, 2); +x_176 = lean_nat_add(x_4, x_175); +lean_dec(x_4); +x_4 = x_176; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_178 = lean_box(0); +x_179 = lean_array_push(x_144, x_178); +x_180 = l_Lean_Expr_fvarId_x21(x_154); +lean_dec(x_154); +x_181 = lean_array_push(x_143, x_180); +if (lean_is_scalar(x_146)) { + x_182 = lean_alloc_ctor(0, 2, 0); +} else { + x_182 = x_146; +} +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_145); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +lean_ctor_set(x_9, 1, x_183); +lean_ctor_set(x_9, 0, x_157); +lean_ctor_set(x_3, 0, x_168); +x_184 = lean_ctor_get(x_2, 2); +x_185 = lean_nat_add(x_4, x_184); +lean_dec(x_4); +x_4 = x_185; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +else +{ +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; uint8_t x_196; +x_187 = lean_ctor_get(x_3, 0); +lean_inc(x_187); +lean_dec(x_3); +x_188 = lean_ctor_get(x_10, 0); +lean_inc(x_188); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_189 = x_10; +} else { + lean_dec_ref(x_10); + x_189 = lean_box(0); +} +x_190 = lean_ctor_get(x_11, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_11, 1); +lean_inc(x_191); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_192 = x_11; +} else { + lean_dec_ref(x_11); + x_192 = lean_box(0); +} +x_193 = lean_ctor_get(x_13, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_13, 1); +lean_inc(x_194); +x_195 = lean_ctor_get(x_13, 2); +lean_inc(x_195); +x_196 = lean_nat_dec_lt(x_194, x_195); +if (x_196 == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); +lean_dec(x_4); +if (lean_is_scalar(x_192)) { + x_197 = lean_alloc_ctor(0, 2, 0); +} else { + x_197 = x_192; +} +lean_ctor_set(x_197, 0, x_190); +lean_ctor_set(x_197, 1, x_191); +if (lean_is_scalar(x_189)) { + x_198 = lean_alloc_ctor(0, 2, 0); +} else { + x_198 = x_189; +} +lean_ctor_set(x_198, 0, x_188); +lean_ctor_set(x_198, 1, x_197); +lean_ctor_set(x_9, 1, x_198); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_187); +lean_ctor_set(x_199, 1, x_9); +return x_199; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + x_200 = x_13; +} else { + lean_dec_ref(x_13); + x_200 = lean_box(0); +} +x_201 = lean_array_fget(x_193, x_194); +x_202 = lean_unsigned_to_nat(1u); +x_203 = lean_nat_add(x_194, x_202); +lean_dec(x_194); +if (lean_is_scalar(x_200)) { + x_204 = lean_alloc_ctor(0, 3, 0); +} else { + x_204 = x_200; +} +lean_ctor_set(x_204, 0, x_193); +lean_ctor_set(x_204, 1, x_203); +lean_ctor_set(x_204, 2, x_195); +x_205 = lean_ctor_get(x_187, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_187, 1); +lean_inc(x_206); +x_207 = lean_ctor_get(x_187, 2); +lean_inc(x_207); +x_208 = lean_nat_dec_lt(x_206, x_207); +if (x_208 == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; +lean_dec(x_207); +lean_dec(x_206); +lean_dec(x_205); +lean_dec(x_201); +lean_dec(x_4); +if (lean_is_scalar(x_192)) { + x_209 = lean_alloc_ctor(0, 2, 0); +} else { + x_209 = x_192; +} +lean_ctor_set(x_209, 0, x_190); +lean_ctor_set(x_209, 1, x_191); +if (lean_is_scalar(x_189)) { + x_210 = lean_alloc_ctor(0, 2, 0); +} else { + x_210 = x_189; +} +lean_ctor_set(x_210, 0, x_188); +lean_ctor_set(x_210, 1, x_209); +lean_ctor_set(x_9, 1, x_210); +lean_ctor_set(x_9, 0, x_204); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_187); +lean_ctor_set(x_211, 1, x_9); +return x_211; +} +else +{ +lean_object* x_212; lean_object* x_213; uint8_t x_214; lean_object* x_215; lean_object* x_216; +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + lean_ctor_release(x_187, 2); + x_212 = x_187; +} else { + lean_dec_ref(x_187); + x_212 = lean_box(0); +} +x_213 = lean_array_fget(x_205, x_206); +x_214 = lean_unbox(x_213); +lean_dec(x_213); +x_215 = lean_nat_add(x_206, x_202); +lean_dec(x_206); +if (lean_is_scalar(x_212)) { + x_216 = lean_alloc_ctor(0, 3, 0); +} else { + x_216 = x_212; +} +lean_ctor_set(x_216, 0, x_205); +lean_ctor_set(x_216, 1, x_215); +lean_ctor_set(x_216, 2, x_207); +if (x_214 == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; +x_217 = lean_array_get_size(x_191); +x_218 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_218, 0, x_217); +x_219 = lean_array_push(x_190, x_218); +x_220 = lean_array_push(x_191, x_201); +if (lean_is_scalar(x_192)) { + x_221 = lean_alloc_ctor(0, 2, 0); +} else { + x_221 = x_192; +} +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_220); +if (lean_is_scalar(x_189)) { + x_222 = lean_alloc_ctor(0, 2, 0); +} else { + x_222 = x_189; +} +lean_ctor_set(x_222, 0, x_188); +lean_ctor_set(x_222, 1, x_221); +lean_ctor_set(x_9, 1, x_222); +lean_ctor_set(x_9, 0, x_204); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_216); +lean_ctor_set(x_223, 1, x_9); +x_224 = lean_ctor_get(x_2, 2); +x_225 = lean_nat_add(x_4, x_224); +lean_dec(x_4); +x_3 = x_223; +x_4 = x_225; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_227 = lean_box(0); +x_228 = lean_array_push(x_190, x_227); +x_229 = l_Lean_Expr_fvarId_x21(x_201); +lean_dec(x_201); +x_230 = lean_array_push(x_188, x_229); +if (lean_is_scalar(x_192)) { + x_231 = lean_alloc_ctor(0, 2, 0); +} else { + x_231 = x_192; +} +lean_ctor_set(x_231, 0, x_228); +lean_ctor_set(x_231, 1, x_191); +if (lean_is_scalar(x_189)) { + x_232 = lean_alloc_ctor(0, 2, 0); +} else { + x_232 = x_189; +} +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +lean_ctor_set(x_9, 1, x_232); +lean_ctor_set(x_9, 0, x_204); +x_233 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_233, 0, x_216); +lean_ctor_set(x_233, 1, x_9); +x_234 = lean_ctor_get(x_2, 2); +x_235 = lean_nat_add(x_4, x_234); +lean_dec(x_4); +x_3 = x_233; +x_4 = x_235; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; +x_237 = lean_ctor_get(x_9, 0); +lean_inc(x_237); +lean_dec(x_9); +x_238 = lean_ctor_get(x_3, 0); +lean_inc(x_238); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_239 = x_3; +} else { + lean_dec_ref(x_3); + x_239 = lean_box(0); +} +x_240 = lean_ctor_get(x_10, 0); +lean_inc(x_240); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_241 = x_10; +} else { + lean_dec_ref(x_10); + x_241 = lean_box(0); +} +x_242 = lean_ctor_get(x_11, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_11, 1); +lean_inc(x_243); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_244 = x_11; +} else { + lean_dec_ref(x_11); + x_244 = lean_box(0); +} +x_245 = lean_ctor_get(x_237, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_237, 1); +lean_inc(x_246); +x_247 = lean_ctor_get(x_237, 2); +lean_inc(x_247); +x_248 = lean_nat_dec_lt(x_246, x_247); +if (x_248 == 0) +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +lean_dec(x_247); +lean_dec(x_246); +lean_dec(x_245); +lean_dec(x_4); +if (lean_is_scalar(x_244)) { + x_249 = lean_alloc_ctor(0, 2, 0); +} else { + x_249 = x_244; +} +lean_ctor_set(x_249, 0, x_242); +lean_ctor_set(x_249, 1, x_243); +if (lean_is_scalar(x_241)) { + x_250 = lean_alloc_ctor(0, 2, 0); +} else { + x_250 = x_241; +} +lean_ctor_set(x_250, 0, x_240); +lean_ctor_set(x_250, 1, x_249); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_237); +lean_ctor_set(x_251, 1, x_250); +if (lean_is_scalar(x_239)) { + x_252 = lean_alloc_ctor(0, 2, 0); +} else { + x_252 = x_239; +} +lean_ctor_set(x_252, 0, x_238); +lean_ctor_set(x_252, 1, x_251); +return x_252; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; +if (lean_is_exclusive(x_237)) { + lean_ctor_release(x_237, 0); + lean_ctor_release(x_237, 1); + lean_ctor_release(x_237, 2); + x_253 = x_237; +} else { + lean_dec_ref(x_237); + x_253 = lean_box(0); +} +x_254 = lean_array_fget(x_245, x_246); +x_255 = lean_unsigned_to_nat(1u); +x_256 = lean_nat_add(x_246, x_255); +lean_dec(x_246); +if (lean_is_scalar(x_253)) { + x_257 = lean_alloc_ctor(0, 3, 0); +} else { + x_257 = x_253; +} +lean_ctor_set(x_257, 0, x_245); +lean_ctor_set(x_257, 1, x_256); +lean_ctor_set(x_257, 2, x_247); +x_258 = lean_ctor_get(x_238, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_238, 1); +lean_inc(x_259); +x_260 = lean_ctor_get(x_238, 2); +lean_inc(x_260); +x_261 = lean_nat_dec_lt(x_259, x_260); +if (x_261 == 0) +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; +lean_dec(x_260); +lean_dec(x_259); +lean_dec(x_258); +lean_dec(x_254); +lean_dec(x_4); +if (lean_is_scalar(x_244)) { + x_262 = lean_alloc_ctor(0, 2, 0); +} else { + x_262 = x_244; +} +lean_ctor_set(x_262, 0, x_242); +lean_ctor_set(x_262, 1, x_243); +if (lean_is_scalar(x_241)) { + x_263 = lean_alloc_ctor(0, 2, 0); +} else { + x_263 = x_241; +} +lean_ctor_set(x_263, 0, x_240); +lean_ctor_set(x_263, 1, x_262); +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_257); +lean_ctor_set(x_264, 1, x_263); +if (lean_is_scalar(x_239)) { + x_265 = lean_alloc_ctor(0, 2, 0); +} else { + x_265 = x_239; +} +lean_ctor_set(x_265, 0, x_238); +lean_ctor_set(x_265, 1, x_264); +return x_265; +} +else +{ +lean_object* x_266; lean_object* x_267; uint8_t x_268; lean_object* x_269; lean_object* x_270; +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + lean_ctor_release(x_238, 2); + x_266 = x_238; +} else { + lean_dec_ref(x_238); + x_266 = lean_box(0); +} +x_267 = lean_array_fget(x_258, x_259); +x_268 = lean_unbox(x_267); +lean_dec(x_267); +x_269 = lean_nat_add(x_259, x_255); +lean_dec(x_259); +if (lean_is_scalar(x_266)) { + x_270 = lean_alloc_ctor(0, 3, 0); +} else { + x_270 = x_266; +} +lean_ctor_set(x_270, 0, x_258); +lean_ctor_set(x_270, 1, x_269); +lean_ctor_set(x_270, 2, x_260); +if (x_268 == 0) +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_271 = lean_array_get_size(x_243); +x_272 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_272, 0, x_271); +x_273 = lean_array_push(x_242, x_272); +x_274 = lean_array_push(x_243, x_254); +if (lean_is_scalar(x_244)) { + x_275 = lean_alloc_ctor(0, 2, 0); +} else { + x_275 = x_244; +} +lean_ctor_set(x_275, 0, x_273); +lean_ctor_set(x_275, 1, x_274); +if (lean_is_scalar(x_241)) { + x_276 = lean_alloc_ctor(0, 2, 0); +} else { + x_276 = x_241; +} +lean_ctor_set(x_276, 0, x_240); +lean_ctor_set(x_276, 1, x_275); +x_277 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_277, 0, x_257); +lean_ctor_set(x_277, 1, x_276); +if (lean_is_scalar(x_239)) { + x_278 = lean_alloc_ctor(0, 2, 0); +} else { + x_278 = x_239; +} +lean_ctor_set(x_278, 0, x_270); +lean_ctor_set(x_278, 1, x_277); +x_279 = lean_ctor_get(x_2, 2); +x_280 = lean_nat_add(x_4, x_279); +lean_dec(x_4); +x_3 = x_278; +x_4 = x_280; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; +x_282 = lean_box(0); +x_283 = lean_array_push(x_242, x_282); +x_284 = l_Lean_Expr_fvarId_x21(x_254); +lean_dec(x_254); +x_285 = lean_array_push(x_240, x_284); +if (lean_is_scalar(x_244)) { + x_286 = lean_alloc_ctor(0, 2, 0); +} else { + x_286 = x_244; +} +lean_ctor_set(x_286, 0, x_283); +lean_ctor_set(x_286, 1, x_243); +if (lean_is_scalar(x_241)) { + x_287 = lean_alloc_ctor(0, 2, 0); +} else { + x_287 = x_241; +} +lean_ctor_set(x_287, 0, x_285); +lean_ctor_set(x_287, 1, x_286); +x_288 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_288, 0, x_257); +lean_ctor_set(x_288, 1, x_287); +if (lean_is_scalar(x_239)) { + x_289 = lean_alloc_ctor(0, 2, 0); +} else { + x_289 = x_239; +} +lean_ctor_set(x_289, 0, x_270); +lean_ctor_set(x_289, 1, x_288); +x_290 = lean_ctor_get(x_2, 2); +x_291 = lean_nat_add(x_4, x_290); +lean_dec(x_4); +x_3 = x_289; +x_4 = x_291; +x_5 = lean_box(0); +x_6 = lean_box(0); +goto _start; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__10(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; size_t x_9; size_t x_10; +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 = 1; +x_10 = lean_usize_add(x_3, x_9); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = lean_array_uset(x_8, x_3, x_11); +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_6, 0); +lean_inc(x_14); +lean_dec(x_6); +x_15 = lean_box(0); +x_16 = lean_array_get(x_15, x_1, x_14); +lean_dec(x_14); +x_17 = lean_array_uset(x_8, x_3, x_16); +x_3 = x_10; +x_4 = x_17; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(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; size_t x_9; size_t x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; +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 = lean_array_size(x_6); +x_10 = 0; +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__10(x_1, x_9, x_10, x_6); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +x_14 = lean_array_uset(x_8, x_3, x_11); +x_3 = x_13; +x_4 = x_14; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fixedParamPerms.numFixed = xs.size\n ", 38, 38); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerms_erase___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__3() { +_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(453u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Elab_FixedParamPerms_erase___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("toErase.size = fixedParamPerms.perms.size\n -- Calculate a mask on the fixed parameters of variables to erase\n ", 112, 112); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerms_erase___closed__4; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__6() { +_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(454u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Elab_FixedParamPerms_erase___closed__5; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1; +x_2 = l_Lean_Elab_FixedParamPerms_erase___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_Elab_FixedParamPerms_erase___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("xs.all (·.isFVar)\n ", 21, 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1; +x_2 = l_Lean_Elab_FixedParamPerms_erase___closed__9; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_FixedParamPerms_erase___closed__11() { +_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_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(452u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Elab_FixedParamPerms_erase___closed__10; +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_FixedParamPerms_erase(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_190; uint8_t x_191; +x_4 = lean_array_get_size(x_2); +x_190 = lean_unsigned_to_nat(0u); +x_191 = lean_nat_dec_lt(x_190, x_4); +if (x_191 == 0) +{ +lean_object* x_192; +x_192 = lean_box(0); +x_5 = x_192; +goto block_189; +} +else +{ +size_t x_193; size_t x_194; uint8_t x_195; +x_193 = 0; +x_194 = lean_usize_of_nat(x_4); +x_195 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(x_2, x_193, x_194); +if (x_195 == 0) +{ +lean_object* x_196; +x_196 = lean_box(0); +x_5 = x_196; +goto block_189; +} +else +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_197 = l_Lean_Elab_FixedParamPerms_erase___closed__11; +x_198 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1(x_197); +return x_198; +} +} +block_189: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_dec(x_5); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_nat_dec_eq(x_6, x_4); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_10 = l_Lean_Elab_FixedParamPerms_erase___closed__3; +x_11 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1(x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_array_get_size(x_3); +x_13 = lean_array_get_size(x_7); +x_14 = lean_nat_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = l_Lean_Elab_FixedParamPerms_erase___closed__6; +x_16 = l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1(x_15); +return x_16; +} +else +{ +uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_17 = 0; +x_18 = lean_box(x_17); +x_19 = lean_mk_array(x_6, x_18); +x_20 = lean_unsigned_to_nat(0u); +lean_inc(x_12); +x_21 = l_Array_toSubarray___rarg(x_3, x_20, x_12); +lean_inc(x_13); +lean_inc(x_7); +x_22 = l_Array_toSubarray___rarg(x_7, x_20, x_13); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_12); +lean_ctor_set(x_24, 2, 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_19); +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_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__4(x_24, x_24, x_26, x_20, lean_box(0), lean_box(0)); +lean_dec(x_24); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_27, 1); +x_30 = lean_ctor_get(x_27, 0); +lean_dec(x_30); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_32 = lean_ctor_get(x_29, 0); +lean_dec(x_32); +x_33 = 1; +x_34 = lean_box(x_33); +lean_ctor_set(x_29, 0, x_34); +x_35 = l_Lean_Loop_forIn_loop___at_Lean_Elab_FixedParamPerms_erase___spec__8(x_1, x_7, x_13, x_29); +x_36 = !lean_is_exclusive(x_1); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_1, 2); +lean_dec(x_37); +x_38 = lean_ctor_get(x_1, 1); +lean_dec(x_38); +x_39 = lean_ctor_get(x_1, 0); +lean_dec(x_39); +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_41 = lean_ctor_get(x_35, 1); +x_42 = lean_ctor_get(x_35, 0); +lean_dec(x_42); +x_43 = lean_array_get_size(x_41); +lean_inc(x_43); +x_44 = l_Array_toSubarray___rarg(x_41, x_20, x_43); +x_45 = l_Array_toSubarray___rarg(x_2, x_20, x_4); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_20); +lean_ctor_set(x_46, 1, x_43); +lean_ctor_set(x_46, 2, x_23); +x_47 = l_Lean_Elab_FixedParamPerms_erase___closed__8; +lean_ctor_set(x_35, 1, x_47); +lean_ctor_set(x_35, 0, x_45); +lean_ctor_set(x_27, 1, x_35); +lean_ctor_set(x_27, 0, x_44); +x_48 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9(x_46, x_46, x_27, x_20, lean_box(0), lean_box(0)); +lean_dec(x_46); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_50, 1); +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; +x_54 = lean_ctor_get(x_50, 0); +x_55 = lean_ctor_get(x_52, 0); +x_56 = lean_ctor_get(x_52, 1); +x_57 = lean_array_get_size(x_56); +x_58 = lean_array_size(x_7); +x_59 = 0; +x_60 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(x_55, x_58, x_59, x_7); +lean_dec(x_55); +lean_ctor_set(x_1, 1, x_60); +lean_ctor_set(x_1, 0, x_57); +lean_ctor_set(x_52, 1, x_54); +lean_ctor_set(x_52, 0, x_56); +lean_ctor_set(x_50, 0, x_1); +return x_50; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; size_t x_65; size_t x_66; lean_object* x_67; lean_object* x_68; +x_61 = lean_ctor_get(x_50, 0); +x_62 = lean_ctor_get(x_52, 0); +x_63 = lean_ctor_get(x_52, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_52); +x_64 = lean_array_get_size(x_63); +x_65 = lean_array_size(x_7); +x_66 = 0; +x_67 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(x_62, x_65, x_66, x_7); +lean_dec(x_62); +lean_ctor_set(x_1, 1, x_67); +lean_ctor_set(x_1, 0, x_64); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_63); +lean_ctor_set(x_68, 1, x_61); +lean_ctor_set(x_50, 1, x_68); +lean_ctor_set(x_50, 0, x_1); +return x_50; +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; size_t x_75; size_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_69 = lean_ctor_get(x_50, 1); +x_70 = lean_ctor_get(x_50, 0); +lean_inc(x_69); +lean_inc(x_70); +lean_dec(x_50); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_69, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_73 = x_69; +} else { + lean_dec_ref(x_69); + x_73 = lean_box(0); +} +x_74 = lean_array_get_size(x_72); +x_75 = lean_array_size(x_7); +x_76 = 0; +x_77 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(x_71, x_75, x_76, x_7); +lean_dec(x_71); +lean_ctor_set(x_1, 1, x_77); +lean_ctor_set(x_1, 0, x_74); +if (lean_is_scalar(x_73)) { + x_78 = lean_alloc_ctor(0, 2, 0); +} else { + x_78 = x_73; +} +lean_ctor_set(x_78, 0, x_72); +lean_ctor_set(x_78, 1, x_70); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_1); +lean_ctor_set(x_79, 1, x_78); +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; 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; size_t x_97; size_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_80 = lean_ctor_get(x_35, 1); +lean_inc(x_80); +lean_dec(x_35); +x_81 = lean_array_get_size(x_80); +lean_inc(x_81); +x_82 = l_Array_toSubarray___rarg(x_80, x_20, x_81); +x_83 = l_Array_toSubarray___rarg(x_2, x_20, x_4); +x_84 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_84, 0, x_20); +lean_ctor_set(x_84, 1, x_81); +lean_ctor_set(x_84, 2, x_23); +x_85 = l_Lean_Elab_FixedParamPerms_erase___closed__8; +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_27, 1, x_86); +lean_ctor_set(x_27, 0, x_82); +x_87 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9(x_84, x_84, x_27, x_20, lean_box(0), lean_box(0)); +lean_dec(x_84); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 0); +lean_inc(x_91); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_92 = x_89; +} else { + lean_dec_ref(x_89); + x_92 = lean_box(0); +} +x_93 = lean_ctor_get(x_90, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_90, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_95 = x_90; +} else { + lean_dec_ref(x_90); + x_95 = lean_box(0); +} +x_96 = lean_array_get_size(x_94); +x_97 = lean_array_size(x_7); +x_98 = 0; +x_99 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(x_93, x_97, x_98, x_7); +lean_dec(x_93); +lean_ctor_set(x_1, 1, x_99); +lean_ctor_set(x_1, 0, x_96); +if (lean_is_scalar(x_95)) { + x_100 = lean_alloc_ctor(0, 2, 0); +} else { + x_100 = x_95; +} +lean_ctor_set(x_100, 0, x_94); +lean_ctor_set(x_100, 1, x_91); +if (lean_is_scalar(x_92)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_92; +} +lean_ctor_set(x_101, 0, x_1); +lean_ctor_set(x_101, 1, x_100); +return x_101; +} +} +else +{ +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; size_t x_120; size_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_1); +x_102 = lean_ctor_get(x_35, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + x_103 = x_35; +} else { + lean_dec_ref(x_35); + x_103 = lean_box(0); +} +x_104 = lean_array_get_size(x_102); +lean_inc(x_104); +x_105 = l_Array_toSubarray___rarg(x_102, x_20, x_104); +x_106 = l_Array_toSubarray___rarg(x_2, x_20, x_4); +x_107 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_107, 0, x_20); +lean_ctor_set(x_107, 1, x_104); +lean_ctor_set(x_107, 2, x_23); +x_108 = l_Lean_Elab_FixedParamPerms_erase___closed__8; +if (lean_is_scalar(x_103)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_103; +} +lean_ctor_set(x_109, 0, x_106); +lean_ctor_set(x_109, 1, x_108); +lean_ctor_set(x_27, 1, x_109); +lean_ctor_set(x_27, 0, x_105); +x_110 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9(x_107, x_107, x_27, x_20, lean_box(0), lean_box(0)); +lean_dec(x_107); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +lean_dec(x_110); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +lean_dec(x_111); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 0); +lean_inc(x_114); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_115 = x_112; +} else { + lean_dec_ref(x_112); + x_115 = lean_box(0); +} +x_116 = lean_ctor_get(x_113, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_113, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_118 = x_113; +} else { + lean_dec_ref(x_113); + x_118 = lean_box(0); +} +x_119 = lean_array_get_size(x_117); +x_120 = lean_array_size(x_7); +x_121 = 0; +x_122 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(x_116, x_120, x_121, x_7); +lean_dec(x_116); +x_123 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_123, 0, x_119); +lean_ctor_set(x_123, 1, x_122); +lean_ctor_set(x_123, 2, x_8); +if (lean_is_scalar(x_118)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_118; +} +lean_ctor_set(x_124, 0, x_117); +lean_ctor_set(x_124, 1, x_114); +if (lean_is_scalar(x_115)) { + x_125 = lean_alloc_ctor(0, 2, 0); +} else { + x_125 = x_115; +} +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; +} +} +else +{ +lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; 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; size_t x_150; size_t x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_126 = lean_ctor_get(x_29, 1); +lean_inc(x_126); +lean_dec(x_29); +x_127 = 1; +x_128 = lean_box(x_127); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +x_130 = l_Lean_Loop_forIn_loop___at_Lean_Elab_FixedParamPerms_erase___spec__8(x_1, x_7, x_13, x_129); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + lean_ctor_release(x_1, 2); + x_131 = x_1; +} else { + lean_dec_ref(x_1); + x_131 = lean_box(0); +} +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_133 = x_130; +} else { + lean_dec_ref(x_130); + x_133 = lean_box(0); +} +x_134 = lean_array_get_size(x_132); +lean_inc(x_134); +x_135 = l_Array_toSubarray___rarg(x_132, x_20, x_134); +x_136 = l_Array_toSubarray___rarg(x_2, x_20, x_4); +x_137 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_137, 0, x_20); +lean_ctor_set(x_137, 1, x_134); +lean_ctor_set(x_137, 2, x_23); +x_138 = l_Lean_Elab_FixedParamPerms_erase___closed__8; +if (lean_is_scalar(x_133)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_133; +} +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_138); +lean_ctor_set(x_27, 1, x_139); +lean_ctor_set(x_27, 0, x_135); +x_140 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9(x_137, x_137, x_27, x_20, lean_box(0), lean_box(0)); +lean_dec(x_137); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 0); +lean_inc(x_144); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_145 = x_142; +} else { + lean_dec_ref(x_142); + x_145 = lean_box(0); +} +x_146 = lean_ctor_get(x_143, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_143, 1); +lean_inc(x_147); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_148 = x_143; +} else { + lean_dec_ref(x_143); + x_148 = lean_box(0); +} +x_149 = lean_array_get_size(x_147); +x_150 = lean_array_size(x_7); +x_151 = 0; +x_152 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(x_146, x_150, x_151, x_7); +lean_dec(x_146); +if (lean_is_scalar(x_131)) { + x_153 = lean_alloc_ctor(0, 3, 0); +} else { + x_153 = x_131; +} +lean_ctor_set(x_153, 0, x_149); +lean_ctor_set(x_153, 1, x_152); +lean_ctor_set(x_153, 2, x_8); +if (lean_is_scalar(x_148)) { + x_154 = lean_alloc_ctor(0, 2, 0); +} else { + x_154 = x_148; +} +lean_ctor_set(x_154, 0, x_147); +lean_ctor_set(x_154, 1, x_144); +if (lean_is_scalar(x_145)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_145; +} +lean_ctor_set(x_155, 0, x_153); +lean_ctor_set(x_155, 1, x_154); +return x_155; +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; size_t x_183; size_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_156 = lean_ctor_get(x_27, 1); +lean_inc(x_156); +lean_dec(x_27); +x_157 = lean_ctor_get(x_156, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_158 = x_156; +} else { + lean_dec_ref(x_156); + x_158 = lean_box(0); +} +x_159 = 1; +x_160 = lean_box(x_159); +if (lean_is_scalar(x_158)) { + x_161 = lean_alloc_ctor(0, 2, 0); +} else { + x_161 = x_158; +} +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_157); +x_162 = l_Lean_Loop_forIn_loop___at_Lean_Elab_FixedParamPerms_erase___spec__8(x_1, x_7, x_13, x_161); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + lean_ctor_release(x_1, 2); + x_163 = x_1; +} else { + lean_dec_ref(x_1); + x_163 = lean_box(0); +} +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_165 = x_162; +} else { + lean_dec_ref(x_162); + x_165 = lean_box(0); +} +x_166 = lean_array_get_size(x_164); +lean_inc(x_166); +x_167 = l_Array_toSubarray___rarg(x_164, x_20, x_166); +x_168 = l_Array_toSubarray___rarg(x_2, x_20, x_4); +x_169 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_169, 0, x_20); +lean_ctor_set(x_169, 1, x_166); +lean_ctor_set(x_169, 2, x_23); +x_170 = l_Lean_Elab_FixedParamPerms_erase___closed__8; +if (lean_is_scalar(x_165)) { + x_171 = lean_alloc_ctor(0, 2, 0); +} else { + x_171 = x_165; +} +lean_ctor_set(x_171, 0, x_168); +lean_ctor_set(x_171, 1, x_170); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_167); +lean_ctor_set(x_172, 1, x_171); +x_173 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9(x_169, x_169, x_172, x_20, lean_box(0), lean_box(0)); +lean_dec(x_169); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_175 = lean_ctor_get(x_174, 1); +lean_inc(x_175); +lean_dec(x_174); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 0); +lean_inc(x_177); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_178 = x_175; +} else { + lean_dec_ref(x_175); + x_178 = lean_box(0); +} +x_179 = lean_ctor_get(x_176, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_176, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_181 = x_176; +} else { + lean_dec_ref(x_176); + x_181 = lean_box(0); +} +x_182 = lean_array_get_size(x_180); +x_183 = lean_array_size(x_7); +x_184 = 0; +x_185 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(x_179, x_183, x_184, x_7); +lean_dec(x_179); +if (lean_is_scalar(x_163)) { + x_186 = lean_alloc_ctor(0, 3, 0); +} else { + x_186 = x_163; +} +lean_ctor_set(x_186, 0, x_182); +lean_ctor_set(x_186, 1, x_185); +lean_ctor_set(x_186, 2, x_8); +if (lean_is_scalar(x_181)) { + x_187 = lean_alloc_ctor(0, 2, 0); +} else { + x_187 = x_181; +} +lean_ctor_set(x_187, 0, x_180); +lean_ctor_set(x_187, 1, x_177); +if (lean_is_scalar(x_178)) { + x_188 = lean_alloc_ctor(0, 2, 0); +} else { + x_188 = x_178; +} +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +return x_188; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___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) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___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, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__5(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_FixedParamPerms_erase___spec__8___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_Loop_forIn_loop___at_Lean_Elab_FixedParamPerms_erase___spec__8(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_FixedParamPerms_erase___spec__9(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__10___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_FixedParamPerms_erase___spec__10(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_FixedParamPerms_erase___spec__11(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("initFn", 6, 6); +return x_1; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____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_Elab_PreDefinition_FixedParams___hyg_7224____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_@", 2, 2); +return x_1; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__2; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__4; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__6; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PreDefinition", 13, 13); +return x_1; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__7; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__8; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("FixedParams", 11, 11); +return x_1; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__9; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__10; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_hyg", 4, 4); +return x_1; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__11; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__13; +x_2 = lean_unsigned_to_nat(7224u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224_(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_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4; +x_3 = 0; +x_4 = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__14; +x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(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_PreDefinition_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1 = _init_l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParams_Info_mayBeFixed___closed__1); +l_Lean_Elab_FixedParams_Info_setVarying___closed__1 = _init_l_Lean_Elab_FixedParams_Info_setVarying___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParams_Info_setVarying___closed__1); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__1 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__1(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__1); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__2 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__2(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__2); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__3 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__3(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__3); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__4 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__4(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__4); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__5); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__6 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__6(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__1___closed__6); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__1 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__1(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__1); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__2 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__2(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__2); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__3 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__3(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__3); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__4); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__5 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__5(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__5); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__6 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__6(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__6); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__7 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__7(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__7); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__8 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__8(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__8); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__9 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__9(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__9); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__2___closed__10); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__1 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__1(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__1); +l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__2 = _init_l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__2(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Elab_FixedParams_Info_format___spec__3___closed__2); +l_Lean_Elab_FixedParams_instToFormatInfo___closed__1 = _init_l_Lean_Elab_FixedParams_instToFormatInfo___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParams_instToFormatInfo___closed__1); +l_Lean_Elab_FixedParams_instToFormatInfo = _init_l_Lean_Elab_FixedParams_instToFormatInfo(); +lean_mark_persistent(l_Lean_Elab_FixedParams_instToFormatInfo); +l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__1 = _init_l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__1(); +lean_mark_persistent(l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__1); +l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__2 = _init_l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__2(); +lean_mark_persistent(l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__2); +l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__3 = _init_l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__3(); +lean_mark_persistent(l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getParamRevDeps___spec__19___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_getParamRevDeps___spec__20___closed__1); +l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1 = _init_l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2___closed__1); +l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_getFixedParamsInfo___spec__4___closed__1(); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__1(); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__5___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___lambda__1___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__4); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__5 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__5(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__5); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__6); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__7); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__8 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__8(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__8); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__9); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__10 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__10(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__10); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__11 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__11(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__11); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__12); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__13 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__13(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__13); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__14); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__15 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__15(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__15); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__16); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__17 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__17(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__17); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__6___closed__18); +l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Elab_getFixedParamsInfo___spec__7___lambda__2___closed__1); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__1); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__2); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__3 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__3(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__3); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__4 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__4(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__4); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__5 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__5(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__5); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__6 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__6(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_getFixedParamsInfo___spec__23___rarg___closed__6); +l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___closed__1 = _init_l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___lambda__1___closed__1); +l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___boxed__const__1 = _init_l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___boxed__const__1(); +lean_mark_persistent(l_Lean_Meta_transform_visit___at_Lean_Elab_getFixedParamsInfo___spec__9___boxed__const__1); +l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___closed__1 = _init_l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___closed__1(); +lean_mark_persistent(l_Lean_Meta_transform___at_Lean_Elab_getFixedParamsInfo___spec__8___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__4); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__5 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__5(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__5); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__6 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__6(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__6); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__7 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__7(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___lambda__3___closed__7); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamsInfo___spec__25___closed__3); +l_Lean_Elab_getFixedParamsInfo___closed__1 = _init_l_Lean_Elab_getFixedParamsInfo___closed__1(); +lean_mark_persistent(l_Lean_Elab_getFixedParamsInfo___closed__1); +l_Lean_Elab_getFixedParamsInfo___closed__2 = _init_l_Lean_Elab_getFixedParamsInfo___closed__2(); +lean_mark_persistent(l_Lean_Elab_getFixedParamsInfo___closed__2); +l_Lean_Elab_instInhabitedFixedParamPerms___closed__1 = _init_l_Lean_Elab_instInhabitedFixedParamPerms___closed__1(); +lean_mark_persistent(l_Lean_Elab_instInhabitedFixedParamPerms___closed__1); +l_Lean_Elab_instInhabitedFixedParamPerms = _init_l_Lean_Elab_instInhabitedFixedParamPerms(); +lean_mark_persistent(l_Lean_Elab_instInhabitedFixedParamPerms); +l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__1 = _init_l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__1(); +lean_mark_persistent(l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__1); +l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__2 = _init_l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__2(); +lean_mark_persistent(l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__2); +l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__3 = _init_l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__3(); +lean_mark_persistent(l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__3); +l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__4 = _init_l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__4(); +lean_mark_persistent(l_Option_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__3___closed__4); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__1 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__1(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__1); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__2 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__2(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__2); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__3); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__4 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__4(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__4); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__5 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__5(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__5); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__6); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__7); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__8 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__8(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__8); +l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9 = _init_l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9(); +lean_mark_persistent(l_repr___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__1___closed__9); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__1 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__1); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__2 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__2); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__3 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__3); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__4 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__4); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__5 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__5); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__6 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__6); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__7 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__7); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__8 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__8); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__9 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__9(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__9); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__10 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__10(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__10); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__11 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__11(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__11); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__12 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__12(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__12); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__13 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__13(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__13); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__14 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__14(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__14); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__15 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__15(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__15); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__16 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__16(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__16); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__17 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__17(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__17); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__18 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__18(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__18); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__19 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__19(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__19); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__20 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__20(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__20); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__21 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__21(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____closed__21); +l_Lean_Elab_instReprFixedParamPerms___closed__1 = _init_l_Lean_Elab_instReprFixedParamPerms___closed__1(); +lean_mark_persistent(l_Lean_Elab_instReprFixedParamPerms___closed__1); +l_Lean_Elab_instReprFixedParamPerms = _init_l_Lean_Elab_instReprFixedParamPerms(); +lean_mark_persistent(l_Lean_Elab_instReprFixedParamPerms); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_getFixedParamPerms___spec__3___closed__4); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__4); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__5(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_getFixedParamPerms___spec__5___closed__5); +l_Lean_Elab_getFixedParamPerms___lambda__1___closed__1 = _init_l_Lean_Elab_getFixedParamPerms___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_getFixedParamPerms___lambda__1___closed__1); +l_Lean_Elab_getFixedParamPerms___lambda__1___closed__2 = _init_l_Lean_Elab_getFixedParamPerms___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_getFixedParamPerms___lambda__1___closed__2); +l_Lean_Elab_getFixedParamPerms___lambda__1___closed__3 = _init_l_Lean_Elab_getFixedParamPerms___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_getFixedParamPerms___lambda__1___closed__3); +l_Lean_Elab_getFixedParamPerms___lambda__1___closed__4 = _init_l_Lean_Elab_getFixedParamPerms___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_getFixedParamPerms___lambda__1___closed__4); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__1 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__1); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__2 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__2); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__3); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__4 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__4); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__5 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__5); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__6 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__6); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__7 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__7); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__8 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__8); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__9 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__9); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__10 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___lambda__1___closed__10); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__1 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__1); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__2 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__2); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__3 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__3); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__4 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl_go___rarg___closed__4); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__1 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__1); +l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__2 = _init_l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg___closed__2); +l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__1 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__1); +l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__2 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__2); +l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__3 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__3); +l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__4 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall_go___lambda__1___closed__4); +l_Lean_Elab_FixedParamPerm_instantiateForall_go___closed__1 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall_go___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall_go___closed__1); +l_Lean_Elab_FixedParamPerm_instantiateForall___closed__1 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall___closed__1); +l_Lean_Elab_FixedParamPerm_instantiateForall___closed__2 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall___closed__2); +l_Lean_Elab_FixedParamPerm_instantiateForall___closed__3 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall___closed__3(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall___closed__3); +l_Lean_Elab_FixedParamPerm_instantiateForall___closed__4 = _init_l_Lean_Elab_FixedParamPerm_instantiateForall___closed__4(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateForall___closed__4); +l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__1 = _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__1); +l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__2 = _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__2); +l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__3 = _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__3); +l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__4 = _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateLambda_go___lambda__1___closed__4); +l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__1 = _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__1); +l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__2 = _init_l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateLambda_go___closed__2); +l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__1 = _init_l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__1); +l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__2 = _init_l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_instantiateLambda___closed__2); +l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg___closed__1 = _init_l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_FixedParamPerm_pickFixed_go___spec__1___rarg___closed__1); +l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__1 = _init_l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__1); +l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__2 = _init_l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__2); +l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__3 = _init_l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__3); +l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__4 = _init_l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_pickFixed_go___rarg___closed__4); +l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__1 = _init_l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__1); +l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__2 = _init_l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__2); +l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__3 = _init_l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__3); +l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__4 = _init_l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_pickFixed___rarg___closed__4); +l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__1 = _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__1); +l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__2 = _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__2); +l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__3 = _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__3); +l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__4 = _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__4); +l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__5 = _init_l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__5(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs_go___rarg___closed__5); +l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__1 = _init_l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__1); +l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__2 = _init_l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__2); +l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__3 = _init_l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__3); +l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__4 = _init_l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerm_buildArgs___rarg___closed__4); +l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3___closed__1 = _init_l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3___closed__1(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at_Lean_Elab_FixedParamPerms_fixedArePrefix___spec__3___closed__1); +l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__1); +l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__2 = _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__2(); +lean_mark_persistent(l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__2); +l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__3 = _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__3(); +lean_mark_persistent(l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__1___closed__3); +l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__1 = _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__1); +l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__2 = _init_l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__2(); +lean_mark_persistent(l_panic___at_Lean_Elab_FixedParamPerms_erase___spec__2___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_FixedParamPerms_erase___spec__3___closed__4); +l_Lean_Elab_FixedParamPerms_erase___closed__1 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__1(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__1); +l_Lean_Elab_FixedParamPerms_erase___closed__2 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__2(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__2); +l_Lean_Elab_FixedParamPerms_erase___closed__3 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__3(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__3); +l_Lean_Elab_FixedParamPerms_erase___closed__4 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__4(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__4); +l_Lean_Elab_FixedParamPerms_erase___closed__5 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__5(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__5); +l_Lean_Elab_FixedParamPerms_erase___closed__6 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__6(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__6); +l_Lean_Elab_FixedParamPerms_erase___closed__7 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__7(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__7); +l_Lean_Elab_FixedParamPerms_erase___closed__8 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__8(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__8); +l_Lean_Elab_FixedParamPerms_erase___closed__9 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__9(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__9); +l_Lean_Elab_FixedParamPerms_erase___closed__10 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__10(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__10); +l_Lean_Elab_FixedParamPerms_erase___closed__11 = _init_l_Lean_Elab_FixedParamPerms_erase___closed__11(); +lean_mark_persistent(l_Lean_Elab_FixedParamPerms_erase___closed__11); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__1 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__1(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__1); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__2 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__2(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__2); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__3 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__3(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__3); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__4 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__4(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__4); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__5 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__5(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__5); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__6 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__6(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__6); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__7 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__7(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__7); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__8 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__8(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__8); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__9 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__9(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__9); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__10 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__10(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__10); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__11 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__11(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__11); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__12 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__12(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__12); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__13 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__13(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__13); +l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__14 = _init_l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__14(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224____closed__14); +if (builtin) {res = l_initFn____x40_Lean_Elab_PreDefinition_FixedParams___hyg_7224_(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/PreDefinition/Mutual.c b/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c index fb6c04d61f..96d6fdfd4c 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c @@ -19,39 +19,25 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___bo extern lean_object* l_Lean_Elab_instInhabitedPreDefinition; static lean_object* l_Lean_setReducibilityStatus___at_Lean_Elab_Mutual_addPreDefAttributes___spec__1___closed__1; extern lean_object* l_Lean_allowUnsafeReducibility; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___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* l_Lean_Meta_generateEagerEqns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_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* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefAttributes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Mutual_addPreDefsFromUnary___spec__2(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_Mutual_withCommonTelescope___spec__1(size_t, size_t, 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_Lean_Elab_Mutual_addPreDefsFromUnary___closed__1; -uint64_t lean_uint64_lor(uint64_t, uint64_t); lean_object* l_Lean_Meta_markAsRecursive(lean_object*, lean_object*, lean_object*, lean_object*); -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*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___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_mk_array(lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_withCommonTelescope___spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___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_Elab_Mutual_addPreDefsFromUnary___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_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*); static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDefs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_Mutual_addPreDefsFromUnary___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static uint64_t l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_withCommonTelescope_go(lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); lean_object* l_Lean_Elab_PreDefinition_filterAttrs(lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2___closed__4; extern lean_object* l_Lean_maxRecDepth; @@ -63,27 +49,19 @@ uint8_t l_Lean_Expr_isLambda(lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_applyAttributesOf(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_getFixedPrefix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_withCommonTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2___closed__2; -uint64_t lean_uint64_shift_right(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_withCommonTelescope_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Meta_setMVarUserNamesAt___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_cleanPreDefs___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___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*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2___closed__3; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__2(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_Mutual_getFixedPrefix___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); -lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1(lean_object*); static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__6; -extern lean_object* l_Lean_levelZero; lean_object* l_Lean_Elab_abstractNestedProofs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_addPreDefAttributes___spec__3___closed__1; @@ -93,55 +71,35 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary(lean_object*, le uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(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_Elab_Mutual_getFixedPrefix___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_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_addPreDefAttributes___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*); extern lean_object* l_Lean_diagnostics; lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__1; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__2; -lean_object* l_instMonadControlTOfPure___rarg(lean_object*); uint8_t l_Lean_Expr_binderInfo(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addAndCompileUnsafe___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_cleanPreDefs___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* l_List_mapTR_loop___at_Lean_Elab_addAndCompileUnsafe___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Mutual_addPreDefsFromUnary___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_array_fget(lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_withCommonTelescope(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_addPreDefAttributes___spec__3(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_Lean_Elab_Mutual_getFixedPrefix(lean_object*, lean_object*, lean_object*, lean_object*, 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_Lean_Elab_Mutual_getFixedPrefix___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__4; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__1; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__3(lean_object*, size_t, size_t); static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2___closed__1; static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__2(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_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_nat_sub(lean_object*, lean_object*); -uint64_t lean_uint64_shift_left(uint64_t, uint64_t); static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__5; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -extern lean_object* l_Lean_Core_instMonadCoreM; lean_object* lean_array_mk(lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_getFixedPrefix___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3(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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___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*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); -static lean_object* l_Lean_Elab_Mutual_getFixedPrefix___lambda__2___closed__1; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at_Lean_Elab_Mutual_addPreDefAttributes___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_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_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -149,18 +107,11 @@ lean_object* lean_array_get_size(lean_object*); lean_object* lean_array_get(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); -uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); -lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__1(lean_object*, size_t, size_t, lean_object*); 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*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__3; -uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_getFixedPrefix___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Mutual_withCommonTelescope___rarg___closed__1; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2(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* l_ReaderT_instMonad___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at_Lean_Elab_Mutual_addPreDefAttributes___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_Option_set___at_Lean_Environment_realizeConst___spec__2(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { @@ -622,1837 +573,6 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_withCommonTelescope___spec__1 return x_6; } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_getFixedPrefix___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_array_uget(x_2, x_3); -x_7 = lean_ctor_get(x_6, 3); -lean_inc(x_7); -lean_dec(x_6); -x_8 = l_Lean_Expr_isAppOf(x_1, x_7); -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_3, x_9); -x_3 = 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; -} -} -} -static uint64_t _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__1() { -_start: -{ -uint8_t x_1; uint64_t x_2; -x_1 = 2; -x_2 = l_Lean_Meta_TransparencyMode_toUInt64(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = lean_usize_dec_lt(x_7, x_6); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_8); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_array_uget(x_5, x_7); -x_17 = !lean_is_exclusive(x_8); -if (x_17 == 0) -{ -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_8, 1); -x_19 = lean_ctor_get(x_8, 0); -lean_dec(x_19); -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_ctor_get(x_18, 2); -lean_inc(x_22); -x_23 = lean_nat_dec_lt(x_21, x_22); -if (x_23 == 0) -{ -lean_object* x_24; -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_ctor_set(x_8, 0, x_4); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_8); -lean_ctor_set(x_24, 1, x_13); -return x_24; -} -else -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_18); -if (x_25 == 0) -{ -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; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_26 = lean_ctor_get(x_18, 2); -lean_dec(x_26); -x_27 = lean_ctor_get(x_18, 1); -lean_dec(x_27); -x_28 = lean_ctor_get(x_18, 0); -lean_dec(x_28); -x_29 = lean_array_fget(x_20, x_21); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_21, x_30); -lean_dec(x_21); -lean_ctor_set(x_18, 1, x_31); -x_32 = lean_ctor_get(x_9, 0); -lean_inc(x_32); -x_33 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 8); -x_34 = lean_ctor_get(x_9, 1); -lean_inc(x_34); -x_35 = lean_ctor_get(x_9, 2); -lean_inc(x_35); -x_36 = lean_ctor_get(x_9, 3); -lean_inc(x_36); -x_37 = lean_ctor_get(x_9, 4); -lean_inc(x_37); -x_38 = lean_ctor_get(x_9, 5); -lean_inc(x_38); -x_39 = lean_ctor_get(x_9, 6); -lean_inc(x_39); -x_40 = !lean_is_exclusive(x_32); -if (x_40 == 0) -{ -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; uint8_t x_52; uint8_t x_53; uint8_t x_54; uint8_t x_55; uint8_t x_56; uint8_t x_57; uint8_t x_58; uint8_t x_59; uint64_t x_60; uint8_t x_61; lean_object* x_62; uint64_t x_63; uint64_t x_64; uint64_t x_65; uint64_t x_66; uint64_t x_67; lean_object* x_68; lean_object* x_69; -x_41 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 9); -x_42 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 10); -x_43 = lean_ctor_get_uint8(x_32, 0); -x_44 = lean_ctor_get_uint8(x_32, 1); -x_45 = lean_ctor_get_uint8(x_32, 2); -x_46 = lean_ctor_get_uint8(x_32, 3); -x_47 = lean_ctor_get_uint8(x_32, 4); -x_48 = lean_ctor_get_uint8(x_32, 5); -x_49 = lean_ctor_get_uint8(x_32, 7); -x_50 = lean_ctor_get_uint8(x_32, 8); -x_51 = lean_ctor_get_uint8(x_32, 10); -x_52 = lean_ctor_get_uint8(x_32, 11); -x_53 = lean_ctor_get_uint8(x_32, 12); -x_54 = lean_ctor_get_uint8(x_32, 13); -x_55 = lean_ctor_get_uint8(x_32, 14); -x_56 = lean_ctor_get_uint8(x_32, 15); -x_57 = lean_ctor_get_uint8(x_32, 16); -x_58 = lean_ctor_get_uint8(x_32, 17); -x_59 = 0; -lean_ctor_set_uint8(x_32, 6, x_59); -x_60 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_32); -lean_dec(x_32); -x_61 = 2; -x_62 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_62, 0, x_43); -lean_ctor_set_uint8(x_62, 1, x_44); -lean_ctor_set_uint8(x_62, 2, x_45); -lean_ctor_set_uint8(x_62, 3, x_46); -lean_ctor_set_uint8(x_62, 4, x_47); -lean_ctor_set_uint8(x_62, 5, x_48); -lean_ctor_set_uint8(x_62, 6, x_59); -lean_ctor_set_uint8(x_62, 7, x_49); -lean_ctor_set_uint8(x_62, 8, x_50); -lean_ctor_set_uint8(x_62, 9, x_61); -lean_ctor_set_uint8(x_62, 10, x_51); -lean_ctor_set_uint8(x_62, 11, x_52); -lean_ctor_set_uint8(x_62, 12, x_53); -lean_ctor_set_uint8(x_62, 13, x_54); -lean_ctor_set_uint8(x_62, 14, x_55); -lean_ctor_set_uint8(x_62, 15, x_56); -lean_ctor_set_uint8(x_62, 16, x_57); -lean_ctor_set_uint8(x_62, 17, x_58); -x_63 = 2; -x_64 = lean_uint64_shift_right(x_60, x_63); -x_65 = lean_uint64_shift_left(x_64, x_63); -x_66 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__1; -x_67 = lean_uint64_lor(x_65, x_66); -x_68 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_68, 0, x_62); -lean_ctor_set(x_68, 1, x_34); -lean_ctor_set(x_68, 2, x_35); -lean_ctor_set(x_68, 3, x_36); -lean_ctor_set(x_68, 4, x_37); -lean_ctor_set(x_68, 5, x_38); -lean_ctor_set(x_68, 6, x_39); -lean_ctor_set_uint64(x_68, sizeof(void*)*7, x_67); -lean_ctor_set_uint8(x_68, sizeof(void*)*7 + 8, x_33); -lean_ctor_set_uint8(x_68, sizeof(void*)*7 + 9, x_41); -lean_ctor_set_uint8(x_68, sizeof(void*)*7 + 10, x_42); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_69 = l_Lean_Meta_isExprDefEq(x_16, x_29, x_68, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_unbox(x_70); -lean_dec(x_70); -if (x_71 == 0) -{ -uint8_t x_72; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_72 = !lean_is_exclusive(x_69); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_69, 0); -lean_dec(x_73); -x_74 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2; -lean_ctor_set(x_8, 0, x_74); -lean_ctor_set(x_69, 0, x_8); -return x_69; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_69, 1); -lean_inc(x_75); -lean_dec(x_69); -x_76 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2; -lean_ctor_set(x_8, 0, x_76); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_8); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -else -{ -lean_object* x_78; size_t x_79; size_t x_80; -x_78 = lean_ctor_get(x_69, 1); -lean_inc(x_78); -lean_dec(x_69); -lean_inc(x_4); -lean_ctor_set(x_8, 0, x_4); -x_79 = 1; -x_80 = lean_usize_add(x_7, x_79); -x_7 = x_80; -x_13 = x_78; -goto _start; -} -} -else -{ -uint8_t x_82; -lean_dec(x_18); -lean_free_object(x_8); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_82 = !lean_is_exclusive(x_69); -if (x_82 == 0) -{ -return x_69; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_69, 0); -x_84 = lean_ctor_get(x_69, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_69); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -} -else -{ -uint8_t x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; uint8_t x_102; uint8_t x_103; uint8_t x_104; uint8_t x_105; lean_object* x_106; uint64_t x_107; uint8_t x_108; lean_object* x_109; uint64_t x_110; uint64_t x_111; uint64_t x_112; uint64_t x_113; uint64_t x_114; lean_object* x_115; lean_object* x_116; -x_86 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 9); -x_87 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 10); -x_88 = lean_ctor_get_uint8(x_32, 0); -x_89 = lean_ctor_get_uint8(x_32, 1); -x_90 = lean_ctor_get_uint8(x_32, 2); -x_91 = lean_ctor_get_uint8(x_32, 3); -x_92 = lean_ctor_get_uint8(x_32, 4); -x_93 = lean_ctor_get_uint8(x_32, 5); -x_94 = lean_ctor_get_uint8(x_32, 7); -x_95 = lean_ctor_get_uint8(x_32, 8); -x_96 = lean_ctor_get_uint8(x_32, 9); -x_97 = lean_ctor_get_uint8(x_32, 10); -x_98 = lean_ctor_get_uint8(x_32, 11); -x_99 = lean_ctor_get_uint8(x_32, 12); -x_100 = lean_ctor_get_uint8(x_32, 13); -x_101 = lean_ctor_get_uint8(x_32, 14); -x_102 = lean_ctor_get_uint8(x_32, 15); -x_103 = lean_ctor_get_uint8(x_32, 16); -x_104 = lean_ctor_get_uint8(x_32, 17); -lean_dec(x_32); -x_105 = 0; -x_106 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_106, 0, x_88); -lean_ctor_set_uint8(x_106, 1, x_89); -lean_ctor_set_uint8(x_106, 2, x_90); -lean_ctor_set_uint8(x_106, 3, x_91); -lean_ctor_set_uint8(x_106, 4, x_92); -lean_ctor_set_uint8(x_106, 5, x_93); -lean_ctor_set_uint8(x_106, 6, x_105); -lean_ctor_set_uint8(x_106, 7, x_94); -lean_ctor_set_uint8(x_106, 8, x_95); -lean_ctor_set_uint8(x_106, 9, x_96); -lean_ctor_set_uint8(x_106, 10, x_97); -lean_ctor_set_uint8(x_106, 11, x_98); -lean_ctor_set_uint8(x_106, 12, x_99); -lean_ctor_set_uint8(x_106, 13, x_100); -lean_ctor_set_uint8(x_106, 14, x_101); -lean_ctor_set_uint8(x_106, 15, x_102); -lean_ctor_set_uint8(x_106, 16, x_103); -lean_ctor_set_uint8(x_106, 17, x_104); -x_107 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_106); -lean_dec(x_106); -x_108 = 2; -x_109 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_109, 0, x_88); -lean_ctor_set_uint8(x_109, 1, x_89); -lean_ctor_set_uint8(x_109, 2, x_90); -lean_ctor_set_uint8(x_109, 3, x_91); -lean_ctor_set_uint8(x_109, 4, x_92); -lean_ctor_set_uint8(x_109, 5, x_93); -lean_ctor_set_uint8(x_109, 6, x_105); -lean_ctor_set_uint8(x_109, 7, x_94); -lean_ctor_set_uint8(x_109, 8, x_95); -lean_ctor_set_uint8(x_109, 9, x_108); -lean_ctor_set_uint8(x_109, 10, x_97); -lean_ctor_set_uint8(x_109, 11, x_98); -lean_ctor_set_uint8(x_109, 12, x_99); -lean_ctor_set_uint8(x_109, 13, x_100); -lean_ctor_set_uint8(x_109, 14, x_101); -lean_ctor_set_uint8(x_109, 15, x_102); -lean_ctor_set_uint8(x_109, 16, x_103); -lean_ctor_set_uint8(x_109, 17, x_104); -x_110 = 2; -x_111 = lean_uint64_shift_right(x_107, x_110); -x_112 = lean_uint64_shift_left(x_111, x_110); -x_113 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__1; -x_114 = lean_uint64_lor(x_112, x_113); -x_115 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_115, 0, x_109); -lean_ctor_set(x_115, 1, x_34); -lean_ctor_set(x_115, 2, x_35); -lean_ctor_set(x_115, 3, x_36); -lean_ctor_set(x_115, 4, x_37); -lean_ctor_set(x_115, 5, x_38); -lean_ctor_set(x_115, 6, x_39); -lean_ctor_set_uint64(x_115, sizeof(void*)*7, x_114); -lean_ctor_set_uint8(x_115, sizeof(void*)*7 + 8, x_33); -lean_ctor_set_uint8(x_115, sizeof(void*)*7 + 9, x_86); -lean_ctor_set_uint8(x_115, sizeof(void*)*7 + 10, x_87); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_116 = l_Lean_Meta_isExprDefEq(x_16, x_29, x_115, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_116) == 0) -{ -lean_object* x_117; uint8_t x_118; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_unbox(x_117); -lean_dec(x_117); -if (x_118 == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_120 = x_116; -} else { - lean_dec_ref(x_116); - x_120 = lean_box(0); -} -x_121 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2; -lean_ctor_set(x_8, 0, x_121); -if (lean_is_scalar(x_120)) { - x_122 = lean_alloc_ctor(0, 2, 0); -} else { - x_122 = x_120; -} -lean_ctor_set(x_122, 0, x_8); -lean_ctor_set(x_122, 1, x_119); -return x_122; -} -else -{ -lean_object* x_123; size_t x_124; size_t x_125; -x_123 = lean_ctor_get(x_116, 1); -lean_inc(x_123); -lean_dec(x_116); -lean_inc(x_4); -lean_ctor_set(x_8, 0, x_4); -x_124 = 1; -x_125 = lean_usize_add(x_7, x_124); -x_7 = x_125; -x_13 = x_123; -goto _start; -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_18); -lean_free_object(x_8); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_127 = lean_ctor_get(x_116, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_116, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_129 = x_116; -} else { - lean_dec_ref(x_116); - x_129 = lean_box(0); -} -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(1, 2, 0); -} else { - x_130 = x_129; -} -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_128); -return x_130; -} -} -} -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t 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; uint8_t x_144; uint8_t x_145; uint8_t x_146; uint8_t x_147; uint8_t x_148; uint8_t x_149; uint8_t x_150; uint8_t x_151; uint8_t x_152; uint8_t x_153; uint8_t x_154; uint8_t x_155; uint8_t x_156; uint8_t x_157; uint8_t x_158; uint8_t x_159; uint8_t x_160; uint8_t x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; uint64_t x_165; uint8_t x_166; lean_object* x_167; uint64_t x_168; uint64_t x_169; uint64_t x_170; uint64_t x_171; uint64_t x_172; lean_object* x_173; lean_object* x_174; -lean_dec(x_18); -x_131 = lean_array_fget(x_20, x_21); -x_132 = lean_unsigned_to_nat(1u); -x_133 = lean_nat_add(x_21, x_132); -lean_dec(x_21); -x_134 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_134, 0, x_20); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set(x_134, 2, x_22); -x_135 = lean_ctor_get(x_9, 0); -lean_inc(x_135); -x_136 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 8); -x_137 = lean_ctor_get(x_9, 1); -lean_inc(x_137); -x_138 = lean_ctor_get(x_9, 2); -lean_inc(x_138); -x_139 = lean_ctor_get(x_9, 3); -lean_inc(x_139); -x_140 = lean_ctor_get(x_9, 4); -lean_inc(x_140); -x_141 = lean_ctor_get(x_9, 5); -lean_inc(x_141); -x_142 = lean_ctor_get(x_9, 6); -lean_inc(x_142); -x_143 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 9); -x_144 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 10); -x_145 = lean_ctor_get_uint8(x_135, 0); -x_146 = lean_ctor_get_uint8(x_135, 1); -x_147 = lean_ctor_get_uint8(x_135, 2); -x_148 = lean_ctor_get_uint8(x_135, 3); -x_149 = lean_ctor_get_uint8(x_135, 4); -x_150 = lean_ctor_get_uint8(x_135, 5); -x_151 = lean_ctor_get_uint8(x_135, 7); -x_152 = lean_ctor_get_uint8(x_135, 8); -x_153 = lean_ctor_get_uint8(x_135, 9); -x_154 = lean_ctor_get_uint8(x_135, 10); -x_155 = lean_ctor_get_uint8(x_135, 11); -x_156 = lean_ctor_get_uint8(x_135, 12); -x_157 = lean_ctor_get_uint8(x_135, 13); -x_158 = lean_ctor_get_uint8(x_135, 14); -x_159 = lean_ctor_get_uint8(x_135, 15); -x_160 = lean_ctor_get_uint8(x_135, 16); -x_161 = lean_ctor_get_uint8(x_135, 17); -if (lean_is_exclusive(x_135)) { - x_162 = x_135; -} else { - lean_dec_ref(x_135); - x_162 = lean_box(0); -} -x_163 = 0; -if (lean_is_scalar(x_162)) { - x_164 = lean_alloc_ctor(0, 0, 18); -} else { - x_164 = x_162; -} -lean_ctor_set_uint8(x_164, 0, x_145); -lean_ctor_set_uint8(x_164, 1, x_146); -lean_ctor_set_uint8(x_164, 2, x_147); -lean_ctor_set_uint8(x_164, 3, x_148); -lean_ctor_set_uint8(x_164, 4, x_149); -lean_ctor_set_uint8(x_164, 5, x_150); -lean_ctor_set_uint8(x_164, 6, x_163); -lean_ctor_set_uint8(x_164, 7, x_151); -lean_ctor_set_uint8(x_164, 8, x_152); -lean_ctor_set_uint8(x_164, 9, x_153); -lean_ctor_set_uint8(x_164, 10, x_154); -lean_ctor_set_uint8(x_164, 11, x_155); -lean_ctor_set_uint8(x_164, 12, x_156); -lean_ctor_set_uint8(x_164, 13, x_157); -lean_ctor_set_uint8(x_164, 14, x_158); -lean_ctor_set_uint8(x_164, 15, x_159); -lean_ctor_set_uint8(x_164, 16, x_160); -lean_ctor_set_uint8(x_164, 17, x_161); -x_165 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_164); -lean_dec(x_164); -x_166 = 2; -x_167 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_167, 0, x_145); -lean_ctor_set_uint8(x_167, 1, x_146); -lean_ctor_set_uint8(x_167, 2, x_147); -lean_ctor_set_uint8(x_167, 3, x_148); -lean_ctor_set_uint8(x_167, 4, x_149); -lean_ctor_set_uint8(x_167, 5, x_150); -lean_ctor_set_uint8(x_167, 6, x_163); -lean_ctor_set_uint8(x_167, 7, x_151); -lean_ctor_set_uint8(x_167, 8, x_152); -lean_ctor_set_uint8(x_167, 9, x_166); -lean_ctor_set_uint8(x_167, 10, x_154); -lean_ctor_set_uint8(x_167, 11, x_155); -lean_ctor_set_uint8(x_167, 12, x_156); -lean_ctor_set_uint8(x_167, 13, x_157); -lean_ctor_set_uint8(x_167, 14, x_158); -lean_ctor_set_uint8(x_167, 15, x_159); -lean_ctor_set_uint8(x_167, 16, x_160); -lean_ctor_set_uint8(x_167, 17, x_161); -x_168 = 2; -x_169 = lean_uint64_shift_right(x_165, x_168); -x_170 = lean_uint64_shift_left(x_169, x_168); -x_171 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__1; -x_172 = lean_uint64_lor(x_170, x_171); -x_173 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_173, 0, x_167); -lean_ctor_set(x_173, 1, x_137); -lean_ctor_set(x_173, 2, x_138); -lean_ctor_set(x_173, 3, x_139); -lean_ctor_set(x_173, 4, x_140); -lean_ctor_set(x_173, 5, x_141); -lean_ctor_set(x_173, 6, x_142); -lean_ctor_set_uint64(x_173, sizeof(void*)*7, x_172); -lean_ctor_set_uint8(x_173, sizeof(void*)*7 + 8, x_136); -lean_ctor_set_uint8(x_173, sizeof(void*)*7 + 9, x_143); -lean_ctor_set_uint8(x_173, sizeof(void*)*7 + 10, x_144); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_174 = l_Lean_Meta_isExprDefEq(x_16, x_131, x_173, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_175; uint8_t x_176; -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_unbox(x_175); -lean_dec(x_175); -if (x_176 == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_177 = lean_ctor_get(x_174, 1); -lean_inc(x_177); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_178 = x_174; -} else { - lean_dec_ref(x_174); - x_178 = lean_box(0); -} -x_179 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2; -lean_ctor_set(x_8, 1, x_134); -lean_ctor_set(x_8, 0, x_179); -if (lean_is_scalar(x_178)) { - x_180 = lean_alloc_ctor(0, 2, 0); -} else { - x_180 = x_178; -} -lean_ctor_set(x_180, 0, x_8); -lean_ctor_set(x_180, 1, x_177); -return x_180; -} -else -{ -lean_object* x_181; size_t x_182; size_t x_183; -x_181 = lean_ctor_get(x_174, 1); -lean_inc(x_181); -lean_dec(x_174); -lean_inc(x_4); -lean_ctor_set(x_8, 1, x_134); -lean_ctor_set(x_8, 0, x_4); -x_182 = 1; -x_183 = lean_usize_add(x_7, x_182); -x_7 = x_183; -x_13 = x_181; -goto _start; -} -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -lean_dec(x_134); -lean_free_object(x_8); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_185 = lean_ctor_get(x_174, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_174, 1); -lean_inc(x_186); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_187 = x_174; -} else { - lean_dec_ref(x_174); - x_187 = lean_box(0); -} -if (lean_is_scalar(x_187)) { - x_188 = lean_alloc_ctor(1, 2, 0); -} else { - x_188 = x_187; -} -lean_ctor_set(x_188, 0, x_185); -lean_ctor_set(x_188, 1, x_186); -return x_188; -} -} -} -} -else -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -x_189 = lean_ctor_get(x_8, 1); -lean_inc(x_189); -lean_dec(x_8); -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -x_192 = lean_ctor_get(x_189, 2); -lean_inc(x_192); -x_193 = lean_nat_dec_lt(x_191, x_192); -if (x_193 == 0) -{ -lean_object* x_194; lean_object* x_195; -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_194 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_194, 0, x_4); -lean_ctor_set(x_194, 1, x_189); -x_195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_13); -return x_195; -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t 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; uint8_t x_209; uint8_t x_210; uint8_t x_211; uint8_t x_212; uint8_t x_213; uint8_t x_214; uint8_t x_215; uint8_t x_216; uint8_t x_217; uint8_t x_218; uint8_t x_219; uint8_t x_220; uint8_t x_221; uint8_t x_222; uint8_t x_223; uint8_t x_224; uint8_t x_225; uint8_t x_226; uint8_t x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; uint64_t x_231; uint8_t x_232; lean_object* x_233; uint64_t x_234; uint64_t x_235; uint64_t x_236; uint64_t x_237; uint64_t x_238; lean_object* x_239; lean_object* x_240; -if (lean_is_exclusive(x_189)) { - lean_ctor_release(x_189, 0); - lean_ctor_release(x_189, 1); - lean_ctor_release(x_189, 2); - x_196 = x_189; -} else { - lean_dec_ref(x_189); - x_196 = lean_box(0); -} -x_197 = lean_array_fget(x_190, x_191); -x_198 = lean_unsigned_to_nat(1u); -x_199 = lean_nat_add(x_191, x_198); -lean_dec(x_191); -if (lean_is_scalar(x_196)) { - x_200 = lean_alloc_ctor(0, 3, 0); -} else { - x_200 = x_196; -} -lean_ctor_set(x_200, 0, x_190); -lean_ctor_set(x_200, 1, x_199); -lean_ctor_set(x_200, 2, x_192); -x_201 = lean_ctor_get(x_9, 0); -lean_inc(x_201); -x_202 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 8); -x_203 = lean_ctor_get(x_9, 1); -lean_inc(x_203); -x_204 = lean_ctor_get(x_9, 2); -lean_inc(x_204); -x_205 = lean_ctor_get(x_9, 3); -lean_inc(x_205); -x_206 = lean_ctor_get(x_9, 4); -lean_inc(x_206); -x_207 = lean_ctor_get(x_9, 5); -lean_inc(x_207); -x_208 = lean_ctor_get(x_9, 6); -lean_inc(x_208); -x_209 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 9); -x_210 = lean_ctor_get_uint8(x_9, sizeof(void*)*7 + 10); -x_211 = lean_ctor_get_uint8(x_201, 0); -x_212 = lean_ctor_get_uint8(x_201, 1); -x_213 = lean_ctor_get_uint8(x_201, 2); -x_214 = lean_ctor_get_uint8(x_201, 3); -x_215 = lean_ctor_get_uint8(x_201, 4); -x_216 = lean_ctor_get_uint8(x_201, 5); -x_217 = lean_ctor_get_uint8(x_201, 7); -x_218 = lean_ctor_get_uint8(x_201, 8); -x_219 = lean_ctor_get_uint8(x_201, 9); -x_220 = lean_ctor_get_uint8(x_201, 10); -x_221 = lean_ctor_get_uint8(x_201, 11); -x_222 = lean_ctor_get_uint8(x_201, 12); -x_223 = lean_ctor_get_uint8(x_201, 13); -x_224 = lean_ctor_get_uint8(x_201, 14); -x_225 = lean_ctor_get_uint8(x_201, 15); -x_226 = lean_ctor_get_uint8(x_201, 16); -x_227 = lean_ctor_get_uint8(x_201, 17); -if (lean_is_exclusive(x_201)) { - x_228 = x_201; -} else { - lean_dec_ref(x_201); - x_228 = lean_box(0); -} -x_229 = 0; -if (lean_is_scalar(x_228)) { - x_230 = lean_alloc_ctor(0, 0, 18); -} else { - x_230 = x_228; -} -lean_ctor_set_uint8(x_230, 0, x_211); -lean_ctor_set_uint8(x_230, 1, x_212); -lean_ctor_set_uint8(x_230, 2, x_213); -lean_ctor_set_uint8(x_230, 3, x_214); -lean_ctor_set_uint8(x_230, 4, x_215); -lean_ctor_set_uint8(x_230, 5, x_216); -lean_ctor_set_uint8(x_230, 6, x_229); -lean_ctor_set_uint8(x_230, 7, x_217); -lean_ctor_set_uint8(x_230, 8, x_218); -lean_ctor_set_uint8(x_230, 9, x_219); -lean_ctor_set_uint8(x_230, 10, x_220); -lean_ctor_set_uint8(x_230, 11, x_221); -lean_ctor_set_uint8(x_230, 12, x_222); -lean_ctor_set_uint8(x_230, 13, x_223); -lean_ctor_set_uint8(x_230, 14, x_224); -lean_ctor_set_uint8(x_230, 15, x_225); -lean_ctor_set_uint8(x_230, 16, x_226); -lean_ctor_set_uint8(x_230, 17, x_227); -x_231 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_230); -lean_dec(x_230); -x_232 = 2; -x_233 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_233, 0, x_211); -lean_ctor_set_uint8(x_233, 1, x_212); -lean_ctor_set_uint8(x_233, 2, x_213); -lean_ctor_set_uint8(x_233, 3, x_214); -lean_ctor_set_uint8(x_233, 4, x_215); -lean_ctor_set_uint8(x_233, 5, x_216); -lean_ctor_set_uint8(x_233, 6, x_229); -lean_ctor_set_uint8(x_233, 7, x_217); -lean_ctor_set_uint8(x_233, 8, x_218); -lean_ctor_set_uint8(x_233, 9, x_232); -lean_ctor_set_uint8(x_233, 10, x_220); -lean_ctor_set_uint8(x_233, 11, x_221); -lean_ctor_set_uint8(x_233, 12, x_222); -lean_ctor_set_uint8(x_233, 13, x_223); -lean_ctor_set_uint8(x_233, 14, x_224); -lean_ctor_set_uint8(x_233, 15, x_225); -lean_ctor_set_uint8(x_233, 16, x_226); -lean_ctor_set_uint8(x_233, 17, x_227); -x_234 = 2; -x_235 = lean_uint64_shift_right(x_231, x_234); -x_236 = lean_uint64_shift_left(x_235, x_234); -x_237 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__1; -x_238 = lean_uint64_lor(x_236, x_237); -x_239 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_239, 0, x_233); -lean_ctor_set(x_239, 1, x_203); -lean_ctor_set(x_239, 2, x_204); -lean_ctor_set(x_239, 3, x_205); -lean_ctor_set(x_239, 4, x_206); -lean_ctor_set(x_239, 5, x_207); -lean_ctor_set(x_239, 6, x_208); -lean_ctor_set_uint64(x_239, sizeof(void*)*7, x_238); -lean_ctor_set_uint8(x_239, sizeof(void*)*7 + 8, x_202); -lean_ctor_set_uint8(x_239, sizeof(void*)*7 + 9, x_209); -lean_ctor_set_uint8(x_239, sizeof(void*)*7 + 10, x_210); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_240 = l_Lean_Meta_isExprDefEq(x_16, x_197, x_239, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_240) == 0) -{ -lean_object* x_241; uint8_t x_242; -x_241 = lean_ctor_get(x_240, 0); -lean_inc(x_241); -x_242 = lean_unbox(x_241); -lean_dec(x_241); -if (x_242 == 0) -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_243 = lean_ctor_get(x_240, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - lean_ctor_release(x_240, 1); - x_244 = x_240; -} else { - lean_dec_ref(x_240); - x_244 = lean_box(0); -} -x_245 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2; -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_200); -if (lean_is_scalar(x_244)) { - x_247 = lean_alloc_ctor(0, 2, 0); -} else { - x_247 = x_244; -} -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_243); -return x_247; -} -else -{ -lean_object* x_248; lean_object* x_249; size_t x_250; size_t x_251; -x_248 = lean_ctor_get(x_240, 1); -lean_inc(x_248); -lean_dec(x_240); -lean_inc(x_4); -x_249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_249, 0, x_4); -lean_ctor_set(x_249, 1, x_200); -x_250 = 1; -x_251 = lean_usize_add(x_7, x_250); -x_7 = x_251; -x_8 = x_249; -x_13 = x_248; -goto _start; -} -} -else -{ -lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; -lean_dec(x_200); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -x_253 = lean_ctor_get(x_240, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_240, 1); -lean_inc(x_254); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - lean_ctor_release(x_240, 1); - x_255 = x_240; -} else { - lean_dec_ref(x_240); - x_255 = lean_box(0); -} -if (lean_is_scalar(x_255)) { - x_256 = lean_alloc_ctor(1, 2, 0); -} else { - x_256 = x_255; -} -lean_ctor_set(x_256, 0, x_253); -lean_ctor_set(x_256, 1, x_254); -return x_256; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; lean_object* x_9; -x_7 = 0; -x_8 = lean_box(x_7); -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; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_levelZero; -x_2 = l_Lean_Expr_sort___override(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__1___boxed), 6, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_array_get_size(x_1); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_nat_dec_lt(x_14, x_13); -if (x_15 == 0) -{ -uint8_t x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_16 = 1; -x_17 = lean_box(x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_12); -return x_18; -} -else -{ -size_t x_19; size_t x_20; uint8_t x_21; -x_19 = 0; -x_20 = lean_usize_of_nat(x_13); -lean_dec(x_13); -x_21 = l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_getFixedPrefix___spec__1(x_7, x_1, x_19, x_20); -if (x_21 == 0) -{ -uint8_t x_22; lean_object* x_23; lean_object* 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_3); -lean_dec(x_2); -x_22 = 1; -x_23 = lean_box(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_12); -return x_24; -} -else -{ -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_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_25 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_7, x_14); -x_26 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__1; -lean_inc(x_25); -x_27 = lean_mk_array(x_25, x_26); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_sub(x_25, x_28); -lean_dec(x_25); -x_30 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_7, x_27, x_29); -x_54 = lean_st_ref_take(x_6, x_12); -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_array_get_size(x_30); -x_58 = lean_nat_dec_le(x_57, x_55); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; -lean_dec(x_57); -x_59 = lean_st_ref_set(x_6, x_55, x_56); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_31 = x_60; -goto block_53; -} -else -{ -lean_object* x_61; lean_object* x_62; -lean_dec(x_55); -x_61 = lean_st_ref_set(x_6, x_57, x_56); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_31 = x_62; -goto block_53; -} -block_53: -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; lean_object* x_36; -x_32 = l_Array_toSubarray___rarg(x_2, x_14, x_3); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = lean_array_size(x_30); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_36 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2(x_4, x_5, x_30, x_33, x_30, x_35, x_19, x_34, x_8, x_9, x_10, x_11, x_31); -lean_dec(x_30); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_36, 1); -lean_inc(x_39); -lean_dec(x_36); -x_40 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__2; -x_41 = lean_box(0); -x_42 = lean_apply_6(x_40, x_41, x_8, x_9, x_10, x_11, x_39); -return x_42; -} -else -{ -uint8_t x_43; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_43 = !lean_is_exclusive(x_36); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_36, 0); -lean_dec(x_44); -x_45 = lean_ctor_get(x_38, 0); -lean_inc(x_45); -lean_dec(x_38); -lean_ctor_set(x_36, 0, x_45); -return x_36; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_36, 1); -lean_inc(x_46); -lean_dec(x_36); -x_47 = lean_ctor_get(x_38, 0); -lean_inc(x_47); -lean_dec(x_38); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -return x_48; -} -} -} -else -{ -uint8_t x_49; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_49 = !lean_is_exclusive(x_36); -if (x_49 == 0) -{ -return x_36; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_36, 0); -x_51 = lean_ctor_get(x_36, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_36); -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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_instMonadCoreM; -x_2 = l_ReaderT_instMonad___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__1; -x_2 = l_ReaderT_instApplicativeOfMonad___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__2; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -x_3 = l_instMonadControlTOfPure___rarg(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__3; -x_15 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___boxed), 12, 6); -lean_closure_set(x_15, 0, x_1); -lean_closure_set(x_15, 1, x_2); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_4); -lean_closure_set(x_15, 4, x_14); -lean_closure_set(x_15, 5, x_5); -x_16 = l_Lean_Meta_forEachExpr_x27___at_Lean_Meta_setMVarUserNamesAt___spec__6(x_6, x_15, x_9, x_10, x_11, x_12, x_13); -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; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_7); -lean_ctor_set(x_16, 0, x_19); -return x_16; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_7); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -else -{ -uint8_t x_23; -lean_dec(x_7); -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) -{ -return x_16; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -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; -} -} -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__1; -x_2 = lean_box(0); -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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_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) { -_start: -{ -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_10, x_9); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_11); -x_19 = lean_array_uget(x_8, x_10); -x_20 = lean_st_ref_get(x_5, x_16); -x_21 = !lean_is_exclusive(x_20); -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_20, 0); -x_23 = lean_ctor_get(x_20, 1); -x_24 = lean_unsigned_to_nat(0u); -x_25 = lean_nat_dec_eq(x_22, x_24); -lean_dec(x_22); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_free_object(x_20); -x_26 = lean_box(0); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_27 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3(x_1, x_2, x_4, x_6, x_5, x_19, x_7, x_26, x_12, x_13, x_14, x_15, x_23); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_29 = !lean_is_exclusive(x_27); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_27, 0); -lean_dec(x_30); -x_31 = lean_ctor_get(x_28, 0); -lean_inc(x_31); -lean_dec(x_28); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = lean_ctor_get(x_28, 0); -lean_inc(x_33); -lean_dec(x_28); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; -x_35 = lean_ctor_get(x_27, 1); -lean_inc(x_35); -lean_dec(x_27); -x_36 = lean_ctor_get(x_28, 0); -lean_inc(x_36); -lean_dec(x_28); -x_37 = 1; -x_38 = lean_usize_add(x_10, x_37); -x_10 = x_38; -x_11 = x_36; -x_16 = x_35; -goto _start; -} -} -else -{ -uint8_t x_40; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_27); -if (x_40 == 0) -{ -return x_27; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_27, 0); -x_42 = lean_ctor_get(x_27, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_27); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -else -{ -lean_object* x_44; -lean_dec(x_19); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_44 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__2; -lean_ctor_set(x_20, 0, x_44); -return x_20; -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_ctor_get(x_20, 0); -x_46 = lean_ctor_get(x_20, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_20); -x_47 = lean_unsigned_to_nat(0u); -x_48 = lean_nat_dec_eq(x_45, x_47); -lean_dec(x_45); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_box(0); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_50 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3(x_1, x_2, x_4, x_6, x_5, x_19, x_7, x_49, x_12, x_13, x_14, x_15, x_46); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_53 = x_50; -} else { - lean_dec_ref(x_50); - x_53 = lean_box(0); -} -x_54 = lean_ctor_get(x_51, 0); -lean_inc(x_54); -lean_dec(x_51); -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_53; -} -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_52); -return x_55; -} -else -{ -lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; -x_56 = lean_ctor_get(x_50, 1); -lean_inc(x_56); -lean_dec(x_50); -x_57 = lean_ctor_get(x_51, 0); -lean_inc(x_57); -lean_dec(x_51); -x_58 = 1; -x_59 = lean_usize_add(x_10, x_58); -x_10 = x_59; -x_11 = x_57; -x_16 = x_56; -goto _start; -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_61 = lean_ctor_get(x_50, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_50, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_63 = x_50; -} else { - lean_dec_ref(x_50); - x_63 = lean_box(0); -} -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(1, 2, 0); -} else { - x_64 = x_63; -} -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_62); -return x_64; -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_19); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_65 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__2; -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_46); -return x_66; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_getFixedPrefix___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) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_st_ref_get(x_1, x_7); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -return x_8; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_8); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} -static lean_object* _init_l_Lean_Elab_Mutual_getFixedPrefix___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = lean_box(0); -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_Mutual_getFixedPrefix___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; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_array_get_size(x_2); -lean_inc(x_9); -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_dec(x_10); -x_13 = lean_box(0); -x_14 = lean_array_size(x_3); -x_15 = 0; -x_16 = l_Lean_Elab_Mutual_getFixedPrefix___lambda__2___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_11); -x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3(x_1, x_2, x_3, x_9, x_11, x_13, x_16, x_3, x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec(x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Mutual_getFixedPrefix___lambda__1(x_11, x_21, x_4, x_5, x_6, x_7, x_20); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_11); -return x_22; -} -else -{ -uint8_t x_23; -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_23 = !lean_is_exclusive(x_17); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_17, 0); -lean_dec(x_24); -x_25 = lean_ctor_get(x_19, 0); -lean_inc(x_25); -lean_dec(x_19); -lean_ctor_set(x_17, 0, x_25); -return x_17; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); -lean_dec(x_17); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -lean_dec(x_19); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -return x_28; -} -} -} -else -{ -uint8_t x_29; -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_29 = !lean_is_exclusive(x_17); -if (x_29 == 0) -{ -return x_17; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_17, 0); -x_31 = lean_ctor_get(x_17, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_17); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_getFixedPrefix(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -lean_inc(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Mutual_getFixedPrefix___lambda__2___boxed), 8, 1); -lean_closure_set(x_7, 0, x_1); -x_8 = l_Lean_Elab_Mutual_withCommonTelescope___rarg(x_1, x_7, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_getFixedPrefix___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_getFixedPrefix___spec__1(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_15 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___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) { -_start: -{ -lean_object* x_13; -x_13 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_8); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, 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_9); -lean_dec(x_9); -x_18 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_18, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_8); -lean_dec(x_3); -return x_19; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_getFixedPrefix___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_Mutual_getFixedPrefix___lambda__1(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); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_getFixedPrefix___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Mutual_getFixedPrefix___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_Mutual_addPreDefsFromUnary___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -4356,25 +2476,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Mutual_withCommonTelescope___rarg___closed__1 = _init_l_Lean_Elab_Mutual_withCommonTelescope___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Mutual_withCommonTelescope___rarg___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__1(); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___lambda__3___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_getFixedPrefix___spec__3___closed__2); -l_Lean_Elab_Mutual_getFixedPrefix___lambda__2___closed__1 = _init_l_Lean_Elab_Mutual_getFixedPrefix___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Mutual_getFixedPrefix___lambda__2___closed__1); l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___closed__1 = _init_l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___closed__1); l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___closed__2 = _init_l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Eqns.c index 6e75b67cd3..57cd59992f 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Eqns.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.PartialFixpoint.Eqns -// Imports: Lean.Elab.Tactic.Conv Lean.Meta.Tactic.Rewrite Lean.Meta.Tactic.Split Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Eqns Lean.Meta.ArgsPacker.Basic Init.Data.Array.Basic Init.Internal.Order.Basic +// Imports: Lean.Elab.Tactic.Conv Lean.Meta.Tactic.Rewrite Lean.Meta.Tactic.Split Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Eqns Lean.Elab.PreDefinition.FixedParams Lean.Meta.ArgsPacker.Basic Init.Data.Array.Basic Init.Internal.Order.Basic #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -131,6 +131,7 @@ static lean_object* l_Lean_Elab_PartialFixpoint_mkUnfoldEq___lambda__6___closed_ 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_Elab_PartialFixpoint_mkUnfoldEq___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* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__7; extern lean_object* l_Lean_diagnostics; static lean_object* l_Lean_Elab_PartialFixpoint_mkUnfoldEq___lambda__6___closed__5; static lean_object* l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__5; @@ -287,11 +288,24 @@ return x_2; static lean_object* _init_l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__6() { _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_PartialFixpoint_instInhabitedEqnInfo___closed__5; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__4; x_2 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__5; x_3 = lean_box(0); -x_4 = lean_unsigned_to_nat(0u); +x_4 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__6; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -304,7 +318,7 @@ static lean_object* _init_l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__6; +x_1 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__7; return x_1; } } @@ -1910,7 +1924,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Eqns_0__Lean_Elab_PartialFixpoint_rwFixEq___lambda__1___closed__1; x_2 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Eqns_0__Lean_Elab_PartialFixpoint_rwFixEq___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(60u); +x_3 = lean_unsigned_to_nat(62u); x_4 = lean_unsigned_to_nat(41u); x_5 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Eqns_0__Lean_Elab_PartialFixpoint_rwFixEq___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1923,7 +1937,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Eqns_0__Lean_Elab_PartialFixpoint_rwFixEq___lambda__1___closed__1; x_2 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Eqns_0__Lean_Elab_PartialFixpoint_rwFixEq___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(64u); x_4 = lean_unsigned_to_nat(51u); x_5 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Eqns_0__Lean_Elab_PartialFixpoint_rwFixEq___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -5318,6 +5332,7 @@ lean_object* initialize_Lean_Meta_Tactic_Rewrite(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Split(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Eqns(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_ArgsPacker_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Array_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Init_Internal_Order_Basic(uint8_t builtin, lean_object*); @@ -5341,6 +5356,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Eqns(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_FixedParams(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Meta_ArgsPacker_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -5362,6 +5380,8 @@ l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__5 = _init_l_Lean_Elab lean_mark_persistent(l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__5); l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__6 = _init_l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__6(); lean_mark_persistent(l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__6); +l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__7 = _init_l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__7(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo___closed__7); l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo = _init_l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo(); lean_mark_persistent(l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo); l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Eqns___hyg_55____closed__1 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Eqns___hyg_55____closed__1(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Induction.c b/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Induction.c index 637e62f80f..258a9aaf60 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Induction.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Induction.c @@ -16,39 +16,41 @@ extern "C" { static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__6; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__2___closed__1; extern lean_object* l_Lean_Elab_PartialFixpoint_eqnInfoExt; -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2(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_Elab_PartialFixpoint_deriveInduction___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, 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_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6(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_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmAnd___closed__3; lean_object* l_Lean_registerReservedNameAction(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_maskArray___spec__1(lean_object*); -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__4; static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__9; +static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__3; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___lambda__1___closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___closed__2; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___closed__3; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_PartialFixpoint_mkOptionAdm___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* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__9; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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_Lean_Elab_PartialFixpoint_isOptionFixpoint___boxed(lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_isPartialCorrectnessName___boxed(lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_PartialFixpoint_mkOptionAdm___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_maskArray___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmAnd___closed__4; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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_Elab_PartialFixpoint_deriveInduction___lambda__5___boxed(lean_object**); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__7; lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___closed__1; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__7(size_t, size_t, lean_object*); @@ -56,22 +58,23 @@ LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__2 uint8_t l_Lean_Expr_isApp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16(lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_CCPOProdProjs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721_(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkOptionAdm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704_(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__3; static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmAnd___closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Meta_PProdN_reduceProjs___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___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*); uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_Arith_withAbstractAtoms_go___spec__1___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_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__2___boxed(lean_object*, lean_object*); @@ -79,15 +82,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__ lean_object* l_Lean_Meta_PProdN_pack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__7___closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__10; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__14; -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__1___closed__1; static lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16___rarg___closed__1; lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*); @@ -100,24 +100,24 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFix LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_elimOptParam___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__4; lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkAdmAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__3___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_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_CCPOProdProjs___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_isInductName___closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_mkOptionAdm___lambda__1___closed__1; uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; 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_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__7; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(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_PartialFixpoint_deriveInduction___spec__12(size_t, size_t, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3___closed__1; lean_object* l_Lean_ConstantInfo_value_x21(lean_object*, uint8_t); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__12; lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); lean_object* l_Lean_Level_ofNat(lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); @@ -126,18 +126,20 @@ static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derive static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__3; -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__11; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___closed__1; -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__6; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__2; +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__6; +static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__4; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__1(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_PartialFixpoint_isOptionFixpoint(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__15; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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_Elab_FixedParamPerm_instantiateLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__13(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_maskArray___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -146,39 +148,37 @@ static lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__2___c LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_CCPOProdProjs___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_CCPOProdProjs___spec__1___lambda__2___boxed(lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__9; -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___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_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__7; lean_object* l_Array_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__12___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Meta_PProdN_packLambdas___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__10; static lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16___rarg___closed__3; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__4___closed__2; static lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16___rarg___closed__4; -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__8; static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___boxed(lean_object**); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__12___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__1; lean_object* l_Array_unzip___rarg(lean_object*); -LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828_(lean_object*); lean_object* l_Lean_Meta_PProdN_proj(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__13; -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__10; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__11; lean_object* l_Array_ofFn___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__14; lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_PProdN_genMk___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static uint64_t l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkOptionAdm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___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_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -186,23 +186,21 @@ static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derive lean_object* l_Lean_Expr_appArg(lean_object*, lean_object*); extern uint8_t l_Lean_instInhabitedBinderInfo; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__15; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* lean_array_pop(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_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___closed__2; +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__8; static lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__10(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__9___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__18___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_PartialFixpoint_deriveInduction___lambda__4___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_isPartialCorrectnessName___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9(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_Lean_Expr_appFnCleanup(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__4___closed__1; @@ -211,15 +209,17 @@ lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_CCPOProdProjs___spec__1___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16___rarg___lambda__2(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_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__4; -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__8; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3___closed__2; static lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__2___closed__2; static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__2; +lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__11(lean_object*); extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Meta_PProdN_reduceProjs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__1; LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__7___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__14(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5___closed__1; @@ -229,20 +229,26 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Core_betaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__11; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__2; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__1; lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_PartialFixpoint_isPartialCorrectnessName___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_isPartialCorrectnessName___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__12; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__11; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__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*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__4(lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Pi_instInhabited___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__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_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__9(size_t, size_t, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_PartialFixpoint_mkOptionAdm___spec__1___closed__2; extern lean_object* l_Lean_Meta_instMonadMetaM; @@ -252,34 +258,28 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_d static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__2; lean_object* l_Lean_registerReservedNamePredicate(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo; -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__3; +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__7; lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___boxed(lean_object**); lean_object* l_Lean_MessageData_ofExpr(lean_object*); -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__12; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17(size_t, 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_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__11; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17(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_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkOptionAdm___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___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_PartialFixpoint_deriveInduction___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*); static lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16___rarg___lambda__1___boxed(lean_object*); -static uint64_t l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__3; -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__6; -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(lean_object*); +lean_object* l_Lean_Expr_eta(lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_isInductName___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__9___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__8; -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__13; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__7___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___boxed__const__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__3___closed__2; lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_isInductName(lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__1; @@ -287,6 +287,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Ind static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__1___closed__1; lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__6; static lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__1___closed__2; @@ -299,34 +300,37 @@ LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__1 LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_mkOptionAdm___lambda__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_PartialFixpoint_deriveInduction___closed__1; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__13; +lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__3___closed__2; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__2; static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__5; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_CCPOProdProjs___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__9; static lean_object* l_Lean_Elab_PartialFixpoint_mkOptionAdm___lambda__1___closed__4; 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_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__2(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__2___closed__2; +static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__4; static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__1___closed__3; +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__13; LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__4___closed__1; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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_PartialFixpoint_derivePartialCorrectness___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* l_Lean_indentExpr(lean_object*); -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___lambda__1(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*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__12; +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__10; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__3(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___closed__1; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__10; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__6; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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_PartialFixpoint_mkOptionAdm___lambda__1___closed__5; @@ -334,24 +338,21 @@ uint8_t l_Array_contains___at_Lean_registerInternalExceptionId___spec__1(lean_ob LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_PartialFixpoint_isInductName___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__4___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__2; static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__1___closed__1; 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_Elab_PartialFixpoint_deriveInduction___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_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__5; -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___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_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__11___closed__2; lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__5___closed__1; lean_object* l_Array_back_x21___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7(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_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7(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*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__11___closed__1; -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__5___closed__2; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -362,6 +363,7 @@ lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__5; lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16___rarg___lambda__1(lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__8; static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__3; @@ -369,7 +371,8 @@ lean_object* l_Lean_getConstInfoDefn___at___private_Lean_Elab_PreDefinition_Eqns lean_object* l_Lean_Meta_PProdN_stripProjs(lean_object*); lean_object* l_Lean_Meta_elimOptParam___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19(lean_object*, lean_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_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19(lean_object*, lean_object*, lean_object*, 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_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___boxed(lean_object**); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__6; extern lean_object* l_Lean_instInhabitedName; @@ -381,7 +384,7 @@ static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derive lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmAnd___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5(lean_object*, lean_object*, lean_object*, size_t, 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_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5(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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11(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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -390,7 +393,7 @@ lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_o static lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__16___rarg___lambda__1___closed__1; lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__8; -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); @@ -402,6 +405,7 @@ static lean_object* l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__4; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___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*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19___lambda__1___boxed(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_Lean_Meta_withLocalDecls___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__15(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_maskArray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -412,40 +416,42 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__5(size_t, size_t, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__6(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__2; lean_object* lean_expr_dbg_to_string(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*); LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__14; lean_object* l_Lean_Meta_whnfUntil(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_maskArray___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_isOptionFixpoint___closed__3; +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907_(lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__11; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__4; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__1; lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_PartialFixpoint_isPartialCorrectnessName(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__1; static lean_object* l_Lean_Elab_PartialFixpoint_mkOptionAdm___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__14___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_betaReduce___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7___closed__1; -static lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__14; LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__1(lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__3; static lean_object* _init_l_Lean_Elab_PartialFixpoint_mkAdmAnd___closed__1() { _start: { @@ -1610,84 +1616,99 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_10; -x_10 = lean_usize_dec_lt(x_3, x_2); -if (x_10 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_6, x_15); +if (x_16 == 0) { -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); +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_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_6, x_17); lean_dec(x_6); -lean_dec(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_4); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else +x_19 = lean_array_fget(x_5, x_7); +lean_inc(x_2); +x_20 = lean_array_get(x_2, x_3, x_7); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_21, 2); +lean_inc(x_22); +lean_dec(x_21); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_4); +x_23 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_20, x_22, x_4, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_23) == 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; -x_12 = lean_array_uget(x_4, x_3); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_4, x_3, x_13); -x_15 = lean_ctor_get(x_12, 0); -lean_inc(x_15); -lean_dec(x_12); -x_16 = lean_ctor_get(x_15, 2); -lean_inc(x_16); -lean_dec(x_15); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_1, x_13, x_16, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -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 = 1; -x_21 = lean_usize_add(x_3, x_20); -x_22 = lean_array_uset(x_14, x_3, x_18); -x_3 = x_21; -x_4 = x_22; -x_9 = x_19; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_nat_add(x_7, x_17); +lean_dec(x_7); +x_27 = lean_array_push(x_9, x_24); +x_6 = x_18; +x_7 = x_26; +x_8 = lean_box(0); +x_9 = x_27; +x_14 = x_25; goto _start; } else { -uint8_t x_24; -lean_dec(x_14); -lean_dec(x_8); +uint8_t x_29; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +lean_dec(x_4); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) { -return x_17; +return x_23; } 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; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +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_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_9); +lean_ctor_set(x_33, 1, x_14); +return x_33; +} } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -2730,44 +2751,45 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17(size_t x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17(size_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, 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) { _start: { -lean_object* x_20; uint8_t x_21; -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_nat_dec_eq(x_11, x_20); -if (x_21 == 0) +lean_object* x_19; uint8_t x_20; +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_nat_dec_eq(x_10, x_19); +if (x_20 == 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; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_sub(x_11, x_22); -lean_dec(x_11); +lean_object* x_21; lean_object* x_22; size_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_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_10, x_21); +lean_dec(x_10); +x_23 = lean_array_size(x_2); lean_inc(x_2); -x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__7(x_4, x_1, x_2); -x_25 = l_Array_zip___rarg(x_24, x_5); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__7(x_23, x_1, x_2); +x_25 = l_Array_zip___rarg(x_24, x_4); lean_dec(x_24); x_26 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__2; x_27 = lean_box_usize(x_1); -lean_inc(x_7); -lean_inc(x_12); -lean_inc(x_9); -lean_inc(x_3); lean_inc(x_6); +lean_inc(x_11); lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_5); +lean_inc(x_7); x_28 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___lambda__2___boxed), 14, 8); -lean_closure_set(x_28, 0, x_8); +lean_closure_set(x_28, 0, x_7); lean_closure_set(x_28, 1, x_27); -lean_closure_set(x_28, 2, x_6); +lean_closure_set(x_28, 2, x_5); lean_closure_set(x_28, 3, x_3); -lean_closure_set(x_28, 4, x_9); -lean_closure_set(x_28, 5, x_12); -lean_closure_set(x_28, 6, x_7); +lean_closure_set(x_28, 4, x_8); +lean_closure_set(x_28, 5, x_11); +lean_closure_set(x_28, 6, x_6); lean_closure_set(x_28, 7, x_26); -lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -x_29 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11___rarg(x_26, x_25, x_28, x_15, x_16, x_17, x_18, x_19); +lean_inc(x_14); +x_29 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11___rarg(x_26, x_25, x_28, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_29) == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; @@ -2776,30 +2798,30 @@ lean_inc(x_30); x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_32 = lean_nat_add(x_12, x_22); -lean_dec(x_12); -x_33 = lean_array_push(x_14, x_30); -x_11 = x_23; -x_12 = x_32; -x_13 = lean_box(0); -x_14 = x_33; -x_19 = x_31; +x_32 = lean_nat_add(x_11, x_21); +lean_dec(x_11); +x_33 = lean_array_push(x_13, x_30); +x_10 = x_22; +x_11 = x_32; +x_12 = lean_box(0); +x_13 = x_33; +x_18 = x_31; goto _start; } else { uint8_t x_35; -lean_dec(x_23); -lean_dec(x_18); +lean_dec(x_22); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); +lean_dec(x_13); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); x_35 = !lean_is_exclusive(x_29); @@ -2825,21 +2847,21 @@ return x_38; else { lean_object* x_39; -lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_12); +lean_dec(x_14); lean_dec(x_11); -lean_dec(x_9); +lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_14); -lean_ctor_set(x_39, 1, x_19); +lean_ctor_set(x_39, 0, x_13); +lean_ctor_set(x_39, 1, x_18); return x_39; } } @@ -2887,148 +2909,261 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19___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) { _start: { -lean_object* x_14; uint8_t x_15; -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_nat_dec_eq(x_5, x_14); -if (x_15 == 0) +lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_9 = l_Lean_mkAppN(x_1, x_2); +x_10 = 0; +x_11 = 1; +x_12 = 1; +x_13 = l_Lean_Meta_mkLambdaFVars(x_2, x_9, x_10, x_11, x_10, x_12, x_4, x_5, x_6, x_7, x_8); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: { -lean_object* x_16; lean_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_unsigned_to_nat(1u); -x_17 = lean_nat_sub(x_5, x_16); -lean_dec(x_5); -x_18 = lean_array_fget(x_4, x_6); -x_19 = l_Lean_instInhabitedDefinitionVal; -x_20 = lean_array_get(x_19, x_1, x_6); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -x_23 = l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(x_22, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_23) == 0) +lean_object* x_16; uint8_t x_17; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_7, x_16); +if (x_17 == 0) { -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_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_7, x_18); +lean_dec(x_7); +x_20 = lean_array_fget(x_6, x_8); +x_21 = l_Lean_instInhabitedDefinitionVal; +x_22 = lean_array_get(x_21, x_1, x_8); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); lean_dec(x_23); -x_26 = l_Lean_mkAppN(x_24, x_2); -x_27 = l_Lean_Expr_app___override(x_18, x_26); -x_28 = lean_nat_add(x_6, x_16); -lean_dec(x_6); -x_29 = lean_array_push(x_8, x_27); -x_5 = x_17; -x_6 = x_28; -x_7 = lean_box(0); -x_8 = x_29; -x_13 = x_25; +x_25 = l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(x_24, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; +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 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); +x_29 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19___lambda__1___boxed), 8, 1); +lean_closure_set(x_29, 0, x_26); +x_30 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_31 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_28, x_29, x_30, x_11, x_12, x_13, x_14, x_27); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +lean_inc(x_2); +x_34 = lean_array_get(x_2, x_3, x_8); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); +x_35 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_34, x_32, x_4, x_11, x_12, x_13, x_14, x_33); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Expr_eta(x_36); +x_39 = l_Lean_Expr_app___override(x_20, x_38); +x_40 = lean_nat_add(x_8, x_18); +lean_dec(x_8); +x_41 = lean_array_push(x_10, x_39); +x_7 = x_19; +x_8 = x_40; +x_9 = lean_box(0); +x_10 = x_41; +x_15 = x_37; goto _start; } else { -uint8_t x_31; -lean_dec(x_18); -lean_dec(x_17); +uint8_t x_43; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_8); -lean_dec(x_6); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) +lean_dec(x_4); +lean_dec(x_2); +x_43 = !lean_is_exclusive(x_35); +if (x_43 == 0) { -return x_23; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -lean_object* x_35; -lean_dec(x_6); -lean_dec(x_5); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_8); -lean_ctor_set(x_35, 1, x_13); return x_35; } -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg(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) { -_start: +else { -lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_2); -x_11 = 0; -x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(x_1, x_11, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_35, 0); +x_45 = lean_ctor_get(x_35, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_35); +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; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -if (lean_obj_tag(x_12) == 0) +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_2); +x_47 = !lean_is_exclusive(x_31); +if (x_47 == 0) { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; +return x_31; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_31, 0); +x_49 = lean_ctor_get(x_31, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_31); +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; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_2); +x_51 = !lean_is_exclusive(x_25); +if (x_51 == 0) +{ +return x_25; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_25, 0); +x_53 = lean_ctor_get(x_25, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_25); +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; +} } } else { -uint8_t x_17; -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_object* x_55; +lean_dec(x_14); +lean_dec(x_13); 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; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_10); +lean_ctor_set(x_55, 1, x_15); +return x_55; } } } -} -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(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_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg___boxed), 9, 0); -return x_2; +lean_object* x_9; +x_9 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} } } LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -3366,567 +3501,583 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { _start: { -lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; +lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_inc(x_5); -lean_inc(x_16); +lean_inc(x_18); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__3), 12, 6); -lean_closure_set(x_22, 0, x_1); -lean_closure_set(x_22, 1, x_2); -lean_closure_set(x_22, 2, x_3); -lean_closure_set(x_22, 3, x_16); -lean_closure_set(x_22, 4, x_4); -lean_closure_set(x_22, 5, x_5); -x_23 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__2; -x_24 = 0; -x_25 = 0; +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__3), 12, 6); +lean_closure_set(x_24, 0, x_1); +lean_closure_set(x_24, 1, x_2); +lean_closure_set(x_24, 2, x_3); +lean_closure_set(x_24, 3, x_18); +lean_closure_set(x_24, 4, x_4); +lean_closure_set(x_24, 5, x_5); +x_25 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__2; +x_26 = 0; +x_27 = 0; +lean_inc(x_22); +lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -x_26 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_Arith_withAbstractAtoms_go___spec__1___rarg(x_23, x_24, x_3, x_22, x_25, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_26) == 0) +x_28 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_Arith_withAbstractAtoms_go___spec__1___rarg(x_25, x_26, x_3, x_24, x_27, x_19, x_20, x_21, x_22, x_23); +if (lean_obj_tag(x_28) == 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; 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_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_6); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_7); +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_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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_8); +lean_ctor_set(x_31, 0, x_6); x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_9); +lean_ctor_set(x_32, 0, x_7); x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 0, x_8); x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_10); +lean_ctor_set(x_34, 0, x_9); x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_27); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_35, 0, x_1); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_10); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_29); +x_38 = lean_box(0); x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_33); +lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_32); +lean_ctor_set(x_40, 0, x_36); lean_ctor_set(x_40, 1, x_39); x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_31); +lean_ctor_set(x_41, 0, x_35); lean_ctor_set(x_41, 1, x_40); x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_30); +lean_ctor_set(x_42, 0, x_34); lean_ctor_set(x_42, 1, x_41); x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_29); +lean_ctor_set(x_43, 0, x_33); lean_ctor_set(x_43, 1, x_42); -x_44 = lean_array_mk(x_43); -x_45 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__4; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_32); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_31); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_array_mk(x_45); +x_47 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__4; +lean_inc(x_22); +lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -x_46 = l_Lean_Meta_mkAppOptM(x_45, x_44, x_17, x_18, x_19, x_20, x_28); -if (lean_obj_tag(x_46) == 0) +x_48 = l_Lean_Meta_mkAppOptM(x_47, x_46, x_19, x_20, x_21, x_22, x_30); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -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_unsigned_to_nat(0u); -x_50 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19(x_11, x_12, x_13, x_13, x_2, x_49, lean_box(0), x_14, x_17, x_18, x_19, x_20, x_48); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -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_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +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 = lean_unsigned_to_nat(0u); +lean_inc(x_22); +lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -x_53 = l_Lean_Meta_PProdN_pack(x_5, x_51, x_17, x_18, x_19, x_20, x_52); -if (lean_obj_tag(x_53) == 0) +lean_inc(x_14); +x_52 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19(x_11, x_12, x_13, x_14, x_15, x_15, x_2, x_51, lean_box(0), x_16, x_19, x_20, x_21, x_22, x_50); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_53, 0); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); +lean_dec(x_52); +lean_inc(x_22); +lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -x_56 = l_Lean_Meta_mkExpectedTypeHint(x_47, x_54, x_17, x_18, x_19, x_20, x_55); -if (lean_obj_tag(x_56) == 0) +x_55 = l_Lean_Meta_PProdN_pack(x_5, x_53, x_19, x_20, x_21, x_22, x_54); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_57; lean_object* x_58; uint8_t x_59; uint8_t x_60; uint8_t x_61; lean_object* x_62; -x_57 = lean_ctor_get(x_56, 0); +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); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = 0; -x_60 = 1; -x_61 = 1; -x_62 = l_Lean_Meta_mkLambdaFVars(x_16, x_57, x_59, x_60, x_59, x_61, x_17, x_18, x_19, x_20, x_58); -lean_dec(x_16); -if (lean_obj_tag(x_62) == 0) +lean_dec(x_55); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +x_58 = l_Lean_Meta_mkExpectedTypeHint(x_49, x_56, x_19, x_20, x_21, x_22, x_57); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = l_Lean_Meta_mkLambdaFVars(x_15, x_63, x_59, x_60, x_59, x_61, x_17, x_18, x_19, x_20, x_64); -if (lean_obj_tag(x_65) == 0) +lean_object* x_59; lean_object* x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; lean_object* x_64; +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 = 0; +x_62 = 1; +x_63 = 1; +x_64 = l_Lean_Meta_mkLambdaFVars(x_18, x_59, x_61, x_62, x_61, x_63, x_19, x_20, x_21, x_22, x_60); +lean_dec(x_18); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_65, 0); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Meta_mkLambdaFVars(x_13, x_66, x_59, x_60, x_59, x_61, x_17, x_18, x_19, x_20, x_67); -if (lean_obj_tag(x_68) == 0) +lean_dec(x_64); +x_67 = l_Lean_Meta_mkLambdaFVars(x_17, x_65, x_61, x_62, x_61, x_63, x_19, x_20, x_21, x_22, x_66); +if (lean_obj_tag(x_67) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_68, 0); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = l_Lean_Meta_mkLambdaFVars(x_12, x_69, x_60, x_60, x_59, x_24, x_17, x_18, x_19, x_20, x_70); -if (lean_obj_tag(x_71) == 0) +lean_dec(x_67); +x_70 = l_Lean_Meta_mkLambdaFVars(x_15, x_68, x_61, x_62, x_61, x_63, x_19, x_20, x_21, x_22, x_69); +if (lean_obj_tag(x_70) == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_71, 0); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_72, x_17, x_18, x_19, x_20, x_73); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) +lean_dec(x_70); +x_73 = l_Lean_Meta_mkLambdaFVars(x_14, x_71, x_62, x_62, x_61, x_26, x_19, x_20, x_21, x_22, x_72); +lean_dec(x_14); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_76 = lean_ctor_get(x_74, 0); -x_77 = lean_ctor_get(x_74, 1); -x_78 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__9; -x_79 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_78, x_17, x_18, x_19, x_20, x_77); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_unbox(x_80); -lean_dec(x_80); -if (x_81 == 0) +lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_74, x_19, x_20, x_21, x_22, x_75); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) { -uint8_t x_82; -lean_free_object(x_74); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_78 = lean_ctor_get(x_76, 0); +x_79 = lean_ctor_get(x_76, 1); +x_80 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__9; +x_81 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_80, x_19, x_20, x_21, x_22, x_79); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +lean_dec(x_82); +if (x_83 == 0) +{ +uint8_t x_84; +lean_free_object(x_76); +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -x_82 = !lean_is_exclusive(x_79); -if (x_82 == 0) +x_84 = !lean_is_exclusive(x_81); +if (x_84 == 0) { -lean_object* x_83; -x_83 = lean_ctor_get(x_79, 0); -lean_dec(x_83); -lean_ctor_set(x_79, 0, x_76); -return x_79; +lean_object* x_85; +x_85 = lean_ctor_get(x_81, 0); +lean_dec(x_85); +lean_ctor_set(x_81, 0, x_78); +return x_81; } else { -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_79, 1); -lean_inc(x_84); -lean_dec(x_79); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_76); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -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; uint8_t x_92; -x_86 = lean_ctor_get(x_79, 1); +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_81, 1); lean_inc(x_86); -lean_dec(x_79); -lean_inc(x_76); -x_87 = l_Lean_indentExpr(x_76); -x_88 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__11; -lean_ctor_set_tag(x_74, 7); -lean_ctor_set(x_74, 1, x_87); -lean_ctor_set(x_74, 0, x_88); -x_89 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; -x_90 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_90, 0, x_74); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_78, x_90, x_17, x_18, x_19, x_20, x_86); +lean_dec(x_81); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_78); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_88 = lean_ctor_get(x_81, 1); +lean_inc(x_88); +lean_dec(x_81); +lean_inc(x_78); +x_89 = l_Lean_indentExpr(x_78); +x_90 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__11; +lean_ctor_set_tag(x_76, 7); +lean_ctor_set(x_76, 1, x_89); +lean_ctor_set(x_76, 0, x_90); +x_91 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; +x_92 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_92, 0, x_76); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_80, x_92, x_19, x_20, x_21, x_22, x_88); +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) +x_94 = !lean_is_exclusive(x_93); +if (x_94 == 0) { -lean_object* x_93; -x_93 = lean_ctor_get(x_91, 0); +lean_object* x_95; +x_95 = lean_ctor_get(x_93, 0); +lean_dec(x_95); +lean_ctor_set(x_93, 0, x_78); +return x_93; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_96); lean_dec(x_93); -lean_ctor_set(x_91, 0, x_76); -return x_91; -} -else -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_dec(x_91); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_76); -lean_ctor_set(x_95, 1, x_94); -return x_95; +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_78); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_96 = lean_ctor_get(x_74, 0); -x_97 = lean_ctor_get(x_74, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_74); -x_98 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__9; -x_99 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_98, x_17, x_18, x_19, x_20, x_97); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_unbox(x_100); -lean_dec(x_100); -if (x_101 == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -x_102 = lean_ctor_get(x_99, 1); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_98 = lean_ctor_get(x_76, 0); +x_99 = lean_ctor_get(x_76, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_76); +x_100 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__9; +x_101 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_100, x_19, x_20, x_21, x_22, x_99); +x_102 = lean_ctor_get(x_101, 0); lean_inc(x_102); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_103 = x_99; +x_103 = lean_unbox(x_102); +lean_dec(x_102); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +x_104 = lean_ctor_get(x_101, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_105 = x_101; } else { - lean_dec_ref(x_99); - x_103 = lean_box(0); + lean_dec_ref(x_101); + x_105 = lean_box(0); } -if (lean_is_scalar(x_103)) { - x_104 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(0, 2, 0); } else { - x_104 = x_103; + x_106 = x_105; } -lean_ctor_set(x_104, 0, x_96); -lean_ctor_set(x_104, 1, x_102); -return x_104; +lean_ctor_set(x_106, 0, x_98); +lean_ctor_set(x_106, 1, x_104); +return x_106; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_105 = lean_ctor_get(x_99, 1); -lean_inc(x_105); -lean_dec(x_99); -lean_inc(x_96); -x_106 = l_Lean_indentExpr(x_96); -x_107 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__11; -x_108 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_107 = lean_ctor_get(x_101, 1); +lean_inc(x_107); +lean_dec(x_101); +lean_inc(x_98); +x_108 = l_Lean_indentExpr(x_98); +x_109 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__11; x_110 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_98, x_110, x_17, x_18, x_19, x_20, x_105); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_100, x_112, x_19, x_20, x_21, x_22, x_107); +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_113 = x_111; +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_115 = x_113; } else { - lean_dec_ref(x_111); - x_113 = lean_box(0); + lean_dec_ref(x_113); + x_115 = lean_box(0); } -if (lean_is_scalar(x_113)) { - x_114 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(0, 2, 0); } else { - x_114 = x_113; + x_116 = x_115; } -lean_ctor_set(x_114, 0, x_96); -lean_ctor_set(x_114, 1, x_112); -return x_114; +lean_ctor_set(x_116, 0, x_98); +lean_ctor_set(x_116, 1, x_114); +return x_116; } } } else { -uint8_t x_115; +uint8_t x_117; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +x_117 = !lean_is_exclusive(x_73); +if (x_117 == 0) +{ +return x_73; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_73, 0); +x_119 = lean_ctor_get(x_73, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_73); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; +} +} +} +else +{ +uint8_t x_121; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_14); +x_121 = !lean_is_exclusive(x_70); +if (x_121 == 0) +{ +return x_70; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_70, 0); +x_123 = lean_ctor_get(x_70, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_70); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +} +else +{ +uint8_t x_125; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_14); +x_125 = !lean_is_exclusive(x_67); +if (x_125 == 0) +{ +return x_67; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_67, 0); +x_127 = lean_ctor_get(x_67, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_67); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +else +{ +uint8_t x_129; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_14); +x_129 = !lean_is_exclusive(x_64); +if (x_129 == 0) +{ +return x_64; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_64, 0); +x_131 = lean_ctor_get(x_64, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_64); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +} +} +else +{ +uint8_t x_133; +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -x_115 = !lean_is_exclusive(x_71); -if (x_115 == 0) +lean_dec(x_14); +x_133 = !lean_is_exclusive(x_58); +if (x_133 == 0) { -return x_71; +return x_58; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_71, 0); -x_117 = lean_ctor_get(x_71, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_71); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_58, 0); +x_135 = lean_ctor_get(x_58, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_58); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; } } } else { -uint8_t x_119; +uint8_t x_137; +lean_dec(x_49); +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -x_119 = !lean_is_exclusive(x_68); -if (x_119 == 0) +lean_dec(x_14); +x_137 = !lean_is_exclusive(x_55); +if (x_137 == 0) { -return x_68; +return x_55; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_68, 0); -x_121 = lean_ctor_get(x_68, 1); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_68); -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; +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_55, 0); +x_139 = lean_ctor_get(x_55, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_55); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; } } } else { -uint8_t x_123; +uint8_t x_141; +lean_dec(x_49); +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -x_123 = !lean_is_exclusive(x_65); -if (x_123 == 0) -{ -return x_65; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_65, 0); -x_125 = lean_ctor_get(x_65, 1); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_65); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -return x_126; -} -} -} -else -{ -uint8_t x_127; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -x_127 = !lean_is_exclusive(x_62); -if (x_127 == 0) -{ -return x_62; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_62, 0); -x_129 = lean_ctor_get(x_62, 1); -lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_62); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -return x_130; -} -} -} -else -{ -uint8_t x_131; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -x_131 = !lean_is_exclusive(x_56); -if (x_131 == 0) -{ -return x_56; -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_56, 0); -x_133 = lean_ctor_get(x_56, 1); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_56); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -return x_134; -} -} -} -else -{ -uint8_t x_135; -lean_dec(x_47); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -x_135 = !lean_is_exclusive(x_53); -if (x_135 == 0) -{ -return x_53; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_53, 0); -x_137 = lean_ctor_get(x_53, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_53); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; -} -} -} -else -{ -uint8_t x_139; -lean_dec(x_47); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_14); lean_dec(x_5); -x_139 = !lean_is_exclusive(x_50); -if (x_139 == 0) +x_141 = !lean_is_exclusive(x_52); +if (x_141 == 0) { -return x_50; +return x_52; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_50, 0); -x_141 = lean_ctor_get(x_50, 1); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_50); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -return x_142; +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_52, 0); +x_143 = lean_ctor_get(x_52, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_52); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; } } } else { -uint8_t x_143; +uint8_t x_145; +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); lean_dec(x_16); lean_dec(x_14); +lean_dec(x_12); lean_dec(x_5); lean_dec(x_2); -x_143 = !lean_is_exclusive(x_46); -if (x_143 == 0) +x_145 = !lean_is_exclusive(x_48); +if (x_145 == 0) { -return x_46; +return x_48; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_46, 0); -x_145 = lean_ctor_get(x_46, 1); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_46); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -return x_146; +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_48, 0); +x_147 = lean_ctor_get(x_48, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_48); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; } } } else { -uint8_t x_147; +uint8_t x_149; +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); lean_dec(x_16); lean_dec(x_14); +lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -3935,23 +4086,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_147 = !lean_is_exclusive(x_26); -if (x_147 == 0) +x_149 = !lean_is_exclusive(x_28); +if (x_149 == 0) { -return x_26; +return x_28; } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_26, 0); -x_149 = lean_ctor_get(x_26, 1); -lean_inc(x_149); -lean_inc(x_148); -lean_dec(x_26); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -return x_150; +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_28, 0); +x_151 = lean_ctor_get(x_28, 1); +lean_inc(x_151); +lean_inc(x_150); +lean_dec(x_28); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_150); +lean_ctor_set(x_152, 1, x_151); +return x_152; } } } @@ -3964,143 +4115,148 @@ x_1 = lean_mk_string_unchecked("h", 1, 1); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, size_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, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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) { _start: { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_array_get_size(x_17); -x_24 = lean_mk_empty_array_with_capacity(x_23); -x_25 = lean_unsigned_to_nat(0u); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_array_get_size(x_19); +x_26 = lean_mk_empty_array_with_capacity(x_25); +x_27 = lean_unsigned_to_nat(0u); +lean_inc(x_23); +lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); lean_inc(x_1); -x_26 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__6(x_1, x_17, x_17, x_23, x_25, lean_box(0), x_24, x_18, x_19, x_20, x_21, x_22); -if (lean_obj_tag(x_26) == 0) +x_28 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__6(x_1, x_19, x_19, x_25, x_27, lean_box(0), x_26, x_20, x_21, x_22, x_23, x_24); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* 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_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); lean_inc(x_1); lean_inc(x_2); -x_29 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_mkAdmAnd), 9, 2); -lean_closure_set(x_29, 0, x_2); -lean_closure_set(x_29, 1, x_1); -x_30 = l_Lean_instInhabitedExpr; +x_31 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_mkAdmAnd), 9, 2); +lean_closure_set(x_31, 0, x_2); +lean_closure_set(x_31, 1, x_1); +x_32 = l_Lean_instInhabitedExpr; +lean_inc(x_23); +lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -x_31 = l_Lean_Meta_PProdN_genMk___rarg(x_30, x_29, x_27, x_18, x_19, x_20, x_21, x_28); -if (lean_obj_tag(x_31) == 0) +x_33 = l_Lean_Meta_PProdN_genMk___rarg(x_32, x_31, x_29, x_20, x_21, x_22, x_23, x_30); +if (lean_obj_tag(x_33) == 0) { -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_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5___closed__1; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5___closed__1; lean_inc(x_3); -x_35 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames(x_3, x_34); -x_36 = lean_mk_empty_array_with_capacity(x_3); +x_37 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames(x_3, x_36); +lean_inc(x_23); +lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_6); lean_inc(x_5); -x_37 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_5, x_3, x_25, lean_box(0), x_36, x_18, x_19, x_20, x_21, x_33); -if (lean_obj_tag(x_37) == 0) +x_38 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_5, x_3, x_27, lean_box(0), x_12, x_20, x_21, x_22, x_23, x_35); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); +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_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Array_unzip___rarg(x_38); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); lean_dec(x_38); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); +x_41 = l_Array_unzip___rarg(x_39); +lean_dec(x_39); +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Array_zip___rarg(x_35, x_41); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); lean_dec(x_41); -lean_dec(x_35); -x_44 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___boxed), 21, 15); -lean_closure_set(x_44, 0, x_13); -lean_closure_set(x_44, 1, x_12); -lean_closure_set(x_44, 2, x_10); -lean_closure_set(x_44, 3, x_42); -lean_closure_set(x_44, 4, x_9); -lean_closure_set(x_44, 5, x_2); -lean_closure_set(x_44, 6, x_1); -lean_closure_set(x_44, 7, x_6); -lean_closure_set(x_44, 8, x_14); -lean_closure_set(x_44, 9, x_32); -lean_closure_set(x_44, 10, x_5); -lean_closure_set(x_44, 11, x_15); -lean_closure_set(x_44, 12, x_11); -lean_closure_set(x_44, 13, x_16); -lean_closure_set(x_44, 14, x_17); -x_45 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11___rarg(x_30, x_43, x_44, x_18, x_19, x_20, x_21, x_39); -return x_45; -} -else -{ -uint8_t x_46; -lean_dec(x_35); -lean_dec(x_32); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_46 = !lean_is_exclusive(x_37); -if (x_46 == 0) -{ -return x_37; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_37, 0); -x_48 = lean_ctor_get(x_37, 1); -lean_inc(x_48); -lean_inc(x_47); +x_44 = l_Array_zip___rarg(x_37, x_42); +lean_dec(x_42); lean_dec(x_37); -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; +x_45 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___boxed), 23, 17); +lean_closure_set(x_45, 0, x_13); +lean_closure_set(x_45, 1, x_11); +lean_closure_set(x_45, 2, x_9); +lean_closure_set(x_45, 3, x_43); +lean_closure_set(x_45, 4, x_8); +lean_closure_set(x_45, 5, x_2); +lean_closure_set(x_45, 6, x_1); +lean_closure_set(x_45, 7, x_6); +lean_closure_set(x_45, 8, x_14); +lean_closure_set(x_45, 9, x_34); +lean_closure_set(x_45, 10, x_5); +lean_closure_set(x_45, 11, x_15); +lean_closure_set(x_45, 12, x_16); +lean_closure_set(x_45, 13, x_17); +lean_closure_set(x_45, 14, x_10); +lean_closure_set(x_45, 15, x_18); +lean_closure_set(x_45, 16, x_19); +x_46 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11___rarg(x_32, x_44, x_45, x_20, x_21, x_22, x_23, x_40); +return x_46; +} +else +{ +uint8_t x_47; +lean_dec(x_37); +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_47 = !lean_is_exclusive(x_38); +if (x_47 == 0) +{ +return x_38; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_38, 0); +x_49 = lean_ctor_get(x_38, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_38); +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; } } } else { -uint8_t x_50; +uint8_t x_51; +lean_dec(x_23); +lean_dec(x_22); lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); @@ -4114,34 +4270,37 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_50 = !lean_is_exclusive(x_31); -if (x_50 == 0) +x_51 = !lean_is_exclusive(x_33); +if (x_51 == 0) { -return x_31; +return x_33; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_31, 0); -x_52 = lean_ctor_get(x_31, 1); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_33, 0); +x_53 = lean_ctor_get(x_33, 1); +lean_inc(x_53); lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_31); -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_dec(x_33); +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; } } } else { -uint8_t x_54; +uint8_t x_55; +lean_dec(x_23); +lean_dec(x_22); lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); @@ -4155,28 +4314,29 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_54 = !lean_is_exclusive(x_26); -if (x_54 == 0) +x_55 = !lean_is_exclusive(x_28); +if (x_55 == 0) { -return x_26; +return x_28; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_26, 0); -x_56 = lean_ctor_get(x_26, 1); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_28, 0); +x_57 = lean_ctor_get(x_28, 1); +lean_inc(x_57); lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_26); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_dec(x_28); +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; } } } @@ -4207,93 +4367,96 @@ x_1 = lean_mk_string_unchecked("adm", 3, 3); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___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, size_t x_8, lean_object* x_9, lean_object* x_10, size_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_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___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, size_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) { _start: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; -x_20 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___closed__2; -x_21 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_20, x_17, x_18, x_19); -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); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; +x_22 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___closed__2; +x_23 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_22, x_19, x_20, x_21); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); lean_inc(x_2); lean_inc(x_1); -lean_inc(x_14); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__1___boxed), 9, 3); -lean_closure_set(x_24, 0, x_14); -lean_closure_set(x_24, 1, x_1); -lean_closure_set(x_24, 2, x_2); -x_25 = 0; -x_26 = 0; +lean_inc(x_16); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__1___boxed), 9, 3); +lean_closure_set(x_26, 0, x_16); +lean_closure_set(x_26, 1, x_1); +lean_closure_set(x_26, 2, x_2); +x_27 = 0; +x_28 = 0; +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); lean_inc(x_1); -x_27 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_Arith_withAbstractAtoms_go___spec__1___rarg(x_22, x_25, x_1, x_24, x_26, x_15, x_16, x_17, x_18, x_23); -if (lean_obj_tag(x_27) == 0) +x_29 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_Arith_withAbstractAtoms_go___spec__1___rarg(x_24, x_27, x_1, x_26, x_28, x_17, x_18, x_19, x_20, x_25); +if (lean_obj_tag(x_29) == 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; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_array_get_size(x_14); -x_31 = lean_mk_empty_array_with_capacity(x_30); -x_32 = lean_unsigned_to_nat(0u); +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_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 = lean_array_get_size(x_16); +x_33 = lean_mk_empty_array_with_capacity(x_32); +x_34 = lean_unsigned_to_nat(0u); +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_31); -lean_inc(x_30); -x_33 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__5(x_3, x_4, x_14, x_14, x_30, x_32, lean_box(0), x_31, x_15, x_16, x_17, x_18, x_29); -if (lean_obj_tag(x_33) == 0) +lean_inc(x_33); +lean_inc(x_32); +x_35 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__5(x_3, x_4, x_16, x_16, x_32, x_34, lean_box(0), x_33, x_17, x_18, x_19, x_20, x_31); +if (lean_obj_tag(x_35) == 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; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_array_get_size(x_34); -x_37 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___closed__3; -x_38 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames(x_36, x_37); -x_39 = l_Array_zip___rarg(x_38, x_34); -lean_dec(x_34); -lean_dec(x_38); -x_40 = lean_box_usize(x_8); -x_41 = lean_box_usize(x_11); -x_42 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5___boxed), 22, 16); -lean_closure_set(x_42, 0, x_5); -lean_closure_set(x_42, 1, x_6); -lean_closure_set(x_42, 2, x_7); -lean_closure_set(x_42, 3, x_40); -lean_closure_set(x_42, 4, x_9); -lean_closure_set(x_42, 5, x_10); -lean_closure_set(x_42, 6, x_41); -lean_closure_set(x_42, 7, x_4); -lean_closure_set(x_42, 8, x_2); -lean_closure_set(x_42, 9, x_1); -lean_closure_set(x_42, 10, x_14); -lean_closure_set(x_42, 11, x_30); -lean_closure_set(x_42, 12, x_28); -lean_closure_set(x_42, 13, x_12); -lean_closure_set(x_42, 14, x_13); -lean_closure_set(x_42, 15, x_31); -x_43 = l_Lean_instInhabitedExpr; -x_44 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11___rarg(x_43, x_39, x_42, x_15, x_16, x_17, x_18, x_35); -return x_44; +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; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_array_get_size(x_36); +x_39 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___closed__3; +x_40 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames(x_38, x_39); +x_41 = l_Array_zip___rarg(x_40, x_36); +lean_dec(x_36); +lean_dec(x_40); +x_42 = lean_box_usize(x_8); +x_43 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5___boxed), 24, 18); +lean_closure_set(x_43, 0, x_5); +lean_closure_set(x_43, 1, x_6); +lean_closure_set(x_43, 2, x_7); +lean_closure_set(x_43, 3, x_42); +lean_closure_set(x_43, 4, x_9); +lean_closure_set(x_43, 5, x_10); +lean_closure_set(x_43, 6, x_4); +lean_closure_set(x_43, 7, x_2); +lean_closure_set(x_43, 8, x_1); +lean_closure_set(x_43, 9, x_16); +lean_closure_set(x_43, 10, x_32); +lean_closure_set(x_43, 11, x_11); +lean_closure_set(x_43, 12, x_30); +lean_closure_set(x_43, 13, x_12); +lean_closure_set(x_43, 14, x_13); +lean_closure_set(x_43, 15, x_14); +lean_closure_set(x_43, 16, x_15); +lean_closure_set(x_43, 17, x_33); +x_44 = l_Lean_instInhabitedExpr; +x_45 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11___rarg(x_44, x_41, x_43, x_17, x_18, x_19, x_20, x_37); +return x_45; } else { -uint8_t x_45; -lean_dec(x_31); +uint8_t x_46; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_30); -lean_dec(x_28); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -4301,6 +4464,7 @@ lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); @@ -4309,29 +4473,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_33); -if (x_45 == 0) +x_46 = !lean_is_exclusive(x_35); +if (x_46 == 0) { -return x_33; +return x_35; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_33, 0); -x_47 = lean_ctor_get(x_33, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_35, 0); +x_48 = lean_ctor_get(x_35, 1); +lean_inc(x_48); lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_33); -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_dec(x_35); +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; } } } else { -uint8_t x_49; +uint8_t x_50; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -4339,6 +4505,7 @@ lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); @@ -4347,23 +4514,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_49 = !lean_is_exclusive(x_27); -if (x_49 == 0) +x_50 = !lean_is_exclusive(x_29); +if (x_50 == 0) { -return x_27; +return x_29; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_27, 0); -x_51 = lean_ctor_get(x_27, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_29, 0); +x_52 = lean_ctor_get(x_29, 1); +lean_inc(x_52); lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_27); -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; +lean_dec(x_29); +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; } } } @@ -4385,145 +4552,156 @@ x_1 = lean_mk_string_unchecked("motive", 6, 6); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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: { -lean_object* x_13; lean_object* x_14; size_t x_15; lean_object* x_16; -x_13 = lean_array_get_size(x_1); -lean_inc(x_5); -x_14 = l_Lean_Elab_PartialFixpoint_CCPOProdProjs(x_13, x_5); -x_15 = lean_array_size(x_1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_array_get_size(x_1); +lean_inc(x_7); +x_16 = l_Lean_Elab_PartialFixpoint_CCPOProdProjs(x_15, x_7); +x_17 = lean_mk_empty_array_with_capacity(x_15); +x_18 = lean_unsigned_to_nat(0u); +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_1); -x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__2(x_2, x_15, x_3, x_1, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(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_16, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7___closed__1; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_17); -x_20 = l_Lean_Meta_PProdN_pack(x_19, x_17, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_20) == 0) +lean_inc(x_15); +lean_inc(x_4); +lean_inc(x_2); +x_19 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__2(x_1, x_2, x_3, x_4, x_1, x_15, x_18, lean_box(0), x_17, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_21; lean_object* x_22; size_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; lean_object* x_35; -x_21 = lean_ctor_get(x_20, 0); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); 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_17); -lean_inc(x_17); -x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__3(x_19, x_23, x_3, x_17, x_8, x_9, x_10, x_11, x_22); -x_25 = lean_ctor_get(x_24, 0); +lean_dec(x_19); +x_22 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7___closed__1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_20); +x_23 = l_Lean_Meta_PProdN_pack(x_22, x_20, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; size_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_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_array_get_size(x_25); -x_28 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7___closed__2; -x_29 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames(x_27, x_28); -x_30 = l_Array_zip___rarg(x_29, x_25); -lean_dec(x_25); -lean_dec(x_29); -x_31 = lean_box_usize(x_3); -x_32 = lean_box_usize(x_15); -x_33 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___boxed), 19, 13); -lean_closure_set(x_33, 0, x_21); -lean_closure_set(x_33, 1, x_19); -lean_closure_set(x_33, 2, x_14); -lean_closure_set(x_33, 3, x_17); -lean_closure_set(x_33, 4, x_5); -lean_closure_set(x_33, 5, x_4); -lean_closure_set(x_33, 6, x_13); -lean_closure_set(x_33, 7, x_31); -lean_closure_set(x_33, 8, x_1); -lean_closure_set(x_33, 9, x_6); -lean_closure_set(x_33, 10, x_32); -lean_closure_set(x_33, 11, x_7); -lean_closure_set(x_33, 12, x_2); -x_34 = l_Lean_instInhabitedExpr; -x_35 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11___rarg(x_34, x_30, x_33, x_8, x_9, x_10, x_11, x_26); -return x_35; +lean_dec(x_23); +x_26 = lean_array_size(x_20); +lean_inc(x_20); +x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__3(x_22, x_26, x_5, x_20, x_10, x_11, x_12, x_13, x_25); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_array_get_size(x_28); +x_31 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7___closed__2; +x_32 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_numberNames(x_30, x_31); +x_33 = l_Array_zip___rarg(x_32, x_28); +lean_dec(x_28); +lean_dec(x_32); +x_34 = lean_box_usize(x_5); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___boxed), 21, 15); +lean_closure_set(x_35, 0, x_24); +lean_closure_set(x_35, 1, x_22); +lean_closure_set(x_35, 2, x_16); +lean_closure_set(x_35, 3, x_20); +lean_closure_set(x_35, 4, x_7); +lean_closure_set(x_35, 5, x_6); +lean_closure_set(x_35, 6, x_15); +lean_closure_set(x_35, 7, x_34); +lean_closure_set(x_35, 8, x_1); +lean_closure_set(x_35, 9, x_8); +lean_closure_set(x_35, 10, x_17); +lean_closure_set(x_35, 11, x_9); +lean_closure_set(x_35, 12, x_2); +lean_closure_set(x_35, 13, x_3); +lean_closure_set(x_35, 14, x_4); +x_36 = l_Lean_instInhabitedExpr; +x_37 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__11___rarg(x_36, x_33, x_35, x_10, x_11, x_12, x_13, x_29); +return x_37; } else { -uint8_t x_36; -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_20); -if (x_36 == 0) -{ -return x_20; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_20, 0); -x_38 = lean_ctor_get(x_20, 1); -lean_inc(x_38); -lean_inc(x_37); +uint8_t x_38; lean_dec(x_20); -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 -{ -uint8_t x_40; -lean_dec(x_14); +lean_dec(x_17); +lean_dec(x_16); +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_3); lean_dec(x_2); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_16); -if (x_40 == 0) +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) { -return x_16; +return x_23; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_16, 0); -x_42 = lean_ctor_get(x_16, 1); -lean_inc(x_42); -lean_inc(x_41); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_23); +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; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_17); lean_dec(x_16); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +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_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_19); +if (x_42 == 0) +{ +return x_19; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_19, 0); +x_44 = lean_ctor_get(x_19, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_19); +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; } } } @@ -4545,6 +4723,23 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +static lean_object* _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", not an application of fix", 27, 27); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___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) { _start: { @@ -4554,7 +4749,7 @@ x_9 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__2; x_10 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); -x_11 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; +x_11 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__4; x_12 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); @@ -4581,184 +4776,219 @@ x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__3() { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = lean_unsigned_to_nat(0u); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_4, x_11, x_1, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", could not whnfUntil fix", 25, 25); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__4() { +_start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_12, 0); +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Meta_PProdN_stripProjs(x_13); -x_16 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__2; +lean_dec(x_1); +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_14 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_2, x_13, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -x_17 = l_Lean_Meta_whnfUntil(x_15, x_16, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_17, 0); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_15); +x_17 = l_Lean_Expr_eta(x_15); +x_18 = l_Lean_Meta_PProdN_stripProjs(x_17); +lean_dec(x_17); +x_19 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__2; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) +x_20 = l_Lean_Meta_whnfUntil(x_18, x_19, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_20) == 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_dec(x_15); -lean_dec(x_4); -lean_dec(x_2); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_MessageData_ofExpr(x_13); -x_21 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__2; -x_22 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; -x_24 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_24, x_6, x_7, x_8, x_9, x_19); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_25; -} -else +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -lean_dec(x_13); -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); -lean_dec(x_17); -x_27 = lean_ctor_get(x_18, 0); -lean_inc(x_27); +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_dec(x_18); -x_28 = l_Lean_Expr_cleanupAnnotations(x_27); -x_29 = l_Lean_Expr_isApp(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_28); +lean_dec(x_7); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_15, x_30, x_6, x_7, x_8, x_9, x_26); +lean_dec(x_3); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_MessageData_ofExpr(x_15); +x_24 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__2; +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__4; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_27, x_8, x_9, x_10, x_11, x_22); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_31; +return x_28; } else { -lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_32 = l_Lean_Expr_appArg(x_28, lean_box(0)); -x_33 = l_Lean_Expr_appFnCleanup(x_28, lean_box(0)); -x_34 = l_Lean_Expr_isApp(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_4); -lean_dec(x_2); -x_35 = lean_box(0); -x_36 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_15, x_35, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_37 = l_Lean_Expr_appArg(x_33, lean_box(0)); -x_38 = l_Lean_Expr_appFnCleanup(x_33, lean_box(0)); -x_39 = l_Lean_Expr_isApp(x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_38); -lean_dec(x_37); -lean_dec(x_32); -lean_dec(x_4); -lean_dec(x_2); -x_40 = lean_box(0); -x_41 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_15, x_40, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_41; -} -else -{ -lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_42 = l_Lean_Expr_appArg(x_38, lean_box(0)); -x_43 = l_Lean_Expr_appFnCleanup(x_38, lean_box(0)); -x_44 = l_Lean_Expr_isApp(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_37); -lean_dec(x_32); -lean_dec(x_4); -lean_dec(x_2); -x_45 = lean_box(0); -x_46 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_15, x_45, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_46; -} -else -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_47 = l_Lean_Expr_appArg(x_43, lean_box(0)); -x_48 = l_Lean_Expr_appFnCleanup(x_43, lean_box(0)); -x_49 = l_Lean_Expr_isConstOf(x_48, x_16); -lean_dec(x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; -lean_dec(x_47); -lean_dec(x_42); -lean_dec(x_37); -lean_dec(x_32); -lean_dec(x_4); -lean_dec(x_2); -x_50 = lean_box(0); -x_51 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_15, x_50, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_51; -} -else -{ -lean_object* x_52; +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_dec(x_15); -x_52 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7(x_2, x_4, x_3, x_47, x_42, x_37, x_32, x_6, x_7, x_8, x_9, x_26); -return x_52; +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_dec(x_20); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +lean_dec(x_21); +x_31 = l_Lean_Expr_cleanupAnnotations(x_30); +x_32 = l_Lean_Expr_isApp(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_31); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_18, x_33, x_8, x_9, x_10, x_11, x_29); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_35 = l_Lean_Expr_appArg(x_31, lean_box(0)); +x_36 = l_Lean_Expr_appFnCleanup(x_31, lean_box(0)); +x_37 = l_Lean_Expr_isApp(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_38 = lean_box(0); +x_39 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_18, x_38, x_8, x_9, x_10, x_11, x_29); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = l_Lean_Expr_appArg(x_36, lean_box(0)); +x_41 = l_Lean_Expr_appFnCleanup(x_36, lean_box(0)); +x_42 = l_Lean_Expr_isApp(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_35); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_43 = lean_box(0); +x_44 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_18, x_43, x_8, x_9, x_10, x_11, x_29); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_45 = l_Lean_Expr_appArg(x_41, lean_box(0)); +x_46 = l_Lean_Expr_appFnCleanup(x_41, lean_box(0)); +x_47 = l_Lean_Expr_isApp(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_46); +lean_dec(x_45); +lean_dec(x_40); +lean_dec(x_35); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_48 = lean_box(0); +x_49 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_18, x_48, x_8, x_9, x_10, x_11, x_29); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = l_Lean_Expr_appArg(x_46, lean_box(0)); +x_51 = l_Lean_Expr_appFnCleanup(x_46, lean_box(0)); +x_52 = l_Lean_Expr_isConstOf(x_51, x_19); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_50); +lean_dec(x_45); +lean_dec(x_40); +lean_dec(x_35); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_53 = lean_box(0); +x_54 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8(x_18, x_53, x_8, x_9, x_10, x_11, x_29); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_54; +} +else +{ +lean_object* x_55; +lean_dec(x_18); +x_55 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7(x_3, x_4, x_5, x_7, x_6, x_50, x_45, x_40, x_35, x_8, x_9, x_10, x_11, x_29); +return x_55; } } } @@ -4768,61 +4998,65 @@ return x_52; } else { -uint8_t x_53; +uint8_t x_56; +lean_dec(x_18); lean_dec(x_15); -lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_53 = !lean_is_exclusive(x_17); -if (x_53 == 0) +lean_dec(x_3); +x_56 = !lean_is_exclusive(x_20); +if (x_56 == 0) { -return x_17; +return x_20; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_17, 0); -x_55 = lean_ctor_get(x_17, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_17); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -} -else -{ -uint8_t x_57; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_57 = !lean_is_exclusive(x_12); -if (x_57 == 0) -{ -return x_12; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_12, 0); -x_59 = lean_ctor_get(x_12, 1); -lean_inc(x_59); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_20, 0); +x_58 = lean_ctor_get(x_20, 1); lean_inc(x_58); -lean_dec(x_12); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +lean_inc(x_57); +lean_dec(x_20); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_60 = !lean_is_exclusive(x_14); +if (x_60 == 0) +{ +return x_14; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_14, 0); +x_62 = lean_ctor_get(x_14, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_14); +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; } } } @@ -4992,163 +5226,169 @@ x_24 = 0; x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_23, x_24, x_22, x_2, x_3, x_4, x_5, x_10); if (lean_obj_tag(x_25) == 0) { -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; +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; 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_instInhabitedDefinitionVal; -x_29 = lean_unsigned_to_nat(0u); -x_30 = lean_array_get(x_28, x_26, x_29); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -x_32 = lean_ctor_get(x_21, 3); -lean_inc(x_32); +x_28 = lean_ctor_get(x_21, 3); +lean_inc(x_28); lean_dec(x_21); -x_33 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___boxed__const__1; -lean_inc(x_31); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___boxed), 10, 3); -lean_closure_set(x_34, 0, x_31); -lean_closure_set(x_34, 1, x_26); -lean_closure_set(x_34, 2, x_33); -x_35 = 0; +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__1; +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_array_get(x_30, x_29, x_31); +x_33 = l_Lean_instInhabitedDefinitionVal; +x_34 = lean_array_get(x_33, x_26, x_31); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_35, 2); +lean_inc(x_36); +x_37 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___boxed__const__1; +lean_inc(x_32); +x_38 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___boxed), 12, 6); +lean_closure_set(x_38, 0, x_34); +lean_closure_set(x_38, 1, x_32); +lean_closure_set(x_38, 2, x_26); +lean_closure_set(x_38, 3, x_30); +lean_closure_set(x_38, 4, x_29); +lean_closure_set(x_38, 5, x_37); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_36 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg(x_31, x_32, x_34, x_35, x_2, x_3, x_4, x_5, x_27); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_37); -x_39 = lean_infer_type(x_37, x_2, x_3, x_4, x_5, x_38); +x_39 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(x_32, x_36, x_38, x_2, x_3, x_4, x_5, x_27); if (lean_obj_tag(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_40; lean_object* x_41; lean_object* x_42; x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); lean_dec(x_39); -x_42 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; -x_43 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; lean_inc(x_5); lean_inc(x_4); -x_44 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_40, x_42, x_43, x_4, x_5, x_41); -if (lean_obj_tag(x_44) == 0) +lean_inc(x_40); +x_42 = lean_infer_type(x_40, x_2, x_3, x_4, x_5, x_41); +if (lean_obj_tag(x_42) == 0) { -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; -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 = lean_box(0); -x_48 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; -lean_inc(x_45); -x_49 = l_Lean_CollectLevelParams_main(x_45, x_48); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_ctor_get(x_30, 0); -lean_inc(x_51); -lean_dec(x_30); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21(x_50, x_52, x_47); -lean_dec(x_50); -x_54 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__11; -x_55 = l_Lean_Name_append(x_1, x_54); -lean_inc(x_55); -x_56 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -lean_ctor_set(x_56, 2, x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; +x_46 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; +lean_inc(x_5); +lean_inc(x_4); +x_47 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_43, x_45, x_46, x_4, x_5, x_44); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +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 = lean_box(0); +x_51 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; +lean_inc(x_48); +x_52 = l_Lean_CollectLevelParams_main(x_48, x_51); +x_53 = lean_ctor_get(x_52, 2); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_35, 1); +lean_inc(x_54); +lean_dec(x_35); +x_55 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21(x_53, x_54, x_50); +lean_dec(x_53); +x_56 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__11; +x_57 = l_Lean_Name_append(x_1, x_56); +lean_inc(x_57); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set(x_58, 2, x_48); lean_ctor_set_tag(x_7, 1); -lean_ctor_set(x_7, 1, x_47); -lean_ctor_set(x_7, 0, x_55); -x_57 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_37); -lean_ctor_set(x_57, 2, x_7); +lean_ctor_set(x_7, 1, x_50); +lean_ctor_set(x_7, 0, 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_40); +lean_ctor_set(x_59, 2, x_7); lean_ctor_set_tag(x_14, 2); -lean_ctor_set(x_14, 0, x_57); -x_58 = l_Lean_addDecl(x_14, x_4, x_5, x_46); -return x_58; +lean_ctor_set(x_14, 0, x_59); +x_60 = l_Lean_addDecl(x_14, x_4, x_5, x_49); +return x_60; } else { -uint8_t x_59; -lean_dec(x_37); -lean_dec(x_30); +uint8_t x_61; +lean_dec(x_40); +lean_dec(x_35); lean_free_object(x_14); lean_free_object(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_44); -if (x_59 == 0) +x_61 = !lean_is_exclusive(x_47); +if (x_61 == 0) { -return x_44; +return x_47; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_44, 0); -x_61 = lean_ctor_get(x_44, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_44); -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_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_47, 0); +x_63 = lean_ctor_get(x_47, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_47); +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_63; -lean_dec(x_37); -lean_dec(x_30); +uint8_t x_65; +lean_dec(x_40); +lean_dec(x_35); lean_free_object(x_14); lean_free_object(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_63 = !lean_is_exclusive(x_39); -if (x_63 == 0) +x_65 = !lean_is_exclusive(x_42); +if (x_65 == 0) { -return x_39; +return x_42; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_39, 0); -x_65 = lean_ctor_get(x_39, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_39); -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_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_42, 0); +x_67 = lean_ctor_get(x_42, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_42); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } else { -uint8_t x_67; -lean_dec(x_30); +uint8_t x_69; +lean_dec(x_35); lean_free_object(x_14); lean_free_object(x_7); lean_dec(x_5); @@ -5156,29 +5396,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_67 = !lean_is_exclusive(x_36); -if (x_67 == 0) +x_69 = !lean_is_exclusive(x_39); +if (x_69 == 0) { -return x_36; +return x_39; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_36, 0); -x_69 = lean_ctor_get(x_36, 1); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_36); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_39, 0); +x_71 = lean_ctor_get(x_39, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_39); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } else { -uint8_t x_71; +uint8_t x_73; lean_free_object(x_14); lean_dec(x_21); lean_free_object(x_7); @@ -5187,182 +5427,157 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_71 = !lean_is_exclusive(x_25); -if (x_71 == 0) +x_73 = !lean_is_exclusive(x_25); +if (x_73 == 0) { return x_25; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_25, 0); -x_73 = lean_ctor_get(x_25, 1); -lean_inc(x_73); -lean_inc(x_72); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_25, 0); +x_75 = lean_ctor_get(x_25, 1); +lean_inc(x_75); +lean_inc(x_74); lean_dec(x_25); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } else { -lean_object* x_75; lean_object* x_76; size_t x_77; size_t x_78; lean_object* x_79; -x_75 = lean_ctor_get(x_14, 0); -lean_inc(x_75); +lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_14, 0); +lean_inc(x_77); lean_dec(x_14); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -x_77 = lean_array_size(x_76); -x_78 = 0; -x_79 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_77, x_78, x_76, x_2, x_3, x_4, x_5, x_10); -if (lean_obj_tag(x_79) == 0) +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +x_79 = lean_array_size(x_78); +x_80 = 0; +x_81 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_79, x_80, x_78, x_2, x_3, x_4, x_5, x_10); +if (lean_obj_tag(x_81) == 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; lean_object* x_88; uint8_t x_89; lean_object* x_90; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = l_Lean_instInhabitedDefinitionVal; -x_83 = lean_unsigned_to_nat(0u); -x_84 = lean_array_get(x_82, x_80, x_83); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_82 = lean_ctor_get(x_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_ctor_get(x_77, 3); +lean_inc(x_84); +lean_dec(x_77); x_85 = lean_ctor_get(x_84, 1); lean_inc(x_85); -x_86 = lean_ctor_get(x_75, 3); -lean_inc(x_86); -lean_dec(x_75); -x_87 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___boxed__const__1; -lean_inc(x_85); -x_88 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___boxed), 10, 3); -lean_closure_set(x_88, 0, x_85); -lean_closure_set(x_88, 1, x_80); -lean_closure_set(x_88, 2, x_87); -x_89 = 0; +lean_dec(x_84); +x_86 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__1; +x_87 = lean_unsigned_to_nat(0u); +x_88 = lean_array_get(x_86, x_85, x_87); +x_89 = l_Lean_instInhabitedDefinitionVal; +x_90 = lean_array_get(x_89, x_82, x_87); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_91, 2); +lean_inc(x_92); +x_93 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___boxed__const__1; +lean_inc(x_88); +x_94 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___boxed), 12, 6); +lean_closure_set(x_94, 0, x_90); +lean_closure_set(x_94, 1, x_88); +lean_closure_set(x_94, 2, x_82); +lean_closure_set(x_94, 3, x_86); +lean_closure_set(x_94, 4, x_85); +lean_closure_set(x_94, 5, x_93); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_90 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg(x_85, x_86, x_88, x_89, x_2, x_3, x_4, x_5, x_81); -if (lean_obj_tag(x_90) == 0) +x_95 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(x_88, x_92, x_94, x_2, x_3, x_4, x_5, x_83); +if (lean_obj_tag(x_95) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -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); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +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_5); lean_inc(x_4); -lean_inc(x_91); -x_93 = lean_infer_type(x_91, x_2, x_3, x_4, x_5, x_92); -if (lean_obj_tag(x_93) == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; -x_97 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; -lean_inc(x_5); -lean_inc(x_4); -x_98 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_94, x_96, x_97, x_4, x_5, x_95); +lean_inc(x_96); +x_98 = lean_infer_type(x_96, x_2, x_3, x_4, x_5, x_97); if (lean_obj_tag(x_98) == 0) { -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_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; x_99 = lean_ctor_get(x_98, 0); lean_inc(x_99); x_100 = lean_ctor_get(x_98, 1); lean_inc(x_100); lean_dec(x_98); -x_101 = lean_box(0); -x_102 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; -lean_inc(x_99); -x_103 = l_Lean_CollectLevelParams_main(x_99, x_102); -x_104 = lean_ctor_get(x_103, 2); -lean_inc(x_104); -lean_dec(x_103); -x_105 = lean_ctor_get(x_84, 0); -lean_inc(x_105); -lean_dec(x_84); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_107 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21(x_104, x_106, x_101); -lean_dec(x_104); -x_108 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__11; -x_109 = l_Lean_Name_append(x_1, x_108); -lean_inc(x_109); -x_110 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -lean_ctor_set(x_110, 2, x_99); -lean_ctor_set_tag(x_7, 1); -lean_ctor_set(x_7, 1, x_101); -lean_ctor_set(x_7, 0, x_109); -x_111 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_91); -lean_ctor_set(x_111, 2, x_7); -x_112 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_112, 0, x_111); -x_113 = l_Lean_addDecl(x_112, x_4, x_5, x_100); -return x_113; -} -else +x_101 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; +x_102 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; +lean_inc(x_5); +lean_inc(x_4); +x_103 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_99, x_101, x_102, x_4, x_5, x_100); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_box(0); +x_107 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; +lean_inc(x_104); +x_108 = l_Lean_CollectLevelParams_main(x_104, x_107); +x_109 = lean_ctor_get(x_108, 2); +lean_inc(x_109); +lean_dec(x_108); +x_110 = lean_ctor_get(x_91, 1); +lean_inc(x_110); lean_dec(x_91); -lean_dec(x_84); -lean_free_object(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_114 = lean_ctor_get(x_98, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_98, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_116 = x_98; -} else { - lean_dec_ref(x_98); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(1, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_114); -lean_ctor_set(x_117, 1, x_115); +x_111 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21(x_109, x_110, x_106); +lean_dec(x_109); +x_112 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__11; +x_113 = l_Lean_Name_append(x_1, x_112); +lean_inc(x_113); +x_114 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_111); +lean_ctor_set(x_114, 2, x_104); +lean_ctor_set_tag(x_7, 1); +lean_ctor_set(x_7, 1, x_106); +lean_ctor_set(x_7, 0, x_113); +x_115 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_96); +lean_ctor_set(x_115, 2, x_7); +x_116 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_116, 0, x_115); +x_117 = l_Lean_addDecl(x_116, x_4, x_5, x_105); return x_117; } -} else { lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_96); lean_dec(x_91); -lean_dec(x_84); lean_free_object(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_118 = lean_ctor_get(x_93, 0); +x_118 = lean_ctor_get(x_103, 0); lean_inc(x_118); -x_119 = lean_ctor_get(x_93, 1); +x_119 = lean_ctor_get(x_103, 1); lean_inc(x_119); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_120 = x_93; +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_120 = x_103; } else { - lean_dec_ref(x_93); + lean_dec_ref(x_103); x_120 = lean_box(0); } if (lean_is_scalar(x_120)) { @@ -5378,23 +5593,22 @@ return x_121; else { lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -lean_dec(x_84); +lean_dec(x_96); +lean_dec(x_91); lean_free_object(x_7); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -x_122 = lean_ctor_get(x_90, 0); +x_122 = lean_ctor_get(x_98, 0); lean_inc(x_122); -x_123 = lean_ctor_get(x_90, 1); +x_123 = lean_ctor_get(x_98, 1); lean_inc(x_123); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_124 = x_90; +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_124 = x_98; } else { - lean_dec_ref(x_90); + lean_dec_ref(x_98); x_124 = lean_box(0); } if (lean_is_scalar(x_124)) { @@ -5410,23 +5624,23 @@ return x_125; else { lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -lean_dec(x_75); +lean_dec(x_91); lean_free_object(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_126 = lean_ctor_get(x_79, 0); +x_126 = lean_ctor_get(x_95, 0); lean_inc(x_126); -x_127 = lean_ctor_get(x_79, 1); +x_127 = lean_ctor_get(x_95, 1); lean_inc(x_127); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_128 = x_79; +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_128 = x_95; } else { - lean_dec_ref(x_79); + lean_dec_ref(x_95); x_128 = lean_box(0); } if (lean_is_scalar(x_128)) { @@ -5439,283 +5653,321 @@ lean_ctor_set(x_129, 1, x_127); return x_129; } } -} -} else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_130 = lean_ctor_get(x_7, 0); -x_131 = lean_ctor_get(x_7, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_7); -x_132 = lean_ctor_get(x_130, 0); -lean_inc(x_132); -lean_dec(x_130); -x_133 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo; -x_134 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__1; -lean_inc(x_1); -x_135 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_133, x_134, x_132, x_1); -if (lean_obj_tag(x_135) == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_136 = l_Lean_MessageData_ofName(x_1); -x_137 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; -x_138 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__3; -x_140 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_140, x_2, x_3, x_4, x_5, x_131); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_77); +lean_free_object(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_141; +lean_dec(x_1); +x_130 = lean_ctor_get(x_81, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_81, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_132 = x_81; +} else { + lean_dec_ref(x_81); + x_132 = lean_box(0); +} +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(1, 2, 0); +} else { + x_133 = x_132; +} +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_131); +return x_133; +} +} +} } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; size_t x_145; size_t x_146; lean_object* x_147; -x_142 = lean_ctor_get(x_135, 0); -lean_inc(x_142); -if (lean_is_exclusive(x_135)) { - lean_ctor_release(x_135, 0); - x_143 = x_135; -} else { - lean_dec_ref(x_135); - x_143 = lean_box(0); -} -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -x_145 = lean_array_size(x_144); -x_146 = 0; -x_147 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_145, x_146, x_144, x_2, x_3, x_4, x_5, x_131); -if (lean_obj_tag(x_147) == 0) +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_134 = lean_ctor_get(x_7, 0); +x_135 = lean_ctor_get(x_7, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_7); +x_136 = lean_ctor_get(x_134, 0); +lean_inc(x_136); +lean_dec(x_134); +x_137 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo; +x_138 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__1; +lean_inc(x_1); +x_139 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_137, x_138, x_136, x_1); +if (lean_obj_tag(x_139) == 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_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; -x_148 = lean_ctor_get(x_147, 0); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_140 = l_Lean_MessageData_ofName(x_1); +x_141 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; +x_142 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_140); +x_143 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__3; +x_144 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +x_145 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_144, x_2, x_3, x_4, x_5, x_135); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_145; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; size_t x_149; size_t x_150; lean_object* x_151; +x_146 = lean_ctor_get(x_139, 0); +lean_inc(x_146); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + x_147 = x_139; +} else { + lean_dec_ref(x_139); + x_147 = lean_box(0); +} +x_148 = lean_ctor_get(x_146, 1); lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -lean_dec(x_147); -x_150 = l_Lean_instInhabitedDefinitionVal; -x_151 = lean_unsigned_to_nat(0u); -x_152 = lean_array_get(x_150, x_148, x_151); -x_153 = lean_ctor_get(x_152, 1); +x_149 = lean_array_size(x_148); +x_150 = 0; +x_151 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_149, x_150, x_148, x_2, x_3, x_4, x_5, x_135); +if (lean_obj_tag(x_151) == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); lean_inc(x_153); -x_154 = lean_ctor_get(x_142, 3); +lean_dec(x_151); +x_154 = lean_ctor_get(x_146, 3); lean_inc(x_154); -lean_dec(x_142); -x_155 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___boxed__const__1; -lean_inc(x_153); -x_156 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___boxed), 10, 3); -lean_closure_set(x_156, 0, x_153); -lean_closure_set(x_156, 1, x_148); -lean_closure_set(x_156, 2, x_155); -x_157 = 0; +lean_dec(x_146); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +lean_dec(x_154); +x_156 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__1; +x_157 = lean_unsigned_to_nat(0u); +x_158 = lean_array_get(x_156, x_155, x_157); +x_159 = l_Lean_instInhabitedDefinitionVal; +x_160 = lean_array_get(x_159, x_152, x_157); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_161, 2); +lean_inc(x_162); +x_163 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___boxed__const__1; +lean_inc(x_158); +x_164 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___boxed), 12, 6); +lean_closure_set(x_164, 0, x_160); +lean_closure_set(x_164, 1, x_158); +lean_closure_set(x_164, 2, x_152); +lean_closure_set(x_164, 3, x_156); +lean_closure_set(x_164, 4, x_155); +lean_closure_set(x_164, 5, x_163); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_158 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg(x_153, x_154, x_156, x_157, x_2, x_3, x_4, x_5, x_149); -if (lean_obj_tag(x_158) == 0) +x_165 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(x_158, x_162, x_164, x_2, x_3, x_4, x_5, x_153); +if (lean_obj_tag(x_165) == 0) { -lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); +lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_159); -x_161 = lean_infer_type(x_159, x_2, x_3, x_4, x_5, x_160); -if (lean_obj_tag(x_161) == 0) +lean_inc(x_166); +x_168 = lean_infer_type(x_166, x_2, x_3, x_4, x_5, x_167); +if (lean_obj_tag(x_168) == 0) { -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); -x_164 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; -x_165 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; +x_172 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; lean_inc(x_5); lean_inc(x_4); -x_166 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_162, x_164, x_165, x_4, x_5, x_163); -if (lean_obj_tag(x_166) == 0) +x_173 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_169, x_171, x_172, x_4, x_5, x_170); +if (lean_obj_tag(x_173) == 0) { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -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 = lean_box(0); -x_170 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; -lean_inc(x_167); -x_171 = l_Lean_CollectLevelParams_main(x_167, x_170); -x_172 = lean_ctor_get(x_171, 2); -lean_inc(x_172); -lean_dec(x_171); -x_173 = lean_ctor_get(x_152, 0); -lean_inc(x_173); -lean_dec(x_152); -x_174 = lean_ctor_get(x_173, 1); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_174 = lean_ctor_get(x_173, 0); lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); lean_dec(x_173); -x_175 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21(x_172, x_174, x_169); -lean_dec(x_172); -x_176 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__11; -x_177 = l_Lean_Name_append(x_1, x_176); -lean_inc(x_177); -x_178 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_175); -lean_ctor_set(x_178, 2, x_167); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_169); -x_180 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_180, 0, x_178); -lean_ctor_set(x_180, 1, x_159); -lean_ctor_set(x_180, 2, x_179); -if (lean_is_scalar(x_143)) { - x_181 = lean_alloc_ctor(2, 1, 0); -} else { - x_181 = x_143; - lean_ctor_set_tag(x_181, 2); -} -lean_ctor_set(x_181, 0, x_180); -x_182 = l_Lean_addDecl(x_181, x_4, x_5, x_168); -return x_182; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_159); -lean_dec(x_152); -lean_dec(x_143); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_183 = lean_ctor_get(x_166, 0); +x_176 = lean_box(0); +x_177 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; +lean_inc(x_174); +x_178 = l_Lean_CollectLevelParams_main(x_174, x_177); +x_179 = lean_ctor_get(x_178, 2); +lean_inc(x_179); +lean_dec(x_178); +x_180 = lean_ctor_get(x_161, 1); +lean_inc(x_180); +lean_dec(x_161); +x_181 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21(x_179, x_180, x_176); +lean_dec(x_179); +x_182 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__11; +x_183 = l_Lean_Name_append(x_1, x_182); lean_inc(x_183); -x_184 = lean_ctor_get(x_166, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_185 = x_166; +x_184 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_181); +lean_ctor_set(x_184, 2, x_174); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_176); +x_186 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_166); +lean_ctor_set(x_186, 2, x_185); +if (lean_is_scalar(x_147)) { + x_187 = lean_alloc_ctor(2, 1, 0); } else { - lean_dec_ref(x_166); - x_185 = lean_box(0); -} -if (lean_is_scalar(x_185)) { - x_186 = lean_alloc_ctor(1, 2, 0); -} else { - x_186 = x_185; -} -lean_ctor_set(x_186, 0, x_183); -lean_ctor_set(x_186, 1, x_184); -return x_186; + x_187 = x_147; + lean_ctor_set_tag(x_187, 2); } +lean_ctor_set(x_187, 0, x_186); +x_188 = l_Lean_addDecl(x_187, x_4, x_5, x_175); +return x_188; } else { -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec(x_159); -lean_dec(x_152); -lean_dec(x_143); +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_166); +lean_dec(x_161); +lean_dec(x_147); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_187 = lean_ctor_get(x_161, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_161, 1); -lean_inc(x_188); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_189 = x_161; +x_189 = lean_ctor_get(x_173, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_173, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_191 = x_173; } else { - lean_dec_ref(x_161); - x_189 = lean_box(0); + lean_dec_ref(x_173); + x_191 = lean_box(0); } -if (lean_is_scalar(x_189)) { - x_190 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_191)) { + x_192 = lean_alloc_ctor(1, 2, 0); } else { - x_190 = x_189; + x_192 = x_191; } -lean_ctor_set(x_190, 0, x_187); -lean_ctor_set(x_190, 1, x_188); -return x_190; +lean_ctor_set(x_192, 0, x_189); +lean_ctor_set(x_192, 1, x_190); +return x_192; } } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_dec(x_152); -lean_dec(x_143); +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +lean_dec(x_166); +lean_dec(x_161); +lean_dec(x_147); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_193 = lean_ctor_get(x_168, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_168, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_195 = x_168; +} else { + lean_dec_ref(x_168); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(1, 2, 0); +} else { + x_196 = x_195; +} +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set(x_196, 1, x_194); +return x_196; +} +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_161); +lean_dec(x_147); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_191 = lean_ctor_get(x_158, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_158, 1); -lean_inc(x_192); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_193 = x_158; +x_197 = lean_ctor_get(x_165, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_165, 1); +lean_inc(x_198); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_199 = x_165; } else { - lean_dec_ref(x_158); - x_193 = lean_box(0); + lean_dec_ref(x_165); + x_199 = lean_box(0); } -if (lean_is_scalar(x_193)) { - x_194 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_199)) { + x_200 = lean_alloc_ctor(1, 2, 0); } else { - x_194 = x_193; + x_200 = x_199; } -lean_ctor_set(x_194, 0, x_191); -lean_ctor_set(x_194, 1, x_192); -return x_194; +lean_ctor_set(x_200, 0, x_197); +lean_ctor_set(x_200, 1, x_198); +return x_200; } } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -lean_dec(x_143); -lean_dec(x_142); +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +lean_dec(x_147); +lean_dec(x_146); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_195 = lean_ctor_get(x_147, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_147, 1); -lean_inc(x_196); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_197 = x_147; +x_201 = lean_ctor_get(x_151, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_151, 1); +lean_inc(x_202); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_203 = x_151; } else { - lean_dec_ref(x_147); - x_197 = lean_box(0); + lean_dec_ref(x_151); + x_203 = lean_box(0); } -if (lean_is_scalar(x_197)) { - x_198 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_203)) { + x_204 = lean_alloc_ctor(1, 2, 0); } else { - x_198 = x_197; + x_204 = x_203; } -lean_ctor_set(x_198, 0, x_195); -lean_ctor_set(x_198, 1, x_196); -return x_198; +lean_ctor_set(x_204, 0, x_201); +lean_ctor_set(x_204, 1, x_202); +return x_204; } } } @@ -5832,17 +6084,15 @@ lean_dec(x_4); return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); +lean_object* x_15; +x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); lean_dec(x_3); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__2(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_12; +return x_15; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___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) { @@ -6027,18 +6277,15 @@ lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; _start: { -size_t x_20; size_t x_21; lean_object* x_22; -x_20 = lean_unbox_usize(x_1); +size_t x_19; lean_object* x_20; +x_19 = lean_unbox_usize(x_1); lean_dec(x_1); -x_21 = lean_unbox_usize(x_4); +x_20 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_9); lean_dec(x_4); -x_22 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17(x_20, x_2, x_3, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_10); -lean_dec(x_5); -return x_22; +return x_20; } } LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__18___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) { @@ -6052,30 +6299,30 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19___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) { _start: { -lean_object* x_14; -x_14 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); +lean_object* x_9; +x_9 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_14; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); -return x_11; +lean_object* x_16; +x_16 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_16; } } LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -6128,15 +6375,17 @@ lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; _start: { -lean_object* x_22; -x_22 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_object* x_24; +x_24 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_17); lean_dec(x_15); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); -return x_22; +return x_24; } } LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5___boxed(lean_object** _args) { @@ -6162,16 +6411,16 @@ lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +lean_object* x_24 = _args[23]; _start: { -size_t x_23; size_t x_24; lean_object* x_25; -x_23 = lean_unbox_usize(x_4); +size_t x_25; lean_object* x_26; +x_25 = lean_unbox_usize(x_4); lean_dec(x_4); -x_24 = lean_unbox_usize(x_7); +x_26 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5(x_1, x_2, x_3, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); lean_dec(x_7); -x_25 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__5(x_1, x_2, x_3, x_23, x_5, x_6, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); -lean_dec(x_8); -return x_25; +return x_26; } } LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6___boxed(lean_object** _args) { @@ -6194,26 +6443,26 @@ lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -size_t x_20; size_t x_21; lean_object* x_22; -x_20 = lean_unbox_usize(x_8); +size_t x_22; lean_object* x_23; +x_22 = lean_unbox_usize(x_8); lean_dec(x_8); -x_21 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_22 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10, x_21, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +x_23 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); lean_dec(x_3); -return x_22; +return x_23; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___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_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_13; lean_object* x_14; -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7(x_1, 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; +size_t x_15; lean_object* x_16; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__7(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___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) { @@ -6229,15 +6478,14 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___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_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_deriveInduction___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_object* x_12) { _start: { -size_t x_11; lean_object* x_12; -x_11 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_12 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -return x_12; +size_t x_13; lean_object* x_14; +x_13 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_14 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; } } LEAN_EXPORT uint8_t l_Lean_Elab_PartialFixpoint_isInductName___lambda__1(lean_object* x_1) { @@ -6345,7 +6593,7 @@ x_3 = lean_box(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____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; @@ -6357,15 +6605,15 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__1___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__2() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -6396,16 +6644,16 @@ lean_ctor_set_uint8(x_6, 17, x_2); return x_6; } } -static uint64_t _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__3() { +static uint64_t _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__3() { _start: { lean_object* x_1; uint64_t x_2; -x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__2; +x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__2; x_2 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__4() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__4() { _start: { lean_object* x_1; @@ -6413,17 +6661,17 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__4; +x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__6() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -6432,23 +6680,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__7() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__6; +x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__8() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___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_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__7; -x_3 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__6; +x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__7; +x_3 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___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); @@ -6459,13 +6707,13 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__9() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); -x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5; -x_3 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__8; +x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__5; +x_3 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__8; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -6473,16 +6721,16 @@ lean_ctor_set(x_4, 2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__10() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint64_t x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_1 = lean_box(0); x_2 = lean_box(0); -x_3 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__2; -x_4 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__3; +x_3 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__2; +x_4 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__3; x_5 = 0; -x_6 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__9; +x_6 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__9; x_7 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Induction_0__Lean_Elab_PartialFixpoint_maskArray___rarg___closed__1; x_8 = lean_unsigned_to_nat(0u); x_9 = lean_alloc_ctor(0, 7, 11); @@ -6500,12 +6748,12 @@ lean_ctor_set_uint8(x_9, sizeof(void*)*7 + 10, x_5); return x_9; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__11() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__11() { _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_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5; +x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__5; x_3 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_1); @@ -6519,11 +6767,11 @@ lean_ctor_set(x_3, 8, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__12() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5; +x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__5; x_2 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -6534,11 +6782,11 @@ lean_ctor_set(x_2, 5, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__13() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5; +x_1 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___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); @@ -6547,15 +6795,15 @@ lean_ctor_set(x_2, 3, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__14() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__11; -x_3 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__12; -x_4 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__8; -x_5 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__13; +x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__11; +x_3 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__12; +x_4 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__8; +x_5 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____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); @@ -6565,7 +6813,7 @@ lean_ctor_set(x_6, 4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____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; @@ -6579,7 +6827,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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__1; +x_10 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__1; lean_inc(x_1); x_11 = l_Lean_Elab_PartialFixpoint_isInductName(x_9, x_1); x_12 = lean_unbox(x_11); @@ -6602,14 +6850,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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__14; +x_16 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__10; +x_20 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__10; lean_inc(x_18); x_21 = l_Lean_Elab_PartialFixpoint_deriveInduction(x_15, x_20, x_18, x_2, x_3, x_19); if (lean_obj_tag(x_21) == 0) @@ -6693,7 +6941,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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__1; +x_41 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__1; lean_inc(x_1); x_42 = l_Lean_Elab_PartialFixpoint_isInductName(x_40, x_1); x_43 = lean_unbox(x_42); @@ -6714,14 +6962,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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__14; +x_47 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__10; +x_51 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__10; lean_inc(x_49); x_52 = l_Lean_Elab_PartialFixpoint_deriveInduction(x_46, x_51, x_49, x_2, x_3, x_50); if (lean_obj_tag(x_52) == 0) @@ -6796,7 +7044,7 @@ return x_66; } } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__1() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__1() { _start: { lean_object* x_1; @@ -6804,19 +7052,19 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_isInductName), 2, 0 return x_1; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__2() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2), 4, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__1; +x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__1; x_3 = l_Lean_registerReservedNamePredicate(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -6824,7 +7072,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_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__2; +x_5 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__2; x_6 = l_Lean_registerReservedNameAction(x_5, x_4); return x_6; } @@ -6852,11 +7100,11 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____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_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -7106,7 +7354,7 @@ x_6 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__3; x_7 = lean_string_append(x_5, x_6); x_8 = l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__6; x_9 = l_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__2___closed__2; -x_10 = lean_unsigned_to_nat(189u); +x_10 = lean_unsigned_to_nat(193u); x_11 = lean_unsigned_to_nat(48u); x_12 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_8, x_9, x_10, x_11, x_7); lean_dec(x_7); @@ -7138,7 +7386,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_PartialFixpoint_mkAdmProj___closed__6; x_2 = l_Lean_Elab_PartialFixpoint_isOptionFixpoint___lambda__2___closed__2; -x_3 = lean_unsigned_to_nat(186u); +x_3 = lean_unsigned_to_nat(190u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Elab_PartialFixpoint_isOptionFixpoint___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8027,84 +8275,99 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_10; -x_10 = lean_usize_dec_lt(x_3, x_2); -if (x_10 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_6, x_15); +if (x_16 == 0) { -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); +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_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_6, x_17); lean_dec(x_6); -lean_dec(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_4); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else +x_19 = lean_array_fget(x_5, x_7); +lean_inc(x_2); +x_20 = lean_array_get(x_2, x_3, x_7); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_21, 2); +lean_inc(x_22); +lean_dec(x_21); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_4); +x_23 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_20, x_22, x_4, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_23) == 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; -x_12 = lean_array_uget(x_4, x_3); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_4, x_3, x_13); -x_15 = lean_ctor_get(x_12, 0); -lean_inc(x_15); -lean_dec(x_12); -x_16 = lean_ctor_get(x_15, 2); -lean_inc(x_16); -lean_dec(x_15); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_1, x_13, x_16, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -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 = 1; -x_21 = lean_usize_add(x_3, x_20); -x_22 = lean_array_uset(x_14, x_3, x_18); -x_3 = x_21; -x_4 = x_22; -x_9 = x_19; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_nat_add(x_7, x_17); +lean_dec(x_7); +x_27 = lean_array_push(x_9, x_24); +x_6 = x_18; +x_7 = x_26; +x_8 = lean_box(0); +x_9 = x_27; +x_14 = x_25; goto _start; } else { -uint8_t x_24; -lean_dec(x_14); -lean_dec(x_8); +uint8_t x_29; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +lean_dec(x_4); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) { -return x_17; +return x_23; } 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; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +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_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_9); +lean_ctor_set(x_33, 1, x_14); +return x_33; +} } } static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___lambda__1___closed__1() { @@ -8405,29 +8668,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; uint8_t x_14; -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_eq(x_4, x_13); -if (x_14 == 0) +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_5, x_14); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_sub(x_4, x_15); -lean_dec(x_4); -x_17 = lean_array_fget(x_3, x_5); -x_18 = lean_array_get_size(x_1); -x_19 = lean_nat_dec_eq(x_18, x_15); -lean_dec(x_18); +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_5, x_16); +lean_dec(x_5); +x_18 = lean_array_fget(x_4, x_6); +x_19 = lean_nat_dec_eq(x_2, x_16); x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__12___lambda__1___boxed), 7, 1); -lean_closure_set(x_20, 0, x_17); +lean_closure_set(x_20, 0, x_18); if (x_19 == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_21 = lean_nat_add(x_5, x_15); -lean_dec(x_5); +x_21 = lean_nat_add(x_6, x_16); +lean_dec(x_6); lean_inc(x_21); x_22 = l___private_Init_Data_Repr_0__Nat_reprFast(x_21); x_23 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3___closed__1; @@ -8440,11 +8701,11 @@ x_28 = l_Lean_Name_str___override(x_27, x_26); x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_20); -x_30 = lean_array_push(x_7, x_29); -x_4 = x_16; -x_5 = x_21; -x_6 = lean_box(0); -x_7 = x_30; +x_30 = lean_array_push(x_8, x_29); +x_5 = x_17; +x_6 = x_21; +x_7 = lean_box(0); +x_8 = x_30; goto _start; } else @@ -8454,24 +8715,24 @@ x_32 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrec x_33 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_20); -x_34 = lean_nat_add(x_5, x_15); -lean_dec(x_5); -x_35 = lean_array_push(x_7, x_33); -x_4 = x_16; -x_5 = x_34; -x_6 = lean_box(0); -x_7 = x_35; +x_34 = lean_nat_add(x_6, x_16); +lean_dec(x_6); +x_35 = lean_array_push(x_8, x_33); +x_5 = x_17; +x_6 = x_34; +x_7 = lean_box(0); +x_8 = x_35; goto _start; } } else { lean_object* x_37; +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_7); -lean_ctor_set(x_37, 1, x_12); +lean_ctor_set(x_37, 0, x_8); +lean_ctor_set(x_37, 1, x_13); return x_37; } } @@ -9450,119 +9711,121 @@ return x_98; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_11; lean_object* x_12; -x_11 = lean_array_size(x_1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_array_get_size(x_1); +x_13 = lean_mk_empty_array_with_capacity(x_12); +x_14 = lean_unsigned_to_nat(0u); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_12); lean_inc(x_6); -lean_inc(x_1); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__1(x_4, x_11, x_2, x_1, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) +x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__1(x_1, x_2, x_3, x_6, x_1, x_12, x_14, lean_box(0), x_13, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_13; lean_object* x_14; size_t x_15; lean_object* x_16; -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_size(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_13); -x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2(x_15, x_2, x_13, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(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; 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_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_array_get_size(x_17); -x_20 = lean_mk_empty_array_with_capacity(x_19); -x_21 = lean_unsigned_to_nat(0u); -x_22 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3(x_1, x_17, x_17, x_19, x_21, lean_box(0), x_20, x_6, x_7, x_8, x_9, x_18); -lean_dec(x_17); -lean_dec(x_1); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_box_usize(x_2); -x_26 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__1___boxed), 10, 4); -lean_closure_set(x_26, 0, x_13); -lean_closure_set(x_26, 1, x_4); -lean_closure_set(x_26, 2, x_25); -lean_closure_set(x_26, 3, x_3); -x_27 = l_Lean_instInhabitedExpr; -x_28 = l_Lean_Meta_withLocalDeclsD___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__13___rarg(x_27, x_23, x_26, x_6, x_7, x_8, x_9, x_24); -return x_28; -} -else +lean_dec(x_15); +x_18 = lean_array_size(x_16); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_16); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2(x_18, x_4, x_16, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_19) == 0) { -uint8_t x_29; -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) -{ -return x_16; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_16); -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 -{ -uint8_t x_33; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_12); -if (x_33 == 0) -{ -return x_12; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_12, 0); -x_35 = lean_ctor_get(x_12, 1); -lean_inc(x_35); -lean_inc(x_34); +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_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_array_get_size(x_20); +x_23 = lean_mk_empty_array_with_capacity(x_22); +x_24 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3(x_1, x_12, x_20, x_20, x_22, x_14, lean_box(0), x_23, x_7, x_8, x_9, x_10, x_21); +lean_dec(x_20); lean_dec(x_12); -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; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_box_usize(x_4); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__1___boxed), 10, 4); +lean_closure_set(x_28, 0, x_16); +lean_closure_set(x_28, 1, x_6); +lean_closure_set(x_28, 2, x_27); +lean_closure_set(x_28, 3, x_5); +x_29 = l_Lean_instInhabitedExpr; +x_30 = l_Lean_Meta_withLocalDeclsD___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__13___rarg(x_29, x_25, x_28, x_7, x_8, x_9, x_10, x_26); +return x_30; +} +else +{ +uint8_t x_31; +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +return x_19; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_19, 0); +x_33 = lean_ctor_get(x_19, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_19); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_35 = !lean_is_exclusive(x_15); +if (x_35 == 0) +{ +return x_15; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_15, 0); +x_37 = lean_ctor_get(x_15, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_15); +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; } } } @@ -9655,205 +9918,211 @@ x_25 = 0; x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_24, x_25, x_23, x_3, x_4, x_5, x_6, x_11); if (lean_obj_tag(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; uint8_t x_36; lean_object* x_37; +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_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = l_Lean_instInhabitedDefinitionVal; -x_30 = lean_unsigned_to_nat(0u); -x_31 = lean_array_get(x_29, x_27, x_30); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -x_33 = lean_ctor_get(x_22, 3); -lean_inc(x_33); +x_29 = lean_ctor_get(x_22, 3); +lean_inc(x_29); lean_dec(x_22); -x_34 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___boxed__const__1; -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2___boxed), 10, 3); -lean_closure_set(x_35, 0, x_27); -lean_closure_set(x_35, 1, x_34); -lean_closure_set(x_35, 2, x_2); -x_36 = 0; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__1; +x_32 = lean_unsigned_to_nat(0u); +x_33 = lean_array_get(x_31, x_30, x_32); +x_34 = l_Lean_instInhabitedDefinitionVal; +x_35 = lean_array_get(x_34, x_27, x_32); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_ctor_get(x_36, 2); +lean_inc(x_37); +x_38 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___boxed__const__1; +x_39 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2___boxed), 11, 5); +lean_closure_set(x_39, 0, x_27); +lean_closure_set(x_39, 1, x_31); +lean_closure_set(x_39, 2, x_30); +lean_closure_set(x_39, 3, x_38); +lean_closure_set(x_39, 4, x_2); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_37 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg(x_32, x_33, x_35, x_36, x_3, x_4, x_5, x_6, x_28); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -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_inc(x_6); -lean_inc(x_5); -lean_inc(x_38); -x_40 = lean_infer_type(x_38, x_3, x_4, x_5, x_6, x_39); +x_40 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(x_33, x_37, x_39, x_3, x_4, x_5, x_6, x_28); if (lean_obj_tag(x_40) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; -x_44 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; lean_inc(x_6); lean_inc(x_5); -x_45 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_41, x_43, x_44, x_5, x_6, x_42); -if (lean_obj_tag(x_45) == 0) +lean_inc(x_41); +x_43 = lean_infer_type(x_41, x_3, x_4, x_5, x_6, x_42); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__1; -x_49 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__2; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; +x_47 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; lean_inc(x_6); lean_inc(x_5); -x_50 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_46, x_48, x_49, x_5, x_6, x_47); -if (lean_obj_tag(x_50) == 0) +x_48 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_44, x_46, x_47, x_5, x_6, x_45); +if (lean_obj_tag(x_48) == 0) { -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; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_box(0); -x_54 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; -lean_inc(x_51); -x_55 = l_Lean_CollectLevelParams_main(x_51, x_54); -x_56 = lean_ctor_get(x_55, 2); -lean_inc(x_56); -lean_dec(x_55); -x_57 = lean_ctor_get(x_31, 0); -lean_inc(x_57); -lean_dec(x_31); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__7(x_56, x_58, x_53); -lean_dec(x_56); -x_60 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__3; -x_61 = l_Lean_Name_append(x_1, x_60); -lean_inc(x_61); -x_62 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -lean_ctor_set(x_62, 2, x_51); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +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_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__1; +x_52 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__2; +lean_inc(x_6); +lean_inc(x_5); +x_53 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_49, x_51, x_52, x_5, x_6, x_50); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +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_box(0); +x_57 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; +lean_inc(x_54); +x_58 = l_Lean_CollectLevelParams_main(x_54, x_57); +x_59 = lean_ctor_get(x_58, 2); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_36, 1); +lean_inc(x_60); +lean_dec(x_36); +x_61 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__7(x_59, x_60, x_56); +lean_dec(x_59); +x_62 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__3; +x_63 = l_Lean_Name_append(x_1, x_62); +lean_inc(x_63); +x_64 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_54); lean_ctor_set_tag(x_8, 1); -lean_ctor_set(x_8, 1, x_53); -lean_ctor_set(x_8, 0, x_61); -x_63 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_38); -lean_ctor_set(x_63, 2, x_8); +lean_ctor_set(x_8, 1, x_56); +lean_ctor_set(x_8, 0, x_63); +x_65 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_41); +lean_ctor_set(x_65, 2, x_8); lean_ctor_set_tag(x_15, 2); -lean_ctor_set(x_15, 0, x_63); -x_64 = l_Lean_addDecl(x_15, x_5, x_6, x_52); -return x_64; +lean_ctor_set(x_15, 0, x_65); +x_66 = l_Lean_addDecl(x_15, x_5, x_6, x_55); +return x_66; } else { -uint8_t x_65; -lean_dec(x_38); -lean_dec(x_31); +uint8_t x_67; +lean_dec(x_41); +lean_dec(x_36); lean_free_object(x_15); lean_free_object(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_65 = !lean_is_exclusive(x_50); -if (x_65 == 0) +x_67 = !lean_is_exclusive(x_53); +if (x_67 == 0) { -return x_50; +return x_53; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_50, 0); -x_67 = lean_ctor_get(x_50, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_50); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_53, 0); +x_69 = lean_ctor_get(x_53, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_53); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -uint8_t x_69; -lean_dec(x_38); -lean_dec(x_31); +uint8_t x_71; +lean_dec(x_41); +lean_dec(x_36); lean_free_object(x_15); lean_free_object(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_69 = !lean_is_exclusive(x_45); -if (x_69 == 0) +x_71 = !lean_is_exclusive(x_48); +if (x_71 == 0) { -return x_45; +return x_48; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_45, 0); -x_71 = lean_ctor_get(x_45, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_45); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_48, 0); +x_73 = lean_ctor_get(x_48, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_48); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } else { -uint8_t x_73; -lean_dec(x_38); -lean_dec(x_31); +uint8_t x_75; +lean_dec(x_41); +lean_dec(x_36); lean_free_object(x_15); lean_free_object(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_73 = !lean_is_exclusive(x_40); -if (x_73 == 0) +x_75 = !lean_is_exclusive(x_43); +if (x_75 == 0) { -return x_40; +return x_43; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_40, 0); -x_75 = lean_ctor_get(x_40, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_40); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_43, 0); +x_77 = lean_ctor_get(x_43, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_43); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } } else { -uint8_t x_77; -lean_dec(x_31); +uint8_t x_79; +lean_dec(x_36); lean_free_object(x_15); lean_free_object(x_8); lean_dec(x_6); @@ -9861,29 +10130,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_77 = !lean_is_exclusive(x_37); -if (x_77 == 0) +x_79 = !lean_is_exclusive(x_40); +if (x_79 == 0) { -return x_37; +return x_40; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_37, 0); -x_79 = lean_ctor_get(x_37, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_37); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_40, 0); +x_81 = lean_ctor_get(x_40, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_40); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } } else { -uint8_t x_81; +uint8_t x_83; lean_free_object(x_15); lean_dec(x_22); lean_free_object(x_8); @@ -9893,89 +10162,85 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_81 = !lean_is_exclusive(x_26); -if (x_81 == 0) +x_83 = !lean_is_exclusive(x_26); +if (x_83 == 0) { return x_26; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_26, 0); -x_83 = lean_ctor_get(x_26, 1); -lean_inc(x_83); -lean_inc(x_82); +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_26, 0); +x_85 = lean_ctor_get(x_26, 1); +lean_inc(x_85); +lean_inc(x_84); lean_dec(x_26); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } } else { -lean_object* x_85; lean_object* x_86; size_t x_87; size_t x_88; lean_object* x_89; -x_85 = lean_ctor_get(x_15, 0); -lean_inc(x_85); +lean_object* x_87; lean_object* x_88; size_t x_89; size_t x_90; lean_object* x_91; +x_87 = lean_ctor_get(x_15, 0); +lean_inc(x_87); lean_dec(x_15); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -x_87 = lean_array_size(x_86); -x_88 = 0; -x_89 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_87, x_88, x_86, x_3, x_4, x_5, x_6, x_11); -if (lean_obj_tag(x_89) == 0) +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +x_89 = lean_array_size(x_88); +x_90 = 0; +x_91 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_89, x_90, x_88, x_3, x_4, x_5, x_6, x_11); +if (lean_obj_tag(x_91) == 0) { -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; uint8_t x_99; lean_object* x_100; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_instInhabitedDefinitionVal; -x_93 = lean_unsigned_to_nat(0u); -x_94 = lean_array_get(x_92, x_90, x_93); +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; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_87, 3); +lean_inc(x_94); +lean_dec(x_87); x_95 = lean_ctor_get(x_94, 1); lean_inc(x_95); -x_96 = lean_ctor_get(x_85, 3); -lean_inc(x_96); -lean_dec(x_85); -x_97 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___boxed__const__1; -x_98 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2___boxed), 10, 3); -lean_closure_set(x_98, 0, x_90); -lean_closure_set(x_98, 1, x_97); -lean_closure_set(x_98, 2, x_2); -x_99 = 0; +lean_dec(x_94); +x_96 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__1; +x_97 = lean_unsigned_to_nat(0u); +x_98 = lean_array_get(x_96, x_95, x_97); +x_99 = l_Lean_instInhabitedDefinitionVal; +x_100 = lean_array_get(x_99, x_92, x_97); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +lean_dec(x_100); +x_102 = lean_ctor_get(x_101, 2); +lean_inc(x_102); +x_103 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___boxed__const__1; +x_104 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2___boxed), 11, 5); +lean_closure_set(x_104, 0, x_92); +lean_closure_set(x_104, 1, x_96); +lean_closure_set(x_104, 2, x_95); +lean_closure_set(x_104, 3, x_103); +lean_closure_set(x_104, 4, x_2); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_100 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg(x_95, x_96, x_98, x_99, x_3, x_4, x_5, x_6, x_91); -if (lean_obj_tag(x_100) == 0) +x_105 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(x_98, x_102, x_104, x_3, x_4, x_5, x_6, x_93); +if (lean_obj_tag(x_105) == 0) { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_101); -x_103 = lean_infer_type(x_101, x_3, x_4, x_5, x_6, x_102); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; -x_107 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; -lean_inc(x_6); -lean_inc(x_5); -x_108 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_104, x_106, x_107, x_5, x_6, x_105); +lean_inc(x_106); +x_108 = lean_infer_type(x_106, x_3, x_4, x_5, x_6, x_107); if (lean_obj_tag(x_108) == 0) { lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; @@ -9984,103 +10249,82 @@ lean_inc(x_109); x_110 = lean_ctor_get(x_108, 1); lean_inc(x_110); lean_dec(x_108); -x_111 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__1; -x_112 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__2; +x_111 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; +x_112 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; lean_inc(x_6); lean_inc(x_5); x_113 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_109, x_111, x_112, x_5, x_6, x_110); 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; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; x_114 = lean_ctor_get(x_113, 0); lean_inc(x_114); x_115 = lean_ctor_get(x_113, 1); lean_inc(x_115); lean_dec(x_113); -x_116 = lean_box(0); -x_117 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; -lean_inc(x_114); -x_118 = l_Lean_CollectLevelParams_main(x_114, x_117); -x_119 = lean_ctor_get(x_118, 2); -lean_inc(x_119); -lean_dec(x_118); -x_120 = lean_ctor_get(x_94, 0); -lean_inc(x_120); -lean_dec(x_94); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -lean_dec(x_120); -x_122 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__7(x_119, x_121, x_116); -lean_dec(x_119); -x_123 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__3; -x_124 = l_Lean_Name_append(x_1, x_123); -lean_inc(x_124); -x_125 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_122); -lean_ctor_set(x_125, 2, x_114); -lean_ctor_set_tag(x_8, 1); -lean_ctor_set(x_8, 1, x_116); -lean_ctor_set(x_8, 0, x_124); -x_126 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_101); -lean_ctor_set(x_126, 2, x_8); -x_127 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_127, 0, x_126); -x_128 = l_Lean_addDecl(x_127, x_5, x_6, x_115); -return x_128; -} -else +x_116 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__1; +x_117 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__2; +lean_inc(x_6); +lean_inc(x_5); +x_118 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_114, x_116, x_117, x_5, x_6, x_115); +if (lean_obj_tag(x_118) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +lean_dec(x_118); +x_121 = lean_box(0); +x_122 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; +lean_inc(x_119); +x_123 = l_Lean_CollectLevelParams_main(x_119, x_122); +x_124 = lean_ctor_get(x_123, 2); +lean_inc(x_124); +lean_dec(x_123); +x_125 = lean_ctor_get(x_101, 1); +lean_inc(x_125); lean_dec(x_101); -lean_dec(x_94); -lean_free_object(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_129 = lean_ctor_get(x_113, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_113, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_131 = x_113; -} else { - lean_dec_ref(x_113); - 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); +x_126 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__7(x_124, x_125, x_121); +lean_dec(x_124); +x_127 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__3; +x_128 = l_Lean_Name_append(x_1, x_127); +lean_inc(x_128); +x_129 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +lean_ctor_set(x_129, 2, x_119); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 1, x_121); +lean_ctor_set(x_8, 0, x_128); +x_130 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_106); +lean_ctor_set(x_130, 2, x_8); +x_131 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_131, 0, x_130); +x_132 = l_Lean_addDecl(x_131, x_5, x_6, x_120); return x_132; } -} else { lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_106); lean_dec(x_101); -lean_dec(x_94); lean_free_object(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_133 = lean_ctor_get(x_108, 0); +x_133 = lean_ctor_get(x_118, 0); lean_inc(x_133); -x_134 = lean_ctor_get(x_108, 1); +x_134 = lean_ctor_get(x_118, 1); lean_inc(x_134); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_135 = x_108; +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_135 = x_118; } else { - lean_dec_ref(x_108); + lean_dec_ref(x_118); x_135 = lean_box(0); } if (lean_is_scalar(x_135)) { @@ -10096,22 +10340,22 @@ return x_136; else { lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_106); lean_dec(x_101); -lean_dec(x_94); lean_free_object(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_137 = lean_ctor_get(x_103, 0); +x_137 = lean_ctor_get(x_113, 0); lean_inc(x_137); -x_138 = lean_ctor_get(x_103, 1); +x_138 = lean_ctor_get(x_113, 1); lean_inc(x_138); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_139 = x_103; +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_139 = x_113; } else { - lean_dec_ref(x_103); + lean_dec_ref(x_113); x_139 = lean_box(0); } if (lean_is_scalar(x_139)) { @@ -10127,23 +10371,22 @@ return x_140; else { lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_94); +lean_dec(x_106); +lean_dec(x_101); lean_free_object(x_8); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); -x_141 = lean_ctor_get(x_100, 0); +x_141 = lean_ctor_get(x_108, 0); lean_inc(x_141); -x_142 = lean_ctor_get(x_100, 1); +x_142 = lean_ctor_get(x_108, 1); lean_inc(x_142); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_143 = x_100; +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_143 = x_108; } else { - lean_dec_ref(x_100); + lean_dec_ref(x_108); x_143 = lean_box(0); } if (lean_is_scalar(x_143)) { @@ -10159,24 +10402,23 @@ return x_144; else { lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -lean_dec(x_85); +lean_dec(x_101); lean_free_object(x_8); 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_145 = lean_ctor_get(x_89, 0); +x_145 = lean_ctor_get(x_105, 0); lean_inc(x_145); -x_146 = lean_ctor_get(x_89, 1); +x_146 = lean_ctor_get(x_105, 1); lean_inc(x_146); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_147 = x_89; +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_147 = x_105; } else { - lean_dec_ref(x_89); + lean_dec_ref(x_105); x_147 = lean_box(0); } if (lean_is_scalar(x_147)) { @@ -10189,328 +10431,367 @@ lean_ctor_set(x_148, 1, x_146); return x_148; } } -} -} else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_149 = lean_ctor_get(x_8, 0); -x_150 = lean_ctor_get(x_8, 1); -lean_inc(x_150); -lean_inc(x_149); -lean_dec(x_8); -x_151 = lean_ctor_get(x_149, 0); -lean_inc(x_151); -lean_dec(x_149); -x_152 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo; -x_153 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__1; -lean_inc(x_1); -x_154 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_152, x_153, x_151, x_1); -if (lean_obj_tag(x_154) == 0) -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -lean_dec(x_2); -x_155 = l_Lean_MessageData_ofName(x_1); -x_156 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; -x_157 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__3; -x_159 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_159, x_3, x_4, x_5, x_6, x_150); +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_87); +lean_free_object(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_160; +lean_dec(x_2); +lean_dec(x_1); +x_149 = lean_ctor_get(x_91, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_91, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_151 = x_91; +} else { + lean_dec_ref(x_91); + x_151 = lean_box(0); +} +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); +} else { + x_152 = x_151; +} +lean_ctor_set(x_152, 0, x_149); +lean_ctor_set(x_152, 1, x_150); +return x_152; +} +} +} } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; size_t x_164; size_t x_165; lean_object* x_166; -x_161 = lean_ctor_get(x_154, 0); -lean_inc(x_161); -if (lean_is_exclusive(x_154)) { - lean_ctor_release(x_154, 0); - x_162 = x_154; -} else { - lean_dec_ref(x_154); - x_162 = lean_box(0); -} -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -x_164 = lean_array_size(x_163); -x_165 = 0; -x_166 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_164, x_165, x_163, x_3, x_4, x_5, x_6, x_150); -if (lean_obj_tag(x_166) == 0) +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_153 = lean_ctor_get(x_8, 0); +x_154 = lean_ctor_get(x_8, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_8); +x_155 = lean_ctor_get(x_153, 0); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_Lean_Elab_PartialFixpoint_instInhabitedEqnInfo; +x_157 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__1; +lean_inc(x_1); +x_158 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_156, x_157, x_155, x_1); +if (lean_obj_tag(x_158) == 0) { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; lean_object* x_177; -x_167 = lean_ctor_get(x_166, 0); +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_dec(x_2); +x_159 = l_Lean_MessageData_ofName(x_1); +x_160 = l_Lean_Elab_PartialFixpoint_mkAdmProj___lambda__2___closed__4; +x_161 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_159); +x_162 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__3; +x_163 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_163, 0, x_161); +lean_ctor_set(x_163, 1, x_162); +x_164 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_163, x_3, x_4, x_5, x_6, x_154); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_164; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; size_t x_168; size_t x_169; lean_object* x_170; +x_165 = lean_ctor_get(x_158, 0); +lean_inc(x_165); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + x_166 = x_158; +} else { + lean_dec_ref(x_158); + x_166 = lean_box(0); +} +x_167 = lean_ctor_get(x_165, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_169 = l_Lean_instInhabitedDefinitionVal; -x_170 = lean_unsigned_to_nat(0u); -x_171 = lean_array_get(x_169, x_167, x_170); -x_172 = lean_ctor_get(x_171, 1); +x_168 = lean_array_size(x_167); +x_169 = 0; +x_170 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__1(x_168, x_169, x_167, x_3, x_4, x_5, x_6, x_154); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); lean_inc(x_172); -x_173 = lean_ctor_get(x_161, 3); +lean_dec(x_170); +x_173 = lean_ctor_get(x_165, 3); lean_inc(x_173); -lean_dec(x_161); -x_174 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___boxed__const__1; -x_175 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2___boxed), 10, 3); -lean_closure_set(x_175, 0, x_167); -lean_closure_set(x_175, 1, x_174); -lean_closure_set(x_175, 2, x_2); -x_176 = 0; +lean_dec(x_165); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_175 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__17___closed__1; +x_176 = lean_unsigned_to_nat(0u); +x_177 = lean_array_get(x_175, x_174, x_176); +x_178 = l_Lean_instInhabitedDefinitionVal; +x_179 = lean_array_get(x_178, x_171, x_176); +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +lean_dec(x_179); +x_181 = lean_ctor_get(x_180, 2); +lean_inc(x_181); +x_182 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___boxed__const__1; +x_183 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2___boxed), 11, 5); +lean_closure_set(x_183, 0, x_171); +lean_closure_set(x_183, 1, x_175); +lean_closure_set(x_183, 2, x_174); +lean_closure_set(x_183, 3, x_182); +lean_closure_set(x_183, 4, x_2); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_177 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20___rarg(x_172, x_173, x_175, x_176, x_3, x_4, x_5, x_6, x_168); -if (lean_obj_tag(x_177) == 0) +x_184 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_PartialFixpoint_deriveInduction___spec__20(x_177, x_181, x_183, x_3, x_4, x_5, x_6, x_172); +if (lean_obj_tag(x_184) == 0) { -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); -lean_inc(x_179); -lean_dec(x_177); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_178); -x_180 = lean_infer_type(x_178, x_3, x_4, x_5, x_6, x_179); -if (lean_obj_tag(x_180) == 0) -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_183 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; -x_184 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; -lean_inc(x_6); -lean_inc(x_5); -x_185 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_181, x_183, x_184, x_5, x_6, x_182); -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_186 = lean_ctor_get(x_185, 0); +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -lean_dec(x_185); -x_188 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__1; -x_189 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__2; +lean_dec(x_184); lean_inc(x_6); lean_inc(x_5); -x_190 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_186, x_188, x_189, x_5, x_6, x_187); -if (lean_obj_tag(x_190) == 0) +lean_inc(x_185); +x_187 = lean_infer_type(x_185, x_3, x_4, x_5, x_6, x_186); +if (lean_obj_tag(x_187) == 0) { -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -x_193 = lean_box(0); -x_194 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; -lean_inc(x_191); -x_195 = l_Lean_CollectLevelParams_main(x_191, x_194); -x_196 = lean_ctor_get(x_195, 2); -lean_inc(x_196); -lean_dec(x_195); -x_197 = lean_ctor_get(x_171, 0); -lean_inc(x_197); -lean_dec(x_171); -x_198 = lean_ctor_get(x_197, 1); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__4; +x_191 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__5; +lean_inc(x_6); +lean_inc(x_5); +x_192 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_188, x_190, x_191, x_5, x_6, x_189); +if (lean_obj_tag(x_192) == 0) +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__1; +x_196 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__2; +lean_inc(x_6); +lean_inc(x_5); +x_197 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_193, x_195, x_196, x_5, x_6, x_194); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; 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; +x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); lean_dec(x_197); -x_199 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__7(x_196, x_198, x_193); -lean_dec(x_196); -x_200 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__3; -x_201 = l_Lean_Name_append(x_1, x_200); -lean_inc(x_201); -x_202 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_199); -lean_ctor_set(x_202, 2, x_191); -x_203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_193); -x_204 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_204, 0, x_202); -lean_ctor_set(x_204, 1, x_178); -lean_ctor_set(x_204, 2, x_203); -if (lean_is_scalar(x_162)) { - x_205 = lean_alloc_ctor(2, 1, 0); -} else { - x_205 = x_162; - lean_ctor_set_tag(x_205, 2); -} -lean_ctor_set(x_205, 0, x_204); -x_206 = l_Lean_addDecl(x_205, x_5, x_6, x_192); -return x_206; -} -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; -lean_dec(x_178); -lean_dec(x_171); -lean_dec(x_162); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_207 = lean_ctor_get(x_190, 0); +x_200 = lean_box(0); +x_201 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__9; +lean_inc(x_198); +x_202 = l_Lean_CollectLevelParams_main(x_198, x_201); +x_203 = lean_ctor_get(x_202, 2); +lean_inc(x_203); +lean_dec(x_202); +x_204 = lean_ctor_get(x_180, 1); +lean_inc(x_204); +lean_dec(x_180); +x_205 = l_List_filterTR_loop___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__7(x_203, x_204, x_200); +lean_dec(x_203); +x_206 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__3___closed__3; +x_207 = l_Lean_Name_append(x_1, x_206); lean_inc(x_207); -x_208 = lean_ctor_get(x_190, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - x_209 = x_190; +x_208 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_205); +lean_ctor_set(x_208, 2, x_198); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_207); +lean_ctor_set(x_209, 1, x_200); +x_210 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_210, 0, x_208); +lean_ctor_set(x_210, 1, x_185); +lean_ctor_set(x_210, 2, x_209); +if (lean_is_scalar(x_166)) { + x_211 = lean_alloc_ctor(2, 1, 0); } else { - lean_dec_ref(x_190); - x_209 = lean_box(0); -} -if (lean_is_scalar(x_209)) { - x_210 = lean_alloc_ctor(1, 2, 0); -} else { - x_210 = x_209; -} -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_208); -return x_210; + x_211 = x_166; + lean_ctor_set_tag(x_211, 2); } +lean_ctor_set(x_211, 0, x_210); +x_212 = l_Lean_addDecl(x_211, x_5, x_6, x_199); +return x_212; } else { -lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -lean_dec(x_178); -lean_dec(x_171); -lean_dec(x_162); +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_185); +lean_dec(x_180); +lean_dec(x_166); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_211 = lean_ctor_get(x_185, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_185, 1); -lean_inc(x_212); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_213 = x_185; +x_213 = lean_ctor_get(x_197, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_197, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + lean_ctor_release(x_197, 1); + x_215 = x_197; } else { - lean_dec_ref(x_185); - x_213 = lean_box(0); + lean_dec_ref(x_197); + x_215 = lean_box(0); } -if (lean_is_scalar(x_213)) { - x_214 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_215)) { + x_216 = lean_alloc_ctor(1, 2, 0); } else { - x_214 = x_213; + x_216 = x_215; } -lean_ctor_set(x_214, 0, x_211); -lean_ctor_set(x_214, 1, x_212); -return x_214; +lean_ctor_set(x_216, 0, x_213); +lean_ctor_set(x_216, 1, x_214); +return x_216; } } else { -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -lean_dec(x_178); -lean_dec(x_171); -lean_dec(x_162); +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +lean_dec(x_185); +lean_dec(x_180); +lean_dec(x_166); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_215 = lean_ctor_get(x_180, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_180, 1); -lean_inc(x_216); -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - x_217 = x_180; +x_217 = lean_ctor_get(x_192, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_192, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_219 = x_192; } else { - lean_dec_ref(x_180); - x_217 = lean_box(0); + lean_dec_ref(x_192); + x_219 = lean_box(0); } -if (lean_is_scalar(x_217)) { - x_218 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_219)) { + x_220 = lean_alloc_ctor(1, 2, 0); } else { - x_218 = x_217; + x_220 = x_219; } -lean_ctor_set(x_218, 0, x_215); -lean_ctor_set(x_218, 1, x_216); -return x_218; +lean_ctor_set(x_220, 0, x_217); +lean_ctor_set(x_220, 1, x_218); +return x_220; } } else { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -lean_dec(x_171); -lean_dec(x_162); +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +lean_dec(x_185); +lean_dec(x_180); +lean_dec(x_166); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_221 = lean_ctor_get(x_187, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_187, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_223 = x_187; +} else { + lean_dec_ref(x_187); + x_223 = lean_box(0); +} +if (lean_is_scalar(x_223)) { + x_224 = lean_alloc_ctor(1, 2, 0); +} else { + x_224 = x_223; +} +lean_ctor_set(x_224, 0, x_221); +lean_ctor_set(x_224, 1, x_222); +return x_224; +} +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +lean_dec(x_180); +lean_dec(x_166); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_219 = lean_ctor_get(x_177, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_177, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_221 = x_177; +x_225 = lean_ctor_get(x_184, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_184, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_227 = x_184; } else { - lean_dec_ref(x_177); - x_221 = lean_box(0); + lean_dec_ref(x_184); + x_227 = lean_box(0); } -if (lean_is_scalar(x_221)) { - x_222 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(1, 2, 0); } else { - x_222 = x_221; + x_228 = x_227; } -lean_ctor_set(x_222, 0, x_219); -lean_ctor_set(x_222, 1, x_220); -return x_222; +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +return x_228; } } else { -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -lean_dec(x_162); -lean_dec(x_161); +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_dec(x_166); +lean_dec(x_165); 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_223 = lean_ctor_get(x_166, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_166, 1); -lean_inc(x_224); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_225 = x_166; +x_229 = lean_ctor_get(x_170, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_170, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_231 = x_170; } else { - lean_dec_ref(x_166); - x_225 = lean_box(0); + lean_dec_ref(x_170); + x_231 = lean_box(0); } -if (lean_is_scalar(x_225)) { - x_226 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); } else { - x_226 = x_225; + x_232 = x_231; } -lean_ctor_set(x_226, 0, x_223); -lean_ctor_set(x_226, 1, x_224); -return x_226; +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +return x_232; } } } @@ -10689,17 +10970,15 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); +lean_object* x_15; +x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); lean_dec(x_3); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_12; +return x_15; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__2___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) { @@ -10739,19 +11018,20 @@ x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrec return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_14; +x_14 = l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_13; +return x_14; } } LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_PartialFixpoint_derivePartialCorrectness___spec__4___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) { @@ -10818,15 +11098,16 @@ lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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) { _start: { -size_t x_11; lean_object* x_12; -x_11 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_12 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -return x_12; +size_t x_12; lean_object* x_13; +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__2(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +lean_dec(x_1); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___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) { @@ -10838,18 +11119,18 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__14; +x_6 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__14; x_7 = lean_st_mk_ref(x_6, x_5); x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__10; +x_10 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__10; lean_inc(x_8); x_11 = l_Lean_Elab_PartialFixpoint_derivePartialCorrectness(x_1, x_10, x_8, x_3, x_4, x_9); if (lean_obj_tag(x_11) == 0) @@ -10910,7 +11191,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__2(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; @@ -10942,7 +11223,7 @@ else lean_object* x_14; lean_object* x_15; lean_free_object(x_6); x_14 = lean_box(0); -x_15 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__1(x_1, x_14, x_3, x_4, x_9); +x_15 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__1(x_1, x_14, x_3, x_4, x_9); return x_15; } } @@ -10976,13 +11257,13 @@ else { lean_object* x_23; lean_object* x_24; x_23 = lean_box(0); -x_24 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__1(x_1, x_23, x_3, x_4, x_17); +x_24 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__1(x_1, x_23, x_3, x_4, x_17); return x_24; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 1) @@ -11013,7 +11294,7 @@ else { lean_object* x_12; lean_object* x_13; x_12 = lean_box(0); -x_13 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__2(x_5, x_12, x_2, x_3, x_4); +x_13 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__2(x_5, x_12, x_2, x_3, x_4); return x_13; } } @@ -11032,7 +11313,7 @@ return x_16; } } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__1() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__1() { _start: { lean_object* x_1; @@ -11040,19 +11321,19 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_isPartialCorrectnes return x_1; } } -static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__2() { +static lean_object* _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__3), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__3), 4, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__1; +x_2 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__1; x_3 = l_Lean_registerReservedNamePredicate(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -11060,7 +11341,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_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__2; +x_5 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__2; x_6 = l_Lean_registerReservedNameAction(x_5, x_4); return x_6; } @@ -11088,25 +11369,25 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____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_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__2___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_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____lambda__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____lambda__2(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__1() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__1() { _start: { lean_object* x_1; @@ -11114,17 +11395,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__2() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____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_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__1; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__3() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__3() { _start: { lean_object* x_1; @@ -11132,37 +11413,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__4() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__2; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__2; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__5() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__4; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__4; x_2 = l_Lean_Elab_PartialFixpoint_mkAdmAnd___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__6() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__5; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__5; x_2 = l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__4___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__7() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__7() { _start: { lean_object* x_1; @@ -11170,17 +11451,17 @@ x_1 = lean_mk_string_unchecked("PreDefinition", 13, 13); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__8() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__6; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__7; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__6; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__9() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__9() { _start: { lean_object* x_1; @@ -11188,17 +11469,17 @@ x_1 = lean_mk_string_unchecked("PartialFixpoint", 15, 15); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__10() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__8; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__9; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__8; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__11() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__11() { _start: { lean_object* x_1; @@ -11206,17 +11487,17 @@ x_1 = lean_mk_string_unchecked("Induction", 9, 9); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__12() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__10; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__11; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__10; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__13() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__13() { _start: { lean_object* x_1; @@ -11224,33 +11505,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__14() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__12; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__13; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__12; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__15() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__14; -x_2 = lean_unsigned_to_nat(4828u); +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__14; +x_2 = lean_unsigned_to_nat(4907u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907_(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_PartialFixpoint_deriveInduction___lambda__4___closed__9; x_3 = 0; -x_4 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__15; +x_4 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__15; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -11416,10 +11697,18 @@ l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__1 = _init_l_Le lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__1); l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__2 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__2(); lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__2); +l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__3 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__3(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__3); +l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__4 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__4(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__8___closed__4); l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__1 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__1(); lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__1); l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__2 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__2(); lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__2); +l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__3 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__3(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__3); +l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__4 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__4(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__9___closed__4); l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__1 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__1(); lean_mark_persistent(l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__1); l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__2 = _init_l_Lean_Elab_PartialFixpoint_deriveInduction___lambda__10___closed__2(); @@ -11454,38 +11743,38 @@ l_Lean_Elab_PartialFixpoint_isInductName___closed__1 = _init_l_Lean_Elab_Partial lean_mark_persistent(l_Lean_Elab_PartialFixpoint_isInductName___closed__1); l_Lean_Elab_PartialFixpoint_isInductName___closed__2 = _init_l_Lean_Elab_PartialFixpoint_isInductName___closed__2(); lean_mark_persistent(l_Lean_Elab_PartialFixpoint_isInductName___closed__2); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__1 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__1); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__2 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__2); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__3 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__3(); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__4 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__4); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__5); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__6 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__6); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__7 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__7); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__8 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__8); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__9 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__9); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__10 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__10(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__10); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__11 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__11(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__11); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__12 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__12(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__12); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__13 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__13(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__13); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__14 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__14(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____lambda__2___closed__14); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__1 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__1(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__1); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__2 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__2(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637____closed__2); -if (builtin) {res = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2637_(lean_io_mk_world()); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__1 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__1); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__2 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__2); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__3 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__3(); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__4 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__4); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__5 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__5); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__6 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__6); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__7 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__7); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__8 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__8); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__9 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__9); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__10 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__10); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__11 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__11(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__11); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__12 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__12(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__12); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__13 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__13(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__13); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__14 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__14(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____lambda__2___closed__14); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__1 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__1(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__1); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__2 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__2(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704____closed__2); +if (builtin) {res = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_2704_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__3___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_PartialFixpoint_isOptionFixpoint___spec__3___closed__1(); @@ -11564,44 +11853,44 @@ l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__4___closed__2 = _ lean_mark_persistent(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__4___closed__2); l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__5___closed__1 = _init_l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__5___closed__1(); lean_mark_persistent(l_Lean_Elab_PartialFixpoint_derivePartialCorrectness___lambda__5___closed__1); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__1 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__1(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__1); -l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__2 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__2(); -lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642____closed__2); -if (builtin) {res = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4642_(lean_io_mk_world()); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__1 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__1(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__1); +l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__2 = _init_l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__2(); +lean_mark_persistent(l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721____closed__2); +if (builtin) {res = l_Lean_Elab_PartialFixpoint_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4721_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__1 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__1(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__1); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__2 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__2(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__2); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__3 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__3(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__3); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__4 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__4(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__4); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__5 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__5(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__5); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__6 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__6(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__6); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__7 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__7(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__7); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__8 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__8(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__8); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__9 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__9(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__9); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__10 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__10(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__10); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__11 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__11(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__11); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__12 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__12(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__12); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__13 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__13(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__13); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__14 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__14(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__14); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__15 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__15(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828____closed__15); -if (builtin) {res = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4828_(lean_io_mk_world()); +}l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__1 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__1(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__1); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__2 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__2(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__2); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__3 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__3(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__3); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__4 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__4(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__4); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__5 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__5(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__5); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__6 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__6(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__6); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__7 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__7(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__7); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__8 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__8(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__8); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__9 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__9(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__9); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__10 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__10(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__10); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__11 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__11(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__11); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__12 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__12(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__12); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__13 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__13(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__13); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__14 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__14(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__14); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__15 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__15(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907____closed__15); +if (builtin) {res = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Induction___hyg_4907_(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/PartialFixpoint/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Main.c index 55597c1d1b..4d7780884d 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/PartialFixpoint/Main.c @@ -15,15 +15,11 @@ extern "C" { #endif lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833_(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__12(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(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_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__13; static lean_object* l_Lean_Elab_partialFixpoint___closed__3; extern lean_object* l_Lean_Elab_instInhabitedPreDefinition; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_partialFixpoint___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__14(lean_object*); lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21; @@ -31,73 +27,83 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Mai LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__1(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*); +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_mkMonoPProd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___lambda__1(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*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__13; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_mkMonoPProd___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l_List_mapTR_loop___at_Lean_Elab_partialFixpoint___spec__13___closed__2; lean_object* l_Lean_Elab_Mutual_addPreDefAttributes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___closed__2; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___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*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_partialFixpoint___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__2; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3___closed__4; -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__3; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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* 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_object* l_Lean_indentD(lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__5; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__3; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__4; uint8_t l_Lean_Exception_isInterrupt(lean_object*); lean_object* l_panic___at_Lean_Elab_Term_reportStuckSyntheticMVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__7; static lean_object* l_Lean_Elab_partialFixpoint___lambda__2___closed__6; -uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__6; static lean_object* l_Lean_Elab_mkInstCCPOPProd___closed__2; uint8_t l_Lean_Expr_isApp(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7(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_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__1; -lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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_partialFixpoint___lambda__2___closed__4; lean_object* l_Lean_getRecAppSyntax_x3f(lean_object*); +lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Meta_PProdN_reduceProjs___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_partialFixpoint___closed__1; -static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__22; lean_object* l_Lean_Meta_PProdN_pack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__3___boxed__const__1; 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*); +static lean_object* l_Lean_Elab_partialFixpoint___closed__11; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___boxed(lean_object**); static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__2; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__8; static lean_object* l_Lean_Elab_mkMonoPProd___lambda__1___closed__1; lean_object* l_Lean_Elab_Mutual_cleanPreDefs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_partialFixpoint___lambda__1___closed__1; -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__12; +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__4; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__5; static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__2; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__13; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_partialFixpoint___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMonoPProd___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_partialFixpoint___spec__18(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_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2; static lean_object* l_Lean_Elab_partialFixpoint___lambda__2___closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___boxed(lean_object**); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_partialFixpoint___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__8; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__6(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_Meta_lambdaTelescope___at_Lean_Elab_partialFixpoint___spec__3___rarg___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_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__11; -static lean_object* l_Lean_Elab_partialFixpoint___lambda__3___closed__5; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__14; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__6; -static lean_object* l_Lean_Elab_partialFixpoint___lambda__3___closed__3; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__4; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__10; static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__1; +lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_PartialFixpoint_registerEqnsInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_ofNat(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__1(lean_object*, lean_object*, lean_object*); @@ -107,6 +113,7 @@ static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__3; uint8_t l_Lean_Expr_isLambda(lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda(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_partialFixpoint___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*); static lean_object* l_Lean_Elab_partialFixpoint___lambda__2___closed__7; static lean_object* l_Lean_Elab_mkMonoPProd___lambda__1___closed__3; @@ -119,75 +126,83 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg( LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___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* l_Array_reverse___rarg(lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__11; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__2; lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_replace_expr(lean_object*, lean_object*); +lean_object* l_panic___at_Lean_Meta_PProdN_packLambdas___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_partialFixpoint___spec__3(lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__17; uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__6; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__2; lean_object* l_Lean_Meta_PProdN_proj(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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_partialFixpoint___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_Elab_partialFixpoint___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_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*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__2; +static lean_object* l_Lean_Elab_partialFixpoint___closed__10; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__3; lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__4; lean_object* l_Lean_Meta_PProdN_genMk___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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_MessageData_ofFormat(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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* l_Lean_MessageData_andList(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_partialFixpoint___lambda__3___closed__7; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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* l_Lean_Expr_appArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__5; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__16; +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_partialFixpoint___lambda__2___closed__1; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__7; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, 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_Lean_Meta_lambdaTelescope___at_Lean_Elab_partialFixpoint___spec__3___rarg(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_partialFixpoint___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*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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_partialFixpoint___spec__10___lambda__1(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*); static lean_object* l_Lean_Elab_mkMonoPProd___lambda__2___closed__2; lean_object* lean_array_to_list(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps(lean_object*); lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*); lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_partialFixpoint___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__15___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_levelZero; +lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_constName_x21(lean_object*); extern lean_object* l_Lean_instInhabitedExpr; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg(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_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg(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_PProdN_reduceProjs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__19; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__8; static lean_object* l_Lean_Elab_mkInstCCPOPProd___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__9; lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary(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_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__2; -static lean_object* l_Lean_Elab_partialFixpoint___lambda__3___closed__8; static lean_object* l_Array_filterMapM___at_Lean_Elab_partialFixpoint___spec__1___closed__1; +lean_object* l_Lean_Core_betaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2; +static lean_object* l_Lean_Elab_partialFixpoint___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_mkMonoPProd___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__6; LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_partialFixpoint___spec__11___rarg(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_EXPORT lean_object* l_Lean_Elab_mkInstCCPOPProd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedPartialFixpoint; +static lean_object* l_Lean_Elab_partialFixpoint___closed__7; static lean_object* l_Lean_Elab_partialFixpoint___lambda__2___closed__8; static lean_object* l_panic___at_Lean_Elab_partialFixpoint___spec__11___rarg___closed__1; static lean_object* l_Lean_Elab_mkMonoPProd___lambda__3___closed__1; @@ -196,8 +211,8 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesi LEAN_EXPORT lean_object* l_Lean_Elab_mkMonoPProd___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__3; -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__5(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__12; +LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__15; @@ -208,74 +223,81 @@ lean_object* l_instMonadControlTOfPure___rarg(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_registerEqnsInfo___spec__2(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_partialFixpoint___lambda__1___closed__2; static lean_object* l_Lean_Elab_partialFixpoint___closed__4; -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___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_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___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* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_hasRecAppSyntax___boxed(lean_object*); static lean_object* l_Lean_Elab_mkMonoPProd___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___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_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___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_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__4; static lean_object* l_Lean_Elab_partialFixpoint___closed__2; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__8(size_t, 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_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_partialFixpoint___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__3; static lean_object* l_Lean_Elab_partialFixpoint___lambda__2___closed__2; -static lean_object* l_Lean_Elab_partialFixpoint___lambda__3___closed__1; +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__9; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__4; lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_partialFixpoint___spec__18___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17___boxed(lean_object**); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__9; lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__7; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__6; lean_object* l_Lean_Elab_mkInhabitantFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Mutual_getFixedPrefix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__8; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___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_Meta_mapErrorImp___rarg(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*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_partialFixpoint___spec__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* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(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_object* l_Lean_Elab_getFixedParamPerms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___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*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3___closed__3; -static lean_object* l_Lean_Elab_partialFixpoint___lambda__3___closed__4; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__1; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__1; +uint8_t l_Lean_Elab_FixedParamPerms_fixedArePrefix(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__2___boxed(lean_object**); lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__12; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__18; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__10; -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___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_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__1___boxed(lean_object**); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___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*); +lean_object* l_Array_idxOfAux___at_Lean_MetavarContext_setMVarUserName___spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__13; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__14; +LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__3; lean_object* l_Lean_Elab_addAsAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__20; lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_instMonadControlReaderT___lambda__2(lean_object*, lean_object*, lean_object*); 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___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps(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_partialFixpoint___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___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_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__2(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_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__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_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__8___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadCoreM; +LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___boxed__const__1; +static lean_object* l_Lean_Elab_partialFixpoint___closed__8; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMonoPProd___lambda__1___closed__2; lean_object* l_List_reverse___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_mk(lean_object*); lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Meta_Monotonicity_initFn____x40_Lean_Elab_Tactic_Monotonicity___hyg_245____spec__2___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_Elab_mkMonoPProd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -286,21 +308,24 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint__ LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_partialFixpoint___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__7; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__11; -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__4; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__4___boxed(lean_object*, 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_Lean_Elab_mkInstCCPOPProd___closed__3; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___boxed(lean_object**); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__15(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1; -LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTR_loop___at_Lean_Elab_partialFixpoint___spec__13___closed__1; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17___lambda__1___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__1; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__5; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_partialFixpoint___spec__3___rarg___boxed(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_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__3; lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__15; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__8; lean_object* l_Lean_Meta_Monotonicity_solveMono(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -308,58 +333,104 @@ lean_object* lean_array_get_size(lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__9; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__10; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__2___closed__10; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_find_expr(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__11; uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__10; static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__1; +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959_(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*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__9; lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__2(lean_object*, size_t, size_t, 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*); -lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__14; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_partialFixpoint___lambda__3___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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* l_Lean_Expr_mvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__1; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_mkInstCCPOPProd___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); 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_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_partialFixpoint___closed__5; LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_partialFixpoint___spec__11(lean_object*); -static lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__15; lean_object* l_ReaderT_instMonad___rarg(lean_object*); +lean_object* l_Lean_Core_betaReduce___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10(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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__3; LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_partialFixpoint___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_instMonadControlReaderT___lambda__3___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_4; -x_4 = l_Lean_Expr_isAppOfArity(x_1, x_3, x_2); +lean_object* x_3; lean_object* x_4; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Array_idxOfAux___at_Lean_MetavarContext_setMVarUserName___spec__3(x_1, x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +x_5 = lean_box(0); +return x_5; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ return x_4; } +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +lean_dec(x_4); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__1() { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___boxed), 3, 2); -lean_closure_set(x_6, 0, x_5); -lean_closure_set(x_6, 1, x_1); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_findIdx_x3f_loop___rarg(x_6, x_2, x_7); -if (lean_obj_tag(x_8) == 0) +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_levelZero; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2() { +_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___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_Expr_getAppFn(x_6); +x_8 = l_Lean_Expr_isConst(x_7); +if (x_8 == 0) { lean_object* x_9; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_9 = lean_box(0); @@ -367,122 +438,250 @@ return x_9; } else { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_8); -if (x_10 == 0) +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Expr_constName_x21(x_7); +lean_dec(x_7); +x_11 = l_Array_idxOf_x3f___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___spec__1(x_1, x_10); +lean_dec(x_10); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_8, 0); -x_12 = lean_array_get_size(x_2); -x_13 = l_Lean_Meta_PProdN_proj(x_12, x_11, x_3, x_4); -lean_ctor_set(x_8, 0, x_13); -return x_8; +lean_object* x_12; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_12 = lean_box(0); +return x_12; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_8, 0); -lean_inc(x_14); -lean_dec(x_8); -x_15 = lean_array_get_size(x_2); -x_16 = l_Lean_Meta_PProdN_proj(x_15, x_14, x_3, x_4); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_16); -return x_17; +uint8_t x_13; +x_13 = !lean_is_exclusive(x_11); +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; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_14 = lean_ctor_get(x_11, 0); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_6, x_15); +x_17 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__1; +lean_inc(x_16); +x_18 = lean_mk_array(x_16, x_17); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_16, x_19); +lean_dec(x_16); +x_21 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_6, x_18, x_20); +x_22 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2; +x_23 = lean_array_get(x_22, x_2, x_14); +x_24 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_23, x_21); +lean_dec(x_21); +lean_dec(x_23); +x_25 = l_Lean_Meta_PProdN_proj(x_3, x_14, x_4, x_5); +x_26 = l_Lean_mkAppN(x_25, x_24); +lean_dec(x_24); +lean_ctor_set(x_11, 0, x_26); +return x_11; +} +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; 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_11, 0); +lean_inc(x_27); +lean_dec(x_11); +x_28 = lean_unsigned_to_nat(0u); +x_29 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_6, x_28); +x_30 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__1; +lean_inc(x_29); +x_31 = lean_mk_array(x_29, x_30); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_sub(x_29, x_32); +lean_dec(x_29); +x_34 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_6, x_31, x_33); +x_35 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2; +x_36 = lean_array_get(x_35, x_2, x_27); +x_37 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_36, x_34); +lean_dec(x_34); +lean_dec(x_36); +x_38 = l_Lean_Meta_PProdN_proj(x_3, x_27, x_4, x_5); +x_39 = l_Lean_mkAppN(x_38, x_37); +lean_dec(x_37); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +return x_40; } } } } +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("recFnNames.size = fixedParamPerms.perms.size\n ", 47, 47); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__1; +x_2 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.PartialFixpoint.Main", 44, 44); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_private.Lean.Elab.PreDefinition.PartialFixpoint.Main.0.Lean.Elab.replaceRecApps", 80, 80); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__4; +x_2 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__5; +x_3 = lean_unsigned_to_nat(22u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___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___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps(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_inc(x_3); -x_10 = lean_infer_type(x_3, x_5, x_6, x_7, x_8, x_9); -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; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__2___boxed), 5, 4); -lean_closure_set(x_13, 0, x_2); -lean_closure_set(x_13, 1, x_1); -lean_closure_set(x_13, 2, x_12); -lean_closure_set(x_13, 3, x_3); -x_14 = lean_replace_expr(x_13, x_4); -lean_dec(x_13); -lean_ctor_set(x_10, 0, x_14); -return x_10; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_10, 0); -x_16 = lean_ctor_get(x_10, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_10); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__2___boxed), 5, 4); -lean_closure_set(x_17, 0, x_2); -lean_closure_set(x_17, 1, x_1); -lean_closure_set(x_17, 2, x_15); -lean_closure_set(x_17, 3, x_3); -x_18 = lean_replace_expr(x_17, x_4); -lean_dec(x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_16); -return x_19; -} -} -else -{ -uint8_t x_20; -lean_dec(x_3); +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_array_get_size(x_1); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); lean_dec(x_2); -lean_dec(x_1); -x_20 = !lean_is_exclusive(x_10); -if (x_20 == 0) +x_12 = lean_array_get_size(x_11); +x_13 = lean_nat_dec_eq(x_10, x_12); +lean_dec(x_12); +if (x_13 == 0) { -return x_10; +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_1); +x_14 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__6; +x_15 = l_panic___at_Lean_Meta_PProdN_packLambdas___spec__1(x_14, x_5, x_6, x_7, x_8, x_9); +return x_15; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_10, 0); -x_22 = lean_ctor_get(x_10, 1); +lean_object* x_16; +lean_inc(x_3); +x_16 = lean_infer_type(x_3, x_5, x_6, x_7, x_8, x_9); +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, 0); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___boxed), 6, 5); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_11); +lean_closure_set(x_19, 2, x_10); +lean_closure_set(x_19, 3, x_18); +lean_closure_set(x_19, 4, x_3); +x_20 = lean_replace_expr(x_19, x_4); +lean_dec(x_19); +lean_ctor_set(x_16, 0, 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_10); -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_dec(x_16); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___boxed), 6, 5); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_11); +lean_closure_set(x_23, 2, x_10); +lean_closure_set(x_23, 3, x_21); +lean_closure_set(x_23, 4, x_3); +x_24 = lean_replace_expr(x_23, x_4); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +return x_25; } } -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +else { -uint8_t x_4; lean_object* x_5; -x_4 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1(x_1, x_2, x_3); +uint8_t x_26; +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; +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___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +} +} +} +LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_6; -x_6 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_object* x_3; +x_3 = l_Array_idxOf_x3f___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___spec__1(x_1, x_2); lean_dec(x_2); -return x_6; +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_7; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___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) { @@ -494,40 +693,317 @@ lean_dec(x_4); return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 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; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +lean_inc(x_4); +x_11 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_1, x_2, x_4); +x_12 = lean_ctor_get(x_3, 3); +lean_inc(x_12); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_box(0); +x_15 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_13, x_14); +x_16 = l_Lean_Expr_const___override(x_12, x_15); +x_17 = l_Lean_mkAppN(x_16, x_11); +lean_dec(x_11); +x_18 = 0; +x_19 = 1; +x_20 = 1; +x_21 = l_Lean_Meta_mkLambdaFVars(x_4, x_17, x_18, x_19, x_19, x_20, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: { -return x_4; +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_5, 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; lean_object* x_22; lean_object* x_23; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_5, x_16); +lean_dec(x_5); +x_18 = lean_array_fget(x_4, x_6); +x_19 = lean_ctor_get(x_2, 1); +x_20 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2; +x_21 = lean_array_get(x_20, x_19, x_6); +x_22 = lean_ctor_get(x_18, 5); +lean_inc(x_22); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_3); +lean_inc(x_21); +x_23 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_21, x_22, x_3, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +lean_inc(x_3); +x_26 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___lambda__1___boxed), 10, 3); +lean_closure_set(x_26, 0, x_21); +lean_closure_set(x_26, 1, x_3); +lean_closure_set(x_26, 2, x_18); +x_27 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_28 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_24, x_26, x_27, x_9, x_10, x_11, x_12, x_25); +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_nat_add(x_6, x_16); +lean_dec(x_6); +x_32 = lean_array_push(x_8, x_29); +x_5 = x_17; +x_6 = x_31; +x_7 = lean_box(0); +x_8 = x_32; +x_13 = x_30; +goto _start; } 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; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -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 = lean_ctor_get(x_6, 3); -lean_inc(x_9); -x_10 = lean_ctor_get(x_6, 1); -lean_inc(x_10); +uint8_t x_34; +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_6); -x_11 = lean_box(0); -x_12 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_10, x_11); -x_13 = l_Lean_Expr_const___override(x_9, x_12); -x_14 = l_Lean_mkAppN(x_13, x_1); -x_15 = 1; -x_16 = lean_usize_add(x_3, x_15); -x_17 = lean_array_uset(x_8, x_3, x_14); -x_3 = x_16; -x_4 = x_17; +lean_dec(x_3); +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) +{ +return x_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_28); +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_38; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) +{ +return x_23; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_23); +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; +} +} +} +else +{ +lean_object* x_42; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_8); +lean_ctor_set(x_42, 1, x_13); +return x_42; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_5, 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; lean_object* x_22; lean_object* x_23; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_5, x_16); +lean_dec(x_5); +x_18 = lean_array_fget(x_4, x_6); +x_19 = lean_ctor_get(x_2, 1); +x_20 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2; +x_21 = lean_array_get(x_20, x_19, x_6); +x_22 = lean_ctor_get(x_18, 5); +lean_inc(x_22); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_3); +lean_inc(x_21); +x_23 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_21, x_22, x_3, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +lean_inc(x_3); +x_26 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___lambda__1___boxed), 10, 3); +lean_closure_set(x_26, 0, x_21); +lean_closure_set(x_26, 1, x_3); +lean_closure_set(x_26, 2, x_18); +x_27 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_28 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_24, x_26, x_27, x_9, x_10, x_11, x_12, x_25); +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_nat_add(x_6, x_16); +lean_dec(x_6); +x_32 = lean_array_push(x_8, x_29); +x_5 = x_17; +x_6 = x_31; +x_7 = lean_box(0); +x_8 = x_32; +x_13 = x_30; goto _start; } +else +{ +uint8_t x_34; +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) +{ +return x_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_28); +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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +} +else +{ +uint8_t x_38; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) +{ +return x_23; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_23); +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; +} +} +} +else +{ +lean_object* x_42; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_8); +lean_ctor_set(x_42, 1, x_13); +return x_42; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -593,6 +1069,149 @@ return x_22; } } } +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_5, 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; lean_object* x_22; lean_object* x_23; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_5, x_16); +lean_dec(x_5); +x_18 = lean_array_fget(x_4, x_6); +x_19 = lean_ctor_get(x_2, 1); +x_20 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2; +x_21 = lean_array_get(x_20, x_19, x_6); +x_22 = lean_ctor_get(x_18, 5); +lean_inc(x_22); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_3); +lean_inc(x_21); +x_23 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_21, x_22, x_3, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +lean_inc(x_3); +x_26 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___lambda__1___boxed), 10, 3); +lean_closure_set(x_26, 0, x_21); +lean_closure_set(x_26, 1, x_3); +lean_closure_set(x_26, 2, x_18); +x_27 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_28 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_24, x_26, x_27, x_9, x_10, x_11, x_12, x_25); +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_nat_add(x_6, x_16); +lean_dec(x_6); +x_32 = lean_array_push(x_8, x_29); +x_5 = x_17; +x_6 = x_31; +x_7 = lean_box(0); +x_8 = x_32; +x_13 = x_30; +goto _start; +} +else +{ +uint8_t x_34; +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) +{ +return x_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_28); +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_38; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) +{ +return x_23; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_23); +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; +} +} +} +else +{ +lean_object* x_42; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_8); +lean_ctor_set(x_42, 1, x_13); +return x_42; +} +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -630,6 +1249,22 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_PProdN_reduceProjs___lambda__2___bo return x_1; } } +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Core_betaReduce___lambda__1___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Core_betaReduce___lambda__2___boxed), 4, 0); +return x_1; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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: { @@ -644,49 +1279,87 @@ x_13 = lean_replace_expr(x_12, x_3); lean_dec(x_12); x_14 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__1; x_15 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__2; +lean_inc(x_7); +lean_inc(x_6); x_16 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_13, x_14, x_15, x_6, x_7, x_8); if (lean_obj_tag(x_16) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -return x_16; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +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_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; +x_19 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__3; +x_20 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__4; +x_21 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_17, x_19, x_20, x_6, x_7, x_18); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 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_21; -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) +uint8_t x_26; +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +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; +} +} +} +else +{ +uint8_t x_30; +lean_dec(x_7); +lean_dec(x_6); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) { return x_16; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_16, 0); -x_23 = lean_ctor_get(x_16, 1); -lean_inc(x_23); -lean_inc(x_22); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +lean_inc(x_31); lean_dec(x_16); -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; +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; } } } @@ -700,281 +1373,792 @@ x_2 = l_Lean_Level_ofNat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -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; -x_11 = lean_array_get_size(x_1); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_nat_dec_lt(x_12, x_11); -x_14 = lean_st_ref_get(x_9, x_10); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_12 = lean_array_get_size(x_1); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +x_15 = lean_st_ref_get(x_10, x_11); +if (x_14 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 0); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -if (x_13 == 0) -{ -lean_dec(x_11); -x_18 = x_16; -goto block_61; -} -else -{ -uint8_t x_62; -x_62 = lean_nat_dec_le(x_11, x_11); -if (x_62 == 0) -{ -lean_dec(x_11); -x_18 = x_16; -goto block_61; -} -else -{ -size_t x_63; size_t x_64; lean_object* x_65; lean_object* x_66; -x_63 = 0; -x_64 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_65 = lean_box(0); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_mk_empty_array_with_capacity(x_12); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_66 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__2(x_1, x_63, x_64, x_65, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_66) == 0) +lean_inc(x_7); +x_20 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1(x_1, x_2, x_3, x_1, x_12, x_13, lean_box(0), x_19, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_67; -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_18 = x_67; -goto block_61; -} -else +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +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 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_24 = l_Lean_Meta_PProdN_mk(x_23, x_21, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_68 = lean_ctor_get(x_66, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_17, x_6, x_7, x_8, x_9, x_69); +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_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___boxed), 8, 1); +lean_closure_set(x_27, 0, x_25); +x_28 = lean_unsigned_to_nat(1u); +x_29 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_30 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Meta_Monotonicity_initFn____x40_Lean_Elab_Tactic_Monotonicity___hyg_245____spec__2___rarg(x_4, x_28, x_27, x_29, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +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_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_33 = lean_apply_6(x_5, x_31, x_7, x_8, x_9, x_10, x_32); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_18, x_7, x_8, x_9, x_10, x_35); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) { -lean_object* x_72; -x_72 = lean_ctor_get(x_70, 0); -lean_dec(x_72); -lean_ctor_set_tag(x_70, 1); -lean_ctor_set(x_70, 0, x_68); -return x_70; +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_34); +return x_36; } else { +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_34); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_41 = lean_ctor_get(x_33, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_33, 1); +lean_inc(x_42); +lean_dec(x_33); +x_43 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_18, x_7, x_8, x_9, x_10, x_42); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +lean_ctor_set_tag(x_43, 1); +lean_ctor_set(x_43, 0, x_41); +return x_43; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_41); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +lean_dec(x_5); +x_48 = lean_ctor_get(x_30, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_30, 1); +lean_inc(x_49); +lean_dec(x_30); +x_50 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_18, x_7, x_8, x_9, x_10, x_49); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_50, 0); +lean_dec(x_52); +lean_ctor_set_tag(x_50, 1); +lean_ctor_set(x_50, 0, x_48); +return x_50; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_48); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_dec(x_5); +lean_dec(x_4); +x_55 = lean_ctor_get(x_24, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_24, 1); +lean_inc(x_56); +lean_dec(x_24); +x_57 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_18, x_7, x_8, x_9, x_10, x_56); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +lean_object* x_59; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +lean_ctor_set_tag(x_57, 1); +lean_ctor_set(x_57, 0, x_55); +return x_57; +} +else +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 1); +lean_inc(x_60); +lean_dec(x_57); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_55); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +lean_dec(x_5); +lean_dec(x_4); +x_62 = lean_ctor_get(x_20, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_dec(x_20); +x_64 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_18, x_7, x_8, x_9, x_10, x_63); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_64, 0); +lean_dec(x_66); +lean_ctor_set_tag(x_64, 1); +lean_ctor_set(x_64, 0, x_62); +return x_64; +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec(x_64); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_62); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_69 = lean_ctor_get(x_15, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_15, 1); +lean_inc(x_70); +lean_dec(x_15); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_nat_dec_le(x_12, x_12); +if (x_72 == 0) +{ lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_68); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -} -block_61: -{ -size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_array_size(x_1); -x_20 = 0; -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1(x_2, x_19, x_20, x_1); -x_22 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1; +x_73 = lean_mk_empty_array_with_capacity(x_12); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_23 = l_Lean_Meta_PProdN_mk(x_22, x_21, x_6, x_7, x_8, x_9, x_18); -if (lean_obj_tag(x_23) == 0) +x_74 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__2(x_1, x_2, x_3, x_1, x_12, x_13, lean_box(0), x_73, x_7, x_8, x_9, x_10, x_70); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___boxed), 8, 1); -lean_closure_set(x_26, 0, x_24); -x_27 = lean_unsigned_to_nat(1u); -x_28 = 0; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1; +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_29 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Meta_Monotonicity_initFn____x40_Lean_Elab_Tactic_Monotonicity___hyg_245____spec__2___rarg(x_3, x_27, x_26, x_28, x_6, x_7, x_8, x_9, x_25); -if (lean_obj_tag(x_29) == 0) +x_78 = l_Lean_Meta_PProdN_mk(x_77, x_75, x_7, x_8, x_9, x_10, x_76); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___boxed), 8, 1); +lean_closure_set(x_81, 0, x_79); +x_82 = lean_unsigned_to_nat(1u); +x_83 = 0; +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_32 = lean_apply_6(x_4, x_30, x_6, x_7, x_8, x_9, x_31); -if (lean_obj_tag(x_32) == 0) +x_84 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Meta_Monotonicity_initFn____x40_Lean_Elab_Tactic_Monotonicity___hyg_245____spec__2___rarg(x_4, x_82, x_81, x_83, x_7, x_8, x_9, x_10, x_80); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_17, x_6, x_7, x_8, x_9, x_34); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +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); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_87 = lean_apply_6(x_5, x_85, x_7, x_8, x_9, x_10, x_86); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t 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); +lean_dec(x_87); +x_90 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_89); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) { -lean_object* x_37; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -lean_ctor_set(x_35, 0, x_33); -return x_35; +lean_object* x_92; +x_92 = lean_ctor_get(x_90, 0); +lean_dec(x_92); +lean_ctor_set(x_90, 0, x_88); +return x_90; } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_33); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); +lean_dec(x_90); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_88); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = lean_ctor_get(x_32, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_32, 1); -lean_inc(x_41); -lean_dec(x_32); -x_42 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_17, x_6, x_7, x_8, x_9, x_41); +lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_95 = lean_ctor_get(x_87, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_87, 1); +lean_inc(x_96); +lean_dec(x_87); +x_97 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_96); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +x_98 = !lean_is_exclusive(x_97); +if (x_98 == 0) { -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -lean_ctor_set_tag(x_42, 1); -lean_ctor_set(x_42, 0, x_40); -return x_42; +lean_object* x_99; +x_99 = lean_ctor_get(x_97, 0); +lean_dec(x_99); +lean_ctor_set_tag(x_97, 1); +lean_ctor_set(x_97, 0, x_95); +return x_97; } else { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_40); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_97, 1); +lean_inc(x_100); +lean_dec(x_97); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_95); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_5); +x_102 = lean_ctor_get(x_84, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_84, 1); +lean_inc(x_103); +lean_dec(x_84); +x_104 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_103); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) +{ +lean_object* x_106; +x_106 = lean_ctor_get(x_104, 0); +lean_dec(x_106); +lean_ctor_set_tag(x_104, 1); +lean_ctor_set(x_104, 0, x_102); +return x_104; +} +else +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_104, 1); +lean_inc(x_107); +lean_dec(x_104); +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; lean_object* x_111; uint8_t x_112; +lean_dec(x_5); lean_dec(x_4); -x_47 = lean_ctor_get(x_29, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_29, 1); -lean_inc(x_48); -lean_dec(x_29); -x_49 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_17, x_6, x_7, x_8, x_9, x_48); +x_109 = lean_ctor_get(x_78, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_78, 1); +lean_inc(x_110); +lean_dec(x_78); +x_111 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_110); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) +x_112 = !lean_is_exclusive(x_111); +if (x_112 == 0) { -lean_object* x_51; -x_51 = lean_ctor_get(x_49, 0); -lean_dec(x_51); -lean_ctor_set_tag(x_49, 1); -lean_ctor_set(x_49, 0, x_47); -return x_49; +lean_object* x_113; +x_113 = lean_ctor_get(x_111, 0); +lean_dec(x_113); +lean_ctor_set_tag(x_111, 1); +lean_ctor_set(x_111, 0, x_109); +return x_111; } else { -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_47); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_109); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_5); +lean_dec(x_4); +x_116 = lean_ctor_get(x_74, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_74, 1); +lean_inc(x_117); +lean_dec(x_74); +x_118 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_117); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_119 = !lean_is_exclusive(x_118); +if (x_119 == 0) +{ +lean_object* x_120; +x_120 = lean_ctor_get(x_118, 0); +lean_dec(x_120); +lean_ctor_set_tag(x_118, 1); +lean_ctor_set(x_118, 0, x_116); +return x_118; +} +else +{ +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_118, 1); +lean_inc(x_121); +lean_dec(x_118); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_116); +lean_ctor_set(x_122, 1, x_121); +return x_122; +} +} +} +else +{ +size_t x_123; size_t x_124; lean_object* x_125; lean_object* x_126; +x_123 = 0; +x_124 = lean_usize_of_nat(x_12); +x_125 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +x_126 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__3(x_1, x_123, x_124, x_125, x_7, x_8, x_9, x_10, x_70); +if (lean_obj_tag(x_126) == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +lean_dec(x_126); +x_128 = lean_mk_empty_array_with_capacity(x_12); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_129 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__4(x_1, x_2, x_3, x_1, x_12, x_13, lean_box(0), x_128, x_7, x_8, x_9, x_10, x_127); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +x_132 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_133 = l_Lean_Meta_PProdN_mk(x_132, x_130, x_7, x_8, x_9, x_10, x_131); +if (lean_obj_tag(x_133) == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_object* x_139; +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___boxed), 8, 1); +lean_closure_set(x_136, 0, x_134); +x_137 = lean_unsigned_to_nat(1u); +x_138 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_139 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Meta_Monotonicity_initFn____x40_Lean_Elab_Tactic_Monotonicity___hyg_245____spec__2___rarg(x_4, x_137, x_136, x_138, x_7, x_8, x_9, x_10, x_135); +if (lean_obj_tag(x_139) == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_142 = lean_apply_6(x_5, x_140, x_7, x_8, x_9, x_10, x_141); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_144); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_146 = !lean_is_exclusive(x_145); +if (x_146 == 0) +{ +lean_object* x_147; +x_147 = lean_ctor_get(x_145, 0); +lean_dec(x_147); +lean_ctor_set(x_145, 0, x_143); +return x_145; +} +else +{ +lean_object* x_148; lean_object* x_149; +x_148 = lean_ctor_get(x_145, 1); +lean_inc(x_148); +lean_dec(x_145); +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_143); +lean_ctor_set(x_149, 1, x_148); +return x_149; +} +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; +x_150 = lean_ctor_get(x_142, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_142, 1); +lean_inc(x_151); +lean_dec(x_142); +x_152 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_151); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_153 = !lean_is_exclusive(x_152); +if (x_153 == 0) +{ +lean_object* x_154; +x_154 = lean_ctor_get(x_152, 0); +lean_dec(x_154); +lean_ctor_set_tag(x_152, 1); +lean_ctor_set(x_152, 0, x_150); +return x_152; +} +else +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_152, 1); +lean_inc(x_155); +lean_dec(x_152); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_150); +lean_ctor_set(x_156, 1, x_155); +return x_156; +} +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; +lean_dec(x_5); +x_157 = lean_ctor_get(x_139, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_139, 1); +lean_inc(x_158); +lean_dec(x_139); +x_159 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_158); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_160 = !lean_is_exclusive(x_159); +if (x_160 == 0) +{ +lean_object* x_161; +x_161 = lean_ctor_get(x_159, 0); +lean_dec(x_161); +lean_ctor_set_tag(x_159, 1); +lean_ctor_set(x_159, 0, x_157); +return x_159; +} +else +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_dec(x_159); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_157); +lean_ctor_set(x_163, 1, x_162); +return x_163; +} +} +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; +lean_dec(x_5); +lean_dec(x_4); +x_164 = lean_ctor_get(x_133, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_133, 1); +lean_inc(x_165); +lean_dec(x_133); +x_166 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_165); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_167 = !lean_is_exclusive(x_166); +if (x_167 == 0) +{ +lean_object* x_168; +x_168 = lean_ctor_get(x_166, 0); +lean_dec(x_168); +lean_ctor_set_tag(x_166, 1); +lean_ctor_set(x_166, 0, x_164); +return x_166; +} +else +{ +lean_object* x_169; lean_object* x_170; +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +lean_dec(x_166); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_164); +lean_ctor_set(x_170, 1, x_169); +return x_170; +} +} +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; +lean_dec(x_5); +lean_dec(x_4); +x_171 = lean_ctor_get(x_129, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_129, 1); +lean_inc(x_172); +lean_dec(x_129); +x_173 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_172); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_174 = !lean_is_exclusive(x_173); +if (x_174 == 0) +{ +lean_object* x_175; +x_175 = lean_ctor_get(x_173, 0); +lean_dec(x_175); +lean_ctor_set_tag(x_173, 1); +lean_ctor_set(x_173, 0, x_171); +return x_173; +} +else +{ +lean_object* x_176; lean_object* x_177; +x_176 = lean_ctor_get(x_173, 1); +lean_inc(x_176); +lean_dec(x_173); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_171); +lean_ctor_set(x_177, 1, x_176); +return x_177; +} +} +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; +lean_dec(x_12); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_54 = lean_ctor_get(x_23, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_23, 1); -lean_inc(x_55); -lean_dec(x_23); -x_56 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_17, x_6, x_7, x_8, x_9, x_55); +x_178 = lean_ctor_get(x_126, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_126, 1); +lean_inc(x_179); +lean_dec(x_126); +x_180 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_71, x_7, x_8, x_9, x_10, x_179); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +x_181 = !lean_is_exclusive(x_180); +if (x_181 == 0) { -lean_object* x_58; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -lean_ctor_set_tag(x_56, 1); -lean_ctor_set(x_56, 0, x_54); -return x_56; +lean_object* x_182; +x_182 = lean_ctor_get(x_180, 0); +lean_dec(x_182); +lean_ctor_set_tag(x_180, 1); +lean_ctor_set(x_180, 0, x_178); +return x_180; } else { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_56, 1); -lean_inc(x_59); -lean_dec(x_56); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_54); -lean_ctor_set(x_60, 1, x_59); -return x_60; +lean_object* x_183; lean_object* x_184; +x_183 = lean_ctor_get(x_180, 1); +lean_inc(x_183); +lean_dec(x_180); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_178); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} } } } @@ -1014,55 +2198,55 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_10; -x_10 = l_Lean_Expr_isLambda(x_3); -if (x_10 == 0) +uint8_t x_11; +x_11 = l_Lean_Expr_isLambda(x_4); +if (x_11 == 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; uint8_t x_17; -lean_dec(x_4); -lean_dec(x_1); -x_11 = l_Lean_indentExpr(x_3); -x_12 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__2; -x_13 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -x_14 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; -x_15 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_15, x_5, x_6, x_7, x_8, x_9); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec(x_5); +lean_dec(x_3); +x_12 = l_Lean_indentExpr(x_4); +x_13 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__2; +x_14 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_16, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -return x_16; +return x_17; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); +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_inc(x_19); -lean_inc(x_18); -lean_dec(x_16); -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_dec(x_17); +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_21; lean_object* x_22; -x_21 = lean_box(0); -x_22 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3(x_1, x_2, x_3, x_4, x_21, x_5, x_6, x_7, x_8, x_9); -return x_22; +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_22, x_6, x_7, x_8, x_9, x_10); +return x_23; } } } @@ -1070,24 +2254,47 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Mai _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___boxed), 10, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); +lean_object* x_11; +x_11 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__1(x_1, x_5, x_6, x_4); lean_dec(x_1); -return x_7; +return x_14; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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) { _start: { size_t x_10; size_t x_11; lean_object* x_12; @@ -1095,13 +2302,24 @@ x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__2(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__3(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_14; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1124,25 +2342,27 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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, 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_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___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_5); +x_11 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); +lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -return x_10; -} -} static lean_object* _init_l_Lean_Elab_mkInstCCPOPProd___closed__1() { _start: { @@ -2794,108 +4014,185 @@ return x_52; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___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, 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: { -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) +lean_object* x_17; uint8_t x_18; +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_eq(x_6, x_17); +if (x_18 == 0) { -lean_dec(x_1); -return x_4; -} -else +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_6, x_19); +lean_dec(x_6); +x_21 = lean_array_fget(x_5, x_7); +lean_inc(x_2); +x_22 = lean_array_get(x_2, x_3, x_7); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_4); +x_23 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_22, x_21, x_4, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; -x_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); -lean_inc(x_1); -x_9 = l_Lean_Expr_beta(x_6, x_1); -x_10 = 1; -x_11 = lean_usize_add(x_3, x_10); -x_12 = lean_array_uset(x_8, x_3, x_9); -x_3 = x_11; -x_4 = x_12; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_nat_add(x_7, x_19); +lean_dec(x_7); +x_27 = lean_array_push(x_9, x_24); +x_6 = x_20; +x_7 = x_26; +x_8 = lean_box(0); +x_9 = x_27; +x_16 = x_25; goto _start; } -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = lean_usize_dec_lt(x_3, x_2); -if (x_12 == 0) -{ -lean_object* x_13; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_array_uget(x_4, x_3); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_array_uset(x_4, x_3, x_15); -x_17 = lean_ctor_get(x_14, 4); -lean_inc(x_17); +uint8_t x_29; +lean_dec(x_20); +lean_dec(x_15); lean_dec(x_14); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_18 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_1, x_15, x_17, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_18) == 0) +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) { -lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -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 = 1; -x_22 = lean_usize_add(x_3, x_21); -x_23 = lean_array_uset(x_16, x_3, x_19); -x_3 = x_22; -x_4 = x_23; -x_11 = x_20; +return x_23; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +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_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_9); +lean_ctor_set(x_33, 1, x_16); +return x_33; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___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, 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; uint8_t x_18; +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_eq(x_6, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_6, x_19); +lean_dec(x_6); +x_21 = lean_array_fget(x_5, x_7); +lean_inc(x_2); +x_22 = lean_array_get(x_2, x_3, x_7); +x_23 = lean_ctor_get(x_21, 4); +lean_inc(x_23); +lean_dec(x_21); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_4); +x_24 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_22, x_23, x_4, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(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_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_nat_add(x_7, x_19); +lean_dec(x_7); +x_28 = lean_array_push(x_9, x_25); +x_6 = x_20; +x_7 = x_27; +x_8 = lean_box(0); +x_9 = x_28; +x_16 = x_26; goto _start; } else { -uint8_t x_25; -lean_dec(x_16); -lean_dec(x_10); +uint8_t x_30; +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); -x_25 = !lean_is_exclusive(x_18); -if (x_25 == 0) +lean_dec(x_4); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) { -return x_18; +return x_24; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_18, 0); -x_27 = lean_ctor_get(x_18, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_18); -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; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_24, 0); +x_32 = lean_ctor_get(x_24, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_24); +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 +{ +lean_object* x_34; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_9); +lean_ctor_set(x_34, 1, x_16); +return x_34; +} } } static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___closed__1() { @@ -3297,7 +4594,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___lambda__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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___lambda__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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -3486,7 +4783,7 @@ return x_49; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1() { _start: { lean_object* x_1; @@ -3494,170 +4791,127 @@ x_1 = lean_mk_string_unchecked("f", 1, 1); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1; +x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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) { _start: { -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_9, x_8); -if (x_18 == 0) +lean_object* x_22; uint8_t x_23; +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_nat_dec_eq(x_11, x_22); +if (x_23 == 0) { -lean_object* x_19; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); +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_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_sub(x_11, x_24); lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -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 +x_26 = lean_array_fget(x_10, x_12); +lean_inc(x_6); +x_27 = lean_array_get(x_6, x_7, x_12); +x_28 = lean_ctor_get(x_26, 5); +lean_inc(x_28); +lean_dec(x_26); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_8); +x_29 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_27, x_28, x_8, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_array_uget(x_10, x_9); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_10, x_9, x_21); -x_23 = lean_ctor_get(x_20, 5); -lean_inc(x_23); -lean_dec(x_20); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -x_24 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_6, x_21, x_23, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_34; lean_object* x_35; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2; -x_28 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_27, x_15, x_16, x_26); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_box_usize(x_4); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2; +x_33 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_32, x_19, x_20, x_31); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_box_usize(x_3); lean_inc(x_1); -lean_inc(x_3); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_2); -x_32 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___lambda__1___boxed), 14, 6); -lean_closure_set(x_32, 0, x_2); -lean_closure_set(x_32, 1, x_5); -lean_closure_set(x_32, 2, x_3); -lean_closure_set(x_32, 3, x_25); -lean_closure_set(x_32, 4, x_1); -lean_closure_set(x_32, 5, x_31); -x_33 = 0; -x_34 = 0; +x_37 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___lambda__1___boxed), 14, 6); +lean_closure_set(x_37, 0, x_2); +lean_closure_set(x_37, 1, x_4); +lean_closure_set(x_37, 2, x_5); +lean_closure_set(x_37, 3, x_30); +lean_closure_set(x_37, 4, x_1); +lean_closure_set(x_37, 5, x_36); +x_38 = 0; +x_39 = 0; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); 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_7); -x_35 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_29, x_33, x_7, x_32, x_34, x_11, x_12, x_13, x_14, x_15, x_16, x_30); -if (lean_obj_tag(x_35) == 0) +lean_inc(x_9); +x_40 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_34, x_38, x_9, x_37, x_39, x_15, x_16, x_17, x_18, x_19, x_20, x_35); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = 1; -x_39 = lean_usize_add(x_9, x_38); -x_40 = lean_array_uset(x_22, x_9, x_36); -x_9 = x_39; -x_10 = x_40; -x_17 = x_37; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_nat_add(x_12, x_24); +lean_dec(x_12); +x_44 = lean_array_push(x_14, x_41); +x_11 = x_25; +x_12 = x_43; +x_13 = lean_box(0); +x_14 = x_44; +x_21 = x_42; goto _start; } else { -uint8_t x_42; -lean_dec(x_22); -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_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_42 = !lean_is_exclusive(x_35); -if (x_42 == 0) -{ -return x_35; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_35, 0); -x_44 = lean_ctor_get(x_35, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_35); -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; -} -} -} -else -{ uint8_t x_46; -lean_dec(x_22); +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); 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_9); +lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_24); +x_46 = !lean_is_exclusive(x_40); if (x_46 == 0) { -return x_24; +return x_40; } else { lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_24, 0); -x_48 = lean_ctor_get(x_24, 1); +x_47 = lean_ctor_get(x_40, 0); +x_48 = lean_ctor_get(x_40, 1); lean_inc(x_48); lean_inc(x_47); -lean_dec(x_24); +lean_dec(x_40); x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); @@ -3665,6 +4919,68 @@ return x_49; } } } +else +{ +uint8_t x_50; +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_29); +if (x_50 == 0) +{ +return x_29; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_29, 0); +x_52 = lean_ctor_get(x_29, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_29); +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; +} +} +} +else +{ +lean_object* x_54; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_14); +lean_ctor_set(x_54, 1, x_21); +return x_54; +} } } static lean_object* _init_l_panic___at_Lean_Elab_partialFixpoint___spec__11___rarg___closed__1() { @@ -3917,7 +5233,7 @@ static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.PartialFixpoint.Main", 44, 44); +x_1 = lean_mk_string_unchecked("Lean.Elab.partialFixpoint", 25, 25); return x_1; } } @@ -3925,32 +5241,24 @@ static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Elab.partialFixpoint", 25, 25); +x_1 = lean_mk_string_unchecked("getRecAppSyntax\? failed", 23, 23); return x_1; } } static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getRecAppSyntax\? failed", 23, 23); -return x_1; -} -} -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___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_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__1; -x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(117u); +x_1 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__4; +x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__1; +x_3 = lean_unsigned_to_nat(125u); x_4 = lean_unsigned_to_nat(52u); -x_5 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__3; +x_5 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__5() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -3958,16 +5266,16 @@ x_1 = lean_mk_string_unchecked("Cannot eliminate recursive call `", 33, 33); return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__6() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__5; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__7() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__6() { _start: { lean_object* x_1; @@ -3975,16 +5283,16 @@ x_1 = lean_mk_string_unchecked("` enclosed in", 13, 13); return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__8() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__7; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__6; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__9() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__8() { _start: { lean_object* x_1; @@ -3992,16 +5300,16 @@ x_1 = lean_mk_string_unchecked("\n", 1, 1); return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__10() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__9; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__8; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__11() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__10() { _start: { lean_object* x_1; @@ -4009,7 +5317,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_hasRecAppSyntax___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__12() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__11() { _start: { lean_object* x_1; @@ -4017,16 +5325,16 @@ x_1 = lean_mk_string_unchecked("Tried to apply ", 15, 15); return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__13() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__12; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__11; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__14() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__13() { _start: { lean_object* x_1; @@ -4034,16 +5342,16 @@ x_1 = lean_mk_string_unchecked(", but failed.\nPossible cause: A missing `", 41, return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__15() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__14; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__13; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__16() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__15() { _start: { lean_object* x_1; @@ -4051,28 +5359,28 @@ x_1 = lean_mk_string_unchecked("MonoBind", 8, 8); return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__17() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_mkInstCCPOPProd___closed__1; x_2 = l_Lean_Elab_mkInstCCPOPProd___closed__2; -x_3 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__16; +x_3 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__15; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__18() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__17() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__17; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__16; x_2 = 0; x_3 = l_Lean_MessageData_ofConstName(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__19() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__18() { _start: { lean_object* x_1; @@ -4080,16 +5388,16 @@ x_1 = lean_mk_string_unchecked("` instance.\nUse `set_option trace.Elab.Tactic.m return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__20() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__19; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__18; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__20() { _start: { lean_object* x_1; @@ -4097,11 +5405,11 @@ x_1 = lean_mk_string_unchecked("Cannot eliminate recursive call in", 34, 34); return x_1; } } -static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__22() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__20; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -4111,7 +5419,7 @@ _start: { lean_object* x_8; lean_object* x_9; uint8_t x_48; lean_object* x_49; lean_object* x_50; x_48 = l_Array_isEmpty___rarg(x_1); -x_49 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__11; +x_49 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__10; x_50 = lean_find_expr(x_49, x_2); if (x_48 == 0) { @@ -4120,19 +5428,19 @@ x_51 = lean_array_to_list(x_1); x_52 = lean_box(0); x_53 = l_List_mapTR_loop___at_Lean_Elab_partialFixpoint___spec__13(x_51, x_52); x_54 = l_Lean_MessageData_andList(x_53); -x_55 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__13; +x_55 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__12; x_56 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); -x_57 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__15; +x_57 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__14; x_58 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__18; +x_59 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__17; x_60 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_60, 0, x_58); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__20; +x_61 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__19; x_62 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_62, 0, x_60); lean_ctor_set(x_62, 1, x_61); @@ -4140,11 +5448,11 @@ if (lean_obj_tag(x_50) == 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; x_63 = l_Lean_indentExpr(x_2); -x_64 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__22; +x_64 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21; x_65 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); -x_66 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__10; +x_66 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__9; x_67 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); @@ -4180,11 +5488,11 @@ if (lean_obj_tag(x_50) == 0) { lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; x_73 = l_Lean_indentExpr(x_2); -x_74 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__22; +x_74 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21; x_75 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); -x_76 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__10; +x_76 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__9; x_77 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_77, 0, x_75); lean_ctor_set(x_77, 1, x_76); @@ -4224,7 +5532,7 @@ if (lean_obj_tag(x_10) == 0) lean_object* x_11; lean_object* x_12; lean_dec(x_8); lean_dec(x_2); -x_11 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__4; +x_11 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__3; x_12 = l_panic___at_Lean_Elab_partialFixpoint___spec__11___rarg(x_11, x_3, x_4, x_5, x_6, x_7); return x_12; } @@ -4236,11 +5544,11 @@ lean_inc(x_13); lean_dec(x_10); lean_inc(x_13); x_14 = l_Lean_MessageData_ofSyntax(x_13); -x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__6; +x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__5; x_16 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); -x_17 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__8; +x_17 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__7; x_18 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -4248,7 +5556,7 @@ x_19 = l_Lean_indentExpr(x_2); x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__10; +x_21 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__9; x_22 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -4334,14 +5642,14 @@ return x_46; } } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1), 7, 1); -lean_closure_set(x_11, 0, x_5); -x_12 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg(x_1, x_2, x_4, x_11, x_6, x_7, x_8, x_9, x_10); -return x_12; +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1), 7, 1); +lean_closure_set(x_12, 0, x_6); +x_13 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg(x_1, x_2, x_3, x_5, x_12, x_7, x_8, x_9, x_10, x_11); +return x_13; } } static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3___closed__1() { @@ -4550,10 +5858,12 @@ lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean x_70 = lean_ctor_get(x_68, 0); x_71 = lean_ctor_get(x_68, 1); lean_inc(x_7); +lean_inc(x_3); lean_inc(x_1); -x_72 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__2___boxed), 10, 2); +x_72 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__2___boxed), 11, 3); lean_closure_set(x_72, 0, x_1); -lean_closure_set(x_72, 1, x_7); +lean_closure_set(x_72, 1, x_3); +lean_closure_set(x_72, 2, x_7); x_73 = l_Lean_Expr_mvarId_x21(x_70); lean_inc(x_31); x_74 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3), 2, 1); @@ -4568,127 +5878,125 @@ lean_inc(x_22); x_76 = l_Lean_Meta_mapErrorImp___rarg(x_75, x_74, x_22, x_23, x_24, x_25, x_71); if (lean_obj_tag(x_76) == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; x_77 = lean_ctor_get(x_76, 1); lean_inc(x_77); lean_dec(x_76); -lean_inc(x_3); -x_78 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_3, x_20, x_21, x_22, x_23, x_24, x_25, x_77); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_unbox(x_79); -lean_dec(x_79); -if (x_80 == 0) +x_78 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__6; +x_79 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_78, x_20, x_21, x_22, x_23, x_24, x_25, x_77); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_unbox(x_80); +lean_dec(x_80); +if (x_81 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_free_object(x_68); lean_dec(x_31); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -lean_dec(x_78); -x_82 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_70, x_20, x_21, x_22, x_23, x_24, x_25, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); +x_82 = lean_ctor_get(x_79, 1); +lean_inc(x_82); +lean_dec(x_79); +x_83 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_70, x_20, x_21, x_22, x_23, x_24, x_25, x_82); +x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); -lean_dec(x_82); -x_32 = x_83; -x_33 = x_84; +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_32 = x_84; +x_33 = x_85; goto block_37; } else { -uint8_t x_85; -x_85 = !lean_is_exclusive(x_78); -if (x_85 == 0) +uint8_t x_86; +x_86 = !lean_is_exclusive(x_79); +if (x_86 == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 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; -x_86 = lean_ctor_get(x_78, 1); -x_87 = lean_ctor_get(x_78, 0); -lean_dec(x_87); -x_88 = lean_ctor_get(x_31, 3); -lean_inc(x_88); +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; +x_87 = lean_ctor_get(x_79, 1); +x_88 = lean_ctor_get(x_79, 0); +lean_dec(x_88); +x_89 = lean_ctor_get(x_31, 3); +lean_inc(x_89); lean_dec(x_31); -x_89 = l_Lean_MessageData_ofName(x_88); -x_90 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__2; -lean_ctor_set_tag(x_78, 7); -lean_ctor_set(x_78, 1, x_89); -lean_ctor_set(x_78, 0, x_90); -x_91 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__4; +x_90 = l_Lean_MessageData_ofName(x_89); +x_91 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__2; +lean_ctor_set_tag(x_79, 7); +lean_ctor_set(x_79, 1, x_90); +lean_ctor_set(x_79, 0, x_91); +x_92 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__4; lean_ctor_set_tag(x_68, 7); -lean_ctor_set(x_68, 1, x_91); -lean_ctor_set(x_68, 0, x_78); +lean_ctor_set(x_68, 1, x_92); +lean_ctor_set(x_68, 0, x_79); lean_inc(x_70); -x_92 = l_Lean_MessageData_ofExpr(x_70); -x_93 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_93, 0, x_68); -lean_ctor_set(x_93, 1, x_92); -x_94 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; -x_95 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -lean_inc(x_3); -x_96 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_3, x_95, x_20, x_21, x_22, x_23, x_24, x_25, x_86); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_70, x_20, x_21, x_22, x_23, x_24, x_25, x_97); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); +x_93 = l_Lean_MessageData_ofExpr(x_70); +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_68); +lean_ctor_set(x_94, 1, x_93); +x_95 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; +x_96 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_78, x_96, x_20, x_21, x_22, x_23, x_24, x_25, x_87); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_70, x_20, x_21, x_22, x_23, x_24, x_25, x_98); +x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); -lean_dec(x_98); -x_32 = x_99; -x_33 = x_100; -goto block_37; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_101 = lean_ctor_get(x_78, 1); +x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); -lean_dec(x_78); -x_102 = lean_ctor_get(x_31, 3); +lean_dec(x_99); +x_32 = x_100; +x_33 = x_101; +goto block_37; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_102 = lean_ctor_get(x_79, 1); lean_inc(x_102); +lean_dec(x_79); +x_103 = lean_ctor_get(x_31, 3); +lean_inc(x_103); lean_dec(x_31); -x_103 = l_Lean_MessageData_ofName(x_102); -x_104 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__2; -x_105 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__4; +x_104 = l_Lean_MessageData_ofName(x_103); +x_105 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__2; +x_106 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__4; lean_ctor_set_tag(x_68, 7); -lean_ctor_set(x_68, 1, x_106); -lean_ctor_set(x_68, 0, x_105); +lean_ctor_set(x_68, 1, x_107); +lean_ctor_set(x_68, 0, x_106); lean_inc(x_70); -x_107 = l_Lean_MessageData_ofExpr(x_70); -x_108 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_108, 0, x_68); -lean_ctor_set(x_108, 1, x_107); -x_109 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; -x_110 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -lean_inc(x_3); -x_111 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_3, x_110, x_20, x_21, x_22, x_23, x_24, x_25, x_101); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_113 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_70, x_20, x_21, x_22, x_23, x_24, x_25, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); +x_108 = l_Lean_MessageData_ofExpr(x_70); +x_109 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_109, 0, x_68); +lean_ctor_set(x_109, 1, x_108); +x_110 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; +x_111 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +x_112 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_78, x_111, x_20, x_21, x_22, x_23, x_24, x_25, x_102); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_70, x_20, x_21, x_22, x_23, x_24, x_25, x_113); +x_115 = lean_ctor_get(x_114, 0); lean_inc(x_115); -lean_dec(x_113); -x_32 = x_114; -x_33 = x_115; +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_32 = x_115; +x_33 = x_116; goto block_37; } } } else { -uint8_t x_116; +uint8_t x_117; lean_free_object(x_68); lean_dec(x_70); lean_dec(x_31); @@ -4708,139 +6016,140 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_116 = !lean_is_exclusive(x_76); -if (x_116 == 0) +x_117 = !lean_is_exclusive(x_76); +if (x_117 == 0) { return x_76; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_76, 0); -x_118 = lean_ctor_get(x_76, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_76, 0); +x_119 = lean_ctor_get(x_76, 1); +lean_inc(x_119); lean_inc(x_118); -lean_inc(x_117); lean_dec(x_76); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; } } } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_120 = lean_ctor_get(x_68, 0); -x_121 = lean_ctor_get(x_68, 1); +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; +x_121 = lean_ctor_get(x_68, 0); +x_122 = lean_ctor_get(x_68, 1); +lean_inc(x_122); lean_inc(x_121); -lean_inc(x_120); lean_dec(x_68); lean_inc(x_7); +lean_inc(x_3); lean_inc(x_1); -x_122 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__2___boxed), 10, 2); -lean_closure_set(x_122, 0, x_1); -lean_closure_set(x_122, 1, x_7); -x_123 = l_Lean_Expr_mvarId_x21(x_120); +x_123 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__2___boxed), 11, 3); +lean_closure_set(x_123, 0, x_1); +lean_closure_set(x_123, 1, x_3); +lean_closure_set(x_123, 2, x_7); +x_124 = l_Lean_Expr_mvarId_x21(x_121); lean_inc(x_31); -x_124 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3), 2, 1); -lean_closure_set(x_124, 0, x_31); -x_125 = lean_alloc_closure((void*)(l_Lean_Meta_Monotonicity_solveMono), 7, 2); -lean_closure_set(x_125, 0, x_122); -lean_closure_set(x_125, 1, x_123); +x_125 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3), 2, 1); +lean_closure_set(x_125, 0, x_31); +x_126 = lean_alloc_closure((void*)(l_Lean_Meta_Monotonicity_solveMono), 7, 2); +lean_closure_set(x_126, 0, x_123); +lean_closure_set(x_126, 1, x_124); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); -x_126 = l_Lean_Meta_mapErrorImp___rarg(x_125, x_124, x_22, x_23, x_24, x_25, x_121); -if (lean_obj_tag(x_126) == 0) +x_127 = l_Lean_Meta_mapErrorImp___rarg(x_126, x_125, x_22, x_23, x_24, x_25, x_122); +if (lean_obj_tag(x_127) == 0) { -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -lean_inc(x_3); -x_128 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_3, x_20, x_21, x_22, x_23, x_24, x_25, x_127); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_unbox(x_129); -lean_dec(x_129); -if (x_130 == 0) -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_dec(x_31); -x_131 = lean_ctor_get(x_128, 1); +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +lean_dec(x_127); +x_129 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__6; +x_130 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_129, x_20, x_21, x_22, x_23, x_24, x_25, x_128); +x_131 = lean_ctor_get(x_130, 0); lean_inc(x_131); -lean_dec(x_128); -x_132 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_120, x_20, x_21, x_22, x_23, x_24, x_25, x_131); -x_133 = lean_ctor_get(x_132, 0); +x_132 = lean_unbox(x_131); +lean_dec(x_131); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_31); +x_133 = lean_ctor_get(x_130, 1); lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -x_32 = x_133; -x_33 = x_134; +lean_dec(x_130); +x_134 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_121, x_20, x_21, x_22, x_23, x_24, x_25, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +x_32 = x_135; +x_33 = x_136; goto block_37; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_135 = lean_ctor_get(x_128, 1); -lean_inc(x_135); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_136 = x_128; -} else { - lean_dec_ref(x_128); - x_136 = lean_box(0); -} -x_137 = lean_ctor_get(x_31, 3); +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_137 = lean_ctor_get(x_130, 1); lean_inc(x_137); -lean_dec(x_31); -x_138 = l_Lean_MessageData_ofName(x_137); -x_139 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__2; -if (lean_is_scalar(x_136)) { - x_140 = lean_alloc_ctor(7, 2, 0); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_138 = x_130; } else { - x_140 = x_136; - lean_ctor_set_tag(x_140, 7); + lean_dec_ref(x_130); + x_138 = lean_box(0); } -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__4; -x_142 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -lean_inc(x_120); -x_143 = l_Lean_MessageData_ofExpr(x_120); +x_139 = lean_ctor_get(x_31, 3); +lean_inc(x_139); +lean_dec(x_31); +x_140 = l_Lean_MessageData_ofName(x_139); +x_141 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__2; +if (lean_is_scalar(x_138)) { + x_142 = lean_alloc_ctor(7, 2, 0); +} else { + x_142 = x_138; + lean_ctor_set_tag(x_142, 7); +} +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_140); +x_143 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___closed__4; x_144 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_144, 0, x_142); lean_ctor_set(x_144, 1, x_143); -x_145 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; +lean_inc(x_121); +x_145 = l_Lean_MessageData_ofExpr(x_121); x_146 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_146, 0, x_144); lean_ctor_set(x_146, 1, x_145); -lean_inc(x_3); -x_147 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_3, x_146, x_20, x_21, x_22, x_23, x_24, x_25, x_135); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_149 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_120, x_20, x_21, x_22, x_23, x_24, x_25, x_148); -x_150 = lean_ctor_get(x_149, 0); +x_147 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; +x_148 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +x_149 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_129, x_148, x_20, x_21, x_22, x_23, x_24, x_25, x_137); +x_150 = lean_ctor_get(x_149, 1); lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); lean_dec(x_149); -x_32 = x_150; -x_33 = x_151; +x_151 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_121, x_20, x_21, x_22, x_23, x_24, x_25, x_150); +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_32 = x_152; +x_33 = x_153; goto block_37; } } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -lean_dec(x_120); +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec(x_121); lean_dec(x_31); lean_dec(x_30); lean_dec(x_25); @@ -4858,118 +6167,118 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_152 = lean_ctor_get(x_126, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_126, 1); -lean_inc(x_153); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_154 = x_126; +x_154 = lean_ctor_get(x_127, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_127, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_156 = x_127; } else { - lean_dec_ref(x_126); - x_154 = lean_box(0); + lean_dec_ref(x_127); + x_156 = lean_box(0); } -if (lean_is_scalar(x_154)) { - x_155 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); } else { - x_155 = x_154; + x_157 = x_156; } -lean_ctor_set(x_155, 0, x_152); -lean_ctor_set(x_155, 1, x_153); -return x_155; +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } } else { -uint8_t x_156; +uint8_t x_158; lean_dec(x_31); -x_156 = !lean_is_exclusive(x_66); -if (x_156 == 0) +x_158 = !lean_is_exclusive(x_66); +if (x_158 == 0) { -lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; -x_157 = lean_ctor_get(x_66, 0); +lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; +x_159 = lean_ctor_get(x_66, 0); lean_inc(x_62); lean_ctor_set(x_66, 0, x_62); -x_158 = lean_box(0); -x_159 = 1; -x_160 = lean_box(x_159); -x_161 = lean_box(x_159); -x_162 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_162, 0, x_157); -lean_closure_set(x_162, 1, x_66); -lean_closure_set(x_162, 2, x_160); -lean_closure_set(x_162, 3, x_161); -lean_closure_set(x_162, 4, x_158); -x_163 = 1; +x_160 = lean_box(0); +x_161 = 1; +x_162 = lean_box(x_161); +x_163 = lean_box(x_161); +x_164 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_164, 0, x_159); +lean_closure_set(x_164, 1, x_66); +lean_closure_set(x_164, 2, x_162); +lean_closure_set(x_164, 3, x_163); +lean_closure_set(x_164, 4, x_160); +x_165 = 1; lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -x_164 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_162, x_163, x_20, x_21, x_22, x_23, x_24, x_25, x_63); -if (lean_obj_tag(x_164) == 0) +x_166 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_164, x_165, x_20, x_21, x_22, x_23, x_24, x_25, x_63); +if (lean_obj_tag(x_166) == 0) { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -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_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_165, x_20, x_21, x_22, x_23, x_24, x_25, x_166); -x_168 = lean_ctor_get(x_167, 0); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 1); lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -lean_dec(x_167); -lean_inc(x_168); -x_170 = l_Lean_Meta_getMVars(x_168, x_22, x_23, x_24, x_25, x_169); -x_171 = lean_ctor_get(x_170, 0); +lean_dec(x_166); +x_169 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_167, x_20, x_21, x_22, x_23, x_24, x_25, x_168); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec(x_170); -x_173 = l_Array_isEmpty___rarg(x_171); -if (x_173 == 0) +lean_dec(x_169); +lean_inc(x_170); +x_172 = l_Lean_Meta_getMVars(x_170, x_22, x_23, x_24, x_25, x_171); +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = l_Array_isEmpty___rarg(x_173); +if (x_175 == 0) { -lean_object* x_174; -lean_dec(x_168); +lean_object* x_176; +lean_dec(x_170); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -x_174 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_171, x_158, x_20, x_21, x_22, x_23, x_24, x_25, x_172); -lean_dec(x_171); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -lean_dec(x_174); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -x_176 = l_Lean_Meta_mkSorry(x_62, x_159, x_22, x_23, x_24, x_25, x_175); +x_176 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_173, x_160, x_20, x_21, x_22, x_23, x_24, x_25, x_174); +lean_dec(x_173); if (lean_obj_tag(x_176) == 0) { lean_object* x_177; lean_object* x_178; -x_177 = lean_ctor_get(x_176, 0); +x_177 = lean_ctor_get(x_176, 1); lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); lean_dec(x_176); -x_32 = x_177; -x_33 = x_178; +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +x_178 = l_Lean_Meta_mkSorry(x_62, x_161, x_22, x_23, x_24, x_25, x_177); +if (lean_obj_tag(x_178) == 0) +{ +lean_object* x_179; lean_object* x_180; +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); +lean_dec(x_178); +x_32 = x_179; +x_33 = x_180; goto block_37; } else { -uint8_t x_179; +uint8_t x_181; lean_dec(x_30); lean_dec(x_25); lean_dec(x_24); @@ -4986,78 +6295,78 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_179 = !lean_is_exclusive(x_176); -if (x_179 == 0) +x_181 = !lean_is_exclusive(x_178); +if (x_181 == 0) +{ +return x_178; +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_178, 0); +x_183 = lean_ctor_get(x_178, 1); +lean_inc(x_183); +lean_inc(x_182); +lean_dec(x_178); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +} +} +else +{ +uint8_t x_185; +lean_dec(x_62); +lean_dec(x_30); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +x_185 = !lean_is_exclusive(x_176); +if (x_185 == 0) { return x_176; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_176, 0); -x_181 = lean_ctor_get(x_176, 1); -lean_inc(x_181); -lean_inc(x_180); +lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_186 = lean_ctor_get(x_176, 0); +x_187 = lean_ctor_get(x_176, 1); +lean_inc(x_187); +lean_inc(x_186); lean_dec(x_176); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -return x_182; +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +return x_188; } } } else { -uint8_t x_183; +lean_dec(x_173); lean_dec(x_62); -lean_dec(x_30); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_1); -x_183 = !lean_is_exclusive(x_174); -if (x_183 == 0) -{ -return x_174; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_174, 0); -x_185 = lean_ctor_get(x_174, 1); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_174); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -return x_186; -} -} -} -else -{ -lean_dec(x_171); -lean_dec(x_62); -x_32 = x_168; -x_33 = x_172; +x_32 = x_170; +x_33 = x_174; goto block_37; } } else { -uint8_t x_187; +uint8_t x_189; lean_dec(x_62); lean_dec(x_30); lean_dec(x_25); @@ -5075,113 +6384,113 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_187 = !lean_is_exclusive(x_164); -if (x_187 == 0) +x_189 = !lean_is_exclusive(x_166); +if (x_189 == 0) { -return x_164; +return x_166; } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_164, 0); -x_189 = lean_ctor_get(x_164, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_164); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -return x_190; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; lean_object* x_199; -x_191 = lean_ctor_get(x_66, 0); +lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_190 = lean_ctor_get(x_166, 0); +x_191 = lean_ctor_get(x_166, 1); lean_inc(x_191); +lean_inc(x_190); +lean_dec(x_166); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +return x_192; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; lean_object* x_201; +x_193 = lean_ctor_get(x_66, 0); +lean_inc(x_193); lean_dec(x_66); lean_inc(x_62); -x_192 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_192, 0, x_62); -x_193 = lean_box(0); -x_194 = 1; -x_195 = lean_box(x_194); -x_196 = lean_box(x_194); -x_197 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_197, 0, x_191); -lean_closure_set(x_197, 1, x_192); -lean_closure_set(x_197, 2, x_195); -lean_closure_set(x_197, 3, x_196); -lean_closure_set(x_197, 4, x_193); -x_198 = 1; +x_194 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_194, 0, x_62); +x_195 = lean_box(0); +x_196 = 1; +x_197 = lean_box(x_196); +x_198 = lean_box(x_196); +x_199 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_199, 0, x_193); +lean_closure_set(x_199, 1, x_194); +lean_closure_set(x_199, 2, x_197); +lean_closure_set(x_199, 3, x_198); +lean_closure_set(x_199, 4, x_195); +x_200 = 1; lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -x_199 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_197, x_198, x_20, x_21, x_22, x_23, x_24, x_25, x_63); -if (lean_obj_tag(x_199) == 0) +x_201 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_199, x_200, x_20, x_21, x_22, x_23, x_24, x_25, x_63); +if (lean_obj_tag(x_201) == 0) { -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; uint8_t x_208; -x_200 = lean_ctor_get(x_199, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_199, 1); -lean_inc(x_201); -lean_dec(x_199); -x_202 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_200, x_20, x_21, x_22, x_23, x_24, x_25, x_201); -x_203 = lean_ctor_get(x_202, 0); +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -lean_inc(x_203); -x_205 = l_Lean_Meta_getMVars(x_203, x_22, x_23, x_24, x_25, x_204); -x_206 = lean_ctor_get(x_205, 0); +lean_dec(x_201); +x_204 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_202, x_20, x_21, x_22, x_23, x_24, x_25, x_203); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); -lean_inc(x_207); -lean_dec(x_205); -x_208 = l_Array_isEmpty___rarg(x_206); -if (x_208 == 0) +lean_dec(x_204); +lean_inc(x_205); +x_207 = l_Lean_Meta_getMVars(x_205, x_22, x_23, x_24, x_25, x_206); +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_207, 1); +lean_inc(x_209); +lean_dec(x_207); +x_210 = l_Array_isEmpty___rarg(x_208); +if (x_210 == 0) { -lean_object* x_209; -lean_dec(x_203); +lean_object* x_211; +lean_dec(x_205); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -x_209 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_206, x_193, x_20, x_21, x_22, x_23, x_24, x_25, x_207); -lean_dec(x_206); -if (lean_obj_tag(x_209) == 0) -{ -lean_object* x_210; lean_object* x_211; -x_210 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -lean_dec(x_209); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -x_211 = l_Lean_Meta_mkSorry(x_62, x_194, x_22, x_23, x_24, x_25, x_210); +x_211 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_208, x_195, x_20, x_21, x_22, x_23, x_24, x_25, x_209); +lean_dec(x_208); if (lean_obj_tag(x_211) == 0) { lean_object* x_212; lean_object* x_213; -x_212 = lean_ctor_get(x_211, 0); +x_212 = lean_ctor_get(x_211, 1); lean_inc(x_212); -x_213 = lean_ctor_get(x_211, 1); -lean_inc(x_213); lean_dec(x_211); -x_32 = x_212; -x_33 = x_213; +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +x_213 = l_Lean_Meta_mkSorry(x_62, x_196, x_22, x_23, x_24, x_25, x_212); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec(x_213); +x_32 = x_214; +x_33 = x_215; goto block_37; } else { -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_dec(x_30); lean_dec(x_25); lean_dec(x_24); @@ -5198,82 +6507,82 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_214 = lean_ctor_get(x_211, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_211, 1); -lean_inc(x_215); +x_216 = lean_ctor_get(x_213, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_213, 1); +lean_inc(x_217); +if (lean_is_exclusive(x_213)) { + lean_ctor_release(x_213, 0); + lean_ctor_release(x_213, 1); + x_218 = x_213; +} else { + lean_dec_ref(x_213); + x_218 = lean_box(0); +} +if (lean_is_scalar(x_218)) { + x_219 = lean_alloc_ctor(1, 2, 0); +} else { + x_219 = x_218; +} +lean_ctor_set(x_219, 0, x_216); +lean_ctor_set(x_219, 1, x_217); +return x_219; +} +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +lean_dec(x_62); +lean_dec(x_30); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +x_220 = lean_ctor_get(x_211, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_211, 1); +lean_inc(x_221); if (lean_is_exclusive(x_211)) { lean_ctor_release(x_211, 0); lean_ctor_release(x_211, 1); - x_216 = x_211; + x_222 = x_211; } else { lean_dec_ref(x_211); - x_216 = lean_box(0); + x_222 = lean_box(0); } -if (lean_is_scalar(x_216)) { - x_217 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_222)) { + x_223 = lean_alloc_ctor(1, 2, 0); } else { - x_217 = x_216; + x_223 = x_222; } -lean_ctor_set(x_217, 0, x_214); -lean_ctor_set(x_217, 1, x_215); -return x_217; +lean_ctor_set(x_223, 0, x_220); +lean_ctor_set(x_223, 1, x_221); +return x_223; } } else { -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; +lean_dec(x_208); lean_dec(x_62); -lean_dec(x_30); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_1); -x_218 = lean_ctor_get(x_209, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_209, 1); -lean_inc(x_219); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_220 = x_209; -} else { - lean_dec_ref(x_209); - x_220 = lean_box(0); -} -if (lean_is_scalar(x_220)) { - x_221 = lean_alloc_ctor(1, 2, 0); -} else { - x_221 = x_220; -} -lean_ctor_set(x_221, 0, x_218); -lean_ctor_set(x_221, 1, x_219); -return x_221; -} -} -else -{ -lean_dec(x_206); -lean_dec(x_62); -x_32 = x_203; -x_33 = x_207; +x_32 = x_205; +x_33 = x_209; goto block_37; } } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_dec(x_62); lean_dec(x_30); lean_dec(x_25); @@ -5291,33 +6600,33 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_222 = lean_ctor_get(x_199, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_199, 1); -lean_inc(x_223); -if (lean_is_exclusive(x_199)) { - lean_ctor_release(x_199, 0); - lean_ctor_release(x_199, 1); - x_224 = x_199; +x_224 = lean_ctor_get(x_201, 0); +lean_inc(x_224); +x_225 = lean_ctor_get(x_201, 1); +lean_inc(x_225); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + lean_ctor_release(x_201, 1); + x_226 = x_201; } else { - lean_dec_ref(x_199); - x_224 = lean_box(0); + lean_dec_ref(x_201); + x_226 = lean_box(0); } -if (lean_is_scalar(x_224)) { - x_225 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_226)) { + x_227 = lean_alloc_ctor(1, 2, 0); } else { - x_225 = x_224; + x_227 = x_226; } -lean_ctor_set(x_225, 0, x_222); -lean_ctor_set(x_225, 1, x_223); -return x_225; +lean_ctor_set(x_227, 0, x_224); +lean_ctor_set(x_227, 1, x_225); +return x_227; } } } } else { -uint8_t x_226; +uint8_t x_228; lean_dec(x_31); lean_dec(x_30); lean_dec(x_25); @@ -5335,29 +6644,29 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_226 = !lean_is_exclusive(x_61); -if (x_226 == 0) +x_228 = !lean_is_exclusive(x_61); +if (x_228 == 0) { return x_61; } else { -lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_227 = lean_ctor_get(x_61, 0); -x_228 = lean_ctor_get(x_61, 1); -lean_inc(x_228); -lean_inc(x_227); +lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_229 = lean_ctor_get(x_61, 0); +x_230 = lean_ctor_get(x_61, 1); +lean_inc(x_230); +lean_inc(x_229); lean_dec(x_61); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_227); -lean_ctor_set(x_229, 1, x_228); -return x_229; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_229); +lean_ctor_set(x_231, 1, x_230); +return x_231; } } } else { -uint8_t x_230; +uint8_t x_232; lean_dec(x_41); lean_dec(x_40); lean_dec(x_31); @@ -5377,23 +6686,23 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_230 = !lean_is_exclusive(x_47); -if (x_230 == 0) +x_232 = !lean_is_exclusive(x_47); +if (x_232 == 0) { return x_47; } else { -lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_231 = lean_ctor_get(x_47, 0); -x_232 = lean_ctor_get(x_47, 1); -lean_inc(x_232); -lean_inc(x_231); +lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_233 = lean_ctor_get(x_47, 0); +x_234 = lean_ctor_get(x_47, 1); +lean_inc(x_234); +lean_inc(x_233); lean_dec(x_47); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -return x_233; +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_233); +lean_ctor_set(x_235, 1, x_234); +return x_235; } } block_37: @@ -5412,7 +6721,7 @@ goto _start; } else { -lean_object* x_234; +lean_object* x_236; lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); @@ -5428,146 +6737,302 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_19); -lean_ctor_set(x_234, 1, x_26); -return x_234; +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_19); +lean_ctor_set(x_236, 1, x_26); +return x_236; } } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_19; uint8_t x_20; -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_nat_dec_eq(x_8, x_19); -if (x_20 == 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; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; +x_18 = l_Lean_Elab_FixedParamPerm_pickFixed___rarg(x_1, x_9); +x_19 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_1, x_9); +x_20 = lean_box(0); +x_21 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_2, x_20); +x_22 = l_Lean_Expr_const___override(x_3, x_21); +x_23 = l_Lean_mkAppN(x_22, x_18); +lean_dec(x_18); +x_24 = l_Lean_Meta_PProdN_proj(x_4, x_5, x_6, x_23); +x_25 = l_Lean_mkAppN(x_24, x_19); +lean_dec(x_19); +x_26 = 0; +x_27 = 1; +x_28 = 1; +x_29 = l_Lean_Meta_mkLambdaFVars(x_9, x_25, x_26, x_27, x_27, x_28, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; 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_8, x_21); -lean_dec(x_8); -x_23 = lean_array_fget(x_7, x_9); -x_24 = lean_box(0); -lean_inc(x_6); -x_25 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_6, x_24); -lean_inc(x_5); -x_26 = l_Lean_Expr_const___override(x_5, x_25); -x_27 = l_Lean_mkAppN(x_26, x_3); -lean_inc(x_4); -lean_inc(x_9); -lean_inc(x_2); -x_28 = l_Lean_Meta_PProdN_proj(x_2, x_9, x_4, x_27); -x_29 = 0; -x_30 = 1; -x_31 = 1; -x_32 = l_Lean_Meta_mkLambdaFVars(x_3, x_28, x_29, x_30, x_29, x_31, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_32) == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +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; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_7, 0); +x_33 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +x_34 = lean_ctor_get(x_7, 1); +x_35 = lean_ctor_get(x_7, 2); +x_36 = lean_ctor_get(x_7, 3); +x_37 = lean_ctor_get(x_7, 6); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); lean_inc(x_34); -lean_dec(x_32); -x_35 = !lean_is_exclusive(x_23); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 5); -lean_dec(x_36); -lean_ctor_set(x_23, 5, x_33); -x_37 = lean_nat_add(x_9, x_21); -lean_dec(x_9); -x_38 = lean_array_push(x_11, x_23); -x_8 = x_22; -x_9 = x_37; -x_10 = lean_box(0); -x_11 = x_38; -x_18 = x_34; -goto _start; +lean_inc(x_32); +x_38 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_38, 0, x_32); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 4, x_8); +lean_ctor_set(x_38, 5, x_31); +lean_ctor_set(x_38, 6, x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*7, x_33); +lean_ctor_set(x_29, 0, x_38); +return x_29; } else { -lean_object* x_40; uint8_t 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_40 = lean_ctor_get(x_23, 0); -x_41 = lean_ctor_get_uint8(x_23, sizeof(void*)*7); -x_42 = lean_ctor_get(x_23, 1); -x_43 = lean_ctor_get(x_23, 2); -x_44 = lean_ctor_get(x_23, 3); -x_45 = lean_ctor_get(x_23, 4); -x_46 = lean_ctor_get(x_23, 6); +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t 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_39 = lean_ctor_get(x_29, 0); +x_40 = lean_ctor_get(x_29, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_29); +x_41 = lean_ctor_get(x_7, 0); +x_42 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +x_43 = lean_ctor_get(x_7, 1); +x_44 = lean_ctor_get(x_7, 2); +x_45 = lean_ctor_get(x_7, 3); +x_46 = lean_ctor_get(x_7, 6); lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_40); -lean_dec(x_23); +lean_inc(x_41); x_47 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_47, 0, x_40); -lean_ctor_set(x_47, 1, x_42); -lean_ctor_set(x_47, 2, x_43); -lean_ctor_set(x_47, 3, x_44); -lean_ctor_set(x_47, 4, x_45); -lean_ctor_set(x_47, 5, x_33); +lean_ctor_set(x_47, 0, x_41); +lean_ctor_set(x_47, 1, x_43); +lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 3, x_45); +lean_ctor_set(x_47, 4, x_8); +lean_ctor_set(x_47, 5, x_39); lean_ctor_set(x_47, 6, x_46); -lean_ctor_set_uint8(x_47, sizeof(void*)*7, x_41); -x_48 = lean_nat_add(x_9, x_21); +lean_ctor_set_uint8(x_47, sizeof(void*)*7, x_42); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_40); +return x_48; +} +} +else +{ +uint8_t x_49; +lean_dec(x_8); +x_49 = !lean_is_exclusive(x_29); +if (x_49 == 0) +{ +return x_29; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_29, 0); +x_51 = lean_ctor_get(x_29, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_29); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_eq(x_9, x_20); +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; uint8_t x_30; lean_object* x_31; +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_9, x_22); lean_dec(x_9); -x_49 = lean_array_push(x_11, x_47); -x_8 = x_22; -x_9 = x_48; -x_10 = lean_box(0); -x_11 = x_49; -x_18 = x_34; +x_24 = lean_array_fget(x_8, x_10); +x_25 = lean_ctor_get(x_24, 4); +lean_inc(x_25); +lean_inc(x_3); +x_26 = lean_array_get(x_3, x_4, x_10); +x_27 = lean_array_get_size(x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_inc(x_25); +lean_inc(x_5); +lean_inc(x_10); +lean_inc(x_2); +lean_inc(x_6); +lean_inc(x_7); +x_29 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17___lambda__1___boxed), 17, 8); +lean_closure_set(x_29, 0, x_26); +lean_closure_set(x_29, 1, x_7); +lean_closure_set(x_29, 2, x_6); +lean_closure_set(x_29, 3, x_2); +lean_closure_set(x_29, 4, x_10); +lean_closure_set(x_29, 5, x_5); +lean_closure_set(x_29, 6, x_24); +lean_closure_set(x_29, 7, x_25); +x_30 = 0; +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_31 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_25, x_28, x_29, x_30, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_nat_add(x_10, x_22); +lean_dec(x_10); +x_35 = lean_array_push(x_12, x_32); +x_9 = x_23; +x_10 = x_34; +x_11 = lean_box(0); +x_12 = x_35; +x_19 = x_33; goto _start; } -} else { -uint8_t x_51; +uint8_t x_37; lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_9); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +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_51 = !lean_is_exclusive(x_32); -if (x_51 == 0) +x_37 = !lean_is_exclusive(x_31); +if (x_37 == 0) { -return x_32; +return x_31; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_32, 0); -x_53 = lean_ctor_get(x_32, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_32); -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; +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_31, 0); +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_31); +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_55; +lean_object* x_41; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +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_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_11); -lean_ctor_set(x_55, 1, x_18); -return x_55; +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_12); +lean_ctor_set(x_41, 1, x_19); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_partialFixpoint___spec__18___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; +x_10 = lean_apply_8(x_1, x_4, x_2, x_3, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_partialFixpoint___spec__18(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; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_partialFixpoint___spec__18___lambda__1), 9, 3); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, x_4); +lean_closure_set(x_11, 2, x_5); +x_12 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(x_1, x_2, x_11, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +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; +} } } } @@ -5589,591 +7054,667 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; uint8_t x_102; lean_object* x_103; -x_98 = lean_unsigned_to_nat(1u); -x_99 = lean_nat_dec_eq(x_5, x_98); -x_100 = 0; -x_101 = 1; -x_102 = 1; -lean_inc(x_6); -x_103 = l_Lean_Meta_mkForallFVars(x_1, x_6, x_100, x_101, x_102, x_12, x_13, x_14, x_15, x_16); -if (x_99 == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_100; uint8_t x_101; uint8_t x_102; uint8_t x_103; uint8_t x_104; lean_object* x_105; +x_100 = lean_unsigned_to_nat(1u); +x_101 = lean_nat_dec_eq(x_5, x_100); +x_102 = 0; +x_103 = 1; +x_104 = 1; +lean_inc(x_8); +x_105 = l_Lean_Meta_mkForallFVars(x_1, x_8, x_102, x_103, x_104, x_14, x_15, x_16, x_17, x_18); +if (x_101 == 0) { -if (lean_obj_tag(x_103) == 0) +if (lean_obj_tag(x_105) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_ctor_get(x_3, 3); +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); -x_107 = l_Lean_Elab_partialFixpoint___lambda__1___closed__2; -x_108 = l_Lean_Name_append(x_106, x_107); -x_17 = x_108; -x_18 = x_104; -x_19 = x_105; -goto block_97; +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_ctor_get(x_3, 3); +lean_inc(x_108); +x_109 = l_Lean_Elab_partialFixpoint___lambda__1___closed__2; +x_110 = l_Lean_Name_append(x_108, x_109); +x_19 = x_110; +x_20 = x_106; +x_21 = x_107; +goto block_99; } else { -uint8_t x_109; +uint8_t x_111; +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_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_109 = !lean_is_exclusive(x_103); -if (x_109 == 0) +x_111 = !lean_is_exclusive(x_105); +if (x_111 == 0) { -return x_103; +return x_105; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_103, 0); -x_111 = lean_ctor_get(x_103, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_103); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; -} -} -} -else -{ -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_103, 0); +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_105, 0); +x_113 = lean_ctor_get(x_105, 1); lean_inc(x_113); -x_114 = lean_ctor_get(x_103, 1); -lean_inc(x_114); -lean_dec(x_103); -x_115 = lean_ctor_get(x_3, 3); -lean_inc(x_115); -x_17 = x_115; -x_18 = x_113; -x_19 = x_114; -goto block_97; +lean_inc(x_112); +lean_dec(x_105); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; +} +} } else { -uint8_t x_116; +uint8_t x_115; +x_115 = l_Lean_Elab_FixedParamPerms_fixedArePrefix(x_10); +if (x_115 == 0) +{ +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_116 = lean_ctor_get(x_105, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_105, 1); +lean_inc(x_117); +lean_dec(x_105); +x_118 = lean_ctor_get(x_3, 3); +lean_inc(x_118); +x_119 = l_Lean_Elab_partialFixpoint___lambda__1___closed__2; +x_120 = l_Lean_Name_append(x_118, x_119); +x_19 = x_120; +x_20 = x_116; +x_21 = x_117; +goto block_99; +} +else +{ +uint8_t x_121; +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_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_116 = !lean_is_exclusive(x_103); -if (x_116 == 0) +x_121 = !lean_is_exclusive(x_105); +if (x_121 == 0) { -return x_103; +return x_105; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_103, 0); -x_118 = lean_ctor_get(x_103, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_103); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_105, 0); +x_123 = lean_ctor_get(x_105, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_105); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; } } } -block_97: +else { -uint8_t x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; -x_20 = 0; -x_21 = 1; -x_22 = 1; -x_23 = l_Lean_Meta_mkLambdaFVars(x_1, x_2, x_20, x_21, x_20, x_22, x_12, x_13, x_14, x_15, x_19); -if (lean_obj_tag(x_23) == 0) +if (lean_obj_tag(x_105) == 0) { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = !lean_is_exclusive(x_3); -if (x_26 == 0) +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_105, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_105, 1); +lean_inc(x_126); +lean_dec(x_105); +x_127 = lean_ctor_get(x_3, 3); +lean_inc(x_127); +x_19 = x_127; +x_20 = x_125; +x_21 = x_126; +goto block_99; +} +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; -x_27 = lean_ctor_get(x_3, 1); -x_28 = lean_ctor_get(x_3, 5); -lean_dec(x_28); -x_29 = lean_ctor_get(x_3, 4); -lean_dec(x_29); -x_30 = lean_ctor_get(x_3, 3); -lean_dec(x_30); -lean_inc(x_17); +uint8_t x_128; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_128 = !lean_is_exclusive(x_105); +if (x_128 == 0) +{ +return x_105; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_105, 0); +x_130 = lean_ctor_get(x_105, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_105); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; +} +} +} +} +block_99: +{ +uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; +x_22 = 0; +x_23 = 1; +x_24 = 1; +x_25 = l_Lean_Meta_mkLambdaFVars(x_1, x_2, x_22, x_23, x_22, x_24, x_14, x_15, x_16, x_17, x_21); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t 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_ctor_set(x_3, 5, x_24); -lean_ctor_set(x_3, 4, x_18); -lean_ctor_set(x_3, 3, x_17); -x_31 = lean_unsigned_to_nat(0u); -lean_inc(x_17); -lean_inc(x_5); -x_32 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(x_4, x_5, x_1, x_6, x_17, x_27, x_4, x_5, x_31, lean_box(0), x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_25); -if (lean_obj_tag(x_32) == 0) +lean_dec(x_25); +x_28 = !lean_is_exclusive(x_3); +if (x_28 == 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_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, 1); +x_30 = lean_ctor_get(x_3, 5); +lean_dec(x_30); +x_31 = lean_ctor_get(x_3, 4); +lean_dec(x_31); +x_32 = lean_ctor_get(x_3, 3); lean_dec(x_32); +lean_inc(x_19); +lean_inc(x_29); +lean_ctor_set(x_3, 5, x_26); +lean_ctor_set(x_3, 4, x_20); +lean_ctor_set(x_3, 3, x_19); +x_33 = lean_unsigned_to_nat(0u); +lean_inc(x_17); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_4); -x_35 = l_Lean_Elab_Mutual_addPreDefsFromUnary(x_4, x_33, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_34); -lean_dec(x_33); -if (lean_obj_tag(x_35) == 0) +lean_inc(x_19); +lean_inc(x_5); +x_34 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(x_4, x_5, x_6, x_7, x_8, x_19, x_29, x_4, x_5, x_33, lean_box(0), x_9, x_12, x_13, x_14, x_15, x_16, x_17, x_27); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_35, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -lean_dec(x_35); +lean_dec(x_34); +lean_inc(x_17); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_37 = l_Lean_Elab_Mutual_cleanPreDefs(x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_36); +lean_inc(x_4); +x_37 = l_Lean_Elab_Mutual_addPreDefsFromUnary(x_4, x_35, x_3, x_12, x_13, x_14, x_15, x_16, x_17, x_36); +lean_dec(x_35); if (lean_obj_tag(x_37) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_37, 0); +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); lean_dec(x_37); +lean_inc(x_17); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_38); -x_40 = l_Lean_Elab_PartialFixpoint_registerEqnsInfo(x_38, x_17, x_8, x_12, x_13, x_14, x_15, x_39); -if (lean_obj_tag(x_40) == 0) +x_39 = l_Lean_Elab_Mutual_cleanPreDefs(x_4, x_12, x_13, x_14, x_15, x_16, x_17, x_38); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_40, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); +lean_dec(x_39); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_40); +x_42 = l_Lean_Elab_PartialFixpoint_registerEqnsInfo(x_40, x_19, x_10, x_14, x_15, x_16, x_17, x_41); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = l_Lean_Elab_Mutual_addPreDefAttributes(x_40, x_12, x_13, x_14, x_15, x_16, x_17, x_43); lean_dec(x_40); -x_42 = l_Lean_Elab_Mutual_addPreDefAttributes(x_38, x_10, x_11, x_12, x_13, x_14, x_15, x_41); -lean_dec(x_38); +return x_44; +} +else +{ +uint8_t x_45; +lean_dec(x_40); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +x_45 = !lean_is_exclusive(x_42); +if (x_45 == 0) +{ return x_42; } else { -uint8_t x_43; -lean_dec(x_38); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_43 = !lean_is_exclusive(x_40); -if (x_43 == 0) -{ -return x_40; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_40, 0); -x_45 = lean_ctor_get(x_40, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_40); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_42, 0); +x_47 = lean_ctor_get(x_42, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_42); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_47; +uint8_t x_49; +lean_dec(x_19); lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_8); -x_47 = !lean_is_exclusive(x_37); -if (x_47 == 0) +x_49 = !lean_is_exclusive(x_39); +if (x_49 == 0) +{ +return x_39; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_39, 0); +x_51 = lean_ctor_get(x_39, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_39); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_4); +x_53 = !lean_is_exclusive(x_37); +if (x_53 == 0) { return x_37; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_37, 0); -x_49 = lean_ctor_get(x_37, 1); -lean_inc(x_49); -lean_inc(x_48); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_37, 0); +x_55 = lean_ctor_get(x_37, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_37); -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; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -uint8_t x_51; -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_4); -x_51 = !lean_is_exclusive(x_35); -if (x_51 == 0) -{ -return x_35; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_35, 0); -x_53 = lean_ctor_get(x_35, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_35); -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; -} -} -} -else -{ -uint8_t x_55; +uint8_t x_57; lean_dec(x_3); +lean_dec(x_19); lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_8); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_32); -if (x_55 == 0) +x_57 = !lean_is_exclusive(x_34); +if (x_57 == 0) { -return x_32; +return x_34; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_32, 0); -x_57 = lean_ctor_get(x_32, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_32); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_59 = lean_ctor_get(x_3, 0); -x_60 = lean_ctor_get_uint8(x_3, sizeof(void*)*7); -x_61 = lean_ctor_get(x_3, 1); -x_62 = lean_ctor_get(x_3, 2); -x_63 = lean_ctor_get(x_3, 6); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_34, 0); +x_59 = lean_ctor_get(x_34, 1); lean_inc(x_59); -lean_dec(x_3); -lean_inc(x_17); +lean_inc(x_58); +lean_dec(x_34); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_61 = lean_ctor_get(x_3, 0); +x_62 = lean_ctor_get_uint8(x_3, sizeof(void*)*7); +x_63 = lean_ctor_get(x_3, 1); +x_64 = lean_ctor_get(x_3, 2); +x_65 = lean_ctor_get(x_3, 6); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); lean_inc(x_61); -x_64 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_64, 0, x_59); -lean_ctor_set(x_64, 1, x_61); -lean_ctor_set(x_64, 2, x_62); -lean_ctor_set(x_64, 3, x_17); -lean_ctor_set(x_64, 4, x_18); -lean_ctor_set(x_64, 5, x_24); -lean_ctor_set(x_64, 6, x_63); -lean_ctor_set_uint8(x_64, sizeof(void*)*7, x_60); -x_65 = lean_unsigned_to_nat(0u); +lean_dec(x_3); +lean_inc(x_19); +lean_inc(x_63); +x_66 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_66, 0, x_61); +lean_ctor_set(x_66, 1, x_63); +lean_ctor_set(x_66, 2, x_64); +lean_ctor_set(x_66, 3, x_19); +lean_ctor_set(x_66, 4, x_20); +lean_ctor_set(x_66, 5, x_26); +lean_ctor_set(x_66, 6, x_65); +lean_ctor_set_uint8(x_66, sizeof(void*)*7, x_62); +x_67 = lean_unsigned_to_nat(0u); lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_19); lean_inc(x_5); -x_66 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(x_4, x_5, x_1, x_6, x_17, x_61, x_4, x_5, x_65, lean_box(0), x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_25); -if (lean_obj_tag(x_66) == 0) +x_68 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(x_4, x_5, x_6, x_7, x_8, x_19, x_63, x_4, x_5, x_67, lean_box(0), x_9, x_12, x_13, x_14, x_15, x_16, x_17, x_27); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_4); -x_69 = l_Lean_Elab_Mutual_addPreDefsFromUnary(x_4, x_67, x_64, x_10, x_11, x_12, x_13, x_14, x_15, x_68); -lean_dec(x_67); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_69, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); lean_inc(x_70); -lean_dec(x_69); +lean_dec(x_68); +lean_inc(x_17); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_71 = l_Lean_Elab_Mutual_cleanPreDefs(x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_70); +lean_inc(x_4); +x_71 = l_Lean_Elab_Mutual_addPreDefsFromUnary(x_4, x_69, x_66, x_12, x_13, x_14, x_15, x_16, x_17, x_70); +lean_dec(x_69); if (lean_obj_tag(x_71) == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_71, 0); +lean_object* x_72; lean_object* x_73; +x_72 = lean_ctor_get(x_71, 1); lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); lean_dec(x_71); +lean_inc(x_17); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_72); -x_74 = l_Lean_Elab_PartialFixpoint_registerEqnsInfo(x_72, x_17, x_8, x_12, x_13, x_14, x_15, x_73); -if (lean_obj_tag(x_74) == 0) +x_73 = l_Lean_Elab_Mutual_cleanPreDefs(x_4, x_12, x_13, x_14, x_15, x_16, x_17, x_72); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_74, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); -lean_dec(x_74); -x_76 = l_Lean_Elab_Mutual_addPreDefAttributes(x_72, x_10, x_11, x_12, x_13, x_14, x_15, x_75); -lean_dec(x_72); -return x_76; -} -else +lean_dec(x_73); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_74); +x_76 = l_Lean_Elab_PartialFixpoint_registerEqnsInfo(x_74, x_19, x_10, x_14, x_15, x_16, x_17, x_75); +if (lean_obj_tag(x_76) == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_72); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_77 = lean_ctor_get(x_74, 0); +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_76, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_74, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_79 = x_74; -} else { - lean_dec_ref(x_74); - 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; -} +lean_dec(x_76); +x_78 = l_Lean_Elab_Mutual_addPreDefAttributes(x_74, x_12, x_13, x_14, x_15, x_16, x_17, x_77); +lean_dec(x_74); +return x_78; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_74); lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +x_79 = lean_ctor_get(x_76, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_76, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_81 = x_76; +} else { + lean_dec_ref(x_76); + x_81 = lean_box(0); +} +if (lean_is_scalar(x_81)) { + x_82 = lean_alloc_ctor(1, 2, 0); +} else { + x_82 = x_81; +} +lean_ctor_set(x_82, 0, x_79); +lean_ctor_set(x_82, 1, x_80); +return x_82; +} +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_8); -x_81 = lean_ctor_get(x_71, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_71, 1); -lean_inc(x_82); +x_83 = lean_ctor_get(x_73, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_73, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_85 = x_73; +} else { + lean_dec_ref(x_73); + x_85 = lean_box(0); +} +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(1, 2, 0); +} else { + x_86 = x_85; +} +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_84); +return x_86; +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_4); +x_87 = lean_ctor_get(x_71, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_71, 1); +lean_inc(x_88); if (lean_is_exclusive(x_71)) { lean_ctor_release(x_71, 0); lean_ctor_release(x_71, 1); - x_83 = x_71; + x_89 = x_71; } else { lean_dec_ref(x_71); - x_83 = lean_box(0); + x_89 = lean_box(0); } -if (lean_is_scalar(x_83)) { - x_84 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(1, 2, 0); } else { - x_84 = x_83; + x_90 = x_89; } -lean_ctor_set(x_84, 0, x_81); -lean_ctor_set(x_84, 1, x_82); -return x_84; +lean_ctor_set(x_90, 0, x_87); +lean_ctor_set(x_90, 1, x_88); +return x_90; } } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_66); +lean_dec(x_19); lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_8); lean_dec(x_4); -x_85 = lean_ctor_get(x_69, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_69, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_87 = x_69; +x_91 = lean_ctor_get(x_68, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_68, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_93 = x_68; } else { - lean_dec_ref(x_69); - x_87 = lean_box(0); + lean_dec_ref(x_68); + x_93 = lean_box(0); } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(1, 2, 0); } else { - x_88 = x_87; + x_94 = x_93; } -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_86); -return x_88; -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_64); -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_4); -x_89 = lean_ctor_get(x_66, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_66, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_91 = x_66; -} else { - lean_dec_ref(x_66); - x_91 = lean_box(0); -} -if (lean_is_scalar(x_91)) { - x_92 = lean_alloc_ctor(1, 2, 0); -} else { - x_92 = x_91; -} -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set(x_92, 1, x_90); -return x_92; +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_92); +return x_94; } } } else { -uint8_t x_93; -lean_dec(x_18); +uint8_t x_95; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_93 = !lean_is_exclusive(x_23); -if (x_93 == 0) +x_95 = !lean_is_exclusive(x_25); +if (x_95 == 0) { -return x_23; +return x_25; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_23, 0); -x_95 = lean_ctor_get(x_23, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_23); -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; +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_25, 0); +x_97 = lean_ctor_get(x_25, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_25); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } @@ -6251,621 +7792,708 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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_EXPORT lean_object* l_Lean_Elab_partialFixpoint___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, size_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, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { _start: { -size_t x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_array_size(x_1); -lean_inc(x_14); -x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__5(x_14, x_23, x_2, x_1); -lean_inc(x_21); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_array_get_size(x_1); +x_23 = lean_mk_empty_array_with_capacity(x_22); +x_24 = lean_unsigned_to_nat(0u); lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -lean_inc(x_4); -x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__6(x_14, x_3, x_2, x_4, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_inc(x_17); +lean_inc(x_14); +lean_inc(x_2); +x_25 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__5(x_1, x_2, x_3, x_14, x_1, x_22, x_24, lean_box(0), x_23, x_15, x_16, x_17, x_18, x_19, x_20, x_21); if (lean_obj_tag(x_25) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +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___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1; -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_26); -x_29 = l_Lean_Meta_PProdN_pack(x_28, x_26, x_18, x_19, x_20, x_21, x_27); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; size_t x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_array_size(x_24); -lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -x_33 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__8(x_2, x_32, x_2, x_24, x_16, x_17, x_18, x_19, x_20, x_21, x_31); -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; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_instInhabitedExpr; -x_37 = l_Lean_Elab_partialFixpoint___lambda__2___closed__1; -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_34); -x_38 = l_Lean_Meta_PProdN_genMk___rarg(x_36, x_37, x_34, x_18, x_19, x_20, x_21, x_35); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_box(0); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_39); -x_43 = lean_box(0); -lean_inc(x_42); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_41); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_array_mk(x_45); -x_47 = l_Lean_Elab_partialFixpoint___lambda__2___closed__3; -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -x_48 = l_Lean_Meta_mkAppOptM(x_47, x_46, x_18, x_19, x_20, x_21, x_40); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_30); lean_inc(x_6); lean_inc(x_5); -lean_inc_n(x_4, 2); -x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10(x_4, x_5, x_6, x_2, x_7, x_14, x_30, x_3, x_2, x_4, x_16, x_17, x_18, x_19, x_20, x_21, x_50); +lean_inc(x_14); +lean_inc(x_2); +x_28 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__6(x_4, x_2, x_3, x_14, x_4, x_5, x_24, lean_box(0), x_6, x_15, x_16, x_17, x_18, x_19, x_20, x_27); +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 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_29); +x_32 = l_Lean_Meta_PProdN_pack(x_31, x_29, x_17, x_18, x_19, x_20, x_30); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; size_t x_35; lean_object* x_36; +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_array_size(x_26); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__8(x_7, x_35, x_7, x_26, x_15, x_16, x_17, x_18, x_19, x_20, x_34); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_instInhabitedExpr; +x_40 = l_Lean_Elab_partialFixpoint___lambda__2___closed__1; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_37); +x_41 = l_Lean_Meta_PProdN_genMk___rarg(x_39, x_40, x_37, x_17, x_18, x_19, x_20, x_38); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +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 = lean_box(0); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_42); +x_46 = lean_box(0); +lean_inc(x_45); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_44); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_array_mk(x_48); +x_50 = l_Lean_Elab_partialFixpoint___lambda__2___closed__3; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_51 = l_Lean_Meta_mkAppOptM(x_50, x_49, x_17, x_18, x_19, x_20, x_43); if (lean_obj_tag(x_51) == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_object* x_52; lean_object* x_53; lean_object* x_54; 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 = lean_unsigned_to_nat(0u); -lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); -lean_inc(x_12); +lean_inc(x_15); +lean_inc(x_6); +lean_inc(x_33); +lean_inc(x_14); +lean_inc(x_2); +lean_inc(x_9); +lean_inc_n(x_5, 2); +lean_inc(x_4); +x_54 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10(x_4, x_5, x_7, x_8, x_9, x_2, x_3, x_14, x_33, x_4, x_5, x_24, lean_box(0), x_6, x_15, x_16, x_17, x_18, x_19, x_20, x_53); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +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); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_30); +lean_inc(x_33); lean_inc(x_14); lean_inc(x_9); lean_inc(x_4); -x_55 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16(x_4, x_8, x_9, x_10, x_10, x_11, x_14, x_26, x_30, x_34, x_47, x_43, x_49, x_52, x_4, x_5, x_54, lean_box(0), x_12, x_16, x_17, x_18, x_19, x_20, x_21, x_53); -lean_dec(x_52); -lean_dec(x_34); -lean_dec(x_26); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); +x_57 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16(x_4, x_10, x_9, x_11, x_11, x_12, x_14, x_29, x_33, x_37, x_50, x_46, x_52, x_55, x_4, x_5, x_24, lean_box(0), x_6, x_15, x_16, x_17, x_18, x_19, x_20, x_56); lean_dec(x_55); -x_58 = l_Lean_Elab_partialFixpoint___lambda__2___closed__4; -lean_inc(x_21); +lean_dec(x_37); +lean_dec(x_29); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = l_Lean_Elab_partialFixpoint___lambda__2___closed__4; lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -x_59 = l_Lean_Meta_PProdN_genMk___rarg(x_36, x_58, x_56, x_18, x_19, x_20, x_21, x_57); -if (lean_obj_tag(x_59) == 0) +lean_inc(x_17); +x_61 = l_Lean_Meta_PProdN_genMk___rarg(x_39, x_60, x_58, x_17, x_18, x_19, x_20, x_59); +if (lean_obj_tag(x_61) == 0) { -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; -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); -lean_inc(x_30); -x_62 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_62, 0, x_30); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_60); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_43); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_41); -lean_ctor_set(x_65, 1, x_64); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +lean_inc(x_33); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_33); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_62); x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_42); -lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_46); x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_62); +lean_ctor_set(x_67, 0, x_44); lean_ctor_set(x_67, 1, x_66); -x_68 = lean_array_mk(x_67); -x_69 = l_Lean_Elab_partialFixpoint___lambda__2___closed__6; -lean_inc(x_21); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_45); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_64); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_array_mk(x_69); +x_71 = l_Lean_Elab_partialFixpoint___lambda__2___closed__6; lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -x_70 = l_Lean_Meta_mkAppOptM(x_69, x_68, x_18, x_19, x_20, x_21, x_61); -if (lean_obj_tag(x_70) == 0) +lean_inc(x_17); +x_72 = l_Lean_Meta_mkAppOptM(x_71, x_70, x_17, x_18, x_19, x_20, x_63); +if (lean_obj_tag(x_72) == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -lean_inc(x_9); -x_73 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_9, x_16, x_17, x_18, x_19, x_20, x_21, x_72); -x_74 = lean_ctor_get(x_73, 0); +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_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); -x_75 = lean_unbox(x_74); -lean_dec(x_74); -if (x_75 == 0) +lean_dec(x_72); +x_75 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__6; +x_76 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_75, x_15, x_16, x_17, x_18, x_19, x_20, x_74); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_unbox(x_77); +lean_dec(x_77); +if (x_78 == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_9); -x_76 = lean_ctor_get(x_73, 1); -lean_inc(x_76); -lean_dec(x_73); -x_77 = lean_box(0); -x_78 = l_Lean_Elab_partialFixpoint___lambda__1(x_14, x_71, x_13, x_4, x_5, x_30, x_12, x_6, x_77, x_16, x_17, x_18, x_19, x_20, x_21, x_76); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_76, 1); +lean_inc(x_79); +lean_dec(x_76); +x_80 = lean_box(0); +x_81 = l_Lean_Elab_partialFixpoint___lambda__1(x_14, x_73, x_13, x_4, x_5, x_2, x_3, x_33, x_6, x_9, x_80, x_15, x_16, x_17, x_18, x_19, x_20, x_79); lean_dec(x_14); -return x_78; +return x_81; } else { -uint8_t x_79; -x_79 = !lean_is_exclusive(x_73); -if (x_79 == 0) +uint8_t x_82; +x_82 = !lean_is_exclusive(x_76); +if (x_82 == 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; lean_object* x_88; lean_object* x_89; -x_80 = lean_ctor_get(x_73, 1); -x_81 = lean_ctor_get(x_73, 0); -lean_dec(x_81); -lean_inc(x_71); -x_82 = l_Lean_MessageData_ofExpr(x_71); -x_83 = l_Lean_Elab_partialFixpoint___lambda__2___closed__8; -lean_ctor_set_tag(x_73, 7); -lean_ctor_set(x_73, 1, x_82); -lean_ctor_set(x_73, 0, x_83); -x_84 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; -x_85 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_85, 0, x_73); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_9, x_85, x_16, x_17, x_18, x_19, x_20, x_21, x_80); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = l_Lean_Elab_partialFixpoint___lambda__1(x_14, x_71, x_13, x_4, x_5, x_30, x_12, x_6, x_87, x_16, x_17, x_18, x_19, x_20, x_21, x_88); -lean_dec(x_87); -lean_dec(x_14); -return x_89; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_90 = lean_ctor_get(x_73, 1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_83 = lean_ctor_get(x_76, 1); +x_84 = lean_ctor_get(x_76, 0); +lean_dec(x_84); +lean_inc(x_73); +x_85 = l_Lean_MessageData_ofExpr(x_73); +x_86 = l_Lean_Elab_partialFixpoint___lambda__2___closed__8; +lean_ctor_set_tag(x_76, 7); +lean_ctor_set(x_76, 1, x_85); +lean_ctor_set(x_76, 0, x_86); +x_87 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_76); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_75, x_88, x_15, x_16, x_17, x_18, x_19, x_20, x_83); +x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -lean_dec(x_73); -lean_inc(x_71); -x_91 = l_Lean_MessageData_ofExpr(x_71); -x_92 = l_Lean_Elab_partialFixpoint___lambda__2___closed__8; -x_93 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -x_94 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; -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_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_9, x_95, x_16, x_17, x_18, x_19, x_20, x_21, x_90); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = l_Lean_Elab_partialFixpoint___lambda__1(x_14, x_71, x_13, x_4, x_5, x_30, x_12, x_6, x_97, x_16, x_17, x_18, x_19, x_20, x_21, x_98); -lean_dec(x_97); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = l_Lean_Elab_partialFixpoint___lambda__1(x_14, x_73, x_13, x_4, x_5, x_2, x_3, x_33, x_6, x_9, x_90, x_15, x_16, x_17, x_18, x_19, x_20, x_91); +lean_dec(x_90); lean_dec(x_14); -return x_99; -} -} +return x_92; } else { -uint8_t x_100; -lean_dec(x_30); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_100 = !lean_is_exclusive(x_70); -if (x_100 == 0) -{ -return x_70; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_70, 0); -x_102 = lean_ctor_get(x_70, 1); -lean_inc(x_102); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_93 = lean_ctor_get(x_76, 1); +lean_inc(x_93); +lean_dec(x_76); +lean_inc(x_73); +x_94 = l_Lean_MessageData_ofExpr(x_73); +x_95 = l_Lean_Elab_partialFixpoint___lambda__2___closed__8; +x_96 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; +x_98 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_75, x_98, x_15, x_16, x_17, x_18, x_19, x_20, x_93); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); -lean_dec(x_70); -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; +lean_dec(x_99); +x_102 = l_Lean_Elab_partialFixpoint___lambda__1(x_14, x_73, x_13, x_4, x_5, x_2, x_3, x_33, x_6, x_9, x_100, x_15, x_16, x_17, x_18, x_19, x_20, x_101); +lean_dec(x_100); +lean_dec(x_14); +return x_102; } } } else { -uint8_t x_104; -lean_dec(x_42); -lean_dec(x_30); -lean_dec(x_21); +uint8_t x_103; +lean_dec(x_33); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_104 = !lean_is_exclusive(x_59); -if (x_104 == 0) +lean_dec(x_2); +x_103 = !lean_is_exclusive(x_72); +if (x_103 == 0) { -return x_59; +return x_72; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_59, 0); -x_106 = lean_ctor_get(x_59, 1); -lean_inc(x_106); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_72, 0); +x_105 = lean_ctor_get(x_72, 1); lean_inc(x_105); -lean_dec(x_59); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +lean_inc(x_104); +lean_dec(x_72); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; } } } else { -uint8_t x_108; -lean_dec(x_42); -lean_dec(x_30); -lean_dec(x_21); +uint8_t x_107; +lean_dec(x_45); +lean_dec(x_33); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_108 = !lean_is_exclusive(x_55); -if (x_108 == 0) +lean_dec(x_2); +x_107 = !lean_is_exclusive(x_61); +if (x_107 == 0) { -return x_55; +return x_61; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_55, 0); -x_110 = lean_ctor_get(x_55, 1); -lean_inc(x_110); +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_61, 0); +x_109 = lean_ctor_get(x_61, 1); lean_inc(x_109); -lean_dec(x_55); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; +lean_inc(x_108); +lean_dec(x_61); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; } } } else { -uint8_t x_112; -lean_dec(x_49); -lean_dec(x_42); -lean_dec(x_34); -lean_dec(x_30); -lean_dec(x_26); -lean_dec(x_21); +uint8_t x_111; +lean_dec(x_45); +lean_dec(x_33); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_112 = !lean_is_exclusive(x_51); -if (x_112 == 0) +lean_dec(x_2); +x_111 = !lean_is_exclusive(x_57); +if (x_111 == 0) +{ +return x_57; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_57, 0); +x_113 = lean_ctor_get(x_57, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_57); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; +} +} +} +else +{ +uint8_t x_115; +lean_dec(x_52); +lean_dec(x_45); +lean_dec(x_37); +lean_dec(x_33); +lean_dec(x_29); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_115 = !lean_is_exclusive(x_54); +if (x_115 == 0) +{ +return x_54; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_54, 0); +x_117 = lean_ctor_get(x_54, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_54); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_45); +lean_dec(x_37); +lean_dec(x_33); +lean_dec(x_29); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_119 = !lean_is_exclusive(x_51); +if (x_119 == 0) { return x_51; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_51, 0); -x_114 = lean_ctor_get(x_51, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_51); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -} -else -{ -uint8_t x_116; -lean_dec(x_42); -lean_dec(x_34); -lean_dec(x_30); -lean_dec(x_26); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_116 = !lean_is_exclusive(x_48); -if (x_116 == 0) -{ -return x_48; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_48, 0); -x_118 = lean_ctor_get(x_48, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_48); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; -} -} -} -else -{ -uint8_t x_120; -lean_dec(x_34); -lean_dec(x_30); -lean_dec(x_26); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_120 = !lean_is_exclusive(x_38); -if (x_120 == 0) -{ -return x_38; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_38, 0); -x_122 = lean_ctor_get(x_38, 1); -lean_inc(x_122); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_51, 0); +x_121 = lean_ctor_get(x_51, 1); lean_inc(x_121); -lean_dec(x_38); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; +lean_inc(x_120); +lean_dec(x_51); +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 { -uint8_t x_124; -lean_dec(x_30); -lean_dec(x_26); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_124 = !lean_is_exclusive(x_33); -if (x_124 == 0) -{ -return x_33; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_33, 0); -x_126 = lean_ctor_get(x_33, 1); -lean_inc(x_126); -lean_inc(x_125); +uint8_t x_123; +lean_dec(x_37); lean_dec(x_33); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; -} -} -} -else -{ -uint8_t x_128; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_128 = !lean_is_exclusive(x_29); -if (x_128 == 0) -{ -return x_29; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_29, 0); -x_130 = lean_ctor_get(x_29, 1); -lean_inc(x_130); -lean_inc(x_129); lean_dec(x_29); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; -} -} -} -else -{ -uint8_t x_132; -lean_dec(x_24); -lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_9); -lean_dec(x_7); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_132 = !lean_is_exclusive(x_25); -if (x_132 == 0) +lean_dec(x_2); +x_123 = !lean_is_exclusive(x_41); +if (x_123 == 0) +{ +return x_41; +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_41, 0); +x_125 = lean_ctor_get(x_41, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_41); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; +} +} +} +else +{ +uint8_t x_127; +lean_dec(x_33); +lean_dec(x_29); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_127 = !lean_is_exclusive(x_36); +if (x_127 == 0) +{ +return x_36; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_36, 0); +x_129 = lean_ctor_get(x_36, 1); +lean_inc(x_129); +lean_inc(x_128); +lean_dec(x_36); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +else +{ +uint8_t x_131; +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_131 = !lean_is_exclusive(x_32); +if (x_131 == 0) +{ +return x_32; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_32, 0); +x_133 = lean_ctor_get(x_32, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_32); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} +} +} +else +{ +uint8_t x_135; +lean_dec(x_26); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_135 = !lean_is_exclusive(x_28); +if (x_135 == 0) +{ +return x_28; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_28, 0); +x_137 = lean_ctor_get(x_28, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_28); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +} +} +else +{ +uint8_t x_139; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_139 = !lean_is_exclusive(x_25); +if (x_139 == 0) { return x_25; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_25, 0); -x_134 = lean_ctor_get(x_25, 1); -lean_inc(x_134); -lean_inc(x_133); +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_25, 0); +x_141 = lean_ctor_get(x_25, 1); +lean_inc(x_141); +lean_inc(x_140); lean_dec(x_25); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -return x_135; +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_140); +lean_ctor_set(x_142, 1, x_141); +return x_142; } } } } -static lean_object* _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("preDefs.size = hints.size\n -- For every function of type `∀ x y, r x y`, an CCPO instance\n -- ∀ x y, CCPO (r x y), but crucially constructed using `instCCPOPi`\n ", 168, 164); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__1; +x_2 = l_Lean_Elab_partialFixpoint___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__4; +x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__1; +x_3 = lean_unsigned_to_nat(77u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Elab_partialFixpoint___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__4() { _start: { lean_object* x_1; @@ -6873,7 +8501,7 @@ x_1 = lean_alloc_closure((void*)(l_instMonadControlReaderT___lambda__2), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__5() { _start: { lean_object* x_1; @@ -6881,19 +8509,19 @@ x_1 = lean_alloc_closure((void*)(l_instMonadControlReaderT___lambda__3___boxed), return x_1; } } -static lean_object* _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__3() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_partialFixpoint___lambda__3___closed__1; -x_2 = l_Lean_Elab_partialFixpoint___lambda__3___closed__2; +x_1 = l_Lean_Elab_partialFixpoint___closed__4; +x_2 = l_Lean_Elab_partialFixpoint___closed__5; 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_partialFixpoint___lambda__3___closed__4() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -6902,47 +8530,47 @@ x_2 = l_ReaderT_instMonad___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__5() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_partialFixpoint___lambda__3___closed__4; +x_1 = l_Lean_Elab_partialFixpoint___closed__7; x_2 = l_ReaderT_instApplicativeOfMonad___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__6() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_partialFixpoint___lambda__3___closed__5; +x_1 = l_Lean_Elab_partialFixpoint___closed__8; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_instMonadControlTOfPure___rarg(x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__7() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_partialFixpoint___lambda__3___closed__3; -x_2 = l_Lean_Elab_partialFixpoint___lambda__3___closed__6; +x_1 = l_Lean_Elab_partialFixpoint___closed__6; +x_2 = l_Lean_Elab_partialFixpoint___closed__9; x_3 = l_instMonadControlTOfMonadControl___rarg(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__8() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_partialFixpoint___lambda__3___closed__3; -x_2 = l_Lean_Elab_partialFixpoint___lambda__3___closed__7; +x_1 = l_Lean_Elab_partialFixpoint___closed__6; +x_2 = l_Lean_Elab_partialFixpoint___closed__10; x_3 = l_instMonadControlTOfMonadControl___rarg(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_partialFixpoint___lambda__3___boxed__const__1() { +static lean_object* _init_l_Lean_Elab_partialFixpoint___boxed__const__1() { _start: { size_t x_1; lean_object* x_2; @@ -6951,101 +8579,6 @@ x_2 = lean_box_usize(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; -x_16 = lean_array_size(x_1); -x_17 = 0; -lean_inc(x_1); -x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_registerEqnsInfo___spec__2(x_16, x_17, x_1); -x_19 = l_Lean_Elab_instInhabitedPreDefinition; -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_array_get(x_19, x_1, x_20); -x_22 = lean_ctor_get(x_21, 4); -lean_inc(x_22); -lean_inc(x_2); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_2); -x_24 = l_Lean_Elab_partialFixpoint___lambda__3___closed__3; -x_25 = l_Lean_Elab_partialFixpoint___lambda__3___closed__8; -x_26 = l_Lean_Elab_partialFixpoint___lambda__3___boxed__const__1; -x_27 = lean_box_usize(x_16); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_partialFixpoint___lambda__2___boxed), 22, 13); -lean_closure_set(x_28, 0, x_3); -lean_closure_set(x_28, 1, x_26); -lean_closure_set(x_28, 2, x_27); -lean_closure_set(x_28, 3, x_1); -lean_closure_set(x_28, 4, x_4); -lean_closure_set(x_28, 5, x_2); -lean_closure_set(x_28, 6, x_18); -lean_closure_set(x_28, 7, x_5); -lean_closure_set(x_28, 8, x_6); -lean_closure_set(x_28, 9, x_24); -lean_closure_set(x_28, 10, x_25); -lean_closure_set(x_28, 11, x_7); -lean_closure_set(x_28, 12, x_21); -x_29 = 0; -x_30 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_22, x_23, x_28, x_29, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_30; -} -} -static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__1() { -_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_partialFixpoint___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("preDefs.size = hints.size\n -- For every function of type `∀ x y, r x y`, an CCPO instance\n -- ∀ x y, CCPO (r x y), but crucially constructed using `instCCPOPi`\n ", 168, 164); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_partialFixpoint___closed__1; -x_2 = l_Lean_Elab_partialFixpoint___closed__2; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_partialFixpoint___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_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__1; -x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(66u); -x_4 = lean_unsigned_to_nat(2u); -x_5 = l_Lean_Elab_partialFixpoint___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("fixed prefix size: ", 19, 19); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_partialFixpoint___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_partialFixpoint___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint(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: { @@ -7062,7 +8595,7 @@ lean_object* x_14; lean_object* x_15; lean_dec(x_11); lean_dec(x_9); lean_dec(x_1); -x_14 = l_Lean_Elab_partialFixpoint___closed__4; +x_14 = l_Lean_Elab_partialFixpoint___closed__3; x_15 = l_panic___at_Lean_Elab_Term_reportStuckSyntheticMVar___spec__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_15; } @@ -7080,109 +8613,62 @@ lean_inc(x_9); x_17 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4(x_1, x_11, x_1, x_9, x_10, lean_box(0), x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; 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_size(x_1); +x_21 = 0; +lean_inc(x_1); +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_PartialFixpoint_registerEqnsInfo___spec__2(x_20, x_21, x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_20 = l_Lean_Elab_Mutual_getFixedPrefix(x_1, x_4, x_5, x_6, x_7, x_19); -if (lean_obj_tag(x_20) == 0) +x_23 = l_Lean_Elab_getFixedParamPerms(x_1, x_4, x_5, x_6, x_7, x_19); +if (lean_obj_tag(x_23) == 0) { -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_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 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__6; -x_24 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_22); -x_25 = lean_ctor_get(x_24, 0); +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_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_box(0); -x_29 = l_Lean_Elab_partialFixpoint___lambda__3(x_1, x_21, x_18, x_9, x_11, x_23, x_16, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_27); -return x_29; +lean_dec(x_23); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +x_27 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2; +x_28 = lean_array_get(x_27, x_26, x_10); +x_29 = l_Lean_Elab_instInhabitedPreDefinition; +x_30 = lean_array_get(x_29, x_1, x_10); +x_31 = lean_ctor_get(x_30, 4); +lean_inc(x_31); +x_32 = l_Lean_Elab_partialFixpoint___closed__6; +x_33 = l_Lean_Elab_partialFixpoint___closed__11; +x_34 = l_Lean_Elab_partialFixpoint___boxed__const__1; +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_partialFixpoint___lambda__2___boxed), 21, 13); +lean_closure_set(x_35, 0, x_18); +lean_closure_set(x_35, 1, x_27); +lean_closure_set(x_35, 2, x_26); +lean_closure_set(x_35, 3, x_1); +lean_closure_set(x_35, 4, x_9); +lean_closure_set(x_35, 5, x_16); +lean_closure_set(x_35, 6, x_34); +lean_closure_set(x_35, 7, x_22); +lean_closure_set(x_35, 8, x_24); +lean_closure_set(x_35, 9, x_11); +lean_closure_set(x_35, 10, x_32); +lean_closure_set(x_35, 11, x_33); +lean_closure_set(x_35, 12, x_30); +x_36 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_partialFixpoint___spec__18(x_28, x_31, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_25); +return x_36; } else { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_24); -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; 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_31 = lean_ctor_get(x_24, 1); -x_32 = lean_ctor_get(x_24, 0); -lean_dec(x_32); -lean_inc(x_21); -x_33 = l___private_Init_Data_Repr_0__Nat_reprFast(x_21); -x_34 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = l_Lean_MessageData_ofFormat(x_34); -x_36 = l_Lean_Elab_partialFixpoint___closed__6; -lean_ctor_set_tag(x_24, 7); -lean_ctor_set(x_24, 1, x_35); -lean_ctor_set(x_24, 0, x_36); -x_37 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; -x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_24); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_23, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_31); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Elab_partialFixpoint___lambda__3(x_1, x_21, x_18, x_9, x_11, x_23, x_16, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_41); -lean_dec(x_40); -return x_42; -} -else -{ -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_43 = lean_ctor_get(x_24, 1); -lean_inc(x_43); -lean_dec(x_24); -lean_inc(x_21); -x_44 = l___private_Init_Data_Repr_0__Nat_reprFast(x_21); -x_45 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_MessageData_ofFormat(x_45); -x_47 = l_Lean_Elab_partialFixpoint___closed__6; -x_48 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__4; -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_Elab_Term_traceAtCmdPos___spec__2(x_23, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_43); -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_Elab_partialFixpoint___lambda__3(x_1, x_21, x_18, x_9, x_11, x_23, x_16, x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_53); -lean_dec(x_52); -return x_54; -} -} -} -else -{ -uint8_t x_55; +uint8_t x_37; +lean_dec(x_22); lean_dec(x_18); lean_dec(x_16); lean_dec(x_11); @@ -7194,29 +8680,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_55 = !lean_is_exclusive(x_20); -if (x_55 == 0) +x_37 = !lean_is_exclusive(x_23); +if (x_37 == 0) { -return x_20; +return x_23; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_20, 0); -x_57 = lean_ctor_get(x_20, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_20); -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_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_23, 0); +x_39 = lean_ctor_get(x_23, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_23); +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_59; +uint8_t x_41; lean_dec(x_16); lean_dec(x_11); lean_dec(x_9); @@ -7227,23 +8713,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_17); -if (x_59 == 0) +x_41 = !lean_is_exclusive(x_17); +if (x_41 == 0) { return x_17; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_17, 0); -x_61 = lean_ctor_get(x_17, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_17, 0); +x_43 = lean_ctor_get(x_17, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_17); -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; +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; } } } @@ -7334,31 +8820,30 @@ lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___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, 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_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_partialFixpoint___spec__5(x_1, x_5, x_6, x_4); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); +lean_object* x_17; +x_17 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_5); +lean_dec(x_3); lean_dec(x_1); -return x_14; +return x_17; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___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); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_17; } } LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -7421,13 +8906,13 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___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: { size_t x_15; lean_object* x_16; x_15 = lean_unbox_usize(x_6); lean_dec(x_6); -x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___lambda__1(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___lambda__1(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); @@ -7436,7 +8921,7 @@ lean_dec(x_1); return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -7454,18 +8939,19 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -size_t x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_18 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_19 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_20 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_21 = l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10(x_1, x_2, x_3, x_18, x_5, x_6, x_7, x_19, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec(x_6); -return x_21; +size_t x_22; lean_object* x_23; +x_22 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_23 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10(x_1, x_2, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_10); +lean_dec(x_7); +return x_23; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_partialFixpoint___spec__12___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) { @@ -7504,13 +8990,14 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___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) { _start: { -lean_object* x_11; -x_11 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_11; +lean_dec(x_1); +return x_12; } } LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___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) { @@ -7570,6 +9057,41 @@ lean_dec(x_2); return x_27; } } +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_1); +return x_18; +} +} LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -7589,32 +9111,46 @@ lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_1); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { lean_object* x_19; -x_19 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); +x_19 = l_Lean_Elab_partialFixpoint___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_11); lean_dec(x_7); -lean_dec(x_3); lean_dec(x_1); return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; -x_17 = l_Lean_Elab_partialFixpoint___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_9); -lean_dec(x_1); -return x_17; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__2___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -7637,32 +9173,21 @@ lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; -lean_object* x_22 = _args[21]; _start: { -size_t x_23; size_t x_24; lean_object* x_25; -x_23 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_24 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_25 = l_Lean_Elab_partialFixpoint___lambda__2(x_1, x_23, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); -lean_dec(x_15); +size_t x_22; lean_object* x_23; +x_22 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_23 = l_Lean_Elab_partialFixpoint___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_8); -return x_25; +lean_dec(x_3); +lean_dec(x_1); +return x_23; } } -LEAN_EXPORT lean_object* l_Lean_Elab_partialFixpoint___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; -x_16 = l_Lean_Elab_partialFixpoint___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_8); -return x_16; -} -} -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__1() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__1() { _start: { lean_object* x_1; @@ -7670,17 +9195,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__2() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____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_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__1; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__3() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__3() { _start: { lean_object* x_1; @@ -7688,37 +9213,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__4() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__2; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__3; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__2; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__5() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__4; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__4; x_2 = l_Lean_Elab_mkInstCCPOPProd___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__6() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__5; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__5; x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__7() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__7() { _start: { lean_object* x_1; @@ -7726,17 +9251,17 @@ x_1 = lean_mk_string_unchecked("PreDefinition", 13, 13); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__8() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__6; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__7; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__6; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__9() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__9() { _start: { lean_object* x_1; @@ -7744,17 +9269,17 @@ x_1 = lean_mk_string_unchecked("PartialFixpoint", 15, 15); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__10() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__8; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__9; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__8; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__11() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__11() { _start: { lean_object* x_1; @@ -7762,17 +9287,17 @@ x_1 = lean_mk_string_unchecked("Main", 4, 4); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__12() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__10; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__11; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__10; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__13() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__13() { _start: { lean_object* x_1; @@ -7780,33 +9305,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__14() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__12; -x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__13; +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__12; +x_2 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__15() { +static lean_object* _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__14; -x_2 = lean_unsigned_to_nat(2833u); +x_1 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__14; +x_2 = lean_unsigned_to_nat(2959u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__4___lambda__3___closed__6; x_3 = 0; -x_4 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__15; +x_4 = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__15; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -7840,10 +9365,30 @@ lean_dec_ref(res); res = initialize_Lean_Meta_PProdN(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__1 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__1); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___lambda__1___closed__2); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__1 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__1); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__2 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__2); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__3 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__3); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__4 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__4); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__5 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__5); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__6 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_replaceRecApps___closed__6); l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__1 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__1); l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__2 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__2); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__3 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__3); +l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__4 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__2___closed__4); l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___lambda__3___closed__1); l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__1 = _init_l___private_Lean_Elab_PreDefinition_PartialFixpoint_Main_0__Lean_Elab_unReplaceRecApps___rarg___closed__1(); @@ -7928,10 +9473,10 @@ l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___closed__ lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___closed__1); l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___closed__2(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_partialFixpoint___spec__7___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2); +l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__1); +l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__10___closed__2); l_panic___at_Lean_Elab_partialFixpoint___spec__11___rarg___closed__1 = _init_l_panic___at_Lean_Elab_partialFixpoint___spec__11___rarg___closed__1(); lean_mark_persistent(l_panic___at_Lean_Elab_partialFixpoint___spec__11___rarg___closed__1); l_List_mapTR_loop___at_Lean_Elab_partialFixpoint___spec__13___closed__1 = _init_l_List_mapTR_loop___at_Lean_Elab_partialFixpoint___spec__13___closed__1(); @@ -7980,8 +9525,6 @@ l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___c lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__20); l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21(); lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__21); -l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__22 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__22(); -lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__1___closed__22); l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3___closed__1 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3___closed__1(); lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3___closed__1); l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3___closed__2 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_partialFixpoint___spec__16___lambda__3___closed__2(); @@ -8018,24 +9561,6 @@ l_Lean_Elab_partialFixpoint___lambda__2___closed__7 = _init_l_Lean_Elab_partialF lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__2___closed__7); l_Lean_Elab_partialFixpoint___lambda__2___closed__8 = _init_l_Lean_Elab_partialFixpoint___lambda__2___closed__8(); lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__2___closed__8); -l_Lean_Elab_partialFixpoint___lambda__3___closed__1 = _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___closed__1); -l_Lean_Elab_partialFixpoint___lambda__3___closed__2 = _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___closed__2); -l_Lean_Elab_partialFixpoint___lambda__3___closed__3 = _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___closed__3); -l_Lean_Elab_partialFixpoint___lambda__3___closed__4 = _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___closed__4); -l_Lean_Elab_partialFixpoint___lambda__3___closed__5 = _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___closed__5); -l_Lean_Elab_partialFixpoint___lambda__3___closed__6 = _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__6(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___closed__6); -l_Lean_Elab_partialFixpoint___lambda__3___closed__7 = _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__7(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___closed__7); -l_Lean_Elab_partialFixpoint___lambda__3___closed__8 = _init_l_Lean_Elab_partialFixpoint___lambda__3___closed__8(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___closed__8); -l_Lean_Elab_partialFixpoint___lambda__3___boxed__const__1 = _init_l_Lean_Elab_partialFixpoint___lambda__3___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_partialFixpoint___lambda__3___boxed__const__1); l_Lean_Elab_partialFixpoint___closed__1 = _init_l_Lean_Elab_partialFixpoint___closed__1(); lean_mark_persistent(l_Lean_Elab_partialFixpoint___closed__1); l_Lean_Elab_partialFixpoint___closed__2 = _init_l_Lean_Elab_partialFixpoint___closed__2(); @@ -8048,37 +9573,49 @@ l_Lean_Elab_partialFixpoint___closed__5 = _init_l_Lean_Elab_partialFixpoint___cl lean_mark_persistent(l_Lean_Elab_partialFixpoint___closed__5); l_Lean_Elab_partialFixpoint___closed__6 = _init_l_Lean_Elab_partialFixpoint___closed__6(); lean_mark_persistent(l_Lean_Elab_partialFixpoint___closed__6); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__1 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__1(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__1); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__2 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__2(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__2); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__3 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__3(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__3); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__4 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__4(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__4); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__5 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__5(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__5); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__6 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__6(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__6); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__7 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__7(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__7); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__8 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__8(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__8); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__9 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__9(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__9); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__10 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__10(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__10); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__11 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__11(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__11); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__12 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__12(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__12); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__13 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__13(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__13); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__14 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__14(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__14); -l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__15 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__15(); -lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833____closed__15); -if (builtin) {res = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2833_(lean_io_mk_world()); +l_Lean_Elab_partialFixpoint___closed__7 = _init_l_Lean_Elab_partialFixpoint___closed__7(); +lean_mark_persistent(l_Lean_Elab_partialFixpoint___closed__7); +l_Lean_Elab_partialFixpoint___closed__8 = _init_l_Lean_Elab_partialFixpoint___closed__8(); +lean_mark_persistent(l_Lean_Elab_partialFixpoint___closed__8); +l_Lean_Elab_partialFixpoint___closed__9 = _init_l_Lean_Elab_partialFixpoint___closed__9(); +lean_mark_persistent(l_Lean_Elab_partialFixpoint___closed__9); +l_Lean_Elab_partialFixpoint___closed__10 = _init_l_Lean_Elab_partialFixpoint___closed__10(); +lean_mark_persistent(l_Lean_Elab_partialFixpoint___closed__10); +l_Lean_Elab_partialFixpoint___closed__11 = _init_l_Lean_Elab_partialFixpoint___closed__11(); +lean_mark_persistent(l_Lean_Elab_partialFixpoint___closed__11); +l_Lean_Elab_partialFixpoint___boxed__const__1 = _init_l_Lean_Elab_partialFixpoint___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_partialFixpoint___boxed__const__1); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__1 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__1(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__1); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__2 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__2(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__2); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__3 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__3(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__3); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__4 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__4(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__4); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__5 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__5(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__5); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__6 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__6(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__6); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__7 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__7(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__7); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__8 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__8(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__8); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__9 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__9(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__9); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__10 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__10(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__10); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__11 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__11(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__11); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__12 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__12(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__12); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__13 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__13(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__13); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__14 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__14(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__14); +l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__15 = _init_l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__15(); +lean_mark_persistent(l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959____closed__15); +if (builtin) {res = l_initFn____x40_Lean_Elab_PreDefinition_PartialFixpoint_Main___hyg_2959_(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/BRecOn.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c index 5bd56a77ac..4c008535a5 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c @@ -155,6 +155,7 @@ LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_Structur extern lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo; static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_withBelowDict___spec__4___closed__7; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_withBelowDict___spec__12___rarg___lambda__2___closed__2; +lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkBRecOnF___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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__31___rarg(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_Elab_Structural_mkBRecOnF___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -544,7 +545,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___private_Lean_Elab_Pre lean_object* l_ReaderT_instMonad___rarg(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_toBelowAux___lambda__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__41(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkBRecOnF___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_Meta_lambdaTelescope___at_Lean_Elab_Structural_mkBRecOnMotive___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Structural_mkBrecOnApp___spec__1___at_Lean_Elab_Structural_mkBrecOnApp___spec__2___at_Lean_Elab_Structural_mkBrecOnApp___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Meta_withLocalDecls_loop___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_withBelowDict___spec__11___rarg___lambda__1___closed__1; @@ -8053,71 +8053,68 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__20___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_15 = lean_ctor_get(x_2, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); -x_16 = lean_array_get_size(x_1); -x_17 = l_Array_toSubarray___rarg(x_1, x_15, x_16); -x_18 = l_Array_ofSubarray___rarg(x_17); +x_16 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_15, x_2); +lean_dec(x_15); +x_17 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_1, x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_2, x_18); -lean_dec(x_18); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_array_size(x_20); -x_22 = 0; -x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__18(x_3, x_4, x_5, x_6, x_21, x_22, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_23) == 0) +x_19 = lean_array_size(x_18); +x_20 = 0; +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__18(x_3, x_4, x_5, x_6, x_19, x_20, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_21) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = l_Lean_mkAppN(x_7, x_25); +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = l_Lean_mkAppN(x_7, x_23); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_24); +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 = l_Lean_mkAppN(x_7, x_25); lean_dec(x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = l_Lean_mkAppN(x_7, x_27); -lean_dec(x_27); -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; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; } } else { -uint8_t x_31; +uint8_t x_29; lean_dec(x_7); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) { -return x_23; +return x_21; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +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; } } } @@ -8390,9 +8387,10 @@ lean_inc(x_66); x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -x_68 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__20___lambda__2(x_8, x_48, x_1, x_2, x_3, x_5, x_66, x_10, x_11, x_12, x_13, x_14, x_15, x_67); +x_68 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__20___lambda__2(x_48, x_8, x_1, x_2, x_3, x_5, x_66, x_10, x_11, x_12, x_13, x_14, x_15, x_67); lean_dec(x_10); lean_dec(x_3); +lean_dec(x_8); return x_68; } else @@ -8884,71 +8882,68 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__25___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_15 = lean_ctor_get(x_2, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); -x_16 = lean_array_get_size(x_1); -x_17 = l_Array_toSubarray___rarg(x_1, x_15, x_16); -x_18 = l_Array_ofSubarray___rarg(x_17); +x_16 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_15, x_2); +lean_dec(x_15); +x_17 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_1, x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_2, x_18); -lean_dec(x_18); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_array_size(x_20); -x_22 = 0; -x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__23(x_3, x_4, x_5, x_6, x_21, x_22, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_23) == 0) +x_19 = lean_array_size(x_18); +x_20 = 0; +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__23(x_3, x_4, x_5, x_6, x_19, x_20, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_21) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = l_Lean_mkAppN(x_7, x_25); +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = l_Lean_mkAppN(x_7, x_23); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_24); +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 = l_Lean_mkAppN(x_7, x_25); lean_dec(x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = l_Lean_mkAppN(x_7, x_27); -lean_dec(x_27); -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; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; } } else { -uint8_t x_31; +uint8_t x_29; lean_dec(x_7); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) { -return x_23; +return x_21; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +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; } } } @@ -9187,9 +9182,10 @@ lean_inc(x_66); x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -x_68 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__25___lambda__1(x_8, x_48, x_1, x_2, x_3, x_5, x_66, x_10, x_11, x_12, x_13, x_14, x_15, x_67); +x_68 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__25___lambda__1(x_48, x_8, x_1, x_2, x_3, x_5, x_66, x_10, x_11, x_12, x_13, x_14, x_15, x_67); lean_dec(x_10); lean_dec(x_3); +lean_dec(x_8); return x_68; } else @@ -9753,70 +9749,67 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__32___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, size_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) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; lean_object* x_23; -x_16 = lean_ctor_get(x_2, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_1, 1); lean_inc(x_16); -x_17 = lean_array_get_size(x_1); -x_18 = l_Array_toSubarray___rarg(x_1, x_16, x_17); -x_19 = l_Array_ofSubarray___rarg(x_18); +x_17 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_16, x_2); +lean_dec(x_16); +x_18 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_1, x_17); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); lean_dec(x_18); -x_20 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_2, x_19); -lean_dec(x_19); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_array_size(x_21); -x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__30(x_3, x_4, x_5, x_6, x_22, x_7, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_23) == 0) +x_20 = lean_array_size(x_19); +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__30(x_3, x_4, x_5, x_6, x_20, x_7, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = l_Lean_mkAppN(x_8, x_25); +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = l_Lean_mkAppN(x_8, x_23); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_24); +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 = l_Lean_mkAppN(x_8, x_25); lean_dec(x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = l_Lean_mkAppN(x_8, x_27); -lean_dec(x_27); -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; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; } } else { -uint8_t x_31; +uint8_t x_29; lean_dec(x_8); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) { -return x_23; +return x_21; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +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; } } } @@ -10054,9 +10047,10 @@ lean_inc(x_66); x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -x_68 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__32___lambda__1(x_9, x_48, x_1, x_2, x_3, x_5, x_7, x_66, x_11, x_12, x_13, x_14, x_15, x_16, x_67); +x_68 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__32___lambda__1(x_48, x_9, x_1, x_2, x_3, x_5, x_7, x_66, x_11, x_12, x_13, x_14, x_15, x_16, x_67); lean_dec(x_11); lean_dec(x_3); +lean_dec(x_9); return x_68; } else @@ -13611,6 +13605,7 @@ lean_object* x_15; x_15 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__20___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_8); lean_dec(x_5); +lean_dec(x_2); return x_15; } } @@ -13693,6 +13688,7 @@ lean_object* x_15; x_15 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__25___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_8); lean_dec(x_5); +lean_dec(x_2); return x_15; } } @@ -13815,6 +13811,7 @@ lean_dec(x_7); x_17 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__32___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_9); lean_dec(x_5); +lean_dec(x_2); return x_17; } } @@ -14336,6 +14333,7 @@ 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_28 = !lean_is_exclusive(x_10); if (x_28 == 0) @@ -14385,7 +14383,6 @@ _start: lean_object* x_10; x_10 = l_Lean_Elab_Structural_mkBRecOnMotive___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); -lean_dec(x_2); return x_10; } } @@ -14604,7 +14601,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkBRecOnF(lean_object* x_1, lean _start: { lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_mkBRecOnF___lambda__2___boxed), 12, 4); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_mkBRecOnF___lambda__2), 12, 4); lean_closure_set(x_12, 0, x_3); lean_closure_set(x_12, 1, x_5); lean_closure_set(x_12, 2, x_1); @@ -14635,15 +14632,6 @@ lean_dec(x_5); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkBRecOnF___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) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_Structural_mkBRecOnF___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -return x_13; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_mkBRecOnConst___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: { @@ -16216,6 +16204,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkBrecOnApp___lambda__2(lean_obj _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_inc(x_6); lean_inc(x_1); x_13 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_1, x_6); x_14 = lean_ctor_get(x_13, 0); @@ -16286,6 +16275,7 @@ if (lean_obj_tag(x_53) == 0) lean_object* x_54; lean_dec(x_46); lean_dec(x_15); +lean_dec(x_6); x_54 = lean_box(0); x_29 = x_54; goto block_45; @@ -16327,6 +16317,7 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_6); return x_65; } else @@ -16337,6 +16328,7 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_6); x_66 = !lean_is_exclusive(x_58); if (x_66 == 0) { @@ -16369,6 +16361,7 @@ if (lean_obj_tag(x_70) == 0) lean_object* x_71; lean_dec(x_46); lean_dec(x_15); +lean_dec(x_6); x_71 = lean_box(0); x_29 = x_71; goto block_45; @@ -16411,6 +16404,7 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_6); return x_82; } else @@ -16421,6 +16415,7 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_6); x_83 = !lean_is_exclusive(x_75); if (x_83 == 0) { @@ -16492,6 +16487,7 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); x_87 = !lean_is_exclusive(x_26); @@ -16524,6 +16520,7 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); x_91 = !lean_is_exclusive(x_21); @@ -16605,7 +16602,6 @@ _start: lean_object* x_13; x_13 = l_Lean_Elab_Structural_mkBrecOnApp___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_4); return x_13; } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c index 8b39314e9e..a0e79183e7 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.Structural.Eqns -// Imports: Lean.Meta.Eqns Lean.Meta.Tactic.Split Lean.Meta.Tactic.Simp.Main Lean.Meta.Tactic.Apply Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Eqns Lean.Elab.PreDefinition.Structural.Basic +// Imports: Lean.Meta.Eqns Lean.Meta.Tactic.Split Lean.Meta.Tactic.Simp.Main Lean.Meta.Tactic.Apply Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Eqns Lean.Elab.PreDefinition.FixedParams Lean.Elab.PreDefinition.Structural.Basic #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -27,6 +27,7 @@ static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition static lean_object* l_Lean_Elab_Structural_registerEqnsInfo___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__10; +static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__7; 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*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -239,23 +240,37 @@ return x_2; static lean_object* _init_l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__5; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__5; -x_4 = lean_alloc_ctor(0, 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_3); -lean_ctor_set(x_4, 3, x_2); -return x_4; +x_4 = l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__6; +x_5 = lean_alloc_ctor(0, 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_Structural_instInhabitedEqnInfo() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__6; +x_1 = l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__7; return x_1; } } @@ -4455,6 +4470,7 @@ lean_object* initialize_Lean_Meta_Tactic_Simp_Main(uint8_t builtin, lean_object* lean_object* initialize_Lean_Meta_Tactic_Apply(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Eqns(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Structural_Basic(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_Structural_Eqns(uint8_t builtin, lean_object* w) { @@ -4479,6 +4495,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Eqns(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_FixedParams(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Structural_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -4494,6 +4513,8 @@ l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__5 = _init_l_Lean_Elab_Stru lean_mark_persistent(l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__5); l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__6 = _init_l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__6(); lean_mark_persistent(l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__6); +l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__7 = _init_l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__7(); +lean_mark_persistent(l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__7); l_Lean_Elab_Structural_instInhabitedEqnInfo = _init_l_Lean_Elab_Structural_instInhabitedEqnInfo(); lean_mark_persistent(l_Lean_Elab_Structural_instInhabitedEqnInfo); l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c index 68e7e03f01..3b5cdaee80 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.Structural.FindRecArg -// Imports: Lean.Elab.PreDefinition.TerminationMeasure Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.Structural.RecArgInfo +// Imports: Lean.Elab.PreDefinition.TerminationMeasure Lean.Elab.PreDefinition.FixedParams Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.Structural.RecArgInfo #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -19,29 +19,26 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_all static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__11; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_argsInGroup___spec__3(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_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_tryAllArgs___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__3; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__6___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__9; lean_object* l_instBEqOfDecidableEq___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__13___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_allCombinations___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__2___rarg___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_isTracingEnabledFor___at_Lean_Elab_Structural_tryAllArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_allCombinations_go___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_prettyParam___closed__3; -lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Structural_nonIndicesFirst___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___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_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___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_getRecArgInfo___lambda__1___closed__25; -lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +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*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__20; lean_object* l_Lean_Elab_Structural_IndGroupInfo_numMotives(lean_object*); lean_object* l_Lean_indentD(lean_object*); @@ -55,7 +52,8 @@ size_t lean_uint64_to_usize(uint64_t); lean_object* l_Lean_Meta_forallMetaTelescope(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___closed__4; static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfo___boxed(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_Structural_getRecArgInfos___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_argsInGroup___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); @@ -65,7 +63,6 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_argsInGroup___spec__3___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_Lean_Elab_Structural_tryAllArgs___rarg___lambda__4___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__18; lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__2; @@ -79,6 +76,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfo(lean_object*, lean LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_getRecArgInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_prettyParameterSet___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___lambda__1___closed__5; @@ -87,6 +85,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_arg LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f___spec__2(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*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__17; LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_tryAllArgs___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -98,9 +97,11 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_P LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_nonIndicesFirst___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8(lean_object*); +static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__12; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f___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* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_inductiveGroups___closed__1; +lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_allCombinations_go___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___at_Lean_Elab_Structural_inductiveGroups___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -108,15 +109,13 @@ lean_object* l_Lean_Elab_Structural_IndGroupInst_isDefEq(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_Elab_Structural_allCombinations_go___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg(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*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_nonIndicesFirst___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___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*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___closed__7; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_nonIndicesFirst___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); extern lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__29; static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -127,16 +126,12 @@ static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__2 static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_tryAllArgs___spec__10(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_allCombinations_go___spec__1___rarg___boxed(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_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_prettyRecArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_inductiveGroups(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__4(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* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__3; -static lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_argsInGroup___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__4; size_t lean_usize_of_nat(lean_object*); @@ -148,21 +143,17 @@ lean_object* l_Lean_Elab_Structural_IndGroupInfo_brecOnName(lean_object*, uint8_ extern lean_object* l_Lean_binductionOnSuffix; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_allCombinations___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_argsInGroup___spec__3___lambda__3(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_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__19(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*); 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*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___closed__6; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___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_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__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_Structural_getRecArgInfos___lambda__4(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_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1(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_shift_right(uint64_t, uint64_t); -lean_object* l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_tryAllArgs___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__11(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__1; @@ -174,13 +165,13 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAl LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Structural_nonIndicesFirst___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_maxCombinationSize; static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__13; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(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*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos(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_Structural_tryAllArgs___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_Elab_Structural_getRecArgInfos(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_Structural_tryAllArgs___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_argsInGroup___spec__5___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* l_Lean_MessageData_ofFormat(lean_object*); -uint8_t l_Lean_Expr_isMVar(lean_object*); static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__4___closed__1; lean_object* l_Lean_MessageData_andList(lean_object*); lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -192,39 +183,33 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__1___box static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__7; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___closed__5; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__17(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_idxOf_x3f___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t); static lean_object* l_Lean_Elab_Structural_nonIndicesFirst___closed__3; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__4; -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__6(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_inductiveGroups___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_Structural_getRecArgInfo___lambda__1___closed__9; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_inductiveGroups___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__3___closed__2; static lean_object* l_Lean_Elab_Structural_prettyParameterSet___closed__5; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__15(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___closed__3; -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_tryAllArgs___spec__2(size_t, size_t, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__21; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__22; -LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_inductiveGroups___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___lambda__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Structural_nonIndicesFirst___spec__2(lean_object*); -uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -238,30 +223,24 @@ static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_inductiveGroups___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__4___closed__3; static lean_object* l_Lean_Elab_Structural_prettyParam___closed__2; -lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_tryAllArgs___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__1___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_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__16(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_argsInGroup(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_Structural_tryAllArgs___rarg___lambda__5(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*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__1; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___lambda__1___closed__2; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__7(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos(lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); lean_object* l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(lean_object*); @@ -281,7 +260,6 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAl static lean_object* l_Lean_Elab_Structural_nonIndicesFirst___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__2___closed__2; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__14___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__2___closed__1; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___lambda__2___closed__2; static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__28; @@ -291,30 +269,29 @@ lean_object* l_Array_isEmpty___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Structural_argsInGroup___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__12___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__14; static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__15; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_allCombinations_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___closed__6; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__2___rarg___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__4___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__7; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__11(lean_object*, lean_object*); lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(lean_object*, size_t, size_t); lean_object* l_Lean_Meta_getFVarLocalDecl(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_Structural_getRecArgInfo___closed__10; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_prettyParameterSet___closed__4; static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5___closed__1; static lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__6; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_argsInGroup___spec__5(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_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__5___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_nonIndicesFirst___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); @@ -335,7 +312,6 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe lean_object* l_Lean_LocalDecl_type(lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); lean_object* lean_panic_fn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_nonIndicesFirst(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_inductiveGroups___spec__1(size_t, size_t, lean_object*); @@ -347,10 +323,9 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_ lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs(lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__12(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_nonIndicesFirst___closed__5; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___lambda__2___closed__1; static lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__2(lean_object*, size_t, size_t, lean_object*); @@ -364,30 +339,27 @@ LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___a LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___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*); static lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__2___closed__2; LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_getRecArgInfo___spec__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__4(lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfo___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_Structural_tryAllArgs___rarg___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_tryAllArgs___spec__12(lean_object*, size_t, size_t, lean_object*); size_t lean_usize_sub(size_t, size_t); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__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_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_nonIndicesFirst___closed__4; static lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__5; lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__3___boxed(lean_object**); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__9(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(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* l_Lean_isTracingEnabledForCore(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_hasFVar(lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__8(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_allCombinations_go(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_argsInGroup___spec__5___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*); extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___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_Elab_Structural_getRecArgInfos___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_Structural_prettyParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); @@ -396,7 +368,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_nonIndicesFirst___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, 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*); -LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__3; @@ -404,8 +375,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__2___ lean_object* l_instDecidableEqNat___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_inductiveGroups___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*); static lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__2; +lean_object* lean_string_append(lean_object*, 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_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__11___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___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* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg(lean_object*, 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*); @@ -413,7 +384,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__2(le LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_tryAllArgs___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfo___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_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___boxed(lean_object**); static lean_object* l_Lean_Elab_Structural_nonIndicesFirst___closed__2; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -421,42 +391,39 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___boxed(lean_object**); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Elab_Structural_nonIndicesFirst___closed__6; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__8___rarg___closed__2; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__18(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*); static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__23; +uint8_t l_Lean_Elab_FixedParamPerm_isFixed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_argsInGroup___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_argsInGroup___spec__5___lambda__3(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_getRecArgInfo___lambda__1___closed__19; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Structural_nonIndicesFirst___spec__4___at_Lean_Elab_Structural_nonIndicesFirst___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___spec__2___rarg___lambda__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_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___spec__1___closed__1; static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; static lean_object* l_Lean_Elab_Structural_getRecArgInfo___lambda__2___closed__2; static lean_object* l_Lean_Elab_Structural_allCombinations_go___rarg___closed__1; static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__6; -static lean_object* l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_dedup___at_Lean_Elab_Structural_inductiveGroups___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); +static lean_object* l_Lean_Elab_Structural_getRecArgInfo___closed__11; lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_allCombinations___rarg(lean_object*); static double l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Elab_Structural_nonIndicesFirst___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___lambda__1___closed__3; lean_object* l_Lean_Elab_Structural_IndGroupInst_toMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_nonIndicesFirst___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__9___rarg___closed__7; lean_object* l_Lean_Elab_TerminationMeasure_structuralArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___closed__1; -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_argsInGroup___spec__3___lambda__2(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_object* l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -611,7 +578,7 @@ x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_prettyRecArg___lambda__1 lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_3); x_10 = 0; -x_11 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_2, x_9, x_10, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_2, x_9, x_10, x_4, x_5, x_6, x_7, x_8); return x_11; } } @@ -1831,1904 +1798,7 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_2) == 5) -{ -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, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__4(x_1, x_4, x_3); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_unbox(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_7); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_5, x_9); -return x_10; -} -else -{ -uint8_t x_11; -lean_dec(x_5); -x_11 = !lean_is_exclusive(x_6); -if (x_11 == 0) -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_6, 0); -lean_dec(x_12); -return x_6; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_6, 1); -lean_inc(x_13); -lean_dec(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_7); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -} -else -{ -lean_object* x_15; -x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_2, x_3); -return x_15; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__6(x_1, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = lean_usize_add(x_3, x_8); -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = lean_name_eq(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__6(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -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) -{ -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___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__7(x_1, x_3, x_8, x_9); -return x_10; -} -} -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_array_get_size(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_12); -if (x_14 == 0) -{ -uint8_t x_15; -lean_dec(x_12); -x_15 = 0; -return x_15; -} -else -{ -size_t x_16; size_t x_17; uint8_t x_18; -x_16 = 0; -x_17 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_18 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__8(x_1, x_11, x_16, x_17); -return x_18; -} -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = lean_name_eq(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__6(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_array_get_size(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_nat_dec_lt(x_7, x_6); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_6); -x_9 = 0; -return x_9; -} -else -{ -size_t x_10; size_t x_11; uint8_t x_12; -x_10 = 0; -x_11 = lean_usize_of_nat(x_6); -lean_dec(x_6); -x_12 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__9(x_1, x_5, x_10, x_11); -return x_12; -} -} -else -{ -return x_4; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -lean_dec(x_2); -x_5 = lean_name_eq(x_1, x_4); -lean_dec(x_4); -x_6 = lean_box(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_3); -return x_7; -} -case 2: -{ -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 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(x_8, x_3); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -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; uint8_t x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_ctor_get(x_9, 0); -lean_dec(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -x_15 = l_Lean_MetavarContext_getDecl(x_14, x_8); -lean_dec(x_8); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__5(x_1, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_9, 0, x_19); -return x_9; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; -x_20 = lean_ctor_get(x_9, 1); -lean_inc(x_20); -lean_dec(x_9); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -x_22 = l_Lean_MetavarContext_getDecl(x_21, x_8); -lean_dec(x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__5(x_1, x_24); -lean_dec(x_24); -x_26 = lean_box(x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_20); -return x_27; -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_8); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_dec(x_9); -x_29 = lean_ctor_get(x_10, 0); -lean_inc(x_29); -lean_dec(x_10); -x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_29, x_28); -return x_30; -} -} -case 5: -{ -lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Expr_getAppFn(x_2); -x_32 = l_Lean_Expr_isMVar(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -lean_dec(x_31); -x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__4(x_1, x_2, x_3); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(x_2, x_3); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_Expr_getAppFn(x_35); -x_38 = lean_expr_eqv(x_37, x_31); -lean_dec(x_31); -lean_dec(x_37); -if (x_38 == 0) -{ -lean_dec(x_2); -x_2 = x_35; -x_3 = x_36; -goto _start; -} -else -{ -lean_object* x_40; -lean_dec(x_35); -x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__4(x_1, x_2, x_36); -return x_40; -} -} -} -case 6: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_41 = lean_ctor_get(x_2, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_2, 2); -lean_inc(x_42); -lean_dec(x_2); -x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_41, x_3); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_unbox(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -lean_dec(x_44); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_dec(x_43); -x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_42, x_46); -return x_47; -} -else -{ -uint8_t x_48; -lean_dec(x_42); -x_48 = !lean_is_exclusive(x_43); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_43, 0); -lean_dec(x_49); -return x_43; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_43, 1); -lean_inc(x_50); -lean_dec(x_43); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_44); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -case 7: -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_52 = lean_ctor_get(x_2, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_2, 2); -lean_inc(x_53); -lean_dec(x_2); -x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_52, x_3); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_unbox(x_55); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_55); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_53, x_57); -return x_58; -} -else -{ -uint8_t x_59; -lean_dec(x_53); -x_59 = !lean_is_exclusive(x_54); -if (x_59 == 0) -{ -lean_object* x_60; -x_60 = lean_ctor_get(x_54, 0); -lean_dec(x_60); -return x_54; -} -else -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_54, 1); -lean_inc(x_61); -lean_dec(x_54); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_55); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -case 8: -{ -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_63 = lean_ctor_get(x_2, 1); -lean_inc(x_63); -x_64 = lean_ctor_get(x_2, 2); -lean_inc(x_64); -x_65 = lean_ctor_get(x_2, 3); -lean_inc(x_65); -lean_dec(x_2); -x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_63, x_3); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_unbox(x_67); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -lean_dec(x_67); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_64, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_unbox(x_71); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -lean_dec(x_71); -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_65, x_73); -return x_74; -} -else -{ -uint8_t x_75; -lean_dec(x_65); -x_75 = !lean_is_exclusive(x_70); -if (x_75 == 0) -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_70, 0); -lean_dec(x_76); -return x_70; -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_70, 1); -lean_inc(x_77); -lean_dec(x_70); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_71); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -else -{ -uint8_t x_79; -lean_dec(x_65); -lean_dec(x_64); -x_79 = !lean_is_exclusive(x_66); -if (x_79 == 0) -{ -lean_object* x_80; -x_80 = lean_ctor_get(x_66, 0); -lean_dec(x_80); -return x_66; -} -else -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_66, 1); -lean_inc(x_81); -lean_dec(x_66); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_67); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -case 10: -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_2, 1); -lean_inc(x_83); -lean_dec(x_2); -x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_83, x_3); -return x_84; -} -case 11: -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_2, 2); -lean_inc(x_85); -lean_dec(x_2); -x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_85, x_3); -return x_86; -} -default: -{ -uint8_t x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_2); -x_87 = 0; -x_88 = lean_box(x_87); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_3); -return x_89; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___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; -lean_inc(x_2); -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(x_2, x_3); -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_unbox(x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_2); -x_7 = !lean_is_exclusive(x_4); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_4, 0); -lean_dec(x_8); -x_9 = 0; -x_10 = lean_box(x_9); -lean_ctor_set(x_4, 0, x_10); -return x_4; -} -else -{ -lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_dec(x_4); -x_12 = 0; -x_13 = lean_box(x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -return x_14; -} -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_4, 1); -lean_inc(x_15); -lean_dec(x_4); -x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__3(x_1, x_2, x_15); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_2) == 5) -{ -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, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__12(x_1, x_4, x_3); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_unbox(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_7); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_5, x_9); -return x_10; -} -else -{ -uint8_t x_11; -lean_dec(x_5); -x_11 = !lean_is_exclusive(x_6); -if (x_11 == 0) -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_6, 0); -lean_dec(x_12); -return x_6; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_6, 1); -lean_inc(x_13); -lean_dec(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_7); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -} -else -{ -lean_object* x_15; -x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_2, x_3); -return x_15; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__14(x_1, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = lean_usize_add(x_3, x_8); -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__16(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = lean_name_eq(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__14(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -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) -{ -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___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__15(x_1, x_3, x_8, x_9); -return x_10; -} -} -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_array_get_size(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_12); -if (x_14 == 0) -{ -uint8_t x_15; -lean_dec(x_12); -x_15 = 0; -return x_15; -} -else -{ -size_t x_16; size_t x_17; uint8_t x_18; -x_16 = 0; -x_17 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_18 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__16(x_1, x_11, x_16, x_17); -return x_18; -} -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__17(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = lean_name_eq(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__13(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__14(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_array_get_size(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_nat_dec_lt(x_7, x_6); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_6); -x_9 = 0; -return x_9; -} -else -{ -size_t x_10; size_t x_11; uint8_t x_12; -x_10 = 0; -x_11 = lean_usize_of_nat(x_6); -lean_dec(x_6); -x_12 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__17(x_1, x_5, x_10, x_11); -return x_12; -} -} -else -{ -return x_4; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -lean_dec(x_2); -x_5 = lean_name_eq(x_1, x_4); -lean_dec(x_4); -x_6 = lean_box(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_3); -return x_7; -} -case 2: -{ -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 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(x_8, x_3); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -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; uint8_t x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_ctor_get(x_9, 0); -lean_dec(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -x_15 = l_Lean_MetavarContext_getDecl(x_14, x_8); -lean_dec(x_8); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__13(x_1, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_9, 0, x_19); -return x_9; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; -x_20 = lean_ctor_get(x_9, 1); -lean_inc(x_20); -lean_dec(x_9); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -x_22 = l_Lean_MetavarContext_getDecl(x_21, x_8); -lean_dec(x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__13(x_1, x_24); -lean_dec(x_24); -x_26 = lean_box(x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_20); -return x_27; -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_8); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_dec(x_9); -x_29 = lean_ctor_get(x_10, 0); -lean_inc(x_29); -lean_dec(x_10); -x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_29, x_28); -return x_30; -} -} -case 5: -{ -lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Expr_getAppFn(x_2); -x_32 = l_Lean_Expr_isMVar(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -lean_dec(x_31); -x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__12(x_1, x_2, x_3); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(x_2, x_3); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_Expr_getAppFn(x_35); -x_38 = lean_expr_eqv(x_37, x_31); -lean_dec(x_31); -lean_dec(x_37); -if (x_38 == 0) -{ -lean_dec(x_2); -x_2 = x_35; -x_3 = x_36; -goto _start; -} -else -{ -lean_object* x_40; -lean_dec(x_35); -x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__12(x_1, x_2, x_36); -return x_40; -} -} -} -case 6: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_41 = lean_ctor_get(x_2, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_2, 2); -lean_inc(x_42); -lean_dec(x_2); -x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_41, x_3); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_unbox(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -lean_dec(x_44); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_dec(x_43); -x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_42, x_46); -return x_47; -} -else -{ -uint8_t x_48; -lean_dec(x_42); -x_48 = !lean_is_exclusive(x_43); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_43, 0); -lean_dec(x_49); -return x_43; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_43, 1); -lean_inc(x_50); -lean_dec(x_43); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_44); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -case 7: -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_52 = lean_ctor_get(x_2, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_2, 2); -lean_inc(x_53); -lean_dec(x_2); -x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_52, x_3); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_unbox(x_55); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_55); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_53, x_57); -return x_58; -} -else -{ -uint8_t x_59; -lean_dec(x_53); -x_59 = !lean_is_exclusive(x_54); -if (x_59 == 0) -{ -lean_object* x_60; -x_60 = lean_ctor_get(x_54, 0); -lean_dec(x_60); -return x_54; -} -else -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_54, 1); -lean_inc(x_61); -lean_dec(x_54); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_55); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -case 8: -{ -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_63 = lean_ctor_get(x_2, 1); -lean_inc(x_63); -x_64 = lean_ctor_get(x_2, 2); -lean_inc(x_64); -x_65 = lean_ctor_get(x_2, 3); -lean_inc(x_65); -lean_dec(x_2); -x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_63, x_3); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_unbox(x_67); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -lean_dec(x_67); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_64, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_unbox(x_71); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -lean_dec(x_71); -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_65, x_73); -return x_74; -} -else -{ -uint8_t x_75; -lean_dec(x_65); -x_75 = !lean_is_exclusive(x_70); -if (x_75 == 0) -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_70, 0); -lean_dec(x_76); -return x_70; -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_70, 1); -lean_inc(x_77); -lean_dec(x_70); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_71); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -else -{ -uint8_t x_79; -lean_dec(x_65); -lean_dec(x_64); -x_79 = !lean_is_exclusive(x_66); -if (x_79 == 0) -{ -lean_object* x_80; -x_80 = lean_ctor_get(x_66, 0); -lean_dec(x_80); -return x_66; -} -else -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_66, 1); -lean_inc(x_81); -lean_dec(x_66); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_67); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -case 10: -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_2, 1); -lean_inc(x_83); -lean_dec(x_2); -x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_83, x_3); -return x_84; -} -case 11: -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_2, 2); -lean_inc(x_85); -lean_dec(x_2); -x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_85, x_3); -return x_86; -} -default: -{ -uint8_t x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_2); -x_87 = 0; -x_88 = lean_box(x_87); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_3); -return x_89; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -lean_inc(x_2); -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(x_2, x_3); -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_unbox(x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_2); -x_7 = !lean_is_exclusive(x_4); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_4, 0); -lean_dec(x_8); -x_9 = 0; -x_10 = lean_box(x_9); -lean_ctor_set(x_4, 0, x_10); -return x_4; -} -else -{ -lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_dec(x_4); -x_12 = 0; -x_13 = lean_box(x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -return x_14; -} -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_4, 1); -lean_inc(x_15); -lean_dec(x_4); -x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__11(x_1, x_2, x_15); -return x_16; -} -} -} -static lean_object* _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___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_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__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_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__1; -x_3 = lean_mk_array(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___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_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__2; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_st_ref_get(x_4, x_7); -x_9 = !lean_is_exclusive(x_8); -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_8, 0); -x_11 = lean_ctor_get(x_8, 1); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__3; -lean_inc(x_12); -lean_ctor_set(x_8, 1, x_12); -lean_ctor_set(x_8, 0, x_13); -x_14 = l_Lean_Expr_hasFVar(x_1); -if (x_14 == 0) -{ -uint8_t x_15; -x_15 = l_Lean_Expr_hasMVar(x_1); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_dec(x_8); -lean_dec(x_1); -x_16 = lean_st_ref_take(x_4, 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_is_exclusive(x_17); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_17, 0); -lean_dec(x_20); -lean_ctor_set(x_17, 0, x_12); -x_21 = lean_st_ref_set(x_4, x_17, x_18); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -x_24 = 0; -x_25 = lean_box(x_24); -lean_ctor_set(x_21, 0, x_25); -return x_21; -} -else -{ -lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_21, 1); -lean_inc(x_26); -lean_dec(x_21); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; -x_30 = lean_ctor_get(x_17, 1); -x_31 = lean_ctor_get(x_17, 2); -x_32 = lean_ctor_get(x_17, 3); -x_33 = lean_ctor_get(x_17, 4); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_17); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_12); -lean_ctor_set(x_34, 1, x_30); -lean_ctor_set(x_34, 2, x_31); -lean_ctor_set(x_34, 3, x_32); -lean_ctor_set(x_34, 4, x_33); -x_35 = lean_st_ref_set(x_4, x_34, x_18); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_37 = x_35; -} else { - lean_dec_ref(x_35); - x_37 = lean_box(0); -} -x_38 = 0; -x_39 = lean_box(x_38); -if (lean_is_scalar(x_37)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_37; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_36); -return x_40; -} -} -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; uint8_t x_48; -lean_dec(x_12); -x_41 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_2, x_1, x_8); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 0); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_st_ref_take(x_4, x_11); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = !lean_is_exclusive(x_46); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_46, 0); -lean_dec(x_49); -lean_ctor_set(x_46, 0, x_44); -x_50 = lean_st_ref_set(x_4, x_46, x_47); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_43); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_43); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -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; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_55 = lean_ctor_get(x_46, 1); -x_56 = lean_ctor_get(x_46, 2); -x_57 = lean_ctor_get(x_46, 3); -x_58 = lean_ctor_get(x_46, 4); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_46); -x_59 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_59, 0, x_44); -lean_ctor_set(x_59, 1, x_55); -lean_ctor_set(x_59, 2, x_56); -lean_ctor_set(x_59, 3, x_57); -lean_ctor_set(x_59, 4, x_58); -x_60 = lean_st_ref_set(x_4, x_59, x_47); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_62 = x_60; -} else { - lean_dec_ref(x_60); - x_62 = lean_box(0); -} -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_62; -} -lean_ctor_set(x_63, 0, x_43); -lean_ctor_set(x_63, 1, x_61); -return x_63; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -lean_dec(x_12); -x_64 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_2, x_1, x_8); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_st_ref_take(x_4, x_11); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = !lean_is_exclusive(x_69); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_72 = lean_ctor_get(x_69, 0); -lean_dec(x_72); -lean_ctor_set(x_69, 0, x_67); -x_73 = lean_st_ref_set(x_4, x_69, x_70); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; -x_75 = lean_ctor_get(x_73, 0); -lean_dec(x_75); -lean_ctor_set(x_73, 0, x_66); -return x_73; -} -else -{ -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_73, 1); -lean_inc(x_76); -lean_dec(x_73); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_66); -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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_78 = lean_ctor_get(x_69, 1); -x_79 = lean_ctor_get(x_69, 2); -x_80 = lean_ctor_get(x_69, 3); -x_81 = lean_ctor_get(x_69, 4); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_69); -x_82 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_82, 0, x_67); -lean_ctor_set(x_82, 1, x_78); -lean_ctor_set(x_82, 2, x_79); -lean_ctor_set(x_82, 3, x_80); -lean_ctor_set(x_82, 4, x_81); -x_83 = lean_st_ref_set(x_4, x_82, x_70); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_85 = x_83; -} else { - lean_dec_ref(x_83); - x_85 = lean_box(0); -} -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_85; -} -lean_ctor_set(x_86, 0, x_66); -lean_ctor_set(x_86, 1, x_84); -return x_86; -} -} -} -else -{ -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_8, 0); -x_88 = lean_ctor_get(x_8, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_8); -x_89 = lean_ctor_get(x_87, 0); -lean_inc(x_89); -lean_dec(x_87); -x_90 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__3; -lean_inc(x_89); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = l_Lean_Expr_hasFVar(x_1); -if (x_92 == 0) -{ -uint8_t x_93; -x_93 = l_Lean_Expr_hasMVar(x_1); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_91); -lean_dec(x_1); -x_94 = lean_st_ref_take(x_4, x_88); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -x_98 = lean_ctor_get(x_95, 2); -lean_inc(x_98); -x_99 = lean_ctor_get(x_95, 3); -lean_inc(x_99); -x_100 = lean_ctor_get(x_95, 4); -lean_inc(x_100); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - lean_ctor_release(x_95, 2); - lean_ctor_release(x_95, 3); - lean_ctor_release(x_95, 4); - x_101 = x_95; -} else { - lean_dec_ref(x_95); - x_101 = lean_box(0); -} -if (lean_is_scalar(x_101)) { - x_102 = lean_alloc_ctor(0, 5, 0); -} else { - x_102 = x_101; -} -lean_ctor_set(x_102, 0, x_89); -lean_ctor_set(x_102, 1, x_97); -lean_ctor_set(x_102, 2, x_98); -lean_ctor_set(x_102, 3, x_99); -lean_ctor_set(x_102, 4, x_100); -x_103 = lean_st_ref_set(x_4, x_102, x_96); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; -} else { - lean_dec_ref(x_103); - x_105 = lean_box(0); -} -x_106 = 0; -x_107 = lean_box(x_106); -if (lean_is_scalar(x_105)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_105; -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_104); -return x_108; -} -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; 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_dec(x_89); -x_109 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_2, x_1, x_91); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 0); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = lean_st_ref_take(x_4, x_88); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -x_117 = lean_ctor_get(x_114, 2); -lean_inc(x_117); -x_118 = lean_ctor_get(x_114, 3); -lean_inc(x_118); -x_119 = lean_ctor_get(x_114, 4); -lean_inc(x_119); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - lean_ctor_release(x_114, 2); - lean_ctor_release(x_114, 3); - lean_ctor_release(x_114, 4); - x_120 = x_114; -} else { - lean_dec_ref(x_114); - x_120 = lean_box(0); -} -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(0, 5, 0); -} else { - x_121 = x_120; -} -lean_ctor_set(x_121, 0, x_112); -lean_ctor_set(x_121, 1, x_116); -lean_ctor_set(x_121, 2, x_117); -lean_ctor_set(x_121, 3, x_118); -lean_ctor_set(x_121, 4, x_119); -x_122 = lean_st_ref_set(x_4, x_121, x_115); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_124 = x_122; -} else { - lean_dec_ref(x_122); - x_124 = lean_box(0); -} -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(0, 2, 0); -} else { - x_125 = x_124; -} -lean_ctor_set(x_125, 0, x_111); -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; 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_dec(x_89); -x_126 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_2, x_1, x_91); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 0); -lean_inc(x_128); -lean_dec(x_126); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -lean_dec(x_127); -x_130 = lean_st_ref_take(x_4, x_88); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -x_134 = lean_ctor_get(x_131, 2); -lean_inc(x_134); -x_135 = lean_ctor_get(x_131, 3); -lean_inc(x_135); -x_136 = lean_ctor_get(x_131, 4); -lean_inc(x_136); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - lean_ctor_release(x_131, 2); - lean_ctor_release(x_131, 3); - lean_ctor_release(x_131, 4); - x_137 = x_131; -} else { - lean_dec_ref(x_131); - x_137 = lean_box(0); -} -if (lean_is_scalar(x_137)) { - x_138 = lean_alloc_ctor(0, 5, 0); -} else { - x_138 = x_137; -} -lean_ctor_set(x_138, 0, x_129); -lean_ctor_set(x_138, 1, x_133); -lean_ctor_set(x_138, 2, x_134); -lean_ctor_set(x_138, 3, x_135); -lean_ctor_set(x_138, 4, x_136); -x_139 = lean_st_ref_set(x_4, x_138, x_132); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - x_141 = x_139; -} else { - lean_dec_ref(x_139); - x_141 = lean_box(0); -} -if (lean_is_scalar(x_141)) { - x_142 = lean_alloc_ctor(0, 2, 0); -} else { - x_142 = x_141; -} -lean_ctor_set(x_142, 0, x_128); -lean_ctor_set(x_142, 1, x_140); -return x_142; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; @@ -3751,7 +1821,7 @@ lean_dec(x_10); x_18 = lean_array_uget(x_7, x_9); x_19 = l_Lean_Expr_fvarId_x21(x_18); lean_inc(x_6); -x_20 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(x_6, x_19, x_11, x_12, x_13, x_14, x_15); +x_20 = l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1(x_6, x_19, x_11, x_12, x_13, x_14, x_15); lean_dec(x_19); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) @@ -3898,7 +1968,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -3938,7 +2008,7 @@ lean_dec(x_17); x_20 = lean_array_size(x_1); x_21 = 0; lean_inc_n(x_4, 2); -x_22 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__18(x_1, x_2, x_3, x_4, x_16, x_18, x_1, x_20, x_21, x_4, x_9, x_10, x_11, x_12, x_19); +x_22 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(x_1, x_2, x_3, x_4, x_16, x_18, x_1, x_20, x_21, x_4, x_9, x_10, x_11, x_12, x_19); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_23, 0); @@ -4098,7 +2168,7 @@ x_9 = lean_box(0); x_10 = lean_array_size(x_2); x_11 = 0; x_12 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___closed__1; -x_13 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__19(x_1, x_2, x_8, x_12, x_2, x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7); +x_13 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_2, x_8, x_12, x_2, x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; @@ -4186,208 +2256,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__4(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__7(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__8___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__8(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__6___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__6(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_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__9___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__9(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__5(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_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__3(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__12(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__15___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__15(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__16___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__16(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__14___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__14(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_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__17___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__17(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__13___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__13(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_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__11(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(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); -lean_dec(x_2); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__18___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { size_t x_16; size_t x_17; lean_object* x_18; @@ -4395,7 +2264,7 @@ x_16 = lean_unbox_usize(x_8); lean_dec(x_8); x_17 = lean_unbox_usize(x_9); lean_dec(x_9); -x_18 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -4407,7 +2276,7 @@ lean_dec(x_1); return x_18; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -4415,7 +2284,7 @@ x_14 = lean_unbox_usize(x_6); lean_dec(x_6); x_15 = lean_unbox_usize(x_7); lean_dec(x_7); -x_16 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__19(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -4468,7 +2337,7 @@ lean_dec(x_8); x_16 = lean_array_uget(x_5, x_7); x_17 = l_Lean_Expr_fvarId_x21(x_16); lean_inc(x_4); -x_18 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(x_4, x_17, x_9, x_10, x_11, x_12, x_13); +x_18 = l_Lean_exprDependsOn___at_Lean_Elab_getParamRevDeps___spec__1(x_4, x_17, x_9, x_10, x_11, x_12, x_13); lean_dec(x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); @@ -4786,7 +2655,26 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___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) { +static lean_object* _init_l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); +lean_closure_set(x_1, 0, lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___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; lean_object* x_8; uint8_t x_9; @@ -4824,7 +2712,7 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___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 lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___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; @@ -4862,7 +2750,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__4(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -4895,25 +2783,6 @@ return x_8; } } } -static lean_object* _init_l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); -lean_closure_set(x_1, 0, lean_box(0)); -return x_1; -} -} -LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Structural_getRecArgInfo___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; lean_object* x_8; lean_object* x_9; -x_7 = l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4___closed__1; -x_8 = lean_panic_fn(x_7, x_1); -x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__1() { _start: { @@ -5208,7 +3077,7 @@ static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("\nwhich does not come before the varying parameters and before the indices of the recursion parameter.", 101, 101); +x_1 = lean_mk_string_unchecked("\nwhich is not fixed.", 20, 20); return x_1; } } @@ -5375,10 +3244,9 @@ lean_dec(x_18); lean_dec(x_14); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); x_25 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__2; -x_26 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_25, x_7, x_8, x_9, x_10, x_21); +x_26 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_25, x_7, x_8, x_9, x_10, x_21); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -5406,7 +3274,7 @@ x_31 = l_Lean_binductionOnSuffix; lean_inc(x_30); x_32 = l_Lean_Name_str___override(x_30, x_31); lean_inc(x_32); -x_33 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_32, x_7, x_8, x_9, x_10, x_21); +x_33 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__3(x_32, x_7, x_8, x_9, x_10, x_21); x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); @@ -5427,36 +3295,36 @@ lean_inc(x_30); x_37 = l_Lean_Meta_isInductivePredicate(x_30, x_7, x_8, x_9, x_10, x_35); if (lean_obj_tag(x_37) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_52; uint8_t x_211; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_52; uint8_t x_205; x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_211 = lean_ctor_get_uint8(x_28, sizeof(void*)*6 + 2); -if (x_211 == 0) +x_205 = lean_ctor_get_uint8(x_28, sizeof(void*)*6 + 2); +if (x_205 == 0) { -lean_object* x_212; +lean_object* x_206; lean_dec(x_38); lean_dec(x_34); lean_dec(x_32); -x_212 = lean_box(0); -x_52 = x_212; -goto block_210; +x_206 = lean_box(0); +x_52 = x_206; +goto block_204; } else { -uint8_t x_213; -x_213 = lean_unbox(x_34); +uint8_t x_207; +x_207 = lean_unbox(x_34); lean_dec(x_34); -if (x_213 == 0) +if (x_207 == 0) { -uint8_t x_214; -x_214 = lean_unbox(x_38); +uint8_t x_208; +x_208 = lean_unbox(x_38); lean_dec(x_38); -if (x_214 == 0) +if (x_208 == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +lean_object* x_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_dec(x_36); lean_dec(x_28); lean_dec(x_22); @@ -5464,49 +3332,48 @@ lean_dec(x_18); lean_dec(x_14); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_215 = l_Lean_MessageData_ofName(x_30); -x_216 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; +x_209 = l_Lean_MessageData_ofName(x_30); +x_210 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; +x_211 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_209); +x_212 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__27; +x_213 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +x_214 = l_Lean_MessageData_ofName(x_32); +x_215 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_215, 0, x_213); +lean_ctor_set(x_215, 1, x_214); +x_216 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__29; x_217 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_215); -x_218 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__27; -x_219 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_219, 0, x_217); -lean_ctor_set(x_219, 1, x_218); -x_220 = l_Lean_MessageData_ofName(x_32); -x_221 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_221, 0, x_219); -lean_ctor_set(x_221, 1, x_220); -x_222 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__29; -x_223 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_223, 0, x_221); -lean_ctor_set(x_223, 1, x_222); -x_224 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_223, x_7, x_8, x_9, x_10, x_39); +lean_ctor_set(x_217, 0, x_215); +lean_ctor_set(x_217, 1, x_216); +x_218 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_217, x_7, x_8, x_9, x_10, x_39); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -return x_224; +return x_218; } else { -lean_object* x_225; +lean_object* x_219; lean_dec(x_32); -x_225 = lean_box(0); -x_52 = x_225; -goto block_210; +x_219 = lean_box(0); +x_52 = x_219; +goto block_204; } } else { -lean_object* x_226; +lean_object* x_220; lean_dec(x_38); lean_dec(x_32); -x_226 = lean_box(0); -x_52 = x_226; -goto block_210; +x_220 = lean_box(0); +x_52 = x_220; +goto block_204; } } block_51: @@ -5540,16 +3407,16 @@ x_48 = l_Lean_Elab_Structural_prettyParam___closed__2; x_49 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_49, x_7, x_8, x_9, x_10, x_39); +x_50 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_49, x_7, x_8, x_9, x_10, x_39); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); return x_50; } -block_210: +block_204: { -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_189; uint8_t x_190; +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_183; uint8_t x_184; lean_dec(x_52); x_53 = lean_unsigned_to_nat(0u); x_54 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_14, x_53); @@ -5572,12 +3439,47 @@ x_63 = lean_array_get_size(x_59); x_64 = l_Array_toSubarray___rarg(x_59, x_60, x_63); x_65 = l_Array_ofSubarray___rarg(x_64); lean_dec(x_64); -x_189 = lean_array_get_size(x_65); -x_190 = lean_nat_dec_lt(x_53, x_189); +x_183 = lean_array_get_size(x_65); +x_184 = lean_nat_dec_lt(x_53, x_183); +if (x_184 == 0) +{ +uint8_t x_185; +lean_dec(x_183); +x_185 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_getRecArgInfo___spec__6(x_65, x_53); +if (x_185 == 0) +{ +lean_object* x_186; +lean_dec(x_65); +lean_dec(x_62); +lean_dec(x_28); +lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_186 = lean_box(0); +x_40 = x_186; +goto block_51; +} +else +{ +lean_object* x_187; +lean_dec(x_36); +lean_dec(x_22); +x_187 = lean_box(0); +x_66 = x_187; +goto block_182; +} +} +else +{ +size_t x_188; size_t x_189; uint8_t x_190; +x_188 = 0; +x_189 = lean_usize_of_nat(x_183); +lean_dec(x_183); +x_190 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(x_65, x_188, x_189); if (x_190 == 0) { uint8_t x_191; -lean_dec(x_189); x_191 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_getRecArgInfo___spec__6(x_65, x_53); if (x_191 == 0) { @@ -5588,7 +3490,6 @@ lean_dec(x_28); lean_dec(x_18); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); x_192 = lean_box(0); x_40 = x_192; @@ -5601,48 +3502,12 @@ lean_dec(x_36); lean_dec(x_22); x_193 = lean_box(0); x_66 = x_193; -goto block_188; +goto block_182; } } else { -size_t x_194; size_t x_195; uint8_t x_196; -x_194 = 0; -x_195 = lean_usize_of_nat(x_189); -lean_dec(x_189); -x_196 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(x_65, x_194, x_195); -if (x_196 == 0) -{ -uint8_t x_197; -x_197 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_getRecArgInfo___spec__6(x_65, x_53); -if (x_197 == 0) -{ -lean_object* x_198; -lean_dec(x_65); -lean_dec(x_62); -lean_dec(x_28); -lean_dec(x_18); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_198 = lean_box(0); -x_40 = x_198; -goto block_51; -} -else -{ -lean_object* x_199; -lean_dec(x_36); -lean_dec(x_22); -x_199 = lean_box(0); -x_66 = x_199; -goto block_188; -} -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_dec(x_65); lean_dec(x_62); lean_dec(x_36); @@ -5651,306 +3516,78 @@ lean_dec(x_22); lean_dec(x_18); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_200 = l_Lean_MessageData_ofName(x_30); -x_201 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; +x_194 = l_Lean_MessageData_ofName(x_30); +x_195 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; +x_196 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__25; +x_198 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +x_199 = l_Lean_indentExpr(x_14); +x_200 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +x_201 = l_Lean_Elab_Structural_prettyParam___closed__2; x_202 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_200); -x_203 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__25; -x_204 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_204, 0, x_202); -lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lean_indentExpr(x_14); -x_206 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_206, 0, x_204); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_208 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_208, 0, x_206); -lean_ctor_set(x_208, 1, x_207); -x_209 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_208, x_7, x_8, x_9, x_10, x_39); +lean_ctor_set(x_202, 0, x_200); +lean_ctor_set(x_202, 1, x_201); +x_203 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_202, x_7, x_8, x_9, x_10, x_39); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -return x_209; +return x_203; } } -block_188: +block_182: { -lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_67; lean_object* x_68; lean_dec(x_66); -x_67 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos(x_2, x_65); -x_68 = lean_nat_dec_lt(x_67, x_3); -x_69 = lean_array_get_size(x_2); -if (x_68 == 0) -{ -lean_dec(x_67); -x_70 = x_3; -goto block_187; -} -else -{ -lean_dec(x_3); -x_70 = x_67; -goto block_187; -} -block_187: -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_inc(x_70); -lean_inc(x_2); -x_71 = l_Array_toSubarray___rarg(x_2, x_70, x_69); -x_72 = l_Array_ofSubarray___rarg(x_71); -lean_dec(x_71); +x_67 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_2, x_3); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_73 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f(x_72, x_65, x_7, x_8, x_9, x_10, x_39); -if (lean_obj_tag(x_73) == 0) +x_68 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f(x_67, x_65, x_7, x_8, x_9, x_10, x_39); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_74; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -if (lean_obj_tag(x_74) == 0) +lean_object* x_69; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f(x_72, x_62, x_7, x_8, x_9, x_10, x_75); -lean_dec(x_72); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -if (lean_obj_tag(x_77) == 0) +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f(x_67, x_62, x_7, x_8, x_9, x_10, x_70); +lean_dec(x_67); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +if (lean_obj_tag(x_72) == 0) { -uint8_t x_78; +uint8_t x_73; lean_dec(x_14); -x_78 = !lean_is_exclusive(x_76); -if (x_78 == 0) +x_73 = !lean_is_exclusive(x_71); +if (x_73 == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_79 = lean_ctor_get(x_76, 1); -x_80 = lean_ctor_get(x_76, 0); -lean_dec(x_80); -x_81 = lean_ctor_get(x_28, 3); -lean_inc(x_81); -x_82 = lean_array_mk(x_81); -x_83 = l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__3(x_82, x_30); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_74 = lean_ctor_get(x_71, 1); +x_75 = lean_ctor_get(x_71, 0); +lean_dec(x_75); +x_76 = lean_ctor_get(x_28, 3); +lean_inc(x_76); +x_77 = lean_array_mk(x_76); +x_78 = l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__4(x_77, x_30); lean_dec(x_30); -lean_dec(x_82); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; -lean_free_object(x_76); -lean_dec(x_70); -lean_dec(x_65); -lean_dec(x_62); -lean_dec(x_28); -lean_dec(x_18); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_84 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__9; -x_85 = l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4(x_84, x_7, x_8, x_9, x_10, x_79); -return x_85; -} -else -{ -lean_object* x_86; size_t x_87; size_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_86 = lean_ctor_get(x_83, 0); -lean_inc(x_86); -lean_dec(x_83); -x_87 = lean_array_size(x_65); -x_88 = 0; -x_89 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5(x_2, x_87, x_88, x_65); -lean_dec(x_2); -x_90 = l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(x_28); -x_91 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_18); -lean_ctor_set(x_91, 2, x_62); -x_92 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_92, 0, x_4); -lean_ctor_set(x_92, 1, x_70); -lean_ctor_set(x_92, 2, x_5); -lean_ctor_set(x_92, 3, x_89); -lean_ctor_set(x_92, 4, x_91); -lean_ctor_set(x_92, 5, x_86); -lean_ctor_set(x_76, 0, x_92); -return x_76; -} -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_93 = lean_ctor_get(x_76, 1); -lean_inc(x_93); -lean_dec(x_76); -x_94 = lean_ctor_get(x_28, 3); -lean_inc(x_94); -x_95 = lean_array_mk(x_94); -x_96 = l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__3(x_95, x_30); -lean_dec(x_30); -lean_dec(x_95); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; lean_object* x_98; -lean_dec(x_70); -lean_dec(x_65); -lean_dec(x_62); -lean_dec(x_28); -lean_dec(x_18); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_97 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__9; -x_98 = l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4(x_97, x_7, x_8, x_9, x_10, x_93); -return x_98; -} -else -{ -lean_object* x_99; size_t x_100; size_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_99 = lean_ctor_get(x_96, 0); -lean_inc(x_99); -lean_dec(x_96); -x_100 = lean_array_size(x_65); -x_101 = 0; -x_102 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5(x_2, x_100, x_101, x_65); -lean_dec(x_2); -x_103 = l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(x_28); -x_104 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_18); -lean_ctor_set(x_104, 2, x_62); -x_105 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_105, 0, x_4); -lean_ctor_set(x_105, 1, x_70); -lean_ctor_set(x_105, 2, x_5); -lean_ctor_set(x_105, 3, x_102); -lean_ctor_set(x_105, 4, x_104); -lean_ctor_set(x_105, 5, x_99); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_93); -return x_106; -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; uint8_t x_109; -lean_dec(x_70); -lean_dec(x_65); -lean_dec(x_62); -lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_18); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_107 = lean_ctor_get(x_77, 0); -lean_inc(x_107); lean_dec(x_77); -x_108 = lean_ctor_get(x_76, 1); -lean_inc(x_108); -lean_dec(x_76); -x_109 = !lean_is_exclusive(x_107); -if (x_109 == 0) +if (lean_obj_tag(x_78) == 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; 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_110 = lean_ctor_get(x_107, 0); -x_111 = lean_ctor_get(x_107, 1); -x_112 = l_Lean_indentExpr(x_14); -x_113 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__11; -lean_ctor_set_tag(x_107, 7); -lean_ctor_set(x_107, 1, x_112); -lean_ctor_set(x_107, 0, x_113); -x_114 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__13; -x_115 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_115, 0, x_107); -lean_ctor_set(x_115, 1, x_114); -x_116 = l_Lean_indentExpr(x_110); -x_117 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -x_118 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__15; -x_119 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_indentExpr(x_111); -x_121 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__17; -x_123 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -x_124 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_123, x_7, x_8, x_9, x_10, x_108); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -return x_124; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_125 = lean_ctor_get(x_107, 0); -x_126 = lean_ctor_get(x_107, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_107); -x_127 = l_Lean_indentExpr(x_14); -x_128 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__11; -x_129 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__13; -x_131 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lean_indentExpr(x_125); -x_133 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -x_134 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__15; -x_135 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -x_136 = l_Lean_indentExpr(x_126); -x_137 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -x_138 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__17; -x_139 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_139, x_7, x_8, x_9, x_10, x_108); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -return x_140; -} -} -} -else -{ -lean_object* x_141; lean_object* x_142; uint8_t x_143; -lean_dec(x_72); -lean_dec(x_70); +lean_object* x_79; lean_object* x_80; +lean_free_object(x_71); lean_dec(x_65); lean_dec(x_62); lean_dec(x_28); @@ -5958,144 +3595,341 @@ lean_dec(x_18); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_141 = lean_ctor_get(x_74, 0); -lean_inc(x_141); -lean_dec(x_74); -x_142 = lean_ctor_get(x_73, 1); -lean_inc(x_142); -lean_dec(x_73); -x_143 = !lean_is_exclusive(x_141); -if (x_143 == 0) +x_79 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__9; +x_80 = l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_79, x_7, x_8, x_9, x_10, x_74); +return x_80; +} +else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_144 = lean_ctor_get(x_141, 0); -x_145 = lean_ctor_get(x_141, 1); -x_146 = l_Lean_MessageData_ofName(x_30); -x_147 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; -lean_ctor_set_tag(x_141, 7); -lean_ctor_set(x_141, 1, x_146); -lean_ctor_set(x_141, 0, x_147); -x_148 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__19; -x_149 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_149, 0, x_141); -lean_ctor_set(x_149, 1, x_148); -x_150 = l_Lean_indentExpr(x_14); -x_151 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -x_152 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__21; -x_153 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -x_154 = l_Lean_indentExpr(x_144); -x_155 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -x_156 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__23; -x_157 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_157, 0, x_155); -lean_ctor_set(x_157, 1, x_156); -x_158 = l_Lean_indentExpr(x_145); -x_159 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_161 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set(x_161, 1, x_160); -x_162 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_161, x_7, x_8, x_9, x_10, x_142); +lean_object* x_81; size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -return x_162; +x_81 = lean_ctor_get(x_78, 0); +lean_inc(x_81); +lean_dec(x_78); +x_82 = lean_array_size(x_65); +x_83 = 0; +x_84 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5(x_3, x_82, x_83, x_65); +x_85 = l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(x_28); +x_86 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_18); +lean_ctor_set(x_86, 2, x_62); +x_87 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_87, 0, x_4); +lean_ctor_set(x_87, 1, x_2); +lean_ctor_set(x_87, 2, x_5); +lean_ctor_set(x_87, 3, x_84); +lean_ctor_set(x_87, 4, x_86); +lean_ctor_set(x_87, 5, x_81); +lean_ctor_set(x_71, 0, x_87); +return x_71; +} } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_163 = lean_ctor_get(x_141, 0); -x_164 = lean_ctor_get(x_141, 1); -lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_141); -x_165 = l_Lean_MessageData_ofName(x_30); -x_166 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; -x_167 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_165); -x_168 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__19; -x_169 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_indentExpr(x_14); -x_171 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -x_172 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__21; -x_173 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_173, 0, x_171); -lean_ctor_set(x_173, 1, x_172); -x_174 = l_Lean_indentExpr(x_163); -x_175 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -x_176 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__23; -x_177 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -x_178 = l_Lean_indentExpr(x_164); -x_179 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -x_180 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_181 = lean_alloc_ctor(7, 2, 0); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_88 = lean_ctor_get(x_71, 1); +lean_inc(x_88); +lean_dec(x_71); +x_89 = lean_ctor_get(x_28, 3); +lean_inc(x_89); +x_90 = lean_array_mk(x_89); +x_91 = l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__4(x_90, x_30); +lean_dec(x_30); +lean_dec(x_90); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; +lean_dec(x_65); +lean_dec(x_62); +lean_dec(x_28); +lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_92 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__9; +x_93 = l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_92, x_7, x_8, x_9, x_10, x_88); +return x_93; +} +else +{ +lean_object* x_94; size_t x_95; size_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_94 = lean_ctor_get(x_91, 0); +lean_inc(x_94); +lean_dec(x_91); +x_95 = lean_array_size(x_65); +x_96 = 0; +x_97 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5(x_3, x_95, x_96, x_65); +x_98 = l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(x_28); +x_99 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_18); +lean_ctor_set(x_99, 2, x_62); +x_100 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_100, 0, x_4); +lean_ctor_set(x_100, 1, x_2); +lean_ctor_set(x_100, 2, x_5); +lean_ctor_set(x_100, 3, x_97); +lean_ctor_set(x_100, 4, x_99); +lean_ctor_set(x_100, 5, x_94); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_88); +return x_101; +} +} +} +else +{ +lean_object* x_102; lean_object* x_103; uint8_t x_104; +lean_dec(x_65); +lean_dec(x_62); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_102 = lean_ctor_get(x_72, 0); +lean_inc(x_102); +lean_dec(x_72); +x_103 = lean_ctor_get(x_71, 1); +lean_inc(x_103); +lean_dec(x_71); +x_104 = !lean_is_exclusive(x_102); +if (x_104 == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_105 = lean_ctor_get(x_102, 0); +x_106 = lean_ctor_get(x_102, 1); +x_107 = l_Lean_indentExpr(x_14); +x_108 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__11; +lean_ctor_set_tag(x_102, 7); +lean_ctor_set(x_102, 1, x_107); +lean_ctor_set(x_102, 0, x_108); +x_109 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__13; +x_110 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_110, 0, x_102); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_indentExpr(x_105); +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__15; +x_114 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Lean_indentExpr(x_106); +x_116 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__17; +x_118 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +x_119 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_118, x_7, x_8, x_9, x_10, x_103); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; 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_120 = lean_ctor_get(x_102, 0); +x_121 = lean_ctor_get(x_102, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_102); +x_122 = l_Lean_indentExpr(x_14); +x_123 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__11; +x_124 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +x_125 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__13; +x_126 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +x_127 = l_Lean_indentExpr(x_120); +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_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__15; +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_indentExpr(x_121); +x_132 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__17; +x_134 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_134, x_7, x_8, x_9, x_10, x_103); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_135; +} +} +} +else +{ +lean_object* x_136; lean_object* x_137; uint8_t x_138; +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_62); +lean_dec(x_28); +lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_136 = lean_ctor_get(x_69, 0); +lean_inc(x_136); +lean_dec(x_69); +x_137 = lean_ctor_get(x_68, 1); +lean_inc(x_137); +lean_dec(x_68); +x_138 = !lean_is_exclusive(x_136); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_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; +x_139 = lean_ctor_get(x_136, 0); +x_140 = lean_ctor_get(x_136, 1); +x_141 = l_Lean_MessageData_ofName(x_30); +x_142 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; +lean_ctor_set_tag(x_136, 7); +lean_ctor_set(x_136, 1, x_141); +lean_ctor_set(x_136, 0, x_142); +x_143 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__19; +x_144 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_144, 0, x_136); +lean_ctor_set(x_144, 1, x_143); +x_145 = l_Lean_indentExpr(x_14); +x_146 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +x_147 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__21; +x_148 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +x_149 = l_Lean_indentExpr(x_139); +x_150 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +x_151 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__23; +x_152 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_152, 0, x_150); +lean_ctor_set(x_152, 1, x_151); +x_153 = l_Lean_indentExpr(x_140); +x_154 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +x_155 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_156 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +x_157 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_156, x_7, x_8, x_9, x_10, x_137); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_157; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_158 = lean_ctor_get(x_136, 0); +x_159 = lean_ctor_get(x_136, 1); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_136); +x_160 = l_Lean_MessageData_ofName(x_30); +x_161 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__4; +x_162 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_160); +x_163 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__19; +x_164 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set(x_164, 1, x_163); +x_165 = l_Lean_indentExpr(x_14); +x_166 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_165); +x_167 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__21; +x_168 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +x_169 = l_Lean_indentExpr(x_158); +x_170 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__23; +x_172 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +x_173 = l_Lean_indentExpr(x_159); +x_174 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +x_175 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_176 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set(x_176, 1, x_175); +x_177 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_176, x_7, x_8, x_9, x_10, x_137); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_177; +} +} +} +else +{ +uint8_t x_178; +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_62); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_178 = !lean_is_exclusive(x_68); +if (x_178 == 0) +{ +return x_68; +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_179 = lean_ctor_get(x_68, 0); +x_180 = lean_ctor_get(x_68, 1); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_68); +x_181 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_181, 0, x_179); lean_ctor_set(x_181, 1, x_180); -x_182 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_181, x_7, x_8, x_9, x_10, x_142); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -return x_182; -} -} -} -else -{ -uint8_t x_183; -lean_dec(x_72); -lean_dec(x_70); -lean_dec(x_65); -lean_dec(x_62); -lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_183 = !lean_is_exclusive(x_73); -if (x_183 == 0) -{ -return x_73; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_73, 0); -x_185 = lean_ctor_get(x_73, 1); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_73); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -return x_186; -} +return x_181; } } } @@ -6103,7 +3937,7 @@ return x_186; } else { -uint8_t x_227; +uint8_t x_221; lean_dec(x_36); lean_dec(x_34); lean_dec(x_32); @@ -6118,95 +3952,91 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_227 = !lean_is_exclusive(x_37); -if (x_227 == 0) +x_221 = !lean_is_exclusive(x_37); +if (x_221 == 0) { return x_37; } else { -lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_228 = lean_ctor_get(x_37, 0); -x_229 = lean_ctor_get(x_37, 1); -lean_inc(x_229); -lean_inc(x_228); +lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_222 = lean_ctor_get(x_37, 0); +x_223 = lean_ctor_get(x_37, 1); +lean_inc(x_223); +lean_inc(x_222); lean_dec(x_37); -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_228); -lean_ctor_set(x_230, 1, x_229); -return x_230; +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +return x_224; } } } else { -lean_object* x_231; lean_object* x_232; +lean_object* x_225; lean_object* x_226; lean_dec(x_27); lean_dec(x_22); lean_dec(x_18); lean_dec(x_14); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_231 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__2; -x_232 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_231, x_7, x_8, x_9, x_10, x_21); +x_225 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__2; +x_226 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_225, x_7, x_8, x_9, x_10, x_21); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -return x_232; +return x_226; } } } else { -lean_object* x_233; lean_object* x_234; +lean_object* x_227; lean_object* x_228; lean_dec(x_16); lean_dec(x_14); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_233 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__2; -x_234 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_233, x_7, x_8, x_9, x_10, x_15); +x_227 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1___closed__2; +x_228 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_227, x_7, x_8, x_9, x_10, x_15); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -return x_234; +return x_228; } } else { -uint8_t x_235; +uint8_t x_229; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_235 = !lean_is_exclusive(x_13); -if (x_235 == 0) +x_229 = !lean_is_exclusive(x_13); +if (x_229 == 0) { return x_13; } else { -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_13, 0); -x_237 = lean_ctor_get(x_13, 1); -lean_inc(x_237); -lean_inc(x_236); +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_13, 0); +x_231 = lean_ctor_get(x_13, 1); +lean_inc(x_231); +lean_inc(x_230); lean_dec(x_13); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_236); -lean_ctor_set(x_238, 1, x_237); -return x_238; +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +return x_232; } } } @@ -6249,7 +4079,7 @@ if (x_15 == 0) { lean_object* x_16; lean_object* x_17; x_16 = lean_box(0); -x_17 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1(x_13, x_1, x_3, x_4, x_2, x_16, x_6, x_7, x_8, x_9, x_14); +x_17 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1(x_13, x_3, x_1, x_4, x_2, x_16, x_6, x_7, x_8, x_9, x_14); lean_dec(x_13); return x_17; } @@ -6260,7 +4090,6 @@ lean_dec(x_13); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_18 = l_Lean_Elab_Structural_getRecArgInfo___lambda__2___closed__2; x_19 = l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(x_18, x_6, x_7, x_8, x_9, x_14); lean_dec(x_9); @@ -6297,7 +4126,6 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_24 = !lean_is_exclusive(x_12); if (x_24 == 0) { @@ -6323,41 +4151,46 @@ static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("the index #", 11, 11); +x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); return x_1; } } static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Structural_getRecArgInfo___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fixedParamPerm.size = xs.size\n ", 32, 32); +return x_1; } } static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" exceeds ", 9, 9); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Structural_getRecArgInfo___closed__1; +x_2 = l_Lean_Elab_Structural_getRecArgInfo___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Structural_getRecArgInfo___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_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_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__1; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__2; +x_3 = lean_unsigned_to_nat(63u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Elab_Structural_getRecArgInfo___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(", the number of parameters", 26, 26); +x_1 = lean_mk_string_unchecked("the index #", 11, 11); return x_1; } } @@ -6374,7 +4207,7 @@ static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__7() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("it is unchanged in the recursive calls", 38, 38); +x_1 = lean_mk_string_unchecked(" exceeds ", 9, 9); return x_1; } } @@ -6387,103 +4220,153 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", the number of parameters", 26, 26); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Structural_getRecArgInfo___closed__9; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("it is unchanged in the recursive calls", 38, 38); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Structural_getRecArgInfo___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Structural_getRecArgInfo___closed__11; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfo(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; -x_10 = lean_array_get_size(x_3); -x_11 = lean_nat_dec_lt(x_4, x_10); -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; 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_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_4, x_12); -lean_dec(x_4); -x_14 = l___private_Init_Data_Repr_0__Nat_reprFast(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); -x_17 = l_Lean_Elab_Structural_getRecArgInfo___closed__2; -x_18 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Elab_Structural_getRecArgInfo___closed__4; -x_20 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = l___private_Init_Data_Repr_0__Nat_reprFast(x_10); -x_22 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = l_Lean_MessageData_ofFormat(x_22); -x_24 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_24, 0, x_20); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_Elab_Structural_getRecArgInfo___closed__6; -x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_26, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_27; -} -else -{ -uint8_t x_28; +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_get_size(x_2); +x_11 = lean_array_get_size(x_3); +x_12 = lean_nat_dec_eq(x_10, x_11); lean_dec(x_10); -x_28 = lean_nat_dec_lt(x_4, x_2); -if (x_28 == 0) +if (x_12 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Structural_getRecArgInfo___lambda__2(x_3, x_4, x_2, x_1, x_29, x_5, x_6, x_7, x_8, x_9); -return x_30; +lean_object* x_13; lean_object* x_14; +lean_dec(x_11); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_Structural_getRecArgInfo___closed__4; +x_14 = l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_13, x_5, x_6, x_7, x_8, x_9); +return x_14; } else { -lean_object* x_31; lean_object* x_32; uint8_t x_33; -lean_dec(x_4); -lean_dec(x_3); +uint8_t x_15; +x_15 = lean_nat_dec_lt(x_4, x_11); +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; 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_dec(x_2); lean_dec(x_1); -x_31 = l_Lean_Elab_Structural_getRecArgInfo___closed__8; -x_32 = l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(x_31, x_5, x_6, x_7, x_8, x_9); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_4, x_16); +lean_dec(x_4); +x_18 = l___private_Init_Data_Repr_0__Nat_reprFast(x_17); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_MessageData_ofFormat(x_19); +x_21 = l_Lean_Elab_Structural_getRecArgInfo___closed__6; +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Lean_Elab_Structural_getRecArgInfo___closed__8; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l___private_Init_Data_Repr_0__Nat_reprFast(x_11); +x_26 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = l_Lean_MessageData_ofFormat(x_26); +x_28 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Structural_getRecArgInfo___closed__10; +x_30 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_30, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -return x_32; +return x_31; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_32); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); +uint8_t x_32; +lean_dec(x_11); +x_32 = l_Lean_Elab_FixedParamPerm_isFixed(x_2, x_4); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Structural_getRecArgInfo___lambda__2(x_3, x_4, x_2, x_1, x_33, x_5, x_6, x_7, x_8, x_9); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_35 = l_Lean_Elab_Structural_getRecArgInfo___closed__12; +x_36 = l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(x_35, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ return x_36; } +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_36); +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; } } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___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: { lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___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_3); @@ -6491,11 +4374,11 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___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_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___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: { lean_object* x_7; -x_7 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___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_3); @@ -6503,11 +4386,11 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__3(x_1, x_2); +x_3 = l_Array_idxOf_x3f___at_Lean_Elab_Structural_getRecArgInfo___spec__4(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -6553,6 +4436,7 @@ _start: lean_object* x_12; x_12 = l_Lean_Elab_Structural_getRecArgInfo___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_1); return x_12; } @@ -6563,9 +4447,19 @@ _start: lean_object* x_11; x_11 = l_Lean_Elab_Structural_getRecArgInfo___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_5); +lean_dec(x_1); return x_11; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Structural_getRecArgInfo(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; +} +} static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__1() { _start: { @@ -6627,553 +4521,526 @@ x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_6, 1); -x_17 = lean_nat_dec_lt(x_8, x_16); -if (x_17 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_5, 1); +x_16 = lean_nat_dec_lt(x_7, x_15); +if (x_16 == 0) { -lean_object* x_18; -lean_dec(x_14); +lean_object* x_17; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_7); -lean_ctor_set(x_18, 1, x_15); -return x_18; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_6); +lean_ctor_set(x_17, 1, x_14); +return x_17; } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_7); -if (x_19 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_6); +if (x_18 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_7, 0); -x_21 = lean_ctor_get(x_7, 1); -lean_inc(x_2); -x_22 = l_Array_append___rarg(x_2, x_3); -lean_inc(x_14); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_6, 0); +x_20 = lean_ctor_get(x_6, 1); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_8); -lean_inc(x_22); -lean_inc(x_4); +lean_inc(x_10); +lean_inc(x_7); +lean_inc(x_2); lean_inc(x_1); -x_23 = l_Lean_Elab_Structural_getRecArgInfo(x_1, x_4, x_22, x_8, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_23) == 0) +x_21 = l_Lean_Elab_Structural_getRecArgInfo(x_1, x_2, x_3, x_7, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_array_push(x_20, x_24); -lean_ctor_set(x_7, 0, x_26); -x_27 = lean_ctor_get(x_6, 2); -x_28 = lean_nat_add(x_8, x_27); -lean_dec(x_8); -x_8 = x_28; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +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_array_push(x_19, x_22); +lean_ctor_set(x_6, 0, x_24); +x_25 = lean_ctor_get(x_5, 2); +x_26 = lean_nat_add(x_7, x_25); +lean_dec(x_7); +x_7 = x_26; +x_8 = lean_box(0); x_9 = lean_box(0); -x_10 = lean_box(0); -x_15 = x_25; +x_14 = x_23; goto _start; } else { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_23); -if (x_30 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) { -lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_31 = lean_ctor_get(x_23, 0); -x_32 = lean_ctor_get(x_23, 1); -x_33 = l_Lean_Exception_isInterrupt(x_31); -if (x_33 == 0) +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +x_31 = l_Lean_Exception_isInterrupt(x_29); +if (x_31 == 0) { -uint8_t x_34; -x_34 = l_Lean_Exception_isRuntime(x_31); -if (x_34 == 0) +uint8_t x_32; +x_32 = l_Lean_Exception_isRuntime(x_29); +if (x_32 == 0) { -lean_object* x_35; -lean_free_object(x_23); -lean_inc(x_11); -x_35 = l_Lean_Elab_Structural_prettyParam(x_22, x_8, x_11, x_12, x_13, x_14, x_32); -lean_dec(x_22); -if (lean_obj_tag(x_35) == 0) +lean_object* x_33; +lean_free_object(x_21); +lean_inc(x_10); +x_33 = l_Lean_Elab_Structural_prettyParam(x_3, x_7, x_10, x_11, x_12, x_13, x_30); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 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; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__2; +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; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__2; +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +x_38 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___spec__1___closed__2; x_39 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -x_40 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___spec__1___closed__2; +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +lean_inc(x_1); +x_40 = l_Lean_MessageData_ofName(x_1); x_41 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); -lean_inc(x_1); -x_42 = l_Lean_MessageData_ofName(x_1); +x_42 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__4; x_43 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_43, 0, x_41); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__4; -x_45 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Exception_toMessageData(x_31); -x_47 = l_Lean_indentD(x_46); -x_48 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_47); +x_44 = l_Lean_Exception_toMessageData(x_29); +x_45 = l_Lean_indentD(x_44); +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_20); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__7; x_49 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_49, 0, x_21); +lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__7; -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_7, 1, x_51); -x_52 = lean_ctor_get(x_6, 2); -x_53 = lean_nat_add(x_8, x_52); -lean_dec(x_8); -x_8 = x_53; +lean_ctor_set(x_6, 1, x_49); +x_50 = lean_ctor_get(x_5, 2); +x_51 = lean_nat_add(x_7, x_50); +lean_dec(x_7); +x_7 = x_51; +x_8 = lean_box(0); x_9 = lean_box(0); -x_10 = lean_box(0); -x_15 = x_37; +x_14 = x_35; goto _start; } else { -uint8_t x_55; -lean_dec(x_31); -lean_free_object(x_7); -lean_dec(x_21); +uint8_t x_53; +lean_dec(x_29); +lean_free_object(x_6); lean_dec(x_20); -lean_dec(x_14); +lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_55 = !lean_is_exclusive(x_35); -if (x_55 == 0) +x_53 = !lean_is_exclusive(x_33); +if (x_53 == 0) { -return x_35; +return x_33; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_35, 0); -x_57 = lean_ctor_get(x_35, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_33, 0); +x_55 = lean_ctor_get(x_33, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_33); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +lean_free_object(x_6); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_21; +} +} +else +{ +lean_free_object(x_6); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_21; +} +} +else +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_ctor_get(x_21, 0); +x_58 = lean_ctor_get(x_21, 1); +lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_35); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -lean_dec(x_22); -lean_free_object(x_7); lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_23; -} -} -else +x_59 = l_Lean_Exception_isInterrupt(x_57); +if (x_59 == 0) { -lean_dec(x_22); -lean_free_object(x_7); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_23; -} -} -else +uint8_t x_60; +x_60 = l_Lean_Exception_isRuntime(x_57); +if (x_60 == 0) { -lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_59 = lean_ctor_get(x_23, 0); -x_60 = lean_ctor_get(x_23, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_23); -x_61 = l_Lean_Exception_isInterrupt(x_59); -if (x_61 == 0) +lean_object* x_61; +lean_inc(x_10); +x_61 = l_Lean_Elab_Structural_prettyParam(x_3, x_7, x_10, x_11, x_12, x_13, x_58); +if (lean_obj_tag(x_61) == 0) { -uint8_t x_62; -x_62 = l_Lean_Exception_isRuntime(x_59); -if (x_62 == 0) -{ -lean_object* x_63; -lean_inc(x_11); -x_63 = l_Lean_Elab_Structural_prettyParam(x_22, x_8, x_11, x_12, x_13, x_14, x_60); -lean_dec(x_22); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__2; +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; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__2; +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_62); +x_66 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___spec__1___closed__2; x_67 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_64); -x_68 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___spec__1___closed__2; +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +lean_inc(x_1); +x_68 = l_Lean_MessageData_ofName(x_1); x_69 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_69, 0, x_67); lean_ctor_set(x_69, 1, x_68); -lean_inc(x_1); -x_70 = l_Lean_MessageData_ofName(x_1); +x_70 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__4; x_71 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__4; -x_73 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Exception_toMessageData(x_59); -x_75 = l_Lean_indentD(x_74); -x_76 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_75); +x_72 = l_Lean_Exception_toMessageData(x_57); +x_73 = l_Lean_indentD(x_72); +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_71); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_20); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__7; x_77 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_77, 0, x_21); +lean_ctor_set(x_77, 0, x_75); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__7; -x_79 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_7, 1, x_79); -x_80 = lean_ctor_get(x_6, 2); -x_81 = lean_nat_add(x_8, x_80); -lean_dec(x_8); -x_8 = x_81; +lean_ctor_set(x_6, 1, x_77); +x_78 = lean_ctor_get(x_5, 2); +x_79 = lean_nat_add(x_7, x_78); +lean_dec(x_7); +x_7 = x_79; +x_8 = lean_box(0); x_9 = lean_box(0); -x_10 = lean_box(0); -x_15 = x_65; +x_14 = x_63; goto _start; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_59); -lean_free_object(x_7); -lean_dec(x_21); +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_57); +lean_free_object(x_6); lean_dec(x_20); -lean_dec(x_14); +lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_83 = lean_ctor_get(x_63, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_63, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_85 = x_63; +x_81 = lean_ctor_get(x_61, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_61, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_83 = x_61; } else { - lean_dec_ref(x_63); - x_85 = lean_box(0); + lean_dec_ref(x_61); + x_83 = lean_box(0); } -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(1, 2, 0); } else { - x_86 = x_85; + x_84 = x_83; } -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_84); +lean_ctor_set(x_84, 0, x_81); +lean_ctor_set(x_84, 1, x_82); +return x_84; +} +} +else +{ +lean_object* x_85; +lean_free_object(x_6); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_57); +lean_ctor_set(x_85, 1, x_58); +return x_85; +} +} +else +{ +lean_object* x_86; +lean_free_object(x_6); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_57); +lean_ctor_set(x_86, 1, x_58); return x_86; } } -else -{ -lean_object* x_87; -lean_dec(x_22); -lean_free_object(x_7); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_59); -lean_ctor_set(x_87, 1, x_60); -return x_87; } } else { -lean_object* x_88; -lean_dec(x_22); -lean_free_object(x_7); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_59); -lean_ctor_set(x_88, 1, x_60); -return x_88; -} -} -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_89 = lean_ctor_get(x_7, 0); -x_90 = lean_ctor_get(x_7, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_7); -lean_inc(x_2); -x_91 = l_Array_append___rarg(x_2, x_3); -lean_inc(x_14); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_6, 0); +x_88 = lean_ctor_get(x_6, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_6); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_8); +lean_inc(x_10); +lean_inc(x_7); +lean_inc(x_2); +lean_inc(x_1); +x_89 = l_Lean_Elab_Structural_getRecArgInfo(x_1, x_2, x_3, x_7, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_89) == 0) +{ +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_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); lean_inc(x_91); -lean_inc(x_4); -lean_inc(x_1); -x_92 = l_Lean_Elab_Structural_getRecArgInfo(x_1, x_4, x_91, x_8, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_91); -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_array_push(x_89, x_93); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_90); -x_97 = lean_ctor_get(x_6, 2); -x_98 = lean_nat_add(x_8, x_97); -lean_dec(x_8); -x_7 = x_96; -x_8 = x_98; +lean_dec(x_89); +x_92 = lean_array_push(x_87, x_90); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_88); +x_94 = lean_ctor_get(x_5, 2); +x_95 = lean_nat_add(x_7, x_94); +lean_dec(x_7); +x_6 = x_93; +x_7 = x_95; +x_8 = lean_box(0); x_9 = lean_box(0); -x_10 = lean_box(0); -x_15 = x_94; +x_14 = x_91; goto _start; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = lean_ctor_get(x_92, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_92, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - x_102 = x_92; +lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_97 = lean_ctor_get(x_89, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_89, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_99 = x_89; } else { - lean_dec_ref(x_92); - x_102 = lean_box(0); + lean_dec_ref(x_89); + x_99 = lean_box(0); } -x_103 = l_Lean_Exception_isInterrupt(x_100); -if (x_103 == 0) +x_100 = l_Lean_Exception_isInterrupt(x_97); +if (x_100 == 0) { -uint8_t x_104; -x_104 = l_Lean_Exception_isRuntime(x_100); -if (x_104 == 0) +uint8_t x_101; +x_101 = l_Lean_Exception_isRuntime(x_97); +if (x_101 == 0) { -lean_object* x_105; +lean_object* x_102; +lean_dec(x_99); +lean_inc(x_10); +x_102 = l_Lean_Elab_Structural_prettyParam(x_3, x_7, x_10, x_11, x_12, x_13, x_98); +if (lean_obj_tag(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; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); lean_dec(x_102); -lean_inc(x_11); -x_105 = l_Lean_Elab_Structural_prettyParam(x_91, x_8, x_11, x_12, x_13, x_14, x_101); -lean_dec(x_91); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__2; -x_109 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_106); -x_110 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___spec__1___closed__2; -x_111 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); +x_105 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__2; +x_106 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_103); +x_107 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_prettyParameterSet___spec__1___closed__2; +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); lean_inc(x_1); -x_112 = l_Lean_MessageData_ofName(x_1); -x_113 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__4; +x_109 = l_Lean_MessageData_ofName(x_1); +x_110 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__4; +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Exception_toMessageData(x_97); +x_114 = l_Lean_indentD(x_113); x_115 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 0, x_112); lean_ctor_set(x_115, 1, x_114); -x_116 = l_Lean_Exception_toMessageData(x_100); -x_117 = l_Lean_indentD(x_116); +x_116 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_116, 0, x_88); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__7; x_118 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 0, x_116); lean_ctor_set(x_118, 1, x_117); -x_119 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_119, 0, x_90); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_87); lean_ctor_set(x_119, 1, x_118); -x_120 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__7; -x_121 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_89); -lean_ctor_set(x_122, 1, x_121); -x_123 = lean_ctor_get(x_6, 2); -x_124 = lean_nat_add(x_8, x_123); -lean_dec(x_8); -x_7 = x_122; -x_8 = x_124; +x_120 = lean_ctor_get(x_5, 2); +x_121 = lean_nat_add(x_7, x_120); +lean_dec(x_7); +x_6 = x_119; +x_7 = x_121; +x_8 = lean_box(0); x_9 = lean_box(0); -x_10 = lean_box(0); -x_15 = x_107; +x_14 = x_104; goto _start; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -lean_dec(x_100); -lean_dec(x_90); -lean_dec(x_89); -lean_dec(x_14); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_97); +lean_dec(x_88); +lean_dec(x_87); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_126 = lean_ctor_get(x_105, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_105, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_128 = x_105; +x_123 = lean_ctor_get(x_102, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_102, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_125 = x_102; } else { - lean_dec_ref(x_105); - x_128 = lean_box(0); + lean_dec_ref(x_102); + x_125 = lean_box(0); } -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); } else { - x_129 = x_128; + x_126 = x_125; } -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_127); -return x_129; +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +return x_126; } } else { -lean_object* x_130; -lean_dec(x_91); -lean_dec(x_90); -lean_dec(x_89); -lean_dec(x_14); +lean_object* x_127; +lean_dec(x_88); +lean_dec(x_87); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -if (lean_is_scalar(x_102)) { - x_130 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_99)) { + x_127 = lean_alloc_ctor(1, 2, 0); } else { - x_130 = x_102; + x_127 = x_99; } -lean_ctor_set(x_130, 0, x_100); -lean_ctor_set(x_130, 1, x_101); -return x_130; +lean_ctor_set(x_127, 0, x_97); +lean_ctor_set(x_127, 1, x_98); +return x_127; } } else { -lean_object* x_131; -lean_dec(x_91); -lean_dec(x_90); -lean_dec(x_89); -lean_dec(x_14); +lean_object* x_128; +lean_dec(x_88); +lean_dec(x_87); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -if (lean_is_scalar(x_102)) { - x_131 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_99)) { + x_128 = lean_alloc_ctor(1, 2, 0); } else { - x_131 = x_102; + x_128 = x_99; } -lean_ctor_set(x_131, 0, x_100); -lean_ctor_set(x_131, 1, x_101); -return x_131; +lean_ctor_set(x_128, 0, x_97); +lean_ctor_set(x_128, 1, x_98); +return x_128; } } } @@ -7204,43 +5071,41 @@ lean_inc(x_5); x_10 = l_Lean_Elab_TerminationMeasure_structuralArg(x_1, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(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_11; lean_object* x_12; lean_object* x_13; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -x_13 = lean_array_get_size(x_2); -x_14 = l_Array_append___rarg(x_2, x_3); -x_15 = l_Lean_Elab_Structural_getRecArgInfo(x_4, x_13, x_14, x_11, x_5, x_6, x_7, x_8, x_12); -return x_15; +x_13 = l_Lean_Elab_Structural_getRecArgInfo(x_2, x_3, x_4, x_11, x_5, x_6, x_7, x_8, x_12); +return x_13; } else { -uint8_t x_16; +uint8_t x_14; 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_16 = !lean_is_exclusive(x_10); -if (x_16 == 0) +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) { return x_10; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_10, 0); -x_18 = lean_ctor_get(x_10, 1); -lean_inc(x_18); -lean_inc(x_17); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); lean_dec(x_10); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } } @@ -7350,16 +5215,15 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_getRecArgInfos___lambda_ return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___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_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___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) { _start: { if (lean_obj_tag(x_1) == 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; -x_11 = lean_array_get_size(x_2); -x_12 = lean_array_get_size(x_4); -x_13 = lean_nat_add(x_11, x_12); -lean_dec(x_12); +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_inc(x_2); +x_12 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_2, x_3, x_5); +x_13 = lean_array_get_size(x_12); x_14 = lean_unsigned_to_nat(0u); x_15 = lean_unsigned_to_nat(1u); x_16 = lean_alloc_ctor(0, 3, 0); @@ -7367,13 +5231,13 @@ lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_13); lean_ctor_set(x_16, 2, x_15); x_17 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__1; +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_18 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1(x_3, x_2, x_4, x_11, x_16, x_16, x_17, x_14, lean_box(0), lean_box(0), x_6, x_7, x_8, x_9, x_10); +x_18 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1(x_4, x_2, x_12, x_16, x_16, x_17, x_14, lean_box(0), lean_box(0), x_7, x_8, x_9, x_10, x_11); lean_dec(x_16); -lean_dec(x_4); +lean_dec(x_12); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; uint8_t x_21; @@ -7389,7 +5253,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean x_22 = lean_ctor_get(x_19, 0); x_23 = lean_ctor_get(x_19, 1); x_24 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__5; -x_25 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_24, x_6, x_7, x_8, x_9, x_20); +x_25 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_24, x_7, x_8, x_9, x_10, x_20); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_unbox(x_26); @@ -7402,11 +5266,11 @@ x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); lean_dec(x_25); x_29 = lean_box(0); -x_30 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_22, x_23, x_29, x_6, x_7, x_8, x_9, x_28); +x_30 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_22, x_23, x_29, x_7, x_8, x_9, x_10, x_28); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); return x_30; } else @@ -7428,17 +5292,17 @@ x_35 = l_Lean_Elab_Structural_prettyParam___closed__2; lean_ctor_set_tag(x_19, 7); lean_ctor_set(x_19, 1, x_35); lean_ctor_set(x_19, 0, x_25); -x_36 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_24, x_19, x_6, x_7, x_8, x_9, x_32); +x_36 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_24, x_19, x_7, x_8, x_9, x_10, x_32); x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); lean_dec(x_36); -x_39 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_22, x_23, x_37, x_6, x_7, x_8, x_9, x_38); +x_39 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_22, x_23, x_37, x_7, x_8, x_9, x_10, x_38); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_37); return x_39; } @@ -7457,17 +5321,17 @@ x_43 = l_Lean_Elab_Structural_prettyParam___closed__2; lean_ctor_set_tag(x_19, 7); lean_ctor_set(x_19, 1, x_43); lean_ctor_set(x_19, 0, x_42); -x_44 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_24, x_19, x_6, x_7, x_8, x_9, x_40); +x_44 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_24, x_19, x_7, x_8, x_9, x_10, x_40); 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_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_22, x_23, x_45, x_6, x_7, x_8, x_9, x_46); +x_47 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_22, x_23, x_45, x_7, x_8, x_9, x_10, x_46); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_45); return x_47; } @@ -7482,7 +5346,7 @@ lean_inc(x_49); lean_inc(x_48); lean_dec(x_19); x_50 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__5; -x_51 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_50, x_6, x_7, x_8, x_9, x_20); +x_51 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_50, x_7, x_8, x_9, x_10, x_20); x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); x_53 = lean_unbox(x_52); @@ -7494,11 +5358,11 @@ x_54 = lean_ctor_get(x_51, 1); lean_inc(x_54); lean_dec(x_51); x_55 = lean_box(0); -x_56 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_48, x_49, x_55, x_6, x_7, x_8, x_9, x_54); +x_56 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_48, x_49, x_55, x_7, x_8, x_9, x_10, x_54); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); return x_56; } else @@ -7528,17 +5392,17 @@ x_61 = l_Lean_Elab_Structural_prettyParam___closed__2; x_62 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_62, 0, x_60); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_50, x_62, x_6, x_7, x_8, x_9, x_57); +x_63 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_50, x_62, x_7, x_8, x_9, x_10, x_57); x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); lean_dec(x_63); -x_66 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_48, x_49, x_64, x_6, x_7, x_8, x_9, x_65); +x_66 = l_Lean_Elab_Structural_getRecArgInfos___lambda__1(x_48, x_49, x_64, x_7, x_8, x_9, x_10, x_65); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_64); return x_66; } @@ -7547,10 +5411,10 @@ return x_66; else { uint8_t x_67; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); x_67 = !lean_is_exclusive(x_18); if (x_67 == 0) { @@ -7573,112 +5437,115 @@ return x_70; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; x_71 = lean_ctor_get(x_1, 0); lean_inc(x_71); lean_dec(x_1); x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -x_73 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_getRecArgInfos___lambda__2___boxed), 9, 4); -lean_closure_set(x_73, 0, x_71); -lean_closure_set(x_73, 1, x_2); -lean_closure_set(x_73, 2, x_4); -lean_closure_set(x_73, 3, x_3); -x_74 = !lean_is_exclusive(x_8); -if (x_74 == 0) +lean_inc(x_2); +x_73 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_2, x_3, x_5); +x_74 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_getRecArgInfos___lambda__2___boxed), 9, 4); +lean_closure_set(x_74, 0, x_71); +lean_closure_set(x_74, 1, x_4); +lean_closure_set(x_74, 2, x_2); +lean_closure_set(x_74, 3, x_73); +x_75 = !lean_is_exclusive(x_9); +if (x_75 == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_75 = lean_ctor_get(x_8, 5); -x_76 = l_Lean_replaceRef(x_72, x_75); -lean_dec(x_75); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_76 = lean_ctor_get(x_9, 5); +x_77 = l_Lean_replaceRef(x_72, x_76); +lean_dec(x_76); lean_dec(x_72); -lean_ctor_set(x_8, 5, x_76); -x_77 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__8; -x_78 = l_Lean_Meta_mapErrorImp___rarg(x_73, x_77, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_78) == 0) +lean_ctor_set(x_9, 5, x_77); +x_78 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__8; +x_79 = l_Lean_Meta_mapErrorImp___rarg(x_74, x_78, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_79) == 0) { -uint8_t x_79; -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) +uint8_t x_80; +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 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; -x_80 = lean_ctor_get(x_78, 0); -x_81 = lean_box(0); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_array_mk(x_82); -x_84 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_78, 0, x_85); -return x_78; +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_81 = lean_ctor_get(x_79, 0); +x_82 = lean_box(0); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_mk(x_83); +x_85 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_79, 0, x_86); +return x_79; } 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; -x_86 = lean_ctor_get(x_78, 0); -x_87 = lean_ctor_get(x_78, 1); +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_87 = lean_ctor_get(x_79, 0); +x_88 = lean_ctor_get(x_79, 1); +lean_inc(x_88); lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_78); -x_88 = lean_box(0); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_mk(x_89); -x_91 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); +lean_dec(x_79); +x_89 = lean_box(0); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_87); +lean_ctor_set(x_90, 1, x_89); +x_91 = lean_array_mk(x_90); +x_92 = l_Lean_Elab_Structural_prettyParam___closed__2; x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_87); -return x_93; +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_88); +return x_94; } } else { -uint8_t x_94; -x_94 = !lean_is_exclusive(x_78); -if (x_94 == 0) +uint8_t x_95; +x_95 = !lean_is_exclusive(x_79); +if (x_95 == 0) { -return x_78; +return x_79; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_78, 0); -x_96 = lean_ctor_get(x_78, 1); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_79, 0); +x_97 = lean_ctor_get(x_79, 1); +lean_inc(x_97); lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_78); -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; +lean_dec(x_79); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } else { -lean_object* x_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; uint8_t x_109; lean_object* x_110; uint8_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_98 = lean_ctor_get(x_8, 0); -x_99 = lean_ctor_get(x_8, 1); -x_100 = lean_ctor_get(x_8, 2); -x_101 = lean_ctor_get(x_8, 3); -x_102 = lean_ctor_get(x_8, 4); -x_103 = lean_ctor_get(x_8, 5); -x_104 = lean_ctor_get(x_8, 6); -x_105 = lean_ctor_get(x_8, 7); -x_106 = lean_ctor_get(x_8, 8); -x_107 = lean_ctor_get(x_8, 9); -x_108 = lean_ctor_get(x_8, 10); -x_109 = lean_ctor_get_uint8(x_8, sizeof(void*)*12); -x_110 = lean_ctor_get(x_8, 11); -x_111 = lean_ctor_get_uint8(x_8, sizeof(void*)*12 + 1); -lean_inc(x_110); +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; uint8_t 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; +x_99 = lean_ctor_get(x_9, 0); +x_100 = lean_ctor_get(x_9, 1); +x_101 = lean_ctor_get(x_9, 2); +x_102 = lean_ctor_get(x_9, 3); +x_103 = lean_ctor_get(x_9, 4); +x_104 = lean_ctor_get(x_9, 5); +x_105 = lean_ctor_get(x_9, 6); +x_106 = lean_ctor_get(x_9, 7); +x_107 = lean_ctor_get(x_9, 8); +x_108 = lean_ctor_get(x_9, 9); +x_109 = lean_ctor_get(x_9, 10); +x_110 = lean_ctor_get_uint8(x_9, sizeof(void*)*12); +x_111 = lean_ctor_get(x_9, 11); +x_112 = lean_ctor_get_uint8(x_9, sizeof(void*)*12 + 1); +lean_inc(x_111); +lean_inc(x_109); lean_inc(x_108); lean_inc(x_107); lean_inc(x_106); @@ -7689,111 +5556,111 @@ lean_inc(x_102); lean_inc(x_101); lean_inc(x_100); lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_8); -x_112 = l_Lean_replaceRef(x_72, x_103); -lean_dec(x_103); +lean_dec(x_9); +x_113 = l_Lean_replaceRef(x_72, x_104); +lean_dec(x_104); lean_dec(x_72); -x_113 = lean_alloc_ctor(0, 12, 2); -lean_ctor_set(x_113, 0, x_98); -lean_ctor_set(x_113, 1, x_99); -lean_ctor_set(x_113, 2, x_100); -lean_ctor_set(x_113, 3, x_101); -lean_ctor_set(x_113, 4, x_102); -lean_ctor_set(x_113, 5, x_112); -lean_ctor_set(x_113, 6, x_104); -lean_ctor_set(x_113, 7, x_105); -lean_ctor_set(x_113, 8, x_106); -lean_ctor_set(x_113, 9, x_107); -lean_ctor_set(x_113, 10, x_108); -lean_ctor_set(x_113, 11, x_110); -lean_ctor_set_uint8(x_113, sizeof(void*)*12, x_109); -lean_ctor_set_uint8(x_113, sizeof(void*)*12 + 1, x_111); -x_114 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__8; -x_115 = l_Lean_Meta_mapErrorImp___rarg(x_73, x_114, x_6, x_7, x_113, x_9, x_10); -if (lean_obj_tag(x_115) == 0) +x_114 = lean_alloc_ctor(0, 12, 2); +lean_ctor_set(x_114, 0, x_99); +lean_ctor_set(x_114, 1, x_100); +lean_ctor_set(x_114, 2, x_101); +lean_ctor_set(x_114, 3, x_102); +lean_ctor_set(x_114, 4, x_103); +lean_ctor_set(x_114, 5, x_113); +lean_ctor_set(x_114, 6, x_105); +lean_ctor_set(x_114, 7, x_106); +lean_ctor_set(x_114, 8, x_107); +lean_ctor_set(x_114, 9, x_108); +lean_ctor_set(x_114, 10, x_109); +lean_ctor_set(x_114, 11, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*12, x_110); +lean_ctor_set_uint8(x_114, sizeof(void*)*12 + 1, x_112); +x_115 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__8; +x_116 = l_Lean_Meta_mapErrorImp___rarg(x_74, x_115, x_7, x_8, x_114, x_10, x_11); +if (lean_obj_tag(x_116) == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); +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 = lean_ctor_get(x_116, 0); lean_inc(x_117); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_118 = x_115; +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_119 = x_116; } else { - lean_dec_ref(x_115); - x_118 = lean_box(0); + lean_dec_ref(x_116); + x_119 = lean_box(0); } -x_119 = lean_box(0); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_116); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_mk(x_120); -x_122 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -if (lean_is_scalar(x_118)) { - x_124 = lean_alloc_ctor(0, 2, 0); +x_120 = lean_box(0); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_117); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_array_mk(x_121); +x_123 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +if (lean_is_scalar(x_119)) { + x_125 = lean_alloc_ctor(0, 2, 0); } else { - x_124 = x_118; + x_125 = x_119; } -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_117); -return x_124; +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_118); +return x_125; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_125 = lean_ctor_get(x_115, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_115, 1); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_126 = lean_ctor_get(x_116, 0); lean_inc(x_126); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_127 = x_115; +x_127 = lean_ctor_get(x_116, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_128 = x_116; } else { - lean_dec_ref(x_115); - x_127 = lean_box(0); + lean_dec_ref(x_116); + x_128 = lean_box(0); } -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(1, 2, 0); } else { - x_128 = x_127; + x_129 = x_128; } -lean_ctor_set(x_128, 0, x_125); -lean_ctor_set(x_128, 1, x_126); -return x_128; +lean_ctor_set(x_129, 0, x_126); +lean_ctor_set(x_129, 1, x_127); +return x_129; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos(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_Lean_Elab_Structural_getRecArgInfos(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_10; uint8_t x_11; lean_object* x_12; -x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_getRecArgInfos___lambda__4___boxed), 10, 3); -lean_closure_set(x_10, 0, x_4); -lean_closure_set(x_10, 1, x_2); -lean_closure_set(x_10, 2, x_1); -x_11 = 0; -x_12 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_3, x_10, x_11, x_5, x_6, x_7, x_8, x_9); -return x_12; +lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_getRecArgInfos___lambda__4___boxed), 11, 4); +lean_closure_set(x_11, 0, x_5); +lean_closure_set(x_11, 1, x_2); +lean_closure_set(x_11, 2, x_3); +lean_closure_set(x_11, 3, x_1); +x_12 = 0; +x_13 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_4, x_11, x_12, x_6, x_7, x_8, x_9, x_10); +return x_13; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_16; -x_16 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_6); +lean_object* x_15; +x_15 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___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) { @@ -7814,17 +5681,18 @@ _start: { lean_object* x_10; x_10 = l_Lean_Elab_Structural_getRecArgInfos___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); +lean_dec(x_4); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___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_EXPORT lean_object* l_Lean_Elab_Structural_getRecArgInfos___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) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_Structural_getRecArgInfos___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_5); -return x_11; +lean_object* x_12; +x_12 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_3); +return x_12; } } LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Structural_nonIndicesFirst___spec__1(lean_object* x_1, lean_object* x_2) { @@ -8396,6 +6264,38 @@ return x_2; static lean_object* _init_l_Lean_Elab_Structural_nonIndicesFirst___closed__3() { _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_Structural_nonIndicesFirst___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_Structural_nonIndicesFirst___closed__3; +x_3 = lean_mk_array(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Structural_nonIndicesFirst___closed__5() { +_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_Structural_nonIndicesFirst___closed__4; +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_Structural_nonIndicesFirst___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; x_2 = lean_alloc_ctor(0, 2, 0); @@ -8412,9 +6312,9 @@ x_2 = lean_box(0); x_3 = lean_array_size(x_1); x_4 = 0; x_5 = l_Lean_Elab_Structural_nonIndicesFirst___closed__2; -x_6 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__3; +x_6 = l_Lean_Elab_Structural_nonIndicesFirst___closed__5; x_7 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_nonIndicesFirst___spec__7(x_1, x_5, x_2, x_1, x_3, x_4, x_6); -x_8 = l_Lean_Elab_Structural_nonIndicesFirst___closed__3; +x_8 = l_Lean_Elab_Structural_nonIndicesFirst___closed__6; x_9 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_nonIndicesFirst___spec__8(x_1, x_5, x_2, x_7, x_1, x_3, x_4, x_8); lean_dec(x_7); x_10 = lean_ctor_get(x_9, 0); @@ -9310,7 +7210,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__1; x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(211u); +x_3 = lean_unsigned_to_nat(213u); x_4 = lean_unsigned_to_nat(113u); x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11059,7 +8959,7 @@ lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_3); lean_closure_set(x_12, 3, x_4); x_13 = 0; -x_14 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_5, x_12, x_13, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_5, x_12, x_13, x_7, x_8, x_9, x_10, x_11); return x_14; } } @@ -11873,633 +9773,492 @@ return x_15; } else { -lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; x_16 = lean_array_uget(x_4, x_6); x_17 = lean_ctor_get(x_7, 1); lean_inc(x_17); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_7); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +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; uint8_t x_24; -x_20 = lean_ctor_get(x_17, 1); -x_21 = lean_ctor_get(x_17, 0); -x_22 = lean_ctor_get(x_7, 0); -x_23 = lean_ctor_get(x_7, 1); -lean_dec(x_23); -x_24 = !lean_is_exclusive(x_20); -if (x_24 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_7); +if (x_20 == 0) { -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_20, 0); -x_26 = lean_ctor_get(x_20, 1); -x_27 = lean_ctor_get(x_21, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_21, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_21, 2); -lean_inc(x_29); -x_30 = lean_nat_dec_lt(x_28, x_29); -if (x_30 == 0) +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_ctor_get(x_18, 1); +x_22 = lean_ctor_get(x_18, 0); +x_23 = lean_ctor_get(x_7, 0); +x_24 = lean_ctor_get(x_7, 1); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) { -lean_object* x_31; -lean_dec(x_29); -lean_dec(x_28); +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_17, 1); lean_dec(x_27); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_2); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_7); -lean_ctor_set(x_31, 1, x_13); -return x_31; -} -else +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_21); -if (x_32 == 0) +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_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +x_31 = lean_ctor_get(x_22, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_22, 2); +lean_inc(x_33); +x_34 = lean_nat_dec_lt(x_32, x_33); +if (x_34 == 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; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_33 = lean_ctor_get(x_21, 2); +lean_object* x_35; lean_dec(x_33); -x_34 = lean_ctor_get(x_21, 1); -lean_dec(x_34); -x_35 = lean_ctor_get(x_21, 0); -lean_dec(x_35); -x_36 = lean_array_fget(x_27, x_28); -x_37 = lean_unsigned_to_nat(1u); -x_38 = lean_nat_add(x_28, x_37); -lean_dec(x_28); -lean_ctor_set(x_21, 1, x_38); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_7); +lean_ctor_set(x_35, 1, x_13); +return x_35; +} +else +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_22); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_37 = lean_ctor_get(x_22, 2); +lean_dec(x_37); +x_38 = lean_ctor_get(x_22, 1); +lean_dec(x_38); x_39 = lean_ctor_get(x_22, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_22, 1); -lean_inc(x_40); -x_41 = lean_ctor_get(x_22, 2); -lean_inc(x_41); -x_42 = lean_nat_dec_lt(x_40, x_41); -if (x_42 == 0) -{ -lean_object* x_43; -lean_dec(x_41); -lean_dec(x_40); lean_dec(x_39); -lean_dec(x_36); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_2); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_7); -lean_ctor_set(x_43, 1, x_13); -return x_43; -} -else +x_40 = lean_array_fget(x_31, x_32); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_32, x_41); +lean_dec(x_32); +lean_ctor_set(x_22, 1, x_42); +x_43 = lean_ctor_get(x_26, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_26, 1); +lean_inc(x_44); +x_45 = lean_ctor_get(x_26, 2); +lean_inc(x_45); +x_46 = lean_nat_dec_lt(x_44, x_45); +if (x_46 == 0) { -uint8_t x_44; -x_44 = !lean_is_exclusive(x_22); -if (x_44 == 0) -{ -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_45 = lean_ctor_get(x_22, 2); +lean_object* x_47; lean_dec(x_45); -x_46 = lean_ctor_get(x_22, 1); -lean_dec(x_46); -x_47 = lean_ctor_get(x_22, 0); -lean_dec(x_47); -x_48 = lean_array_fget(x_39, x_40); -x_49 = lean_nat_add(x_40, x_37); +lean_dec(x_44); +lean_dec(x_43); lean_dec(x_40); -lean_ctor_set(x_22, 1, x_49); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_2); -x_50 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_2, x_48, x_36, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = !lean_is_exclusive(x_51); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; size_t x_56; size_t x_57; -x_54 = lean_ctor_get(x_51, 0); -lean_ctor_set_tag(x_51, 7); -lean_ctor_set(x_51, 0, x_26); -x_55 = lean_array_push(x_25, x_54); -lean_ctor_set(x_20, 1, x_51); -lean_ctor_set(x_20, 0, x_55); -x_56 = 1; -x_57 = lean_usize_add(x_6, x_56); -x_6 = x_57; -x_13 = x_52; -goto _start; +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_7); +lean_ctor_set(x_47, 1, x_13); +return x_47; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; size_t x_63; size_t x_64; -x_59 = lean_ctor_get(x_51, 0); -x_60 = lean_ctor_get(x_51, 1); -lean_inc(x_60); -lean_inc(x_59); +uint8_t x_48; +x_48 = !lean_is_exclusive(x_26); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_49 = lean_ctor_get(x_26, 2); +lean_dec(x_49); +x_50 = lean_ctor_get(x_26, 1); +lean_dec(x_50); +x_51 = lean_ctor_get(x_26, 0); lean_dec(x_51); -x_61 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_61, 0, x_26); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_array_push(x_25, x_59); -lean_ctor_set(x_20, 1, x_61); -lean_ctor_set(x_20, 0, x_62); -x_63 = 1; -x_64 = lean_usize_add(x_6, x_63); -x_6 = x_64; -x_13 = x_52; -goto _start; -} -} -else +x_52 = lean_array_fget(x_43, x_44); +x_53 = lean_nat_add(x_44, x_41); +lean_dec(x_44); +lean_ctor_set(x_26, 1, x_53); +x_54 = lean_ctor_get(x_23, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_23, 1); +lean_inc(x_55); +x_56 = lean_ctor_get(x_23, 2); +lean_inc(x_56); +x_57 = lean_nat_dec_lt(x_55, x_56); +if (x_57 == 0) { -uint8_t x_66; -lean_dec(x_22); -lean_dec(x_21); -lean_free_object(x_20); -lean_dec(x_26); -lean_dec(x_25); -lean_free_object(x_7); -lean_free_object(x_17); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_2); -x_66 = !lean_is_exclusive(x_50); -if (x_66 == 0) -{ -return x_50; -} -else -{ -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_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_22); -x_70 = lean_array_fget(x_39, x_40); -x_71 = lean_nat_add(x_40, x_37); +lean_object* x_58; +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_52); lean_dec(x_40); -x_72 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_72, 0, x_39); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_41); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_7); +lean_ctor_set(x_58, 1, x_13); +return x_58; +} +else +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_23); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_60 = lean_ctor_get(x_23, 2); +lean_dec(x_60); +x_61 = lean_ctor_get(x_23, 1); +lean_dec(x_61); +x_62 = lean_ctor_get(x_23, 0); +lean_dec(x_62); +x_63 = lean_array_fget(x_54, x_55); +x_64 = lean_nat_add(x_55, x_41); +lean_dec(x_55); +lean_ctor_set(x_23, 1, x_64); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); -x_73 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_2, x_70, x_36, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_73) == 0) +x_65 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_40, x_2, x_63, x_52, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_65) == 0) { -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; size_t x_81; size_t x_82; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = !lean_is_exclusive(x_66); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; +x_69 = lean_ctor_get(x_66, 0); +lean_ctor_set_tag(x_66, 7); +lean_ctor_set(x_66, 0, x_30); +x_70 = lean_array_push(x_29, x_69); +lean_ctor_set(x_21, 1, x_66); +lean_ctor_set(x_21, 0, x_70); +x_71 = 1; +x_72 = lean_usize_add(x_6, x_71); +x_6 = x_72; +x_13 = x_67; +goto _start; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; size_t x_79; +x_74 = lean_ctor_get(x_66, 0); +x_75 = lean_ctor_get(x_66, 1); lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_ctor_get(x_74, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_78 = x_74; -} else { - lean_dec_ref(x_74); - x_78 = lean_box(0); -} -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(7, 2, 0); -} else { - x_79 = x_78; - lean_ctor_set_tag(x_79, 7); -} -lean_ctor_set(x_79, 0, x_26); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_array_push(x_25, x_76); -lean_ctor_set(x_20, 1, x_79); -lean_ctor_set(x_20, 0, x_80); -lean_ctor_set(x_7, 0, x_72); -x_81 = 1; -x_82 = lean_usize_add(x_6, x_81); -x_6 = x_82; -x_13 = x_75; +lean_inc(x_74); +lean_dec(x_66); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_30); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_array_push(x_29, x_74); +lean_ctor_set(x_21, 1, x_76); +lean_ctor_set(x_21, 0, x_77); +x_78 = 1; +x_79 = lean_usize_add(x_6, x_78); +x_6 = x_79; +x_13 = x_67; goto _start; } +} else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_72); -lean_dec(x_21); -lean_free_object(x_20); +uint8_t x_81; +lean_dec(x_23); lean_dec(x_26); -lean_dec(x_25); -lean_free_object(x_7); +lean_dec(x_22); +lean_free_object(x_21); +lean_dec(x_30); +lean_dec(x_29); lean_free_object(x_17); +lean_free_object(x_7); +lean_free_object(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -x_84 = lean_ctor_get(x_73, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_73, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_86 = x_73; -} else { - lean_dec_ref(x_73); - x_86 = lean_box(0); -} -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(1, 2, 0); -} else { - x_87 = x_86; -} -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -return x_87; +x_81 = !lean_is_exclusive(x_65); +if (x_81 == 0) +{ +return x_65; } +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_65, 0); +x_83 = lean_ctor_get(x_65, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_65); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -lean_dec(x_21); -x_88 = lean_array_fget(x_27, x_28); -x_89 = lean_unsigned_to_nat(1u); -x_90 = lean_nat_add(x_28, x_89); -lean_dec(x_28); -x_91 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_91, 0, x_27); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_91, 2, x_29); -x_92 = lean_ctor_get(x_22, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_22, 1); -lean_inc(x_93); -x_94 = lean_ctor_get(x_22, 2); -lean_inc(x_94); -x_95 = lean_nat_dec_lt(x_93, x_94); -if (x_95 == 0) +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_23); +x_85 = lean_array_fget(x_54, x_55); +x_86 = lean_nat_add(x_55, x_41); +lean_dec(x_55); +x_87 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_87, 0, x_54); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set(x_87, 2, x_56); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_2); +x_88 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_40, x_2, x_85, x_52, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_88) == 0) { -lean_object* x_96; -lean_dec(x_94); -lean_dec(x_93); -lean_dec(x_92); +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; size_t x_96; size_t x_97; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); lean_dec(x_88); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_2); -lean_ctor_set(x_17, 0, x_91); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_7); -lean_ctor_set(x_96, 1, x_13); -return x_96; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - x_97 = x_22; +x_91 = lean_ctor_get(x_89, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_93 = x_89; } else { - lean_dec_ref(x_22); - x_97 = lean_box(0); + lean_dec_ref(x_89); + x_93 = lean_box(0); } -x_98 = lean_array_fget(x_92, x_93); -x_99 = lean_nat_add(x_93, x_89); -lean_dec(x_93); -if (lean_is_scalar(x_97)) { - x_100 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(7, 2, 0); } else { - x_100 = x_97; + x_94 = x_93; + lean_ctor_set_tag(x_94, 7); } -lean_ctor_set(x_100, 0, x_92); -lean_ctor_set(x_100, 1, x_99); -lean_ctor_set(x_100, 2, x_94); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_2); -x_101 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_2, x_98, x_88, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_101) == 0) -{ -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; size_t x_109; size_t x_110; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_106 = x_102; -} else { - lean_dec_ref(x_102); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(7, 2, 0); -} else { - x_107 = x_106; - lean_ctor_set_tag(x_107, 7); -} -lean_ctor_set(x_107, 0, x_26); -lean_ctor_set(x_107, 1, x_105); -x_108 = lean_array_push(x_25, x_104); -lean_ctor_set(x_20, 1, x_107); -lean_ctor_set(x_20, 0, x_108); -lean_ctor_set(x_17, 0, x_91); -lean_ctor_set(x_7, 0, x_100); -x_109 = 1; -x_110 = lean_usize_add(x_6, x_109); -x_6 = x_110; -x_13 = x_103; +lean_ctor_set(x_94, 0, x_30); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_array_push(x_29, x_91); +lean_ctor_set(x_21, 1, x_94); +lean_ctor_set(x_21, 0, x_95); +lean_ctor_set(x_7, 0, x_87); +x_96 = 1; +x_97 = lean_usize_add(x_6, x_96); +x_6 = x_97; +x_13 = x_90; goto _start; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_100); -lean_dec(x_91); -lean_free_object(x_20); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_87); lean_dec(x_26); -lean_dec(x_25); -lean_free_object(x_7); +lean_dec(x_22); +lean_free_object(x_21); +lean_dec(x_30); +lean_dec(x_29); lean_free_object(x_17); +lean_free_object(x_7); +lean_free_object(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -x_112 = lean_ctor_get(x_101, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_101, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_114 = x_101; +x_99 = lean_ctor_get(x_88, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_88, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_101 = x_88; } else { - lean_dec_ref(x_101); - x_114 = lean_box(0); + lean_dec_ref(x_88); + x_101 = lean_box(0); } -if (lean_is_scalar(x_114)) { - x_115 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(1, 2, 0); } else { - x_115 = x_114; -} -lean_ctor_set(x_115, 0, x_112); -lean_ctor_set(x_115, 1, x_113); -return x_115; + x_102 = x_101; } +lean_ctor_set(x_102, 0, x_99); +lean_ctor_set(x_102, 1, x_100); +return x_102; } } } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_116 = lean_ctor_get(x_20, 0); -x_117 = lean_ctor_get(x_20, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_20); -x_118 = lean_ctor_get(x_21, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_21, 1); -lean_inc(x_119); -x_120 = lean_ctor_get(x_21, 2); -lean_inc(x_120); -x_121 = lean_nat_dec_lt(x_119, x_120); -if (x_121 == 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; uint8_t x_109; +lean_dec(x_26); +x_103 = lean_array_fget(x_43, x_44); +x_104 = lean_nat_add(x_44, x_41); +lean_dec(x_44); +x_105 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_105, 0, x_43); +lean_ctor_set(x_105, 1, x_104); +lean_ctor_set(x_105, 2, x_45); +x_106 = lean_ctor_get(x_23, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_23, 1); +lean_inc(x_107); +x_108 = lean_ctor_get(x_23, 2); +lean_inc(x_108); +x_109 = lean_nat_dec_lt(x_107, x_108); +if (x_109 == 0) { -lean_object* x_122; lean_object* x_123; -lean_dec(x_120); -lean_dec(x_119); -lean_dec(x_118); +lean_object* x_110; +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_103); +lean_dec(x_40); lean_dec(x_16); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_116); -lean_ctor_set(x_122, 1, x_117); -lean_ctor_set(x_17, 1, x_122); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_7); -lean_ctor_set(x_123, 1, x_13); -return x_123; +lean_ctor_set(x_17, 0, x_105); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_7); +lean_ctor_set(x_110, 1, x_13); +return x_110; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - lean_ctor_release(x_21, 2); - x_124 = x_21; +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + lean_ctor_release(x_23, 2); + x_111 = x_23; } else { - lean_dec_ref(x_21); - x_124 = lean_box(0); + lean_dec_ref(x_23); + x_111 = lean_box(0); } -x_125 = lean_array_fget(x_118, x_119); -x_126 = lean_unsigned_to_nat(1u); -x_127 = lean_nat_add(x_119, x_126); -lean_dec(x_119); -if (lean_is_scalar(x_124)) { - x_128 = lean_alloc_ctor(0, 3, 0); +x_112 = lean_array_fget(x_106, x_107); +x_113 = lean_nat_add(x_107, x_41); +lean_dec(x_107); +if (lean_is_scalar(x_111)) { + x_114 = lean_alloc_ctor(0, 3, 0); } else { - x_128 = x_124; + x_114 = x_111; } -lean_ctor_set(x_128, 0, x_118); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_120); -x_129 = lean_ctor_get(x_22, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_22, 1); -lean_inc(x_130); -x_131 = lean_ctor_get(x_22, 2); -lean_inc(x_131); -x_132 = lean_nat_dec_lt(x_130, x_131); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_129); -lean_dec(x_125); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_2); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_116); -lean_ctor_set(x_133, 1, x_117); -lean_ctor_set(x_17, 1, x_133); -lean_ctor_set(x_17, 0, x_128); -x_134 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_134, 0, x_7); -lean_ctor_set(x_134, 1, x_13); -return x_134; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - x_135 = x_22; -} else { - lean_dec_ref(x_22); - x_135 = lean_box(0); -} -x_136 = lean_array_fget(x_129, x_130); -x_137 = lean_nat_add(x_130, x_126); -lean_dec(x_130); -if (lean_is_scalar(x_135)) { - x_138 = lean_alloc_ctor(0, 3, 0); -} else { - x_138 = x_135; -} -lean_ctor_set(x_138, 0, x_129); -lean_ctor_set(x_138, 1, x_137); -lean_ctor_set(x_138, 2, x_131); +lean_ctor_set(x_114, 0, x_106); +lean_ctor_set(x_114, 1, x_113); +lean_ctor_set(x_114, 2, x_108); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); -x_139 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_2, x_136, x_125, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_139) == 0) +x_115 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_40, x_2, x_112, x_103, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_115) == 0) { -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; size_t x_148; size_t x_149; -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -lean_dec(x_139); -x_142 = lean_ctor_get(x_140, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_140, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - x_144 = x_140; +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; size_t x_123; size_t x_124; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_116, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_120 = x_116; } else { - lean_dec_ref(x_140); - x_144 = lean_box(0); + lean_dec_ref(x_116); + x_120 = lean_box(0); } -if (lean_is_scalar(x_144)) { - x_145 = lean_alloc_ctor(7, 2, 0); +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(7, 2, 0); } else { - x_145 = x_144; - lean_ctor_set_tag(x_145, 7); + x_121 = x_120; + lean_ctor_set_tag(x_121, 7); } -lean_ctor_set(x_145, 0, x_117); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_array_push(x_116, x_142); -x_147 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_145); -lean_ctor_set(x_17, 1, x_147); -lean_ctor_set(x_17, 0, x_128); -lean_ctor_set(x_7, 0, x_138); -x_148 = 1; -x_149 = lean_usize_add(x_6, x_148); -x_6 = x_149; -x_13 = x_141; +lean_ctor_set(x_121, 0, x_30); +lean_ctor_set(x_121, 1, x_119); +x_122 = lean_array_push(x_29, x_118); +lean_ctor_set(x_21, 1, x_121); +lean_ctor_set(x_21, 0, x_122); +lean_ctor_set(x_17, 0, x_105); +lean_ctor_set(x_7, 0, x_114); +x_123 = 1; +x_124 = lean_usize_add(x_6, x_123); +x_6 = x_124; +x_13 = x_117; goto _start; } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_138); -lean_dec(x_128); -lean_dec(x_117); -lean_dec(x_116); -lean_free_object(x_7); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +lean_dec(x_114); +lean_dec(x_105); +lean_dec(x_22); +lean_free_object(x_21); +lean_dec(x_30); +lean_dec(x_29); lean_free_object(x_17); +lean_free_object(x_7); +lean_free_object(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -x_151 = lean_ctor_get(x_139, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_139, 1); -lean_inc(x_152); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - x_153 = x_139; +x_126 = lean_ctor_get(x_115, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_115, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_128 = x_115; } else { - lean_dec_ref(x_139); - x_153 = lean_box(0); + lean_dec_ref(x_115); + x_128 = lean_box(0); } -if (lean_is_scalar(x_153)) { - x_154 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(1, 2, 0); } else { - x_154 = x_153; + x_129 = x_128; } -lean_ctor_set(x_154, 0, x_151); -lean_ctor_set(x_154, 1, x_152); -return x_154; +lean_ctor_set(x_129, 0, x_126); +lean_ctor_set(x_129, 1, x_127); +return x_129; } } } @@ -12507,96 +10266,225 @@ return x_154; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; -x_155 = lean_ctor_get(x_17, 1); -x_156 = lean_ctor_get(x_17, 0); -x_157 = lean_ctor_get(x_7, 0); -lean_inc(x_157); -lean_dec(x_7); -x_158 = lean_ctor_get(x_155, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_155, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_160 = x_155; -} else { - lean_dec_ref(x_155); - x_160 = lean_box(0); -} -x_161 = lean_ctor_get(x_156, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_156, 1); -lean_inc(x_162); -x_163 = lean_ctor_get(x_156, 2); -lean_inc(x_163); -x_164 = lean_nat_dec_lt(x_162, x_163); -if (x_164 == 0) +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_dec(x_22); +x_130 = lean_array_fget(x_31, x_32); +x_131 = lean_unsigned_to_nat(1u); +x_132 = lean_nat_add(x_32, x_131); +lean_dec(x_32); +x_133 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_133, 0, x_31); +lean_ctor_set(x_133, 1, x_132); +lean_ctor_set(x_133, 2, x_33); +x_134 = lean_ctor_get(x_26, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_26, 1); +lean_inc(x_135); +x_136 = lean_ctor_get(x_26, 2); +lean_inc(x_136); +x_137 = lean_nat_dec_lt(x_135, x_136); +if (x_137 == 0) { -lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_161); +lean_object* x_138; +lean_dec(x_136); +lean_dec(x_135); +lean_dec(x_134); +lean_dec(x_130); lean_dec(x_16); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -if (lean_is_scalar(x_160)) { - x_165 = lean_alloc_ctor(0, 2, 0); -} else { - x_165 = x_160; -} -lean_ctor_set(x_165, 0, x_158); -lean_ctor_set(x_165, 1, x_159); -lean_ctor_set(x_17, 1, x_165); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_157); -lean_ctor_set(x_166, 1, x_17); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_13); -return x_167; +lean_ctor_set(x_18, 0, x_133); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_7); +lean_ctor_set(x_138, 1, x_13); +return x_138; } else { -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; uint8_t x_176; -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - lean_ctor_release(x_156, 2); - x_168 = x_156; +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; uint8_t x_146; +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_139 = x_26; } else { - lean_dec_ref(x_156); - x_168 = lean_box(0); + lean_dec_ref(x_26); + x_139 = lean_box(0); } -x_169 = lean_array_fget(x_161, x_162); -x_170 = lean_unsigned_to_nat(1u); -x_171 = lean_nat_add(x_162, x_170); -lean_dec(x_162); -if (lean_is_scalar(x_168)) { - x_172 = lean_alloc_ctor(0, 3, 0); +x_140 = lean_array_fget(x_134, x_135); +x_141 = lean_nat_add(x_135, x_131); +lean_dec(x_135); +if (lean_is_scalar(x_139)) { + x_142 = lean_alloc_ctor(0, 3, 0); } else { - x_172 = x_168; + x_142 = x_139; } -lean_ctor_set(x_172, 0, x_161); -lean_ctor_set(x_172, 1, x_171); -lean_ctor_set(x_172, 2, x_163); -x_173 = lean_ctor_get(x_157, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_157, 1); -lean_inc(x_174); -x_175 = lean_ctor_get(x_157, 2); -lean_inc(x_175); -x_176 = lean_nat_dec_lt(x_174, x_175); -if (x_176 == 0) +lean_ctor_set(x_142, 0, x_134); +lean_ctor_set(x_142, 1, x_141); +lean_ctor_set(x_142, 2, x_136); +x_143 = lean_ctor_get(x_23, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_23, 1); +lean_inc(x_144); +x_145 = lean_ctor_get(x_23, 2); +lean_inc(x_145); +x_146 = lean_nat_dec_lt(x_144, x_145); +if (x_146 == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; -lean_dec(x_175); -lean_dec(x_174); -lean_dec(x_173); +lean_object* x_147; +lean_dec(x_145); +lean_dec(x_144); +lean_dec(x_143); +lean_dec(x_140); +lean_dec(x_130); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +lean_ctor_set(x_18, 0, x_133); +lean_ctor_set(x_17, 0, x_142); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_7); +lean_ctor_set(x_147, 1, x_13); +return x_147; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + lean_ctor_release(x_23, 2); + x_148 = x_23; +} else { + lean_dec_ref(x_23); + x_148 = lean_box(0); +} +x_149 = lean_array_fget(x_143, x_144); +x_150 = lean_nat_add(x_144, x_131); +lean_dec(x_144); +if (lean_is_scalar(x_148)) { + x_151 = lean_alloc_ctor(0, 3, 0); +} else { + x_151 = x_148; +} +lean_ctor_set(x_151, 0, x_143); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_145); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_2); +x_152 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_130, x_2, x_149, x_140, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_152) == 0) +{ +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; size_t x_160; size_t x_161; +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = lean_ctor_get(x_153, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_153, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_157 = x_153; +} else { + lean_dec_ref(x_153); + x_157 = lean_box(0); +} +if (lean_is_scalar(x_157)) { + x_158 = lean_alloc_ctor(7, 2, 0); +} else { + x_158 = x_157; + lean_ctor_set_tag(x_158, 7); +} +lean_ctor_set(x_158, 0, x_30); +lean_ctor_set(x_158, 1, x_156); +x_159 = lean_array_push(x_29, x_155); +lean_ctor_set(x_21, 1, x_158); +lean_ctor_set(x_21, 0, x_159); +lean_ctor_set(x_18, 0, x_133); +lean_ctor_set(x_17, 0, x_142); +lean_ctor_set(x_7, 0, x_151); +x_160 = 1; +x_161 = lean_usize_add(x_6, x_160); +x_6 = x_161; +x_13 = x_154; +goto _start; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_151); +lean_dec(x_142); +lean_dec(x_133); +lean_free_object(x_21); +lean_dec(x_30); +lean_dec(x_29); +lean_free_object(x_17); +lean_free_object(x_7); +lean_free_object(x_18); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +x_163 = lean_ctor_get(x_152, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_152, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_165 = x_152; +} else { + lean_dec_ref(x_152); + x_165 = lean_box(0); +} +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 2, 0); +} else { + x_166 = x_165; +} +lean_ctor_set(x_166, 0, x_163); +lean_ctor_set(x_166, 1, x_164); +return x_166; +} +} +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_167 = lean_ctor_get(x_21, 0); +x_168 = lean_ctor_get(x_21, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_21); +x_169 = lean_ctor_get(x_22, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_22, 1); +lean_inc(x_170); +x_171 = lean_ctor_get(x_22, 2); +lean_inc(x_171); +x_172 = lean_nat_dec_lt(x_170, x_171); +if (x_172 == 0) +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_171); +lean_dec(x_170); lean_dec(x_169); lean_dec(x_16); lean_dec(x_12); @@ -12604,392 +10492,1229 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -if (lean_is_scalar(x_160)) { - x_177 = lean_alloc_ctor(0, 2, 0); -} else { - x_177 = x_160; -} -lean_ctor_set(x_177, 0, x_158); -lean_ctor_set(x_177, 1, x_159); -lean_ctor_set(x_17, 1, x_177); -lean_ctor_set(x_17, 0, x_172); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_157); -lean_ctor_set(x_178, 1, x_17); -x_179 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_13); -return x_179; +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_167); +lean_ctor_set(x_173, 1, x_168); +lean_ctor_set(x_18, 1, x_173); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_7); +lean_ctor_set(x_174, 1, x_13); +return x_174; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - lean_ctor_release(x_157, 2); - x_180 = x_157; +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + lean_ctor_release(x_22, 2); + x_175 = x_22; } else { - lean_dec_ref(x_157); - x_180 = lean_box(0); + lean_dec_ref(x_22); + x_175 = lean_box(0); } -x_181 = lean_array_fget(x_173, x_174); -x_182 = lean_nat_add(x_174, x_170); -lean_dec(x_174); -if (lean_is_scalar(x_180)) { - x_183 = lean_alloc_ctor(0, 3, 0); +x_176 = lean_array_fget(x_169, x_170); +x_177 = lean_unsigned_to_nat(1u); +x_178 = lean_nat_add(x_170, x_177); +lean_dec(x_170); +if (lean_is_scalar(x_175)) { + x_179 = lean_alloc_ctor(0, 3, 0); } else { - x_183 = x_180; + x_179 = x_175; } -lean_ctor_set(x_183, 0, x_173); -lean_ctor_set(x_183, 1, x_182); -lean_ctor_set(x_183, 2, x_175); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_2); -x_184 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_2, x_181, x_169, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_184) == 0) +lean_ctor_set(x_179, 0, x_169); +lean_ctor_set(x_179, 1, x_178); +lean_ctor_set(x_179, 2, x_171); +x_180 = lean_ctor_get(x_26, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_26, 1); +lean_inc(x_181); +x_182 = lean_ctor_get(x_26, 2); +lean_inc(x_182); +x_183 = lean_nat_dec_lt(x_181, x_182); +if (x_183 == 0) { -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; size_t x_194; size_t x_195; -x_185 = lean_ctor_get(x_184, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_184, 1); -lean_inc(x_186); -lean_dec(x_184); -x_187 = lean_ctor_get(x_185, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_185, 1); -lean_inc(x_188); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_189 = x_185; -} else { - lean_dec_ref(x_185); - x_189 = lean_box(0); -} -if (lean_is_scalar(x_189)) { - x_190 = lean_alloc_ctor(7, 2, 0); -} else { - x_190 = x_189; - lean_ctor_set_tag(x_190, 7); -} -lean_ctor_set(x_190, 0, x_159); -lean_ctor_set(x_190, 1, x_188); -x_191 = lean_array_push(x_158, x_187); -if (lean_is_scalar(x_160)) { - x_192 = lean_alloc_ctor(0, 2, 0); -} else { - x_192 = x_160; -} -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -lean_ctor_set(x_17, 1, x_192); -lean_ctor_set(x_17, 0, x_172); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_183); -lean_ctor_set(x_193, 1, x_17); -x_194 = 1; -x_195 = lean_usize_add(x_6, x_194); -x_6 = x_195; -x_7 = x_193; -x_13 = x_186; -goto _start; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -lean_dec(x_183); -lean_dec(x_172); -lean_dec(x_160); -lean_dec(x_159); -lean_dec(x_158); -lean_free_object(x_17); +lean_object* x_184; lean_object* x_185; +lean_dec(x_182); +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_176); +lean_dec(x_16); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -x_197 = lean_ctor_get(x_184, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_184, 1); -lean_inc(x_198); -if (lean_is_exclusive(x_184)) { - lean_ctor_release(x_184, 0); - lean_ctor_release(x_184, 1); - x_199 = x_184; -} else { - lean_dec_ref(x_184); - x_199 = lean_box(0); -} -if (lean_is_scalar(x_199)) { - x_200 = lean_alloc_ctor(1, 2, 0); -} else { - x_200 = x_199; -} -lean_ctor_set(x_200, 0, x_197); -lean_ctor_set(x_200, 1, x_198); -return x_200; -} -} -} -} +x_184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 0, x_167); +lean_ctor_set(x_184, 1, x_168); +lean_ctor_set(x_18, 1, x_184); +lean_ctor_set(x_18, 0, x_179); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_7); +lean_ctor_set(x_185, 1, x_13); +return x_185; } else { -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; -x_201 = lean_ctor_get(x_17, 1); -x_202 = lean_ctor_get(x_17, 0); -lean_inc(x_201); -lean_inc(x_202); -lean_dec(x_17); -x_203 = lean_ctor_get(x_7, 0); -lean_inc(x_203); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_204 = x_7; +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_186 = x_26; } else { - lean_dec_ref(x_7); - x_204 = lean_box(0); + lean_dec_ref(x_26); + x_186 = lean_box(0); } -x_205 = lean_ctor_get(x_201, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_201, 1); -lean_inc(x_206); +x_187 = lean_array_fget(x_180, x_181); +x_188 = lean_nat_add(x_181, x_177); +lean_dec(x_181); +if (lean_is_scalar(x_186)) { + x_189 = lean_alloc_ctor(0, 3, 0); +} else { + x_189 = x_186; +} +lean_ctor_set(x_189, 0, x_180); +lean_ctor_set(x_189, 1, x_188); +lean_ctor_set(x_189, 2, x_182); +x_190 = lean_ctor_get(x_23, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_23, 1); +lean_inc(x_191); +x_192 = lean_ctor_get(x_23, 2); +lean_inc(x_192); +x_193 = lean_nat_dec_lt(x_191, x_192); +if (x_193 == 0) +{ +lean_object* x_194; lean_object* x_195; +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_187); +lean_dec(x_176); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +x_194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_194, 0, x_167); +lean_ctor_set(x_194, 1, x_168); +lean_ctor_set(x_18, 1, x_194); +lean_ctor_set(x_18, 0, x_179); +lean_ctor_set(x_17, 0, x_189); +x_195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_195, 0, x_7); +lean_ctor_set(x_195, 1, x_13); +return x_195; +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + lean_ctor_release(x_23, 2); + x_196 = x_23; +} else { + lean_dec_ref(x_23); + x_196 = lean_box(0); +} +x_197 = lean_array_fget(x_190, x_191); +x_198 = lean_nat_add(x_191, x_177); +lean_dec(x_191); +if (lean_is_scalar(x_196)) { + x_199 = lean_alloc_ctor(0, 3, 0); +} else { + x_199 = x_196; +} +lean_ctor_set(x_199, 0, x_190); +lean_ctor_set(x_199, 1, x_198); +lean_ctor_set(x_199, 2, x_192); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_2); +x_200 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_176, x_2, x_197, x_187, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_200) == 0) +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; size_t x_209; size_t x_210; +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); +x_204 = lean_ctor_get(x_201, 1); +lean_inc(x_204); if (lean_is_exclusive(x_201)) { lean_ctor_release(x_201, 0); lean_ctor_release(x_201, 1); - x_207 = x_201; + x_205 = x_201; } else { lean_dec_ref(x_201); - x_207 = lean_box(0); + x_205 = lean_box(0); } -x_208 = lean_ctor_get(x_202, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_202, 1); -lean_inc(x_209); -x_210 = lean_ctor_get(x_202, 2); -lean_inc(x_210); -x_211 = lean_nat_dec_lt(x_209, x_210); -if (x_211 == 0) +if (lean_is_scalar(x_205)) { + x_206 = lean_alloc_ctor(7, 2, 0); +} else { + x_206 = x_205; + lean_ctor_set_tag(x_206, 7); +} +lean_ctor_set(x_206, 0, x_168); +lean_ctor_set(x_206, 1, x_204); +x_207 = lean_array_push(x_167, x_203); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_206); +lean_ctor_set(x_18, 1, x_208); +lean_ctor_set(x_18, 0, x_179); +lean_ctor_set(x_17, 0, x_189); +lean_ctor_set(x_7, 0, x_199); +x_209 = 1; +x_210 = lean_usize_add(x_6, x_209); +x_6 = x_210; +x_13 = x_202; +goto _start; +} +else { lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_210); -lean_dec(x_209); -lean_dec(x_208); -lean_dec(x_16); +lean_dec(x_199); +lean_dec(x_189); +lean_dec(x_179); +lean_dec(x_168); +lean_dec(x_167); +lean_free_object(x_17); +lean_free_object(x_7); +lean_free_object(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -if (lean_is_scalar(x_207)) { - x_212 = lean_alloc_ctor(0, 2, 0); +x_212 = lean_ctor_get(x_200, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_200, 1); +lean_inc(x_213); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + x_214 = x_200; } else { - x_212 = x_207; + lean_dec_ref(x_200); + x_214 = lean_box(0); } -lean_ctor_set(x_212, 0, x_205); -lean_ctor_set(x_212, 1, x_206); -x_213 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_213, 0, x_202); -lean_ctor_set(x_213, 1, x_212); -if (lean_is_scalar(x_204)) { - x_214 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_214)) { + x_215 = lean_alloc_ctor(1, 2, 0); } else { - x_214 = x_204; + x_215 = x_214; } -lean_ctor_set(x_214, 0, x_203); -lean_ctor_set(x_214, 1, x_213); -x_215 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_13); +lean_ctor_set(x_215, 0, x_212); +lean_ctor_set(x_215, 1, x_213); return x_215; } +} +} +} +} +} else { -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - lean_ctor_release(x_202, 2); - x_216 = x_202; +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; +x_216 = lean_ctor_get(x_17, 0); +lean_inc(x_216); +lean_dec(x_17); +x_217 = lean_ctor_get(x_21, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_21, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_219 = x_21; } else { - lean_dec_ref(x_202); - x_216 = lean_box(0); + lean_dec_ref(x_21); + x_219 = lean_box(0); } -x_217 = lean_array_fget(x_208, x_209); -x_218 = lean_unsigned_to_nat(1u); -x_219 = lean_nat_add(x_209, x_218); -lean_dec(x_209); -if (lean_is_scalar(x_216)) { - x_220 = lean_alloc_ctor(0, 3, 0); -} else { - x_220 = x_216; -} -lean_ctor_set(x_220, 0, x_208); -lean_ctor_set(x_220, 1, x_219); -lean_ctor_set(x_220, 2, x_210); -x_221 = lean_ctor_get(x_203, 0); +x_220 = lean_ctor_get(x_22, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_22, 1); lean_inc(x_221); -x_222 = lean_ctor_get(x_203, 1); +x_222 = lean_ctor_get(x_22, 2); lean_inc(x_222); -x_223 = lean_ctor_get(x_203, 2); -lean_inc(x_223); -x_224 = lean_nat_dec_lt(x_222, x_223); -if (x_224 == 0) +x_223 = lean_nat_dec_lt(x_221, x_222); +if (x_223 == 0) { -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; -lean_dec(x_223); +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_dec(x_222); lean_dec(x_221); -lean_dec(x_217); +lean_dec(x_220); lean_dec(x_16); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -if (lean_is_scalar(x_207)) { - x_225 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_219)) { + x_224 = lean_alloc_ctor(0, 2, 0); } else { - x_225 = x_207; + x_224 = x_219; } -lean_ctor_set(x_225, 0, x_205); -lean_ctor_set(x_225, 1, x_206); +lean_ctor_set(x_224, 0, x_217); +lean_ctor_set(x_224, 1, x_218); +lean_ctor_set(x_18, 1, x_224); +x_225 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_225, 0, x_216); +lean_ctor_set(x_225, 1, x_18); +lean_ctor_set(x_7, 1, x_225); x_226 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_226, 0, x_220); -lean_ctor_set(x_226, 1, x_225); -if (lean_is_scalar(x_204)) { - x_227 = lean_alloc_ctor(0, 2, 0); -} else { - x_227 = x_204; -} -lean_ctor_set(x_227, 0, x_203); -lean_ctor_set(x_227, 1, x_226); -x_228 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_13); -return x_228; +lean_ctor_set(x_226, 0, x_7); +lean_ctor_set(x_226, 1, x_13); +return x_226; } else { -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -if (lean_is_exclusive(x_203)) { - lean_ctor_release(x_203, 0); - lean_ctor_release(x_203, 1); - lean_ctor_release(x_203, 2); - x_229 = x_203; +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + lean_ctor_release(x_22, 2); + x_227 = x_22; } else { - lean_dec_ref(x_203); - x_229 = lean_box(0); + lean_dec_ref(x_22); + x_227 = lean_box(0); } -x_230 = lean_array_fget(x_221, x_222); -x_231 = lean_nat_add(x_222, x_218); -lean_dec(x_222); -if (lean_is_scalar(x_229)) { - x_232 = lean_alloc_ctor(0, 3, 0); +x_228 = lean_array_fget(x_220, x_221); +x_229 = lean_unsigned_to_nat(1u); +x_230 = lean_nat_add(x_221, x_229); +lean_dec(x_221); +if (lean_is_scalar(x_227)) { + x_231 = lean_alloc_ctor(0, 3, 0); } else { - x_232 = x_229; + x_231 = x_227; } -lean_ctor_set(x_232, 0, x_221); -lean_ctor_set(x_232, 1, x_231); -lean_ctor_set(x_232, 2, x_223); +lean_ctor_set(x_231, 0, x_220); +lean_ctor_set(x_231, 1, x_230); +lean_ctor_set(x_231, 2, x_222); +x_232 = lean_ctor_get(x_216, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_216, 1); +lean_inc(x_233); +x_234 = lean_ctor_get(x_216, 2); +lean_inc(x_234); +x_235 = lean_nat_dec_lt(x_233, x_234); +if (x_235 == 0) +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_234); +lean_dec(x_233); +lean_dec(x_232); +lean_dec(x_228); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +if (lean_is_scalar(x_219)) { + x_236 = lean_alloc_ctor(0, 2, 0); +} else { + x_236 = x_219; +} +lean_ctor_set(x_236, 0, x_217); +lean_ctor_set(x_236, 1, x_218); +lean_ctor_set(x_18, 1, x_236); +lean_ctor_set(x_18, 0, x_231); +x_237 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_237, 0, x_216); +lean_ctor_set(x_237, 1, x_18); +lean_ctor_set(x_7, 1, x_237); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_7); +lean_ctor_set(x_238, 1, x_13); +return x_238; +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + lean_ctor_release(x_216, 2); + x_239 = x_216; +} else { + lean_dec_ref(x_216); + x_239 = lean_box(0); +} +x_240 = lean_array_fget(x_232, x_233); +x_241 = lean_nat_add(x_233, x_229); +lean_dec(x_233); +if (lean_is_scalar(x_239)) { + x_242 = lean_alloc_ctor(0, 3, 0); +} else { + x_242 = x_239; +} +lean_ctor_set(x_242, 0, x_232); +lean_ctor_set(x_242, 1, x_241); +lean_ctor_set(x_242, 2, x_234); +x_243 = lean_ctor_get(x_23, 0); +lean_inc(x_243); +x_244 = lean_ctor_get(x_23, 1); +lean_inc(x_244); +x_245 = lean_ctor_get(x_23, 2); +lean_inc(x_245); +x_246 = lean_nat_dec_lt(x_244, x_245); +if (x_246 == 0) +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_dec(x_245); +lean_dec(x_244); +lean_dec(x_243); +lean_dec(x_240); +lean_dec(x_228); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +if (lean_is_scalar(x_219)) { + x_247 = lean_alloc_ctor(0, 2, 0); +} else { + x_247 = x_219; +} +lean_ctor_set(x_247, 0, x_217); +lean_ctor_set(x_247, 1, x_218); +lean_ctor_set(x_18, 1, x_247); +lean_ctor_set(x_18, 0, x_231); +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_242); +lean_ctor_set(x_248, 1, x_18); +lean_ctor_set(x_7, 1, x_248); +x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_249, 0, x_7); +lean_ctor_set(x_249, 1, x_13); +return x_249; +} +else +{ +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + lean_ctor_release(x_23, 2); + x_250 = x_23; +} else { + lean_dec_ref(x_23); + x_250 = lean_box(0); +} +x_251 = lean_array_fget(x_243, x_244); +x_252 = lean_nat_add(x_244, x_229); +lean_dec(x_244); +if (lean_is_scalar(x_250)) { + x_253 = lean_alloc_ctor(0, 3, 0); +} else { + x_253 = x_250; +} +lean_ctor_set(x_253, 0, x_243); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set(x_253, 2, x_245); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); -x_233 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_2, x_230, x_217, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_233) == 0) +x_254 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_228, x_2, x_251, x_240, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_254) == 0) { -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; size_t x_244; size_t x_245; -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 1); -lean_inc(x_235); -lean_dec(x_233); -x_236 = lean_ctor_get(x_234, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_234, 1); -lean_inc(x_237); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - x_238 = x_234; +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; size_t x_264; size_t x_265; +x_255 = lean_ctor_get(x_254, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_254, 1); +lean_inc(x_256); +lean_dec(x_254); +x_257 = lean_ctor_get(x_255, 0); +lean_inc(x_257); +x_258 = lean_ctor_get(x_255, 1); +lean_inc(x_258); +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + lean_ctor_release(x_255, 1); + x_259 = x_255; } else { - lean_dec_ref(x_234); - x_238 = lean_box(0); + lean_dec_ref(x_255); + x_259 = lean_box(0); } -if (lean_is_scalar(x_238)) { - x_239 = lean_alloc_ctor(7, 2, 0); +if (lean_is_scalar(x_259)) { + x_260 = lean_alloc_ctor(7, 2, 0); } else { - x_239 = x_238; - lean_ctor_set_tag(x_239, 7); + x_260 = x_259; + lean_ctor_set_tag(x_260, 7); } -lean_ctor_set(x_239, 0, x_206); -lean_ctor_set(x_239, 1, x_237); -x_240 = lean_array_push(x_205, x_236); -if (lean_is_scalar(x_207)) { - x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_260, 0, x_218); +lean_ctor_set(x_260, 1, x_258); +x_261 = lean_array_push(x_217, x_257); +if (lean_is_scalar(x_219)) { + x_262 = lean_alloc_ctor(0, 2, 0); } else { - x_241 = x_207; + x_262 = x_219; } -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_239); -x_242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_242, 0, x_220); -lean_ctor_set(x_242, 1, x_241); -if (lean_is_scalar(x_204)) { - x_243 = lean_alloc_ctor(0, 2, 0); -} else { - x_243 = x_204; -} -lean_ctor_set(x_243, 0, x_232); -lean_ctor_set(x_243, 1, x_242); -x_244 = 1; -x_245 = lean_usize_add(x_6, x_244); -x_6 = x_245; -x_7 = x_243; -x_13 = x_235; +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +lean_ctor_set(x_18, 1, x_262); +lean_ctor_set(x_18, 0, x_231); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_242); +lean_ctor_set(x_263, 1, x_18); +lean_ctor_set(x_7, 1, x_263); +lean_ctor_set(x_7, 0, x_253); +x_264 = 1; +x_265 = lean_usize_add(x_6, x_264); +x_6 = x_265; +x_13 = x_256; goto _start; } else { -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; -lean_dec(x_232); -lean_dec(x_220); -lean_dec(x_207); -lean_dec(x_206); -lean_dec(x_205); -lean_dec(x_204); +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +lean_dec(x_253); +lean_dec(x_242); +lean_dec(x_231); +lean_dec(x_219); +lean_dec(x_218); +lean_dec(x_217); +lean_free_object(x_7); +lean_free_object(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_2); -x_247 = lean_ctor_get(x_233, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_233, 1); -lean_inc(x_248); -if (lean_is_exclusive(x_233)) { - lean_ctor_release(x_233, 0); - lean_ctor_release(x_233, 1); - x_249 = x_233; +x_267 = lean_ctor_get(x_254, 0); +lean_inc(x_267); +x_268 = lean_ctor_get(x_254, 1); +lean_inc(x_268); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + lean_ctor_release(x_254, 1); + x_269 = x_254; } else { - lean_dec_ref(x_233); - x_249 = lean_box(0); + lean_dec_ref(x_254); + x_269 = lean_box(0); } -if (lean_is_scalar(x_249)) { - x_250 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_269)) { + x_270 = lean_alloc_ctor(1, 2, 0); } else { - x_250 = x_249; + x_270 = x_269; +} +lean_ctor_set(x_270, 0, x_267); +lean_ctor_set(x_270, 1, x_268); +return x_270; +} +} +} +} +} +} +else +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; uint8_t x_282; +x_271 = lean_ctor_get(x_18, 1); +x_272 = lean_ctor_get(x_18, 0); +x_273 = lean_ctor_get(x_7, 0); +lean_inc(x_273); +lean_dec(x_7); +x_274 = lean_ctor_get(x_17, 0); +lean_inc(x_274); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_275 = x_17; +} else { + lean_dec_ref(x_17); + x_275 = lean_box(0); +} +x_276 = lean_ctor_get(x_271, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_271, 1); +lean_inc(x_277); +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + x_278 = x_271; +} else { + lean_dec_ref(x_271); + x_278 = lean_box(0); +} +x_279 = lean_ctor_get(x_272, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_272, 1); +lean_inc(x_280); +x_281 = lean_ctor_get(x_272, 2); +lean_inc(x_281); +x_282 = lean_nat_dec_lt(x_280, x_281); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_281); +lean_dec(x_280); +lean_dec(x_279); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +if (lean_is_scalar(x_278)) { + x_283 = lean_alloc_ctor(0, 2, 0); +} else { + x_283 = x_278; +} +lean_ctor_set(x_283, 0, x_276); +lean_ctor_set(x_283, 1, x_277); +lean_ctor_set(x_18, 1, x_283); +if (lean_is_scalar(x_275)) { + x_284 = lean_alloc_ctor(0, 2, 0); +} else { + x_284 = x_275; +} +lean_ctor_set(x_284, 0, x_274); +lean_ctor_set(x_284, 1, x_18); +x_285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_285, 0, x_273); +lean_ctor_set(x_285, 1, x_284); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_13); +return x_286; +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + lean_ctor_release(x_272, 2); + x_287 = x_272; +} else { + lean_dec_ref(x_272); + x_287 = lean_box(0); +} +x_288 = lean_array_fget(x_279, x_280); +x_289 = lean_unsigned_to_nat(1u); +x_290 = lean_nat_add(x_280, x_289); +lean_dec(x_280); +if (lean_is_scalar(x_287)) { + x_291 = lean_alloc_ctor(0, 3, 0); +} else { + x_291 = x_287; +} +lean_ctor_set(x_291, 0, x_279); +lean_ctor_set(x_291, 1, x_290); +lean_ctor_set(x_291, 2, x_281); +x_292 = lean_ctor_get(x_274, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_274, 1); +lean_inc(x_293); +x_294 = lean_ctor_get(x_274, 2); +lean_inc(x_294); +x_295 = lean_nat_dec_lt(x_293, x_294); +if (x_295 == 0) +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +lean_dec(x_294); +lean_dec(x_293); +lean_dec(x_292); +lean_dec(x_288); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +if (lean_is_scalar(x_278)) { + x_296 = lean_alloc_ctor(0, 2, 0); +} else { + x_296 = x_278; +} +lean_ctor_set(x_296, 0, x_276); +lean_ctor_set(x_296, 1, x_277); +lean_ctor_set(x_18, 1, x_296); +lean_ctor_set(x_18, 0, x_291); +if (lean_is_scalar(x_275)) { + x_297 = lean_alloc_ctor(0, 2, 0); +} else { + x_297 = x_275; +} +lean_ctor_set(x_297, 0, x_274); +lean_ctor_set(x_297, 1, x_18); +x_298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_298, 0, x_273); +lean_ctor_set(x_298, 1, x_297); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_13); +return x_299; +} +else +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; +if (lean_is_exclusive(x_274)) { + lean_ctor_release(x_274, 0); + lean_ctor_release(x_274, 1); + lean_ctor_release(x_274, 2); + x_300 = x_274; +} else { + lean_dec_ref(x_274); + x_300 = lean_box(0); +} +x_301 = lean_array_fget(x_292, x_293); +x_302 = lean_nat_add(x_293, x_289); +lean_dec(x_293); +if (lean_is_scalar(x_300)) { + x_303 = lean_alloc_ctor(0, 3, 0); +} else { + x_303 = x_300; +} +lean_ctor_set(x_303, 0, x_292); +lean_ctor_set(x_303, 1, x_302); +lean_ctor_set(x_303, 2, x_294); +x_304 = lean_ctor_get(x_273, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_273, 1); +lean_inc(x_305); +x_306 = lean_ctor_get(x_273, 2); +lean_inc(x_306); +x_307 = lean_nat_dec_lt(x_305, x_306); +if (x_307 == 0) +{ +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +lean_dec(x_306); +lean_dec(x_305); +lean_dec(x_304); +lean_dec(x_301); +lean_dec(x_288); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +if (lean_is_scalar(x_278)) { + x_308 = lean_alloc_ctor(0, 2, 0); +} else { + x_308 = x_278; +} +lean_ctor_set(x_308, 0, x_276); +lean_ctor_set(x_308, 1, x_277); +lean_ctor_set(x_18, 1, x_308); +lean_ctor_set(x_18, 0, x_291); +if (lean_is_scalar(x_275)) { + x_309 = lean_alloc_ctor(0, 2, 0); +} else { + x_309 = x_275; +} +lean_ctor_set(x_309, 0, x_303); +lean_ctor_set(x_309, 1, x_18); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_273); +lean_ctor_set(x_310, 1, x_309); +x_311 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_311, 0, x_310); +lean_ctor_set(x_311, 1, x_13); +return x_311; +} +else +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +if (lean_is_exclusive(x_273)) { + lean_ctor_release(x_273, 0); + lean_ctor_release(x_273, 1); + lean_ctor_release(x_273, 2); + x_312 = x_273; +} else { + lean_dec_ref(x_273); + x_312 = lean_box(0); +} +x_313 = lean_array_fget(x_304, x_305); +x_314 = lean_nat_add(x_305, x_289); +lean_dec(x_305); +if (lean_is_scalar(x_312)) { + x_315 = lean_alloc_ctor(0, 3, 0); +} else { + x_315 = x_312; +} +lean_ctor_set(x_315, 0, x_304); +lean_ctor_set(x_315, 1, x_314); +lean_ctor_set(x_315, 2, x_306); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_2); +x_316 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_288, x_2, x_313, x_301, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_316) == 0) +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; size_t x_327; size_t x_328; +x_317 = lean_ctor_get(x_316, 0); +lean_inc(x_317); +x_318 = lean_ctor_get(x_316, 1); +lean_inc(x_318); +lean_dec(x_316); +x_319 = lean_ctor_get(x_317, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_317, 1); +lean_inc(x_320); +if (lean_is_exclusive(x_317)) { + lean_ctor_release(x_317, 0); + lean_ctor_release(x_317, 1); + x_321 = x_317; +} else { + lean_dec_ref(x_317); + x_321 = lean_box(0); +} +if (lean_is_scalar(x_321)) { + x_322 = lean_alloc_ctor(7, 2, 0); +} else { + x_322 = x_321; + lean_ctor_set_tag(x_322, 7); +} +lean_ctor_set(x_322, 0, x_277); +lean_ctor_set(x_322, 1, x_320); +x_323 = lean_array_push(x_276, x_319); +if (lean_is_scalar(x_278)) { + x_324 = lean_alloc_ctor(0, 2, 0); +} else { + x_324 = x_278; +} +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_322); +lean_ctor_set(x_18, 1, x_324); +lean_ctor_set(x_18, 0, x_291); +if (lean_is_scalar(x_275)) { + x_325 = lean_alloc_ctor(0, 2, 0); +} else { + x_325 = x_275; +} +lean_ctor_set(x_325, 0, x_303); +lean_ctor_set(x_325, 1, x_18); +x_326 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_326, 0, x_315); +lean_ctor_set(x_326, 1, x_325); +x_327 = 1; +x_328 = lean_usize_add(x_6, x_327); +x_6 = x_328; +x_7 = x_326; +x_13 = x_318; +goto _start; +} +else +{ +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; +lean_dec(x_315); +lean_dec(x_303); +lean_dec(x_291); +lean_dec(x_278); +lean_dec(x_277); +lean_dec(x_276); +lean_dec(x_275); +lean_free_object(x_18); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +x_330 = lean_ctor_get(x_316, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_316, 1); +lean_inc(x_331); +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_332 = x_316; +} else { + lean_dec_ref(x_316); + x_332 = lean_box(0); +} +if (lean_is_scalar(x_332)) { + x_333 = lean_alloc_ctor(1, 2, 0); +} else { + x_333 = x_332; +} +lean_ctor_set(x_333, 0, x_330); +lean_ctor_set(x_333, 1, x_331); +return x_333; +} +} +} +} +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; +x_334 = lean_ctor_get(x_18, 1); +x_335 = lean_ctor_get(x_18, 0); +lean_inc(x_334); +lean_inc(x_335); +lean_dec(x_18); +x_336 = lean_ctor_get(x_7, 0); +lean_inc(x_336); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + x_337 = x_7; +} else { + lean_dec_ref(x_7); + x_337 = lean_box(0); +} +x_338 = lean_ctor_get(x_17, 0); +lean_inc(x_338); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_339 = x_17; +} else { + lean_dec_ref(x_17); + x_339 = lean_box(0); +} +x_340 = lean_ctor_get(x_334, 0); +lean_inc(x_340); +x_341 = lean_ctor_get(x_334, 1); +lean_inc(x_341); +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_342 = x_334; +} else { + lean_dec_ref(x_334); + x_342 = lean_box(0); +} +x_343 = lean_ctor_get(x_335, 0); +lean_inc(x_343); +x_344 = lean_ctor_get(x_335, 1); +lean_inc(x_344); +x_345 = lean_ctor_get(x_335, 2); +lean_inc(x_345); +x_346 = lean_nat_dec_lt(x_344, x_345); +if (x_346 == 0) +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; +lean_dec(x_345); +lean_dec(x_344); +lean_dec(x_343); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +if (lean_is_scalar(x_342)) { + x_347 = lean_alloc_ctor(0, 2, 0); +} else { + x_347 = x_342; +} +lean_ctor_set(x_347, 0, x_340); +lean_ctor_set(x_347, 1, x_341); +x_348 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_348, 0, x_335); +lean_ctor_set(x_348, 1, x_347); +if (lean_is_scalar(x_339)) { + x_349 = lean_alloc_ctor(0, 2, 0); +} else { + x_349 = x_339; +} +lean_ctor_set(x_349, 0, x_338); +lean_ctor_set(x_349, 1, x_348); +if (lean_is_scalar(x_337)) { + x_350 = lean_alloc_ctor(0, 2, 0); +} else { + x_350 = x_337; +} +lean_ctor_set(x_350, 0, x_336); +lean_ctor_set(x_350, 1, x_349); +x_351 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_351, 0, x_350); +lean_ctor_set(x_351, 1, x_13); +return x_351; +} +else +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; uint8_t x_360; +if (lean_is_exclusive(x_335)) { + lean_ctor_release(x_335, 0); + lean_ctor_release(x_335, 1); + lean_ctor_release(x_335, 2); + x_352 = x_335; +} else { + lean_dec_ref(x_335); + x_352 = lean_box(0); +} +x_353 = lean_array_fget(x_343, x_344); +x_354 = lean_unsigned_to_nat(1u); +x_355 = lean_nat_add(x_344, x_354); +lean_dec(x_344); +if (lean_is_scalar(x_352)) { + x_356 = lean_alloc_ctor(0, 3, 0); +} else { + x_356 = x_352; +} +lean_ctor_set(x_356, 0, x_343); +lean_ctor_set(x_356, 1, x_355); +lean_ctor_set(x_356, 2, x_345); +x_357 = lean_ctor_get(x_338, 0); +lean_inc(x_357); +x_358 = lean_ctor_get(x_338, 1); +lean_inc(x_358); +x_359 = lean_ctor_get(x_338, 2); +lean_inc(x_359); +x_360 = lean_nat_dec_lt(x_358, x_359); +if (x_360 == 0) +{ +lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +lean_dec(x_359); +lean_dec(x_358); +lean_dec(x_357); +lean_dec(x_353); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +if (lean_is_scalar(x_342)) { + x_361 = lean_alloc_ctor(0, 2, 0); +} else { + x_361 = x_342; +} +lean_ctor_set(x_361, 0, x_340); +lean_ctor_set(x_361, 1, x_341); +x_362 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_362, 0, x_356); +lean_ctor_set(x_362, 1, x_361); +if (lean_is_scalar(x_339)) { + x_363 = lean_alloc_ctor(0, 2, 0); +} else { + x_363 = x_339; +} +lean_ctor_set(x_363, 0, x_338); +lean_ctor_set(x_363, 1, x_362); +if (lean_is_scalar(x_337)) { + x_364 = lean_alloc_ctor(0, 2, 0); +} else { + x_364 = x_337; +} +lean_ctor_set(x_364, 0, x_336); +lean_ctor_set(x_364, 1, x_363); +x_365 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_13); +return x_365; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; +if (lean_is_exclusive(x_338)) { + lean_ctor_release(x_338, 0); + lean_ctor_release(x_338, 1); + lean_ctor_release(x_338, 2); + x_366 = x_338; +} else { + lean_dec_ref(x_338); + x_366 = lean_box(0); +} +x_367 = lean_array_fget(x_357, x_358); +x_368 = lean_nat_add(x_358, x_354); +lean_dec(x_358); +if (lean_is_scalar(x_366)) { + x_369 = lean_alloc_ctor(0, 3, 0); +} else { + x_369 = x_366; +} +lean_ctor_set(x_369, 0, x_357); +lean_ctor_set(x_369, 1, x_368); +lean_ctor_set(x_369, 2, x_359); +x_370 = lean_ctor_get(x_336, 0); +lean_inc(x_370); +x_371 = lean_ctor_get(x_336, 1); +lean_inc(x_371); +x_372 = lean_ctor_get(x_336, 2); +lean_inc(x_372); +x_373 = lean_nat_dec_lt(x_371, x_372); +if (x_373 == 0) +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; +lean_dec(x_372); +lean_dec(x_371); +lean_dec(x_370); +lean_dec(x_367); +lean_dec(x_353); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +if (lean_is_scalar(x_342)) { + x_374 = lean_alloc_ctor(0, 2, 0); +} else { + x_374 = x_342; +} +lean_ctor_set(x_374, 0, x_340); +lean_ctor_set(x_374, 1, x_341); +x_375 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_375, 0, x_356); +lean_ctor_set(x_375, 1, x_374); +if (lean_is_scalar(x_339)) { + x_376 = lean_alloc_ctor(0, 2, 0); +} else { + x_376 = x_339; +} +lean_ctor_set(x_376, 0, x_369); +lean_ctor_set(x_376, 1, x_375); +if (lean_is_scalar(x_337)) { + x_377 = lean_alloc_ctor(0, 2, 0); +} else { + x_377 = x_337; +} +lean_ctor_set(x_377, 0, x_336); +lean_ctor_set(x_377, 1, x_376); +x_378 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_378, 0, x_377); +lean_ctor_set(x_378, 1, x_13); +return x_378; +} +else +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; +if (lean_is_exclusive(x_336)) { + lean_ctor_release(x_336, 0); + lean_ctor_release(x_336, 1); + lean_ctor_release(x_336, 2); + x_379 = x_336; +} else { + lean_dec_ref(x_336); + x_379 = lean_box(0); +} +x_380 = lean_array_fget(x_370, x_371); +x_381 = lean_nat_add(x_371, x_354); +lean_dec(x_371); +if (lean_is_scalar(x_379)) { + x_382 = lean_alloc_ctor(0, 3, 0); +} else { + x_382 = x_379; +} +lean_ctor_set(x_382, 0, x_370); +lean_ctor_set(x_382, 1, x_381); +lean_ctor_set(x_382, 2, x_372); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_2); +x_383 = l_Lean_Elab_Structural_getRecArgInfos(x_16, x_353, x_2, x_380, x_367, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_383) == 0) +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; size_t x_395; size_t x_396; +x_384 = lean_ctor_get(x_383, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_383, 1); +lean_inc(x_385); +lean_dec(x_383); +x_386 = lean_ctor_get(x_384, 0); +lean_inc(x_386); +x_387 = lean_ctor_get(x_384, 1); +lean_inc(x_387); +if (lean_is_exclusive(x_384)) { + lean_ctor_release(x_384, 0); + lean_ctor_release(x_384, 1); + x_388 = x_384; +} else { + lean_dec_ref(x_384); + x_388 = lean_box(0); +} +if (lean_is_scalar(x_388)) { + x_389 = lean_alloc_ctor(7, 2, 0); +} else { + x_389 = x_388; + lean_ctor_set_tag(x_389, 7); +} +lean_ctor_set(x_389, 0, x_341); +lean_ctor_set(x_389, 1, x_387); +x_390 = lean_array_push(x_340, x_386); +if (lean_is_scalar(x_342)) { + x_391 = lean_alloc_ctor(0, 2, 0); +} else { + x_391 = x_342; +} +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_389); +x_392 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_392, 0, x_356); +lean_ctor_set(x_392, 1, x_391); +if (lean_is_scalar(x_339)) { + x_393 = lean_alloc_ctor(0, 2, 0); +} else { + x_393 = x_339; +} +lean_ctor_set(x_393, 0, x_369); +lean_ctor_set(x_393, 1, x_392); +if (lean_is_scalar(x_337)) { + x_394 = lean_alloc_ctor(0, 2, 0); +} else { + x_394 = x_337; +} +lean_ctor_set(x_394, 0, x_382); +lean_ctor_set(x_394, 1, x_393); +x_395 = 1; +x_396 = lean_usize_add(x_6, x_395); +x_6 = x_396; +x_7 = x_394; +x_13 = x_385; +goto _start; +} +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +lean_dec(x_382); +lean_dec(x_369); +lean_dec(x_356); +lean_dec(x_342); +lean_dec(x_341); +lean_dec(x_340); +lean_dec(x_339); +lean_dec(x_337); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_2); +x_398 = lean_ctor_get(x_383, 0); +lean_inc(x_398); +x_399 = lean_ctor_get(x_383, 1); +lean_inc(x_399); +if (lean_is_exclusive(x_383)) { + lean_ctor_release(x_383, 0); + lean_ctor_release(x_383, 1); + x_400 = x_383; +} else { + lean_dec_ref(x_383); + x_400 = lean_box(0); +} +if (lean_is_scalar(x_400)) { + x_401 = lean_alloc_ctor(1, 2, 0); +} else { + x_401 = x_400; +} +lean_ctor_set(x_401, 0, x_398); +lean_ctor_set(x_401, 1, x_399); +return x_401; } -lean_ctor_set(x_250, 0, x_247); -lean_ctor_set(x_250, 1, x_248); -return x_250; } } } @@ -16071,277 +14796,288 @@ x_2 = lean_array_to_list(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___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, 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_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; size_t x_22; size_t x_23; lean_object* x_24; -x_12 = lean_box(0); -x_13 = lean_array_get_size(x_3); -x_14 = lean_unsigned_to_nat(0u); -lean_inc(x_3); -x_15 = l_Array_toSubarray___rarg(x_3, x_14, x_13); -x_16 = lean_array_get_size(x_4); -x_17 = l_Array_toSubarray___rarg(x_4, x_14, x_16); -x_18 = lean_box(0); -x_19 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__1; -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -x_22 = lean_array_size(x_1); -x_23 = 0; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_13 = lean_box(0); +x_14 = lean_array_get_size(x_4); +x_15 = lean_unsigned_to_nat(0u); +lean_inc(x_4); +x_16 = l_Array_toSubarray___rarg(x_4, x_15, x_14); +x_17 = lean_array_get_size(x_5); +x_18 = l_Array_toSubarray___rarg(x_5, x_15, x_17); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +lean_dec(x_2); +x_20 = lean_array_get_size(x_19); +x_21 = l_Array_toSubarray___rarg(x_19, x_15, x_20); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__1; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_18); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_array_size(x_1); +x_28 = 0; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_2); -x_24 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__1(x_1, x_2, x_18, x_1, x_22, x_23, x_21, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_24) == 0) +lean_inc(x_3); +x_29 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_tryAllArgs___spec__1(x_1, x_3, x_22, x_1, x_27, x_28, x_26, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = !lean_is_exclusive(x_27); -if (x_29 == 0) +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); +lean_dec(x_29); +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) { -lean_object* x_30; lean_object* x_31; size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_30 = lean_ctor_get(x_27, 0); -x_31 = lean_ctor_get(x_27, 1); -x_32 = lean_array_size(x_30); -x_33 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_tryAllArgs___spec__2(x_32, x_23, x_30); -x_34 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__5; -x_35 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Structural_tryAllArgs___spec__3(x_34, x_6, x_7, x_8, x_9, x_10, x_28); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_unbox(x_36); -lean_dec(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_free_object(x_27); -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -x_39 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_40 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_41 = lean_box(0); -x_42 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_34, x_1, x_2, x_3, x_5, x_39, x_40, x_23, x_33, x_18, x_12, x_31, x_41, x_6, x_7, x_8, x_9, x_10, x_38); -return x_42; -} -else -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_35); +lean_object* x_36; lean_object* x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +x_38 = lean_array_size(x_36); +x_39 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_tryAllArgs___spec__2(x_38, x_28, x_36); +x_40 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__5; +x_41 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Structural_tryAllArgs___spec__3(x_40, x_7, x_8, x_9, x_10, x_11, x_34); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_unbox(x_42); +lean_dec(x_42); if (x_43 == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_44 = lean_ctor_get(x_35, 1); -x_45 = lean_ctor_get(x_35, 0); -lean_dec(x_45); -x_46 = lean_array_get_size(x_33); -x_47 = lean_nat_dec_lt(x_14, x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_46); -x_48 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; -x_49 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_48, x_12); -x_50 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_51 = l_Lean_MessageData_joinSep(x_49, x_50); -x_52 = l_Lean_indentD(x_51); -x_53 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -lean_ctor_set_tag(x_35, 7); -lean_ctor_set(x_35, 1, x_52); -lean_ctor_set(x_35, 0, x_53); -x_54 = l_Lean_Elab_Structural_prettyParam___closed__2; -lean_ctor_set_tag(x_27, 7); -lean_ctor_set(x_27, 1, x_54); -lean_ctor_set(x_27, 0, x_35); -x_55 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_34, x_27, x_6, x_7, x_8, x_9, x_10, x_44); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_59 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_34, x_1, x_2, x_3, x_5, x_54, x_58, x_23, x_33, x_18, x_12, x_31, x_56, x_6, x_7, x_8, x_9, x_10, x_57); -lean_dec(x_56); -return x_59; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_free_object(x_33); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +x_45 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_46 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_47 = lean_box(0); +x_48 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_40, x_1, x_3, x_4, x_6, x_45, x_46, x_28, x_39, x_22, x_13, x_37, x_47, x_7, x_8, x_9, x_10, x_11, x_44); +return x_48; } else { -uint8_t x_60; -x_60 = lean_nat_dec_le(x_46, x_46); -if (x_60 == 0) +uint8_t x_49; +x_49 = !lean_is_exclusive(x_41); +if (x_49 == 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; lean_object* x_70; lean_object* x_71; lean_object* x_72; -lean_dec(x_46); -x_61 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; -x_62 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_61, x_12); -x_63 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_64 = l_Lean_MessageData_joinSep(x_62, x_63); -x_65 = l_Lean_indentD(x_64); -x_66 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -lean_ctor_set_tag(x_35, 7); -lean_ctor_set(x_35, 1, x_65); -lean_ctor_set(x_35, 0, x_66); -x_67 = l_Lean_Elab_Structural_prettyParam___closed__2; -lean_ctor_set_tag(x_27, 7); -lean_ctor_set(x_27, 1, x_67); -lean_ctor_set(x_27, 0, x_35); -x_68 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_34, x_27, x_6, x_7, x_8, x_9, x_10, x_44); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_72 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_34, x_1, x_2, x_3, x_5, x_67, x_71, x_23, x_33, x_18, x_12, x_31, x_69, x_6, x_7, x_8, x_9, x_10, x_70); -lean_dec(x_69); -return x_72; +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = lean_ctor_get(x_41, 1); +x_51 = lean_ctor_get(x_41, 0); +lean_dec(x_51); +x_52 = lean_array_get_size(x_39); +x_53 = lean_nat_dec_lt(x_15, x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_52); +x_54 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; +x_55 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_54, x_13); +x_56 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_57 = l_Lean_MessageData_joinSep(x_55, x_56); +x_58 = l_Lean_indentD(x_57); +x_59 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +lean_ctor_set_tag(x_41, 7); +lean_ctor_set(x_41, 1, x_58); +lean_ctor_set(x_41, 0, x_59); +x_60 = l_Lean_Elab_Structural_prettyParam___closed__2; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_60); +lean_ctor_set(x_33, 0, x_41); +x_61 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_40, x_33, x_7, x_8, x_9, x_10, x_11, x_50); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_65 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_40, x_1, x_3, x_4, x_6, x_60, x_64, x_28, x_39, x_22, x_13, x_37, x_62, x_7, x_8, x_9, x_10, x_11, x_63); +lean_dec(x_62); +return x_65; } else { -size_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_73 = lean_usize_of_nat(x_46); -lean_dec(x_46); -x_74 = l_Lean_Elab_Structural_allCombinations_go___rarg___closed__1; -x_75 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_tryAllArgs___spec__12(x_33, x_23, x_73, x_74); -x_76 = lean_array_to_list(x_75); -x_77 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_76, x_12); -x_78 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_79 = l_Lean_MessageData_joinSep(x_77, x_78); -x_80 = l_Lean_indentD(x_79); -x_81 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -lean_ctor_set_tag(x_35, 7); -lean_ctor_set(x_35, 1, x_80); -lean_ctor_set(x_35, 0, x_81); -x_82 = l_Lean_Elab_Structural_prettyParam___closed__2; -lean_ctor_set_tag(x_27, 7); -lean_ctor_set(x_27, 1, x_82); -lean_ctor_set(x_27, 0, x_35); -x_83 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_34, x_27, x_6, x_7, x_8, x_9, x_10, x_44); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_87 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_34, x_1, x_2, x_3, x_5, x_82, x_86, x_23, x_33, x_18, x_12, x_31, x_84, x_6, x_7, x_8, x_9, x_10, x_85); -lean_dec(x_84); -return x_87; -} -} +uint8_t x_66; +x_66 = lean_nat_dec_le(x_52, x_52); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_52); +x_67 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; +x_68 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_67, x_13); +x_69 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_70 = l_Lean_MessageData_joinSep(x_68, x_69); +x_71 = l_Lean_indentD(x_70); +x_72 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +lean_ctor_set_tag(x_41, 7); +lean_ctor_set(x_41, 1, x_71); +lean_ctor_set(x_41, 0, x_72); +x_73 = l_Lean_Elab_Structural_prettyParam___closed__2; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_73); +lean_ctor_set(x_33, 0, x_41); +x_74 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_40, x_33, x_7, x_8, x_9, x_10, x_11, x_50); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_78 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_40, x_1, x_3, x_4, x_6, x_73, x_77, x_28, x_39, x_22, x_13, x_37, x_75, x_7, x_8, x_9, x_10, x_11, x_76); +lean_dec(x_75); +return x_78; } else { -lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_88 = lean_ctor_get(x_35, 1); -lean_inc(x_88); -lean_dec(x_35); -x_89 = lean_array_get_size(x_33); -x_90 = lean_nat_dec_lt(x_14, x_89); -if (x_90 == 0) -{ -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; +size_t 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; +x_79 = lean_usize_of_nat(x_52); +lean_dec(x_52); +x_80 = l_Lean_Elab_Structural_allCombinations_go___rarg___closed__1; +x_81 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_tryAllArgs___spec__12(x_39, x_28, x_79, x_80); +x_82 = lean_array_to_list(x_81); +x_83 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_82, x_13); +x_84 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_85 = l_Lean_MessageData_joinSep(x_83, x_84); +x_86 = l_Lean_indentD(x_85); +x_87 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +lean_ctor_set_tag(x_41, 7); +lean_ctor_set(x_41, 1, x_86); +lean_ctor_set(x_41, 0, x_87); +x_88 = l_Lean_Elab_Structural_prettyParam___closed__2; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_88); +lean_ctor_set(x_33, 0, x_41); +x_89 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_40, x_33, x_7, x_8, x_9, x_10, x_11, x_50); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); lean_dec(x_89); -x_91 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; -x_92 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_91, x_12); -x_93 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_94 = l_Lean_MessageData_joinSep(x_92, x_93); -x_95 = l_Lean_indentD(x_94); -x_96 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -x_97 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = l_Lean_Elab_Structural_prettyParam___closed__2; -lean_ctor_set_tag(x_27, 7); -lean_ctor_set(x_27, 1, x_98); -lean_ctor_set(x_27, 0, x_97); -x_99 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_34, x_27, x_6, x_7, x_8, x_9, x_10, x_88); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_103 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_34, x_1, x_2, x_3, x_5, x_98, x_102, x_23, x_33, x_18, x_12, x_31, x_100, x_6, x_7, x_8, x_9, x_10, x_101); -lean_dec(x_100); -return x_103; +x_92 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_93 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_40, x_1, x_3, x_4, x_6, x_88, x_92, x_28, x_39, x_22, x_13, x_37, x_90, x_7, x_8, x_9, x_10, x_11, x_91); +lean_dec(x_90); +return x_93; +} +} } else { -uint8_t x_104; -x_104 = lean_nat_dec_le(x_89, x_89); -if (x_104 == 0) +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = lean_ctor_get(x_41, 1); +lean_inc(x_94); +lean_dec(x_41); +x_95 = lean_array_get_size(x_39); +x_96 = lean_nat_dec_lt(x_15, x_95); +if (x_96 == 0) { -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_dec(x_89); -x_105 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; -x_106 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_105, x_12); -x_107 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_108 = l_Lean_MessageData_joinSep(x_106, x_107); -x_109 = l_Lean_indentD(x_108); -x_110 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -x_111 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = l_Lean_Elab_Structural_prettyParam___closed__2; -lean_ctor_set_tag(x_27, 7); -lean_ctor_set(x_27, 1, x_112); -lean_ctor_set(x_27, 0, x_111); -x_113 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_34, x_27, x_6, x_7, x_8, x_9, x_10, x_88); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_117 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_34, x_1, x_2, x_3, x_5, x_112, x_116, x_23, x_33, x_18, x_12, x_31, x_114, x_6, x_7, x_8, x_9, x_10, x_115); -lean_dec(x_114); -return x_117; +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_dec(x_95); +x_97 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; +x_98 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_97, x_13); +x_99 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_100 = l_Lean_MessageData_joinSep(x_98, x_99); +x_101 = l_Lean_indentD(x_100); +x_102 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +x_103 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +x_104 = l_Lean_Elab_Structural_prettyParam___closed__2; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_104); +lean_ctor_set(x_33, 0, x_103); +x_105 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_40, x_33, x_7, x_8, x_9, x_10, x_11, x_94); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_109 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_40, x_1, x_3, x_4, x_6, x_104, x_108, x_28, x_39, x_22, x_13, x_37, x_106, x_7, x_8, x_9, x_10, x_11, x_107); +lean_dec(x_106); +return x_109; } else { -size_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_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_118 = lean_usize_of_nat(x_89); -lean_dec(x_89); -x_119 = l_Lean_Elab_Structural_allCombinations_go___rarg___closed__1; -x_120 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_tryAllArgs___spec__12(x_33, x_23, x_118, x_119); -x_121 = lean_array_to_list(x_120); -x_122 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_121, x_12); -x_123 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_124 = l_Lean_MessageData_joinSep(x_122, x_123); -x_125 = l_Lean_indentD(x_124); -x_126 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -x_127 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = l_Lean_Elab_Structural_prettyParam___closed__2; -lean_ctor_set_tag(x_27, 7); -lean_ctor_set(x_27, 1, x_128); -lean_ctor_set(x_27, 0, x_127); -x_129 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_34, x_27, x_6, x_7, x_8, x_9, x_10, x_88); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_133 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_34, x_1, x_2, x_3, x_5, x_128, x_132, x_23, x_33, x_18, x_12, x_31, x_130, x_6, x_7, x_8, x_9, x_10, x_131); -lean_dec(x_130); -return x_133; +uint8_t x_110; +x_110 = lean_nat_dec_le(x_95, x_95); +if (x_110 == 0) +{ +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_dec(x_95); +x_111 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; +x_112 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_111, x_13); +x_113 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_114 = l_Lean_MessageData_joinSep(x_112, x_113); +x_115 = l_Lean_indentD(x_114); +x_116 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +x_117 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +x_118 = l_Lean_Elab_Structural_prettyParam___closed__2; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_118); +lean_ctor_set(x_33, 0, x_117); +x_119 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_40, x_33, x_7, x_8, x_9, x_10, x_11, x_94); +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_122 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_123 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_40, x_1, x_3, x_4, x_6, x_118, x_122, x_28, x_39, x_22, x_13, x_37, x_120, x_7, x_8, x_9, x_10, x_11, x_121); +lean_dec(x_120); +return x_123; +} +else +{ +size_t 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; +x_124 = lean_usize_of_nat(x_95); +lean_dec(x_95); +x_125 = l_Lean_Elab_Structural_allCombinations_go___rarg___closed__1; +x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_tryAllArgs___spec__12(x_39, x_28, x_124, x_125); +x_127 = lean_array_to_list(x_126); +x_128 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_127, x_13); +x_129 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_130 = l_Lean_MessageData_joinSep(x_128, x_129); +x_131 = l_Lean_indentD(x_130); +x_132 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +x_133 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = l_Lean_Elab_Structural_prettyParam___closed__2; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_134); +lean_ctor_set(x_33, 0, x_133); +x_135 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_40, x_33, x_7, x_8, x_9, x_10, x_11, x_94); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_139 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_40, x_1, x_3, x_4, x_6, x_134, x_138, x_28, x_39, x_22, x_13, x_37, x_136, x_7, x_8, x_9, x_10, x_11, x_137); +lean_dec(x_136); +return x_139; } } } @@ -16349,152 +15085,152 @@ return x_133; } else { -lean_object* x_134; lean_object* x_135; size_t x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; -x_134 = lean_ctor_get(x_27, 0); -x_135 = lean_ctor_get(x_27, 1); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_27); -x_136 = lean_array_size(x_134); -x_137 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_tryAllArgs___spec__2(x_136, x_23, x_134); -x_138 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__5; -x_139 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Structural_tryAllArgs___spec__3(x_138, x_6, x_7, x_8, x_9, x_10, x_28); -x_140 = lean_ctor_get(x_139, 0); +lean_object* x_140; lean_object* x_141; size_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; +x_140 = lean_ctor_get(x_33, 0); +x_141 = lean_ctor_get(x_33, 1); +lean_inc(x_141); lean_inc(x_140); -x_141 = lean_unbox(x_140); -lean_dec(x_140); -if (x_141 == 0) +lean_dec(x_33); +x_142 = lean_array_size(x_140); +x_143 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_tryAllArgs___spec__2(x_142, x_28, x_140); +x_144 = l_Lean_Elab_Structural_getRecArgInfos___lambda__4___closed__5; +x_145 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Structural_tryAllArgs___spec__3(x_144, x_7, x_8, x_9, x_10, x_11, x_34); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_unbox(x_146); +lean_dec(x_146); +if (x_147 == 0) { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_142 = lean_ctor_get(x_139, 1); -lean_inc(x_142); -lean_dec(x_139); -x_143 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_144 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_145 = lean_box(0); -x_146 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_138, x_1, x_2, x_3, x_5, x_143, x_144, x_23, x_137, x_18, x_12, x_135, x_145, x_6, x_7, x_8, x_9, x_10, x_142); -return x_146; +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_148 = lean_ctor_get(x_145, 1); +lean_inc(x_148); +lean_dec(x_145); +x_149 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_150 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_151 = lean_box(0); +x_152 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_144, x_1, x_3, x_4, x_6, x_149, x_150, x_28, x_143, x_22, x_13, x_141, x_151, x_7, x_8, x_9, x_10, x_11, x_148); +return x_152; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; -x_147 = lean_ctor_get(x_139, 1); -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; +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_153 = lean_ctor_get(x_145, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_154 = x_145; } else { - lean_dec_ref(x_139); - x_148 = lean_box(0); + lean_dec_ref(x_145); + x_154 = lean_box(0); } -x_149 = lean_array_get_size(x_137); -x_150 = lean_nat_dec_lt(x_14, x_149); -if (x_150 == 0) +x_155 = lean_array_get_size(x_143); +x_156 = lean_nat_dec_lt(x_15, x_155); +if (x_156 == 0) { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -lean_dec(x_149); -x_151 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; -x_152 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_151, x_12); -x_153 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_154 = l_Lean_MessageData_joinSep(x_152, x_153); -x_155 = l_Lean_indentD(x_154); -x_156 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -if (lean_is_scalar(x_148)) { - x_157 = lean_alloc_ctor(7, 2, 0); +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_155); +x_157 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; +x_158 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_157, x_13); +x_159 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_160 = l_Lean_MessageData_joinSep(x_158, x_159); +x_161 = l_Lean_indentD(x_160); +x_162 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +if (lean_is_scalar(x_154)) { + x_163 = lean_alloc_ctor(7, 2, 0); } else { - x_157 = x_148; - lean_ctor_set_tag(x_157, 7); + x_163 = x_154; + lean_ctor_set_tag(x_163, 7); } -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_159 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_138, x_159, x_6, x_7, x_8, x_9, x_10, x_147); -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_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_164 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_138, x_1, x_2, x_3, x_5, x_158, x_163, x_23, x_137, x_18, x_12, x_135, x_161, x_6, x_7, x_8, x_9, x_10, x_162); -lean_dec(x_161); -return x_164; +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_161); +x_164 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_165 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +x_166 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_144, x_165, x_7, x_8, x_9, x_10, x_11, x_153); +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_Structural_prettyParameterSet___closed__1; +x_170 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_144, x_1, x_3, x_4, x_6, x_164, x_169, x_28, x_143, x_22, x_13, x_141, x_167, x_7, x_8, x_9, x_10, x_11, x_168); +lean_dec(x_167); +return x_170; } else { -uint8_t x_165; -x_165 = lean_nat_dec_le(x_149, x_149); -if (x_165 == 0) +uint8_t x_171; +x_171 = lean_nat_dec_le(x_155, x_155); +if (x_171 == 0) { -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -lean_dec(x_149); -x_166 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; -x_167 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_166, x_12); -x_168 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_169 = l_Lean_MessageData_joinSep(x_167, x_168); -x_170 = l_Lean_indentD(x_169); -x_171 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -if (lean_is_scalar(x_148)) { - x_172 = lean_alloc_ctor(7, 2, 0); +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_155); +x_172 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__5; +x_173 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_172, x_13); +x_174 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_175 = l_Lean_MessageData_joinSep(x_173, x_174); +x_176 = l_Lean_indentD(x_175); +x_177 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +if (lean_is_scalar(x_154)) { + x_178 = lean_alloc_ctor(7, 2, 0); } else { - x_172 = x_148; - lean_ctor_set_tag(x_172, 7); + x_178 = x_154; + lean_ctor_set_tag(x_178, 7); } -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -x_173 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_174 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_174, 0, x_172); -lean_ctor_set(x_174, 1, x_173); -x_175 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_138, x_174, x_6, x_7, x_8, x_9, x_10, x_147); -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -x_178 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_179 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_138, x_1, x_2, x_3, x_5, x_173, x_178, x_23, x_137, x_18, x_12, x_135, x_176, x_6, x_7, x_8, x_9, x_10, x_177); -lean_dec(x_176); -return x_179; +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_176); +x_179 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_180 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_179); +x_181 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_144, x_180, x_7, x_8, x_9, x_10, x_11, x_153); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_185 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_144, x_1, x_3, x_4, x_6, x_179, x_184, x_28, x_143, x_22, x_13, x_141, x_182, x_7, x_8, x_9, x_10, x_11, x_183); +lean_dec(x_182); +return x_185; } else { -size_t x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_180 = lean_usize_of_nat(x_149); -lean_dec(x_149); -x_181 = l_Lean_Elab_Structural_allCombinations_go___rarg___closed__1; -x_182 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_tryAllArgs___spec__12(x_137, x_23, x_180, x_181); -x_183 = lean_array_to_list(x_182); -x_184 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_183, x_12); -x_185 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; -x_186 = l_Lean_MessageData_joinSep(x_184, x_185); -x_187 = l_Lean_indentD(x_186); -x_188 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; -if (lean_is_scalar(x_148)) { - x_189 = lean_alloc_ctor(7, 2, 0); +size_t x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +x_186 = lean_usize_of_nat(x_155); +lean_dec(x_155); +x_187 = l_Lean_Elab_Structural_allCombinations_go___rarg___closed__1; +x_188 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_tryAllArgs___spec__12(x_143, x_28, x_186, x_187); +x_189 = lean_array_to_list(x_188); +x_190 = l_List_mapTR_loop___at_Lean_Elab_Structural_tryAllArgs___spec__13(x_189, x_13); +x_191 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__4; +x_192 = l_Lean_MessageData_joinSep(x_190, x_191); +x_193 = l_Lean_indentD(x_192); +x_194 = l_Lean_Elab_Structural_tryAllArgs___rarg___closed__3; +if (lean_is_scalar(x_154)) { + x_195 = lean_alloc_ctor(7, 2, 0); } else { - x_189 = x_148; - lean_ctor_set_tag(x_189, 7); + x_195 = x_154; + lean_ctor_set_tag(x_195, 7); } -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_187); -x_190 = l_Lean_Elab_Structural_prettyParam___closed__2; -x_191 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -x_192 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_138, x_191, x_6, x_7, x_8, x_9, x_10, x_147); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; -x_196 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_138, x_1, x_2, x_3, x_5, x_190, x_195, x_23, x_137, x_18, x_12, x_135, x_193, x_6, x_7, x_8, x_9, x_10, x_194); -lean_dec(x_193); -return x_196; +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_193); +x_196 = l_Lean_Elab_Structural_prettyParam___closed__2; +x_197 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_197, 0, x_195); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_Lean_addTrace___at_Lean_Elab_Structural_tryAllArgs___spec__6(x_144, x_197, x_7, x_8, x_9, x_10, x_11, x_153); +x_199 = lean_ctor_get(x_198, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_198, 1); +lean_inc(x_200); +lean_dec(x_198); +x_201 = l_Lean_Elab_Structural_prettyParameterSet___closed__1; +x_202 = l_Lean_Elab_Structural_tryAllArgs___rarg___lambda__5(x_144, x_1, x_3, x_4, x_6, x_196, x_201, x_28, x_143, x_22, x_13, x_141, x_199, x_7, x_8, x_9, x_10, x_11, x_200); +lean_dec(x_199); +return x_202; } } } @@ -16502,32 +15238,32 @@ return x_196; } else { -uint8_t x_197; +uint8_t x_203; +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_197 = !lean_is_exclusive(x_24); -if (x_197 == 0) +x_203 = !lean_is_exclusive(x_29); +if (x_203 == 0) { -return x_24; +return x_29; } else { -lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_198 = lean_ctor_get(x_24, 0); -x_199 = lean_ctor_get(x_24, 1); -lean_inc(x_199); -lean_inc(x_198); -lean_dec(x_24); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_198); -lean_ctor_set(x_200, 1, x_199); -return x_200; +lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_204 = lean_ctor_get(x_29, 0); +x_205 = lean_ctor_get(x_29, 1); +lean_inc(x_205); +lean_inc(x_204); +lean_dec(x_29); +x_206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_206, 0, x_204); +lean_ctor_set(x_206, 1, x_205); +return x_206; } } } @@ -16536,7 +15272,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_tryAllArgs___rarg___boxed), 11, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_tryAllArgs___rarg___boxed), 12, 0); return x_2; } } @@ -16920,16 +15656,17 @@ lean_dec(x_2); return x_21; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_tryAllArgs___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, 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_12; -x_12 = l_Lean_Elab_Structural_tryAllArgs___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; +x_13 = l_Lean_Elab_Structural_tryAllArgs___rarg(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_1); -return x_12; +return x_13; } } lean_object* initialize_Lean_Elab_PreDefinition_TerminationMeasure(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(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_RecArgInfo(uint8_t builtin, lean_object*); static bool _G_initialized = false; @@ -16940,6 +15677,9 @@ _G_initialized = true; res = initialize_Lean_Elab_PreDefinition_TerminationMeasure(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_FixedParams(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Structural_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -16968,16 +15708,10 @@ l_Lean_Elab_Structural_prettyParameterSet___closed__4 = _init_l_Lean_Elab_Struct lean_mark_persistent(l_Lean_Elab_Structural_prettyParameterSet___closed__4); l_Lean_Elab_Structural_prettyParameterSet___closed__5 = _init_l_Lean_Elab_Structural_prettyParameterSet___closed__5(); lean_mark_persistent(l_Lean_Elab_Structural_prettyParameterSet___closed__5); -l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__1 = _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__1(); -lean_mark_persistent(l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__1); -l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__2 = _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__2(); -lean_mark_persistent(l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__2); -l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__3 = _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__3(); -lean_mark_persistent(l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__3); l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___closed__1); -l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4___closed__1 = _init_l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4___closed__1(); -lean_mark_persistent(l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__4___closed__1); +l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_Structural_getRecArgInfo___spec__1___closed__1); l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__1); l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_getRecArgInfo___spec__5___closed__2(); @@ -17064,6 +15798,14 @@ l_Lean_Elab_Structural_getRecArgInfo___closed__7 = _init_l_Lean_Elab_Structural_ lean_mark_persistent(l_Lean_Elab_Structural_getRecArgInfo___closed__7); l_Lean_Elab_Structural_getRecArgInfo___closed__8 = _init_l_Lean_Elab_Structural_getRecArgInfo___closed__8(); lean_mark_persistent(l_Lean_Elab_Structural_getRecArgInfo___closed__8); +l_Lean_Elab_Structural_getRecArgInfo___closed__9 = _init_l_Lean_Elab_Structural_getRecArgInfo___closed__9(); +lean_mark_persistent(l_Lean_Elab_Structural_getRecArgInfo___closed__9); +l_Lean_Elab_Structural_getRecArgInfo___closed__10 = _init_l_Lean_Elab_Structural_getRecArgInfo___closed__10(); +lean_mark_persistent(l_Lean_Elab_Structural_getRecArgInfo___closed__10); +l_Lean_Elab_Structural_getRecArgInfo___closed__11 = _init_l_Lean_Elab_Structural_getRecArgInfo___closed__11(); +lean_mark_persistent(l_Lean_Elab_Structural_getRecArgInfo___closed__11); +l_Lean_Elab_Structural_getRecArgInfo___closed__12 = _init_l_Lean_Elab_Structural_getRecArgInfo___closed__12(); +lean_mark_persistent(l_Lean_Elab_Structural_getRecArgInfo___closed__12); l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__1(); lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__1); l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_getRecArgInfos___spec__1___closed__2(); @@ -17104,6 +15846,12 @@ l_Lean_Elab_Structural_nonIndicesFirst___closed__2 = _init_l_Lean_Elab_Structura lean_mark_persistent(l_Lean_Elab_Structural_nonIndicesFirst___closed__2); l_Lean_Elab_Structural_nonIndicesFirst___closed__3 = _init_l_Lean_Elab_Structural_nonIndicesFirst___closed__3(); lean_mark_persistent(l_Lean_Elab_Structural_nonIndicesFirst___closed__3); +l_Lean_Elab_Structural_nonIndicesFirst___closed__4 = _init_l_Lean_Elab_Structural_nonIndicesFirst___closed__4(); +lean_mark_persistent(l_Lean_Elab_Structural_nonIndicesFirst___closed__4); +l_Lean_Elab_Structural_nonIndicesFirst___closed__5 = _init_l_Lean_Elab_Structural_nonIndicesFirst___closed__5(); +lean_mark_persistent(l_Lean_Elab_Structural_nonIndicesFirst___closed__5); +l_Lean_Elab_Structural_nonIndicesFirst___closed__6 = _init_l_Lean_Elab_Structural_nonIndicesFirst___closed__6(); +lean_mark_persistent(l_Lean_Elab_Structural_nonIndicesFirst___closed__6); l_Lean_Elab_Structural_inductiveGroups___closed__1 = _init_l_Lean_Elab_Structural_inductiveGroups___closed__1(); lean_mark_persistent(l_Lean_Elab_Structural_inductiveGroups___closed__1); l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_argsInGroup___spec__2___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/IndPred.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/IndPred.c index 8816e90615..52acc77bcf 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/IndPred.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/IndPred.c @@ -55,7 +55,7 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*) LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__14(lean_object*, 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_getRecAppSyntax_x3f(lean_object*); @@ -93,6 +93,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefi LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__6___closed__4; static lean_object* l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__3___closed__1; +lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg(lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__4___closed__2; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__1___closed__2; @@ -104,7 +105,6 @@ uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_Structural_mkIndPredBRecOn___spec__2___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__20___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___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*, lean_object*, lean_object*, lean_object*); @@ -152,7 +152,6 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefi LEAN_EXPORT lean_object* l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___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_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__6; static lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__20___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*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_Structural_mkIndPredBRecOn___spec__2(lean_object*); @@ -173,6 +172,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__8___closed__2; +static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__20___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___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*); @@ -194,6 +194,7 @@ LEAN_EXPORT lean_object* l_ReaderT_pure___at___private_Lean_Elab_PreDefinition_S LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__6___closed__1; lean_object* l_Lean_Elab_Structural_RecArgInfo_indName_x21(lean_object*); +static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__6; uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__4___boxed(lean_object**); extern lean_object* l_Lean_Meta_instMonadMetaM; @@ -223,7 +224,7 @@ static lean_object* l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed_ lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__10___rarg___closed__3; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher(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_mkIndPredBRecOn___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -299,6 +300,7 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Le LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(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_trace_profiler; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__20___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_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); @@ -322,6 +324,7 @@ uint8_t l_Lean_isAuxRecursorWithSuffix(lean_object*, lean_object*, lean_object*) lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); static lean_object* l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__2; +static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__5; static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__6___closed__8; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__8(lean_object*); @@ -4830,7 +4833,7 @@ static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDef _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("too few arguments. Underapplied recursive call\?", 47, 47); +x_1 = lean_mk_string_unchecked("too few arguments, expected ", 28, 28); return x_1; } } @@ -4843,31 +4846,89 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__3() { _start: { -lean_object* x_9; -x_9 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__6___closed__1; -if (x_2 == 0) +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", found ", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__4() { +_start: { -lean_object* x_10; lean_object* x_11; +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(". Underapplied recursive call\?", 30, 30); +return x_1; +} +} +static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3(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: +{ +lean_object* x_11; +x_11 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__6___closed__1; +if (x_4 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_10 = lean_box(0); -x_11 = lean_apply_7(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); -return x_11; +x_12 = lean_box(0); +x_13 = lean_apply_7(x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__2; -x_13 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8); -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_apply_7(x_9, x_14, x_3, x_4, x_5, x_6, x_7, x_15); -return x_16; +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; +x_14 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +x_15 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l_Lean_MessageData_ofFormat(x_15); +x_17 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__2; +x_18 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__4; +x_20 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l___private_Init_Data_Repr_0__Nat_reprFast(x_2); +x_22 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = l_Lean_MessageData_ofFormat(x_22); +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__6; +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_3, x_26, x_5, x_6, x_7, x_8, x_9, x_10); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_apply_7(x_11, x_28, x_5, x_6, x_7, x_8, x_9, x_29); +return x_30; } } } @@ -4949,11 +5010,11 @@ x_30 = lean_unsigned_to_nat(0u); x_31 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_3, x_30); lean_dec(x_3); x_32 = lean_nat_dec_lt(x_29, x_31); -lean_dec(x_31); -lean_dec(x_29); if (x_32 == 0) { lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_31); +lean_dec(x_29); x_33 = lean_box(0); x_34 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__1___rarg___boxed), 7, 1); lean_closure_set(x_34, 0, x_33); @@ -4973,8 +5034,10 @@ lean_inc(x_6); x_39 = lean_alloc_closure((void*)(l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2___boxed), 7, 1); lean_closure_set(x_39, 0, x_6); lean_inc(x_6); -x_40 = lean_alloc_closure((void*)(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___boxed), 8, 1); -lean_closure_set(x_40, 0, x_6); +x_40 = lean_alloc_closure((void*)(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___boxed), 10, 3); +lean_closure_set(x_40, 0, x_31); +lean_closure_set(x_40, 1, x_29); +lean_closure_set(x_40, 2, x_6); x_41 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__8___rarg), 8, 2); lean_closure_set(x_41, 0, x_39); lean_closure_set(x_41, 1, x_40); @@ -7413,7 +7476,7 @@ x_13 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_5, x_12, x_7, x_8, x_9, x_10 x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_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_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; x_15 = lean_ctor_get(x_13, 0); x_16 = lean_ctor_get(x_13, 1); x_17 = lean_unsigned_to_nat(0u); @@ -7426,91 +7489,89 @@ x_22 = lean_nat_sub(x_18, x_21); lean_dec(x_18); lean_inc(x_1); x_23 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_20, x_22); -x_24 = lean_array_get_size(x_23); -x_25 = l_Array_toSubarray___rarg(x_23, x_2, x_24); -x_26 = l_Array_ofSubarray___rarg(x_25); +x_24 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_2, x_23); +lean_dec(x_23); +x_25 = lean_ctor_get(x_7, 2); +lean_inc(x_25); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); lean_dec(x_25); -x_27 = lean_ctor_get(x_7, 2); -lean_inc(x_27); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_15); -x_29 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__13(x_3, x_4, x_15, x_19, x_26, x_28, x_6, x_7, x_8, x_9, x_10, x_16); +x_27 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__13(x_3, x_4, x_15, x_19, x_24, x_26, x_6, x_7, x_8, x_9, x_10, x_16); +lean_dec(x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_unbox(x_28); lean_dec(x_28); -if (lean_obj_tag(x_29) == 0) +if (x_29 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_unbox(x_30); -lean_dec(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_dec(x_15); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = l_Lean_MessageData_ofExpr(x_1); -x_34 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__3___closed__3; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = l_Lean_MessageData_ofExpr(x_1); +x_32 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__3___closed__3; lean_ctor_set_tag(x_13, 7); -lean_ctor_set(x_13, 1, x_33); -lean_ctor_set(x_13, 0, x_34); -x_35 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; -x_36 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_36, 0, x_13); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__19(x_36, x_6, x_7, x_8, x_9, x_10, x_32); +lean_ctor_set(x_13, 1, x_31); +lean_ctor_set(x_13, 0, x_32); +x_33 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_13); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__19(x_34, x_6, x_7, x_8, x_9, x_10, x_30); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -return x_37; +return x_35; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_37, 0); -x_40 = lean_ctor_get(x_37, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_35); +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_40; lean_object* x_41; +lean_free_object(x_13); +lean_dec(x_1); +x_40 = lean_ctor_get(x_27, 1); lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_37); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); +lean_dec(x_27); +x_41 = l_Lean_instantiateMVars___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__18(x_15, x_6, x_7, x_8, x_9, x_10, x_40); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); return x_41; } } else { -lean_object* x_42; lean_object* x_43; -lean_free_object(x_13); -lean_dec(x_1); -x_42 = lean_ctor_get(x_29, 1); -lean_inc(x_42); -lean_dec(x_29); -x_43 = l_Lean_instantiateMVars___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__18(x_15, x_6, x_7, x_8, x_9, x_10, x_42); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_43; -} -} -else -{ -uint8_t x_44; +uint8_t x_42; lean_free_object(x_13); lean_dec(x_15); lean_dec(x_10); @@ -7519,159 +7580,157 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_29); -if (x_44 == 0) +x_42 = !lean_is_exclusive(x_27); +if (x_42 == 0) { -return x_29; +return x_27; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_29, 0); -x_46 = lean_ctor_get(x_29, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_27, 0); +x_44 = lean_ctor_get(x_27, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_27); +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; +} +} +} +else +{ +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; +x_46 = lean_ctor_get(x_13, 0); +x_47 = lean_ctor_get(x_13, 1); +lean_inc(x_47); lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_29); -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; -} -} -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_48 = lean_ctor_get(x_13, 0); -x_49 = lean_ctor_get(x_13, 1); -lean_inc(x_49); -lean_inc(x_48); lean_dec(x_13); -x_50 = lean_unsigned_to_nat(0u); -x_51 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_50); -x_52 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__3___closed__1; -lean_inc(x_51); -x_53 = lean_mk_array(x_51, x_52); -x_54 = lean_unsigned_to_nat(1u); -x_55 = lean_nat_sub(x_51, x_54); -lean_dec(x_51); +x_48 = lean_unsigned_to_nat(0u); +x_49 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_48); +x_50 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__3___closed__1; +lean_inc(x_49); +x_51 = lean_mk_array(x_49, x_50); +x_52 = lean_unsigned_to_nat(1u); +x_53 = lean_nat_sub(x_49, x_52); +lean_dec(x_49); lean_inc(x_1); -x_56 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_53, x_55); -x_57 = lean_array_get_size(x_56); -x_58 = l_Array_toSubarray___rarg(x_56, x_2, x_57); -x_59 = l_Array_ofSubarray___rarg(x_58); -lean_dec(x_58); -x_60 = lean_ctor_get(x_7, 2); -lean_inc(x_60); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); +x_54 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_51, x_53); +x_55 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_2, x_54); +lean_dec(x_54); +x_56 = lean_ctor_get(x_7, 2); +lean_inc(x_56); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_48); -x_62 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__13(x_3, x_4, x_48, x_52, x_59, x_61, x_6, x_7, x_8, x_9, x_10, x_49); -lean_dec(x_61); -if (lean_obj_tag(x_62) == 0) +lean_inc(x_46); +x_58 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__13(x_3, x_4, x_46, x_50, x_55, x_57, x_6, x_7, x_8, x_9, x_10, x_47); +lean_dec(x_57); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_unbox(x_63); -lean_dec(x_63); -if (x_64 == 0) +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_unbox(x_59); +lean_dec(x_59); +if (x_60 == 0) { -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_dec(x_48); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_dec(x_62); -x_66 = l_Lean_MessageData_ofExpr(x_1); -x_67 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__3___closed__3; -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_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; -x_70 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__19(x_70, x_6, x_7, x_8, x_9, x_10, x_65); +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_dec(x_46); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_dec(x_58); +x_62 = l_Lean_MessageData_ofExpr(x_1); +x_63 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__3___closed__3; +x_64 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__19(x_66, x_6, x_7, x_8, x_9, x_10, x_61); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_72 = lean_ctor_get(x_71, 0); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_70 = x_67; +} else { + lean_dec_ref(x_67); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_1); +x_72 = lean_ctor_get(x_58, 1); lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_74 = x_71; -} else { - lean_dec_ref(x_71); - x_74 = lean_box(0); -} -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(1, 2, 0); -} else { - x_75 = x_74; -} -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_73); -return x_75; -} -else -{ -lean_object* x_76; lean_object* x_77; -lean_dec(x_1); -x_76 = lean_ctor_get(x_62, 1); -lean_inc(x_76); -lean_dec(x_62); -x_77 = l_Lean_instantiateMVars___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__18(x_48, x_6, x_7, x_8, x_9, x_10, x_76); +lean_dec(x_58); +x_73 = l_Lean_instantiateMVars___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__18(x_46, x_6, x_7, x_8, x_9, x_10, x_72); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +return x_73; +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_46); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_74 = lean_ctor_get(x_58, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_58, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_76 = x_58; +} else { + lean_dec_ref(x_58); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); return x_77; } } -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_48); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_78 = lean_ctor_get(x_62, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_62, 1); -lean_inc(x_79); -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); -} -if (lean_is_scalar(x_80)) { - x_81 = lean_alloc_ctor(1, 2, 0); -} else { - x_81 = x_80; -} -lean_ctor_set(x_81, 0, x_78); -lean_ctor_set(x_81, 1, x_79); -return x_81; -} -} } } static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___closed__1() { @@ -8303,14 +8362,14 @@ lean_dec(x_5); return x_16; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___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_9; lean_object* x_10; -x_9 = lean_unbox(x_2); -lean_dec(x_2); -x_10 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_4); +lean_dec(x_4); +x_12 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { @@ -8530,6 +8589,7 @@ _start: lean_object* x_12; x_12 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_3); +lean_dec(x_2); return x_12; } } @@ -14069,7 +14129,7 @@ static lean_object* _init_l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___c _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("numFixed: ", 10, 10); +x_1 = lean_mk_string_unchecked("indexMajorArgs: ", 16, 16); return x_1; } } @@ -14086,7 +14146,7 @@ static lean_object* _init_l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___c _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(", indexMajorArgs: ", 18, 18); +x_1 = lean_mk_string_unchecked(", otherArgs: ", 13, 13); return x_1; } } @@ -14099,23 +14159,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(", otherArgs: ", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -14135,6 +14178,7 @@ x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); x_13 = l_Lean_Expr_headBeta(x_11); +lean_inc(x_2); lean_inc(x_1); x_14 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_1, x_2); x_15 = !lean_is_exclusive(x_14); @@ -14166,16 +14210,15 @@ uint8_t x_25; x_25 = !lean_is_exclusive(x_19); if (x_25 == 0) { -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_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; x_26 = lean_ctor_get(x_19, 1); x_27 = lean_ctor_get(x_19, 0); lean_dec(x_27); -x_28 = lean_ctor_get(x_1, 1); -lean_inc(x_28); -x_29 = l___private_Init_Data_Repr_0__Nat_reprFast(x_28); -x_30 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_MessageData_ofFormat(x_30); +lean_inc(x_16); +x_28 = lean_array_to_list(x_16); +x_29 = lean_box(0); +x_30 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_28, x_29); +x_31 = l_Lean_MessageData_ofList(x_30); x_32 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__2; lean_ctor_set_tag(x_19, 7); lean_ctor_set(x_19, 1, x_31); @@ -14184,188 +14227,150 @@ x_33 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__4; lean_ctor_set_tag(x_14, 7); lean_ctor_set(x_14, 1, x_33); lean_ctor_set(x_14, 0, x_19); -lean_inc(x_16); -x_34 = lean_array_to_list(x_16); -x_35 = lean_box(0); -x_36 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_34, x_35); -x_37 = l_Lean_MessageData_ofList(x_36); -x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_14); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__6; -x_40 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); lean_inc(x_17); -x_41 = lean_array_to_list(x_17); -x_42 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_41, x_35); -x_43 = l_Lean_MessageData_ofList(x_42); -x_44 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_44, 0, x_40); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; -x_46 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_18, x_46, x_4, x_5, x_6, x_7, x_8, x_26); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__8(x_2, x_13, x_17, x_16, x_18, x_1, x_3, x_48, x_4, x_5, x_6, x_7, x_8, x_49); -lean_dec(x_48); -return x_50; +x_34 = lean_array_to_list(x_17); +x_35 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_34, x_29); +x_36 = l_Lean_MessageData_ofList(x_35); +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_18, x_39, x_4, x_5, x_6, x_7, x_8, x_26); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__8(x_2, x_13, x_17, x_16, x_18, x_1, x_3, x_41, x_4, x_5, x_6, x_7, x_8, x_42); +lean_dec(x_41); +return x_43; } 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; 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; -x_51 = lean_ctor_get(x_19, 1); -lean_inc(x_51); +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; +x_44 = lean_ctor_get(x_19, 1); +lean_inc(x_44); lean_dec(x_19); -x_52 = lean_ctor_get(x_1, 1); -lean_inc(x_52); -x_53 = l___private_Init_Data_Repr_0__Nat_reprFast(x_52); -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_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___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_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__4; -lean_ctor_set_tag(x_14, 7); -lean_ctor_set(x_14, 1, x_58); -lean_ctor_set(x_14, 0, x_57); lean_inc(x_16); -x_59 = lean_array_to_list(x_16); -x_60 = lean_box(0); -x_61 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_59, x_60); -x_62 = l_Lean_MessageData_ofList(x_61); -x_63 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_63, 0, x_14); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__6; -x_65 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); +x_45 = lean_array_to_list(x_16); +x_46 = lean_box(0); +x_47 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_45, x_46); +x_48 = l_Lean_MessageData_ofList(x_47); +x_49 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__2; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__4; +lean_ctor_set_tag(x_14, 7); +lean_ctor_set(x_14, 1, x_51); +lean_ctor_set(x_14, 0, x_50); lean_inc(x_17); -x_66 = lean_array_to_list(x_17); -x_67 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_66, x_60); -x_68 = l_Lean_MessageData_ofList(x_67); -x_69 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_69, 0, x_65); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; -x_71 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_18, x_71, x_4, x_5, x_6, x_7, x_8, x_51); -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 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__8(x_2, x_13, x_17, x_16, x_18, x_1, x_3, x_73, x_4, x_5, x_6, x_7, x_8, x_74); -lean_dec(x_73); -return x_75; +x_52 = lean_array_to_list(x_17); +x_53 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_52, x_46); +x_54 = l_Lean_MessageData_ofList(x_53); +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_14); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; +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___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_18, x_57, x_4, x_5, x_6, x_7, x_8, x_44); +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_Elab_Structural_mkIndPredBRecOn___lambda__8(x_2, x_13, x_17, x_16, x_18, x_1, x_3, x_59, x_4, x_5, x_6, x_7, x_8, x_60); +lean_dec(x_59); +return x_61; } } } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_76 = lean_ctor_get(x_14, 0); -x_77 = lean_ctor_get(x_14, 1); -lean_inc(x_77); -lean_inc(x_76); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_62 = lean_ctor_get(x_14, 0); +x_63 = lean_ctor_get(x_14, 1); +lean_inc(x_63); +lean_inc(x_62); lean_dec(x_14); -x_78 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___closed__4; -x_79 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_78, x_4, x_5, x_6, x_7, x_8, x_12); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_unbox(x_80); -lean_dec(x_80); -if (x_81 == 0) +x_64 = l___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___closed__4; +x_65 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_64, x_4, x_5, x_6, x_7, x_8, x_12); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_unbox(x_66); +lean_dec(x_66); +if (x_67 == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_79, 1); -lean_inc(x_82); -lean_dec(x_79); -x_83 = lean_box(0); -x_84 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__8(x_2, x_13, x_77, x_76, x_78, x_1, x_3, x_83, x_4, x_5, x_6, x_7, x_8, x_82); -return x_84; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_65, 1); +lean_inc(x_68); +lean_dec(x_65); +x_69 = lean_box(0); +x_70 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__8(x_2, x_13, x_63, x_62, x_64, x_1, x_3, x_69, x_4, x_5, x_6, x_7, x_8, x_68); +return x_70; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_85 = lean_ctor_get(x_79, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_86 = x_79; +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; +x_71 = lean_ctor_get(x_65, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_72 = x_65; } else { - lean_dec_ref(x_79); - x_86 = lean_box(0); + lean_dec_ref(x_65); + x_72 = lean_box(0); } -x_87 = lean_ctor_get(x_1, 1); -lean_inc(x_87); -x_88 = l___private_Init_Data_Repr_0__Nat_reprFast(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 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__2; -if (lean_is_scalar(x_86)) { - x_92 = lean_alloc_ctor(7, 2, 0); +lean_inc(x_62); +x_73 = lean_array_to_list(x_62); +x_74 = lean_box(0); +x_75 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_73, x_74); +x_76 = l_Lean_MessageData_ofList(x_75); +x_77 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__2; +if (lean_is_scalar(x_72)) { + x_78 = lean_alloc_ctor(7, 2, 0); } else { - x_92 = x_86; - lean_ctor_set_tag(x_92, 7); + x_78 = x_72; + lean_ctor_set_tag(x_78, 7); } -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__4; -x_94 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -lean_inc(x_76); -x_95 = lean_array_to_list(x_76); -x_96 = lean_box(0); -x_97 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_95, x_96); -x_98 = l_Lean_MessageData_ofList(x_97); -x_99 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_99, 0, x_94); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__6; -x_101 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -lean_inc(x_77); -x_102 = lean_array_to_list(x_77); -x_103 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_102, x_96); -x_104 = l_Lean_MessageData_ofList(x_103); -x_105 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_105, 0, x_101); -lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; -x_107 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_78, x_107, x_4, x_5, x_6, x_7, x_8, x_85); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__8(x_2, x_13, x_77, x_76, x_78, x_1, x_3, x_109, x_4, x_5, x_6, x_7, x_8, x_110); -lean_dec(x_109); -return x_111; +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_76); +x_79 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__4; +x_80 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +lean_inc(x_63); +x_81 = lean_array_to_list(x_63); +x_82 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_81, x_74); +x_83 = l_Lean_MessageData_ofList(x_82); +x_84 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_84, 0, x_80); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_withTraceNodeBefore___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__9___lambda__2___closed__1; +x_86 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_64, x_86, x_4, x_5, x_6, x_7, x_8, x_71); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__8(x_2, x_13, x_63, x_62, x_64, x_1, x_3, x_88, x_4, x_5, x_6, x_7, x_8, x_89); +lean_dec(x_88); +return x_90; } } } else { -uint8_t x_112; +uint8_t x_91; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -14374,23 +14379,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_112 = !lean_is_exclusive(x_10); -if (x_112 == 0) +x_91 = !lean_is_exclusive(x_10); +if (x_91 == 0) { return x_10; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_10, 0); -x_114 = lean_ctor_get(x_10, 1); -lean_inc(x_114); -lean_inc(x_113); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +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_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } @@ -14601,6 +14606,14 @@ l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__1); l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__2 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__2(); lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__2); +l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__3 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__3(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__3); +l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__4 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__4(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__4); +l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__5 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__5(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__5); +l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__6 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__6(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__3___closed__6); l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__4___closed__1 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__4___closed__1(); lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__4___closed__1); l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__4___closed__2 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__16___lambda__4___closed__2(); @@ -14701,10 +14714,6 @@ l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__3 = _init_l_Lean_El lean_mark_persistent(l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__3); l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__4 = _init_l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__4(); lean_mark_persistent(l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__4); -l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__5 = _init_l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__5(); -lean_mark_persistent(l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__5); -l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__6 = _init_l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__6(); -lean_mark_persistent(l_Lean_Elab_Structural_mkIndPredBRecOn___lambda__9___closed__6); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c index 744c722a57..0b9ca38ef0 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.Structural.Main -// Imports: Lean.Elab.PreDefinition.TerminationMeasure Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.Structural.FindRecArg Lean.Elab.PreDefinition.Structural.Preprocess Lean.Elab.PreDefinition.Structural.BRecOn Lean.Elab.PreDefinition.Structural.IndPred Lean.Elab.PreDefinition.Structural.Eqns Lean.Elab.PreDefinition.Structural.SmartUnfolding Lean.Meta.Tactic.TryThis +// Imports: Lean.Elab.PreDefinition.TerminationMeasure Lean.Elab.PreDefinition.Mutual Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.Structural.FindRecArg Lean.Elab.PreDefinition.Structural.Preprocess Lean.Elab.PreDefinition.Structural.BRecOn Lean.Elab.PreDefinition.Structural.IndPred Lean.Elab.PreDefinition.Structural.Eqns Lean.Elab.PreDefinition.Structural.SmartUnfolding Lean.Meta.Tactic.TryThis #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,101 +13,96 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_object* l_Lean_Expr_bindingName_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_visitForall_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__9(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_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__39___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint64_t l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__1; LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__13(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__5(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_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__2; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14(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_EXPORT lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_mkBrecOnApp(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_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___spec__4___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7; extern lean_object* l_Lean_Elab_instInhabitedPreDefinition; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_Array_anyMUnsafe_any___at_Lean_Elab_Structural_withCommonTelescope_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_Lean_Meta_visitForall_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__9___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_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__36(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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5___closed__1; lean_object* l_Lean_Meta_generateEagerEqns(lean_object*, lean_object*, 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_Lean_Meta_visitLet_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__12___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_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___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*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__1; +lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__1; -static lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___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_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___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_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__16(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_structuralRecursion___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_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__24___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__8(size_t, size_t, 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_Structural_getMutualFixedPrefix___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_reporttermMeasure___closed__2; lean_object* l_Lean_indentD(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10___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_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_withCommonTelescope___spec__1(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__8; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__32___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_Structural_withCommonTelescope___rarg___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__11; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(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*); -size_t lean_uint64_to_usize(uint64_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(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*); uint64_t lean_uint64_lor(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__41(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_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_markAsRecursive(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__15; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__4; static lean_object* l_Lean_Elab_Structural_reporttermMeasure___closed__3; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30(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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_withCommonTelescope(lean_object*); -uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_CollectFVars_visit___spec__1(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___spec__4___lambda__1___closed__1; lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__6; +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__25(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_withCommonTelescope_go___spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__26(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7___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_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_mk_array(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___closed__3; +LEAN_EXPORT lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___boxed(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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); -lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__33(lean_object*); lean_object* l_Lean_Elab_Structural_registerEqnsInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_preprocess(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_elimMutualRecursion___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__22___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__5; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__1; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___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* l_Lean_Elab_Structural_mkBRecOnConst(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(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__3; +static lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__4(size_t, size_t, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -static lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(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_elimMutualRecursion___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__22(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addAndCompilePartialRec(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_Structural_getMutualFixedPrefix___spec__3___closed__3; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___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_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__25___boxed(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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__5; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); @@ -115,251 +110,259 @@ static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefini LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__7(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_elimMutualRecursion___lambda__1___boxed(lean_object*); lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1(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_mapMUnsafe_map___at_Lean_Elab_Structural_withCommonTelescope___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__7; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_withCommonTelescope___spec__1___boxed(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__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_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__1; -lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_CollectFVars_visit___spec__2(lean_object*); lean_object* l_Lean_InductiveVal_numTypeFormers(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__14; extern lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo; -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__8___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_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__9(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_get_x3f___at_Lean_Meta_forEachExpr_x27_visit___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__27(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__5___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_withCommonTelescope_go(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_reporttermMeasure___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_isLambda(lean_object*); +lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_Structural_mkIndPredBRecOn___spec__2___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__32(size_t, 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* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda(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_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4; lean_object* l_panic___at_Lean_Elab_Structural_Positions_groupAndSort___spec__3(lean_object*); -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_range___lambda__1___boxed(lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__2; lean_object* l_Lean_Elab_applyAttributesOf(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_instMonadControlTOfMonadControl___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__10___boxed(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_elimMutualRecursion___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_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerms_erase(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__2; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__3; 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*); -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___lambda__1___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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__12; +uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_structuralRecursion(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_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__9; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__1; +lean_object* l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_to_int(lean_object*); lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Meta_setMVarUserNamesAt___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_structuralRecursion___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion(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_elimMutualRecursion(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_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_nat_div(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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*); lean_object* l_Array_ofFn___rarg(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__1(lean_object*); lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__4; -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_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__4; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2; +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3; static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__16; lean_object* l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___spec__4___lambda__1(lean_object*); -lean_object* l_Lean_Elab_Structural_tryAllArgs___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 uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Structural_tryAllArgs___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* l_Lean_MessageData_ofFormat(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__1; +static lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__4; +uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Meta_check(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_elimMutualRecursion___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_visitLet_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___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* l_Lean_Elab_Structural_RecArgInfo_indicesAndRecArgPos(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___rarg___lambda__1(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_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18(lean_object*, lean_object*, size_t, size_t); +static lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__2; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11___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_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___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___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__2(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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__41___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_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__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_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___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* lean_array_to_list(lean_object*); -static lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__2; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__5___boxed(lean_object**); lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(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__3(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_setEnv___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___boxed__const__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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* l_Lean_Elab_Structural_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_object* l_Lean_Elab_abstractNestedProofs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1; extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Elab_Structural_inferBRecOnFTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_structuralRecursion___spec__2(size_t, 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*); -uint64_t l_Lean_Expr_hash(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__39(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_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__2; lean_object* l_Lean_enableRealizationsForConst(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___closed__1; -static lean_object* l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__7(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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___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_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*); -static lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__1; +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*); +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__10___closed__1; +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__6; +static lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_structuralRecursion___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_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_withCommonTelescope_go___rarg(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_Main_0__Lean_Elab_Structural_getFixedPrefix___closed__1; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11___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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___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_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__6___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__4; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5___closed__2; +lean_object* l_Lean_LocalDecl_fvarId(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__6; lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__1(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__2; -extern lean_object* l_Lean_Meta_instMonadMetaM; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___lambda__1(size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12(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_elimMutualRecursion___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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__1; lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Structural_instInhabitedM(lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_withCommonTelescope_go___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__23(lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlTOfPure___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_binderInfo(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__23___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__7; lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_structuralRecursion___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*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__20(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Structural_reporttermMeasure___closed__5; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__28(lean_object*, lean_object*, size_t, size_t); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__13; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addAndCompileUnsafe___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___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*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__4; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_withCommonTelescope_go___spec__3(lean_object*, size_t, size_t); +uint8_t l_Lean_Expr_isFVarOf(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__3; lean_object* l_Array_qsort_sort___at_Lean_Elab_Structural_Positions_groupAndSort___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__1; -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_reporttermMeasure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__4; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_structuralRecursion___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_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21___boxed(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__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__1; +lean_object* lean_string_length(lean_object*); lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__10; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_mkBRecOnMotive(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_elimMutualRecursion___spec__12(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___closed__4; -LEAN_EXPORT lean_object* l_Lean_Meta_visitForall___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__8(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_withLCtx___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__8(lean_object*); lean_object* l_Lean_Elab_Structural_mkIndPredBRecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_mkBRecOnF(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_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___lambda__1___boxed(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_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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* l_Lean_Elab_getFixedParamPerms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___spec__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*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__2; lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__24(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_eraseRecAppSyntax(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_structuralRecursion___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_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__1; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18___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_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__5; lean_object* l_Lean_indentExpr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___boxed__const__1; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___spec__5(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_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_structuralRecursion___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_reporttermMeasure___closed__6; -static lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__2; +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__3(lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__36___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__37(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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*); -uint64_t lean_uint64_xor(uint64_t, uint64_t); lean_object* l_Lean_Elab_addAsAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__2; -static lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__1; +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16(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__5(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_instMonadControlReaderT___lambda__2(lean_object*, lean_object*, lean_object*); -lean_object* lean_nat_mul(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___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_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___spec__4___lambda__1___closed__2; uint64_t lean_uint64_shift_left(uint64_t, uint64_t); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__36___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__37___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__38(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -lean_object* l_Array_ofSubarray___rarg(lean_object*); -lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_forEachExpr_x27_visit___spec__11(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadCoreM; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_reporttermMeasure___lambda__1(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_Elab_Structural_structuralRecursion___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_reporttermMeasure___closed__4; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___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_expr_instantiate_rev(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__31(size_t, 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* l_List_reverse___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_withCommonTelescope_go___spec__1___boxed(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__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__34(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_withCommonTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__35(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__5(lean_object*, size_t, 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*); +uint8_t l_Lean_Expr_hasFVar(lean_object*); extern lean_object* l_Lean_instInhabitedName; lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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* l_Lean_Expr_fvar___override(lean_object*); size_t lean_array_size(lean_object*); lean_object* l_Lean_Elab_TerminationMeasure_delab(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_Lean_Elab_Structural_getMutualFixedPrefix___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__2; lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_withCommonTelescope_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_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___closed__1; @@ -370,56 +373,59 @@ lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); static lean_object* l_Lean_Elab_Structural_reporttermMeasure___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_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* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___boxed(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_Positions_groupAndSort___spec__6(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__13___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__14___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__15(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Elab_Structural_reporttermMeasure___closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(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_EXPORT lean_object* l_Lean_Meta_visitLet___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__11(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(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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__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*); lean_object* lean_array_get(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__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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*); 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_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*); -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*, size_t, 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_elimMutualRecursion___lambda__2(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*); +lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(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*); uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__13___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___lambda__1(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*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__12___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(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* l_Lean_Expr_beta(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__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_withLCtx___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__8___rarg(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_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__9; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6(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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_reporttermMeasure___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__6___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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(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*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_reporttermMeasure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__8___rarg(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_elimMutualRecursion___lambda__3(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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(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_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__19(lean_object*, lean_object*, size_t, size_t); lean_object* l_ReaderT_instMonad___rarg(lean_object*); -size_t lean_usize_land(size_t, size_t); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__3; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1(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* l_instMonadControlReaderT___lambda__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint64_t _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__1() { _start: { @@ -1788,40 +1794,6 @@ return x_39; } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_withCommonTelescope_go___spec__3(lean_object* x_1, size_t x_2, size_t x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_eq(x_2, x_3); -if (x_4 == 0) -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_array_uget(x_1, x_2); -x_6 = l_Lean_Expr_isLambda(x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -uint8_t x_7; -x_7 = 1; -return x_7; -} -else -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_2 = x_9; -goto _start; -} -} -else -{ -uint8_t x_11; -x_11 = 0; -return x_11; -} -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Structural_withCommonTelescope_go___rarg___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: { @@ -1855,7 +1827,7 @@ else size_t x_44; size_t x_45; uint8_t x_46; x_44 = 0; x_45 = lean_usize_of_nat(x_10); -x_46 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_withCommonTelescope_go___spec__3(x_3, x_44, x_45); +x_46 = l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__3(x_3, x_44, x_45); if (x_46 == 0) { lean_object* x_47; @@ -2023,47 +1995,6 @@ lean_dec(x_1); return x_13; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_withCommonTelescope_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_withCommonTelescope_go___spec__3(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_withCommonTelescope___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, 5); -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_Structural_withCommonTelescope___rarg___closed__1() { _start: { @@ -2079,7 +2010,7 @@ _start: size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_9 = lean_array_size(x_1); x_10 = 0; -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_withCommonTelescope___spec__1(x_9, x_10, x_1); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_withCommonTelescope___spec__1(x_9, x_10, x_1); x_12 = l_Lean_Elab_Structural_withCommonTelescope___rarg___closed__1; x_13 = l_Lean_Elab_Structural_withCommonTelescope_go___rarg(x_2, x_12, x_11, x_3, x_4, x_5, x_6, x_7, x_8); return x_13; @@ -2093,4102 +2024,104 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_withCommonTelescope___ra return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_withCommonTelescope___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1() { _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_Structural_withCommonTelescope___spec__1(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_array_uget(x_2, x_3); -x_7 = lean_ctor_get(x_6, 3); -lean_inc(x_7); -lean_dec(x_6); -x_8 = l_Lean_Expr_isAppOf(x_1, x_7); -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_3, x_9); -x_3 = 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 lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = lean_usize_dec_lt(x_7, x_6); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_8); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -else -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_array_uget(x_5, x_7); -x_18 = !lean_is_exclusive(x_8); -if (x_18 == 0) -{ -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_8, 1); -x_20 = lean_ctor_get(x_8, 0); -lean_dec(x_20); -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_ctor_get(x_19, 2); -lean_inc(x_23); -x_24 = lean_nat_dec_lt(x_22, x_23); -if (x_24 == 0) -{ -lean_object* x_25; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_ctor_set(x_8, 0, x_4); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_8); -lean_ctor_set(x_25, 1, x_14); -return x_25; -} -else -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_19); -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; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_27 = lean_ctor_get(x_19, 2); -lean_dec(x_27); -x_28 = lean_ctor_get(x_19, 1); -lean_dec(x_28); -x_29 = lean_ctor_get(x_19, 0); -lean_dec(x_29); -x_30 = lean_array_fget(x_21, x_22); -x_31 = lean_unsigned_to_nat(1u); -x_32 = lean_nat_add(x_22, x_31); -lean_dec(x_22); -lean_ctor_set(x_19, 1, x_32); -x_33 = lean_ctor_get(x_10, 0); -lean_inc(x_33); -x_34 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 8); -x_35 = lean_ctor_get(x_10, 1); -lean_inc(x_35); -x_36 = lean_ctor_get(x_10, 2); -lean_inc(x_36); -x_37 = lean_ctor_get(x_10, 3); -lean_inc(x_37); -x_38 = lean_ctor_get(x_10, 4); -lean_inc(x_38); -x_39 = lean_ctor_get(x_10, 5); -lean_inc(x_39); -x_40 = lean_ctor_get(x_10, 6); -lean_inc(x_40); -x_41 = !lean_is_exclusive(x_33); -if (x_41 == 0) -{ -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; uint8_t x_54; uint8_t x_55; uint8_t x_56; uint8_t x_57; uint8_t x_58; uint8_t x_59; uint8_t x_60; uint64_t x_61; uint8_t x_62; lean_object* x_63; uint64_t x_64; uint64_t x_65; uint64_t x_66; uint64_t x_67; uint64_t x_68; lean_object* x_69; lean_object* x_70; -x_42 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 9); -x_43 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 10); -x_44 = lean_ctor_get_uint8(x_33, 0); -x_45 = lean_ctor_get_uint8(x_33, 1); -x_46 = lean_ctor_get_uint8(x_33, 2); -x_47 = lean_ctor_get_uint8(x_33, 3); -x_48 = lean_ctor_get_uint8(x_33, 4); -x_49 = lean_ctor_get_uint8(x_33, 5); -x_50 = lean_ctor_get_uint8(x_33, 7); -x_51 = lean_ctor_get_uint8(x_33, 8); -x_52 = lean_ctor_get_uint8(x_33, 10); -x_53 = lean_ctor_get_uint8(x_33, 11); -x_54 = lean_ctor_get_uint8(x_33, 12); -x_55 = lean_ctor_get_uint8(x_33, 13); -x_56 = lean_ctor_get_uint8(x_33, 14); -x_57 = lean_ctor_get_uint8(x_33, 15); -x_58 = lean_ctor_get_uint8(x_33, 16); -x_59 = lean_ctor_get_uint8(x_33, 17); -x_60 = 0; -lean_ctor_set_uint8(x_33, 6, x_60); -x_61 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_33); -lean_dec(x_33); -x_62 = 2; -x_63 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_63, 0, x_44); -lean_ctor_set_uint8(x_63, 1, x_45); -lean_ctor_set_uint8(x_63, 2, x_46); -lean_ctor_set_uint8(x_63, 3, x_47); -lean_ctor_set_uint8(x_63, 4, x_48); -lean_ctor_set_uint8(x_63, 5, x_49); -lean_ctor_set_uint8(x_63, 6, x_60); -lean_ctor_set_uint8(x_63, 7, x_50); -lean_ctor_set_uint8(x_63, 8, x_51); -lean_ctor_set_uint8(x_63, 9, x_62); -lean_ctor_set_uint8(x_63, 10, x_52); -lean_ctor_set_uint8(x_63, 11, x_53); -lean_ctor_set_uint8(x_63, 12, x_54); -lean_ctor_set_uint8(x_63, 13, x_55); -lean_ctor_set_uint8(x_63, 14, x_56); -lean_ctor_set_uint8(x_63, 15, x_57); -lean_ctor_set_uint8(x_63, 16, x_58); -lean_ctor_set_uint8(x_63, 17, x_59); -x_64 = 2; -x_65 = lean_uint64_shift_right(x_61, x_64); -x_66 = lean_uint64_shift_left(x_65, x_64); -x_67 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__1; -x_68 = lean_uint64_lor(x_66, x_67); -x_69 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_69, 0, x_63); -lean_ctor_set(x_69, 1, x_35); -lean_ctor_set(x_69, 2, x_36); -lean_ctor_set(x_69, 3, x_37); -lean_ctor_set(x_69, 4, x_38); -lean_ctor_set(x_69, 5, x_39); -lean_ctor_set(x_69, 6, x_40); -lean_ctor_set_uint64(x_69, sizeof(void*)*7, x_68); -lean_ctor_set_uint8(x_69, sizeof(void*)*7 + 8, x_34); -lean_ctor_set_uint8(x_69, sizeof(void*)*7 + 9, x_42); -lean_ctor_set_uint8(x_69, sizeof(void*)*7 + 10, x_43); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_70 = l_Lean_Meta_isExprDefEq(x_17, x_30, x_69, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_unbox(x_71); -lean_dec(x_71); -if (x_72 == 0) -{ -uint8_t x_73; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_73 = !lean_is_exclusive(x_70); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_70, 0); -lean_dec(x_74); -x_75 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__2; -lean_ctor_set(x_8, 0, x_75); -lean_ctor_set(x_70, 0, x_8); -return x_70; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_70, 1); -lean_inc(x_76); -lean_dec(x_70); -x_77 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__2; -lean_ctor_set(x_8, 0, x_77); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_8); -lean_ctor_set(x_78, 1, x_76); -return x_78; -} -} -else -{ -lean_object* x_79; size_t x_80; size_t x_81; -x_79 = lean_ctor_get(x_70, 1); -lean_inc(x_79); -lean_dec(x_70); -lean_inc(x_4); -lean_ctor_set(x_8, 0, x_4); -x_80 = 1; -x_81 = lean_usize_add(x_7, x_80); -x_7 = x_81; -x_14 = x_79; -goto _start; -} -} -else -{ -uint8_t x_83; -lean_dec(x_19); -lean_free_object(x_8); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_83 = !lean_is_exclusive(x_70); -if (x_83 == 0) -{ -return x_70; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_70, 0); -x_85 = lean_ctor_get(x_70, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_70); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; -} -} -} -else -{ -uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; uint8_t x_102; uint8_t x_103; uint8_t x_104; uint8_t x_105; uint8_t x_106; lean_object* x_107; uint64_t x_108; uint8_t x_109; lean_object* x_110; uint64_t x_111; uint64_t x_112; uint64_t x_113; uint64_t x_114; uint64_t x_115; lean_object* x_116; lean_object* x_117; -x_87 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 9); -x_88 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 10); -x_89 = lean_ctor_get_uint8(x_33, 0); -x_90 = lean_ctor_get_uint8(x_33, 1); -x_91 = lean_ctor_get_uint8(x_33, 2); -x_92 = lean_ctor_get_uint8(x_33, 3); -x_93 = lean_ctor_get_uint8(x_33, 4); -x_94 = lean_ctor_get_uint8(x_33, 5); -x_95 = lean_ctor_get_uint8(x_33, 7); -x_96 = lean_ctor_get_uint8(x_33, 8); -x_97 = lean_ctor_get_uint8(x_33, 9); -x_98 = lean_ctor_get_uint8(x_33, 10); -x_99 = lean_ctor_get_uint8(x_33, 11); -x_100 = lean_ctor_get_uint8(x_33, 12); -x_101 = lean_ctor_get_uint8(x_33, 13); -x_102 = lean_ctor_get_uint8(x_33, 14); -x_103 = lean_ctor_get_uint8(x_33, 15); -x_104 = lean_ctor_get_uint8(x_33, 16); -x_105 = lean_ctor_get_uint8(x_33, 17); -lean_dec(x_33); -x_106 = 0; -x_107 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_107, 0, x_89); -lean_ctor_set_uint8(x_107, 1, x_90); -lean_ctor_set_uint8(x_107, 2, x_91); -lean_ctor_set_uint8(x_107, 3, x_92); -lean_ctor_set_uint8(x_107, 4, x_93); -lean_ctor_set_uint8(x_107, 5, x_94); -lean_ctor_set_uint8(x_107, 6, x_106); -lean_ctor_set_uint8(x_107, 7, x_95); -lean_ctor_set_uint8(x_107, 8, x_96); -lean_ctor_set_uint8(x_107, 9, x_97); -lean_ctor_set_uint8(x_107, 10, x_98); -lean_ctor_set_uint8(x_107, 11, x_99); -lean_ctor_set_uint8(x_107, 12, x_100); -lean_ctor_set_uint8(x_107, 13, x_101); -lean_ctor_set_uint8(x_107, 14, x_102); -lean_ctor_set_uint8(x_107, 15, x_103); -lean_ctor_set_uint8(x_107, 16, x_104); -lean_ctor_set_uint8(x_107, 17, x_105); -x_108 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_107); -lean_dec(x_107); -x_109 = 2; -x_110 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_110, 0, x_89); -lean_ctor_set_uint8(x_110, 1, x_90); -lean_ctor_set_uint8(x_110, 2, x_91); -lean_ctor_set_uint8(x_110, 3, x_92); -lean_ctor_set_uint8(x_110, 4, x_93); -lean_ctor_set_uint8(x_110, 5, x_94); -lean_ctor_set_uint8(x_110, 6, x_106); -lean_ctor_set_uint8(x_110, 7, x_95); -lean_ctor_set_uint8(x_110, 8, x_96); -lean_ctor_set_uint8(x_110, 9, x_109); -lean_ctor_set_uint8(x_110, 10, x_98); -lean_ctor_set_uint8(x_110, 11, x_99); -lean_ctor_set_uint8(x_110, 12, x_100); -lean_ctor_set_uint8(x_110, 13, x_101); -lean_ctor_set_uint8(x_110, 14, x_102); -lean_ctor_set_uint8(x_110, 15, x_103); -lean_ctor_set_uint8(x_110, 16, x_104); -lean_ctor_set_uint8(x_110, 17, x_105); -x_111 = 2; -x_112 = lean_uint64_shift_right(x_108, x_111); -x_113 = lean_uint64_shift_left(x_112, x_111); -x_114 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__1; -x_115 = lean_uint64_lor(x_113, x_114); -x_116 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_116, 0, x_110); -lean_ctor_set(x_116, 1, x_35); -lean_ctor_set(x_116, 2, x_36); -lean_ctor_set(x_116, 3, x_37); -lean_ctor_set(x_116, 4, x_38); -lean_ctor_set(x_116, 5, x_39); -lean_ctor_set(x_116, 6, x_40); -lean_ctor_set_uint64(x_116, sizeof(void*)*7, x_115); -lean_ctor_set_uint8(x_116, sizeof(void*)*7 + 8, x_34); -lean_ctor_set_uint8(x_116, sizeof(void*)*7 + 9, x_87); -lean_ctor_set_uint8(x_116, sizeof(void*)*7 + 10, x_88); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_117 = l_Lean_Meta_isExprDefEq(x_17, x_30, x_116, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_117) == 0) -{ -lean_object* x_118; uint8_t x_119; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_unbox(x_118); -lean_dec(x_118); -if (x_119 == 0) -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_120 = lean_ctor_get(x_117, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_121 = x_117; -} else { - lean_dec_ref(x_117); - x_121 = lean_box(0); -} -x_122 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__2; -lean_ctor_set(x_8, 0, x_122); -if (lean_is_scalar(x_121)) { - x_123 = lean_alloc_ctor(0, 2, 0); -} else { - x_123 = x_121; -} -lean_ctor_set(x_123, 0, x_8); -lean_ctor_set(x_123, 1, x_120); -return x_123; -} -else -{ -lean_object* x_124; size_t x_125; size_t x_126; -x_124 = lean_ctor_get(x_117, 1); -lean_inc(x_124); -lean_dec(x_117); -lean_inc(x_4); -lean_ctor_set(x_8, 0, x_4); -x_125 = 1; -x_126 = lean_usize_add(x_7, x_125); -x_7 = x_126; -x_14 = x_124; -goto _start; -} -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -lean_dec(x_19); -lean_free_object(x_8); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_128 = lean_ctor_get(x_117, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_117, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_130 = x_117; -} else { - lean_dec_ref(x_117); - x_130 = lean_box(0); -} -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); -} else { - x_131 = x_130; -} -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_129); -return x_131; -} -} -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; uint8_t x_145; uint8_t x_146; uint8_t x_147; uint8_t x_148; uint8_t x_149; uint8_t x_150; uint8_t x_151; uint8_t x_152; uint8_t x_153; uint8_t x_154; uint8_t x_155; uint8_t x_156; uint8_t x_157; uint8_t x_158; uint8_t x_159; uint8_t x_160; uint8_t x_161; uint8_t x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; uint64_t x_166; uint8_t x_167; lean_object* x_168; uint64_t x_169; uint64_t x_170; uint64_t x_171; uint64_t x_172; uint64_t x_173; lean_object* x_174; lean_object* x_175; -lean_dec(x_19); -x_132 = lean_array_fget(x_21, x_22); -x_133 = lean_unsigned_to_nat(1u); -x_134 = lean_nat_add(x_22, x_133); -lean_dec(x_22); -x_135 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_135, 0, x_21); -lean_ctor_set(x_135, 1, x_134); -lean_ctor_set(x_135, 2, x_23); -x_136 = lean_ctor_get(x_10, 0); -lean_inc(x_136); -x_137 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 8); -x_138 = lean_ctor_get(x_10, 1); -lean_inc(x_138); -x_139 = lean_ctor_get(x_10, 2); -lean_inc(x_139); -x_140 = lean_ctor_get(x_10, 3); -lean_inc(x_140); -x_141 = lean_ctor_get(x_10, 4); -lean_inc(x_141); -x_142 = lean_ctor_get(x_10, 5); -lean_inc(x_142); -x_143 = lean_ctor_get(x_10, 6); -lean_inc(x_143); -x_144 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 9); -x_145 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 10); -x_146 = lean_ctor_get_uint8(x_136, 0); -x_147 = lean_ctor_get_uint8(x_136, 1); -x_148 = lean_ctor_get_uint8(x_136, 2); -x_149 = lean_ctor_get_uint8(x_136, 3); -x_150 = lean_ctor_get_uint8(x_136, 4); -x_151 = lean_ctor_get_uint8(x_136, 5); -x_152 = lean_ctor_get_uint8(x_136, 7); -x_153 = lean_ctor_get_uint8(x_136, 8); -x_154 = lean_ctor_get_uint8(x_136, 9); -x_155 = lean_ctor_get_uint8(x_136, 10); -x_156 = lean_ctor_get_uint8(x_136, 11); -x_157 = lean_ctor_get_uint8(x_136, 12); -x_158 = lean_ctor_get_uint8(x_136, 13); -x_159 = lean_ctor_get_uint8(x_136, 14); -x_160 = lean_ctor_get_uint8(x_136, 15); -x_161 = lean_ctor_get_uint8(x_136, 16); -x_162 = lean_ctor_get_uint8(x_136, 17); -if (lean_is_exclusive(x_136)) { - x_163 = x_136; -} else { - lean_dec_ref(x_136); - x_163 = lean_box(0); -} -x_164 = 0; -if (lean_is_scalar(x_163)) { - x_165 = lean_alloc_ctor(0, 0, 18); -} else { - x_165 = x_163; -} -lean_ctor_set_uint8(x_165, 0, x_146); -lean_ctor_set_uint8(x_165, 1, x_147); -lean_ctor_set_uint8(x_165, 2, x_148); -lean_ctor_set_uint8(x_165, 3, x_149); -lean_ctor_set_uint8(x_165, 4, x_150); -lean_ctor_set_uint8(x_165, 5, x_151); -lean_ctor_set_uint8(x_165, 6, x_164); -lean_ctor_set_uint8(x_165, 7, x_152); -lean_ctor_set_uint8(x_165, 8, x_153); -lean_ctor_set_uint8(x_165, 9, x_154); -lean_ctor_set_uint8(x_165, 10, x_155); -lean_ctor_set_uint8(x_165, 11, x_156); -lean_ctor_set_uint8(x_165, 12, x_157); -lean_ctor_set_uint8(x_165, 13, x_158); -lean_ctor_set_uint8(x_165, 14, x_159); -lean_ctor_set_uint8(x_165, 15, x_160); -lean_ctor_set_uint8(x_165, 16, x_161); -lean_ctor_set_uint8(x_165, 17, x_162); -x_166 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_165); -lean_dec(x_165); -x_167 = 2; -x_168 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_168, 0, x_146); -lean_ctor_set_uint8(x_168, 1, x_147); -lean_ctor_set_uint8(x_168, 2, x_148); -lean_ctor_set_uint8(x_168, 3, x_149); -lean_ctor_set_uint8(x_168, 4, x_150); -lean_ctor_set_uint8(x_168, 5, x_151); -lean_ctor_set_uint8(x_168, 6, x_164); -lean_ctor_set_uint8(x_168, 7, x_152); -lean_ctor_set_uint8(x_168, 8, x_153); -lean_ctor_set_uint8(x_168, 9, x_167); -lean_ctor_set_uint8(x_168, 10, x_155); -lean_ctor_set_uint8(x_168, 11, x_156); -lean_ctor_set_uint8(x_168, 12, x_157); -lean_ctor_set_uint8(x_168, 13, x_158); -lean_ctor_set_uint8(x_168, 14, x_159); -lean_ctor_set_uint8(x_168, 15, x_160); -lean_ctor_set_uint8(x_168, 16, x_161); -lean_ctor_set_uint8(x_168, 17, x_162); -x_169 = 2; -x_170 = lean_uint64_shift_right(x_166, x_169); -x_171 = lean_uint64_shift_left(x_170, x_169); -x_172 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__1; -x_173 = lean_uint64_lor(x_171, x_172); -x_174 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_174, 0, x_168); -lean_ctor_set(x_174, 1, x_138); -lean_ctor_set(x_174, 2, x_139); -lean_ctor_set(x_174, 3, x_140); -lean_ctor_set(x_174, 4, x_141); -lean_ctor_set(x_174, 5, x_142); -lean_ctor_set(x_174, 6, x_143); -lean_ctor_set_uint64(x_174, sizeof(void*)*7, x_173); -lean_ctor_set_uint8(x_174, sizeof(void*)*7 + 8, x_137); -lean_ctor_set_uint8(x_174, sizeof(void*)*7 + 9, x_144); -lean_ctor_set_uint8(x_174, sizeof(void*)*7 + 10, x_145); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_175 = l_Lean_Meta_isExprDefEq(x_17, x_132, x_174, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; uint8_t x_177; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_unbox(x_176); -lean_dec(x_176); -if (x_177 == 0) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_178 = lean_ctor_get(x_175, 1); -lean_inc(x_178); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_179 = x_175; -} else { - lean_dec_ref(x_175); - x_179 = lean_box(0); -} -x_180 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__2; -lean_ctor_set(x_8, 1, x_135); -lean_ctor_set(x_8, 0, x_180); -if (lean_is_scalar(x_179)) { - x_181 = lean_alloc_ctor(0, 2, 0); -} else { - x_181 = x_179; -} -lean_ctor_set(x_181, 0, x_8); -lean_ctor_set(x_181, 1, x_178); -return x_181; -} -else -{ -lean_object* x_182; size_t x_183; size_t x_184; -x_182 = lean_ctor_get(x_175, 1); -lean_inc(x_182); -lean_dec(x_175); -lean_inc(x_4); -lean_ctor_set(x_8, 1, x_135); -lean_ctor_set(x_8, 0, x_4); -x_183 = 1; -x_184 = lean_usize_add(x_7, x_183); -x_7 = x_184; -x_14 = x_182; -goto _start; -} -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_135); -lean_free_object(x_8); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_186 = lean_ctor_get(x_175, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_175, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_188 = x_175; -} else { - lean_dec_ref(x_175); - x_188 = lean_box(0); -} -if (lean_is_scalar(x_188)) { - x_189 = lean_alloc_ctor(1, 2, 0); -} else { - x_189 = x_188; -} -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -return x_189; -} -} -} -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; -x_190 = lean_ctor_get(x_8, 1); -lean_inc(x_190); -lean_dec(x_8); -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -x_193 = lean_ctor_get(x_190, 2); -lean_inc(x_193); -x_194 = lean_nat_dec_lt(x_192, x_193); -if (x_194 == 0) -{ -lean_object* x_195; lean_object* x_196; -lean_dec(x_193); -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_195, 0, x_4); -lean_ctor_set(x_195, 1, x_190); -x_196 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_14); -return x_196; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t 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; uint8_t x_210; uint8_t x_211; uint8_t x_212; uint8_t x_213; uint8_t x_214; uint8_t x_215; uint8_t x_216; uint8_t x_217; uint8_t x_218; uint8_t x_219; uint8_t x_220; uint8_t x_221; uint8_t x_222; uint8_t x_223; uint8_t x_224; uint8_t x_225; uint8_t x_226; uint8_t x_227; uint8_t x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; uint64_t x_232; uint8_t x_233; lean_object* x_234; uint64_t x_235; uint64_t x_236; uint64_t x_237; uint64_t x_238; uint64_t x_239; lean_object* x_240; lean_object* x_241; -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - lean_ctor_release(x_190, 2); - x_197 = x_190; -} else { - lean_dec_ref(x_190); - x_197 = lean_box(0); -} -x_198 = lean_array_fget(x_191, x_192); -x_199 = lean_unsigned_to_nat(1u); -x_200 = lean_nat_add(x_192, x_199); -lean_dec(x_192); -if (lean_is_scalar(x_197)) { - x_201 = lean_alloc_ctor(0, 3, 0); -} else { - x_201 = x_197; -} -lean_ctor_set(x_201, 0, x_191); -lean_ctor_set(x_201, 1, x_200); -lean_ctor_set(x_201, 2, x_193); -x_202 = lean_ctor_get(x_10, 0); -lean_inc(x_202); -x_203 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 8); -x_204 = lean_ctor_get(x_10, 1); -lean_inc(x_204); -x_205 = lean_ctor_get(x_10, 2); -lean_inc(x_205); -x_206 = lean_ctor_get(x_10, 3); -lean_inc(x_206); -x_207 = lean_ctor_get(x_10, 4); -lean_inc(x_207); -x_208 = lean_ctor_get(x_10, 5); -lean_inc(x_208); -x_209 = lean_ctor_get(x_10, 6); -lean_inc(x_209); -x_210 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 9); -x_211 = lean_ctor_get_uint8(x_10, sizeof(void*)*7 + 10); -x_212 = lean_ctor_get_uint8(x_202, 0); -x_213 = lean_ctor_get_uint8(x_202, 1); -x_214 = lean_ctor_get_uint8(x_202, 2); -x_215 = lean_ctor_get_uint8(x_202, 3); -x_216 = lean_ctor_get_uint8(x_202, 4); -x_217 = lean_ctor_get_uint8(x_202, 5); -x_218 = lean_ctor_get_uint8(x_202, 7); -x_219 = lean_ctor_get_uint8(x_202, 8); -x_220 = lean_ctor_get_uint8(x_202, 9); -x_221 = lean_ctor_get_uint8(x_202, 10); -x_222 = lean_ctor_get_uint8(x_202, 11); -x_223 = lean_ctor_get_uint8(x_202, 12); -x_224 = lean_ctor_get_uint8(x_202, 13); -x_225 = lean_ctor_get_uint8(x_202, 14); -x_226 = lean_ctor_get_uint8(x_202, 15); -x_227 = lean_ctor_get_uint8(x_202, 16); -x_228 = lean_ctor_get_uint8(x_202, 17); -if (lean_is_exclusive(x_202)) { - x_229 = x_202; -} else { - lean_dec_ref(x_202); - x_229 = lean_box(0); -} -x_230 = 0; -if (lean_is_scalar(x_229)) { - x_231 = lean_alloc_ctor(0, 0, 18); -} else { - x_231 = x_229; -} -lean_ctor_set_uint8(x_231, 0, x_212); -lean_ctor_set_uint8(x_231, 1, x_213); -lean_ctor_set_uint8(x_231, 2, x_214); -lean_ctor_set_uint8(x_231, 3, x_215); -lean_ctor_set_uint8(x_231, 4, x_216); -lean_ctor_set_uint8(x_231, 5, x_217); -lean_ctor_set_uint8(x_231, 6, x_230); -lean_ctor_set_uint8(x_231, 7, x_218); -lean_ctor_set_uint8(x_231, 8, x_219); -lean_ctor_set_uint8(x_231, 9, x_220); -lean_ctor_set_uint8(x_231, 10, x_221); -lean_ctor_set_uint8(x_231, 11, x_222); -lean_ctor_set_uint8(x_231, 12, x_223); -lean_ctor_set_uint8(x_231, 13, x_224); -lean_ctor_set_uint8(x_231, 14, x_225); -lean_ctor_set_uint8(x_231, 15, x_226); -lean_ctor_set_uint8(x_231, 16, x_227); -lean_ctor_set_uint8(x_231, 17, x_228); -x_232 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_231); -lean_dec(x_231); -x_233 = 2; -x_234 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_234, 0, x_212); -lean_ctor_set_uint8(x_234, 1, x_213); -lean_ctor_set_uint8(x_234, 2, x_214); -lean_ctor_set_uint8(x_234, 3, x_215); -lean_ctor_set_uint8(x_234, 4, x_216); -lean_ctor_set_uint8(x_234, 5, x_217); -lean_ctor_set_uint8(x_234, 6, x_230); -lean_ctor_set_uint8(x_234, 7, x_218); -lean_ctor_set_uint8(x_234, 8, x_219); -lean_ctor_set_uint8(x_234, 9, x_233); -lean_ctor_set_uint8(x_234, 10, x_221); -lean_ctor_set_uint8(x_234, 11, x_222); -lean_ctor_set_uint8(x_234, 12, x_223); -lean_ctor_set_uint8(x_234, 13, x_224); -lean_ctor_set_uint8(x_234, 14, x_225); -lean_ctor_set_uint8(x_234, 15, x_226); -lean_ctor_set_uint8(x_234, 16, x_227); -lean_ctor_set_uint8(x_234, 17, x_228); -x_235 = 2; -x_236 = lean_uint64_shift_right(x_232, x_235); -x_237 = lean_uint64_shift_left(x_236, x_235); -x_238 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__1; -x_239 = lean_uint64_lor(x_237, x_238); -x_240 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_240, 0, x_234); -lean_ctor_set(x_240, 1, x_204); -lean_ctor_set(x_240, 2, x_205); -lean_ctor_set(x_240, 3, x_206); -lean_ctor_set(x_240, 4, x_207); -lean_ctor_set(x_240, 5, x_208); -lean_ctor_set(x_240, 6, x_209); -lean_ctor_set_uint64(x_240, sizeof(void*)*7, x_239); -lean_ctor_set_uint8(x_240, sizeof(void*)*7 + 8, x_203); -lean_ctor_set_uint8(x_240, sizeof(void*)*7 + 9, x_210); -lean_ctor_set_uint8(x_240, sizeof(void*)*7 + 10, x_211); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_241 = l_Lean_Meta_isExprDefEq(x_17, x_198, x_240, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_241) == 0) -{ -lean_object* x_242; uint8_t x_243; -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_unbox(x_242); -lean_dec(x_242); -if (x_243 == 0) -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_244 = lean_ctor_get(x_241, 1); -lean_inc(x_244); -if (lean_is_exclusive(x_241)) { - lean_ctor_release(x_241, 0); - lean_ctor_release(x_241, 1); - x_245 = x_241; -} else { - lean_dec_ref(x_241); - x_245 = lean_box(0); -} -x_246 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__2; -x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_201); -if (lean_is_scalar(x_245)) { - x_248 = lean_alloc_ctor(0, 2, 0); -} else { - x_248 = x_245; -} -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_244); -return x_248; -} -else -{ -lean_object* x_249; lean_object* x_250; size_t x_251; size_t x_252; -x_249 = lean_ctor_get(x_241, 1); -lean_inc(x_249); -lean_dec(x_241); -lean_inc(x_4); -x_250 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_250, 0, x_4); -lean_ctor_set(x_250, 1, x_201); -x_251 = 1; -x_252 = lean_usize_add(x_7, x_251); -x_7 = x_252; -x_8 = x_250; -x_14 = x_249; -goto _start; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -lean_dec(x_201); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_254 = lean_ctor_get(x_241, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_241, 1); -lean_inc(x_255); -if (lean_is_exclusive(x_241)) { - lean_ctor_release(x_241, 0); - lean_ctor_release(x_241, 1); - x_256 = x_241; -} else { - lean_dec_ref(x_241); - x_256 = lean_box(0); -} -if (lean_is_scalar(x_256)) { - x_257 = lean_alloc_ctor(1, 2, 0); -} else { - x_257 = x_256; -} -lean_ctor_set(x_257, 0, x_254); -lean_ctor_set(x_257, 1, x_255); -return x_257; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg___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; -x_10 = lean_apply_8(x_1, x_4, x_2, x_3, x_5, x_6, x_7, x_8, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg___lambda__1), 9, 3); -lean_closure_set(x_13, 0, x_4); -lean_closure_set(x_13, 1, x_6); -lean_closure_set(x_13, 2, x_7); -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_13, x_5, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -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_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_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -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_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg___boxed), 12, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_array_push(x_1, x_5); -x_14 = l_Lean_Meta_visitLambda_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__6(x_2, x_3, x_13, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_4) == 6) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_12 = lean_ctor_get(x_4, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_4, 2); -lean_inc(x_14); -x_15 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 8); -lean_dec(x_4); -x_16 = lean_expr_instantiate_rev(x_13, x_3); -lean_dec(x_13); -lean_inc(x_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_16); -x_17 = lean_apply_8(x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_alloc_closure((void*)(l_Lean_Meta_visitLambda_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__6___lambda__1), 12, 4); -lean_closure_set(x_19, 0, x_3); -lean_closure_set(x_19, 1, x_1); -lean_closure_set(x_19, 2, x_2); -lean_closure_set(x_19, 3, x_14); -x_20 = 0; -x_21 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg(x_12, x_15, x_16, x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -return x_21; -} -else -{ -uint8_t x_22; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_12); -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_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_object* x_27; -lean_dec(x_1); -x_26 = lean_expr_instantiate_rev(x_4, x_3); -lean_dec(x_3); -lean_dec(x_4); -x_27 = lean_apply_8(x_2, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_27; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda___at_Lean_Elab_Structural_getMutualFixedPrefix___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = l_Lean_Elab_Structural_withCommonTelescope___rarg___closed__1; -x_12 = l_Lean_Meta_visitLambda_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__6(x_1, x_2, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg___lambda__1), 9, 3); -lean_closure_set(x_13, 0, x_4); -lean_closure_set(x_13, 1, x_6); -lean_closure_set(x_13, 2, x_7); -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_13, x_5, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -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_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_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -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_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10___rarg___boxed), 12, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitForall_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__9___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_array_push(x_1, x_5); -x_14 = l_Lean_Meta_visitForall_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__9(x_2, x_3, x_13, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitForall_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_4) == 7) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_12 = lean_ctor_get(x_4, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_4, 2); -lean_inc(x_14); -x_15 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 8); -lean_dec(x_4); -x_16 = lean_expr_instantiate_rev(x_13, x_3); -lean_dec(x_13); -lean_inc(x_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_16); -x_17 = lean_apply_8(x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_alloc_closure((void*)(l_Lean_Meta_visitForall_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__9___lambda__1), 12, 4); -lean_closure_set(x_19, 0, x_3); -lean_closure_set(x_19, 1, x_1); -lean_closure_set(x_19, 2, x_2); -lean_closure_set(x_19, 3, x_14); -x_20 = 0; -x_21 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10___rarg(x_12, x_15, x_16, x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -return x_21; -} -else -{ -uint8_t x_22; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_12); -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_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_object* x_27; -lean_dec(x_1); -x_26 = lean_expr_instantiate_rev(x_4, x_3); -lean_dec(x_3); -lean_dec(x_4); -x_27 = lean_apply_8(x_2, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_27; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitForall___at_Lean_Elab_Structural_getMutualFixedPrefix___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = l_Lean_Elab_Structural_withCommonTelescope___rarg___closed__1; -x_12 = l_Lean_Meta_visitForall_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__9(x_1, x_2, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg___lambda__1), 9, 3); -lean_closure_set(x_13, 0, x_4); -lean_closure_set(x_13, 1, x_6); -lean_closure_set(x_13, 2, x_7); -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(x_1, x_2, x_3, x_13, x_5, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -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_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_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -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_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13___rarg___boxed), 12, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitLet_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__12___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_array_push(x_1, x_5); -x_14 = l_Lean_Meta_visitLet_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__12(x_2, x_3, x_13, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitLet_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_4) == 8) -{ -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_ctor_get(x_4, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_4, 2); -lean_inc(x_14); -x_15 = lean_ctor_get(x_4, 3); -lean_inc(x_15); -lean_dec(x_4); -x_16 = lean_expr_instantiate_rev(x_13, x_3); -lean_dec(x_13); -x_17 = lean_expr_instantiate_rev(x_14, x_3); -lean_dec(x_14); -lean_inc(x_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_16); -x_18 = lean_apply_8(x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -lean_inc(x_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_17); -x_20 = lean_apply_8(x_2, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_alloc_closure((void*)(l_Lean_Meta_visitLet_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__12___lambda__1), 12, 4); -lean_closure_set(x_22, 0, x_3); -lean_closure_set(x_22, 1, x_1); -lean_closure_set(x_22, 2, x_2); -lean_closure_set(x_22, 3, x_15); -x_23 = 0; -x_24 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13___rarg(x_12, x_16, x_17, x_22, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -return x_24; -} -else -{ -uint8_t x_25; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_12); -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_25 = !lean_is_exclusive(x_20); -if (x_25 == 0) -{ -return x_20; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_20, 0); -x_27 = lean_ctor_get(x_20, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_20); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -else -{ -uint8_t x_29; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_12); -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_29 = !lean_is_exclusive(x_18); -if (x_29 == 0) -{ -return x_18; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_18, 0); -x_31 = lean_ctor_get(x_18, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_18); -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_object* x_34; -lean_dec(x_1); -x_33 = lean_expr_instantiate_rev(x_4, x_3); -lean_dec(x_3); -lean_dec(x_4); -x_34 = lean_apply_8(x_2, x_33, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_34; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_visitLet___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = l_Lean_Elab_Structural_withCommonTelescope___rarg___closed__1; -x_12 = l_Lean_Meta_visitLet_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__12(x_1, x_2, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___lambda__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_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; size_t x_12; lean_object* x_13; uint8_t x_14; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_array_get_size(x_8); -x_10 = lean_usize_of_nat(x_9); -lean_dec(x_9); -x_11 = lean_usize_sub(x_10, x_1); -x_12 = lean_usize_land(x_2, x_11); -x_13 = lean_array_uget(x_8, x_12); -x_14 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_CollectFVars_visit___spec__1(x_3, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_7, x_15); -lean_dec(x_7); -x_17 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_17, 0, x_3); -lean_ctor_set(x_17, 1, x_4); -lean_ctor_set(x_17, 2, x_13); -x_18 = lean_array_uset(x_8, x_12, x_17); -x_19 = lean_unsigned_to_nat(4u); -x_20 = lean_nat_mul(x_16, x_19); -x_21 = lean_unsigned_to_nat(3u); -x_22 = lean_nat_div(x_20, x_21); -lean_dec(x_20); -x_23 = lean_array_get_size(x_18); -x_24 = lean_nat_dec_le(x_22, x_23); -lean_dec(x_23); -lean_dec(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_CollectFVars_visit___spec__2(x_18); -lean_ctor_set(x_5, 1, x_25); -lean_ctor_set(x_5, 0, x_16); -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_5); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; -lean_ctor_set(x_5, 1, x_18); -lean_ctor_set(x_5, 0, x_16); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_box(0); -x_31 = lean_array_uset(x_8, x_12, x_30); -x_32 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_forEachExpr_x27_visit___spec__11(x_3, x_4, x_13); -x_33 = lean_array_uset(x_31, x_12, x_32); -lean_ctor_set(x_5, 1, x_33); -x_34 = lean_box(0); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_5); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; -x_36 = lean_ctor_get(x_5, 0); -x_37 = lean_ctor_get(x_5, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_5); -x_38 = lean_array_get_size(x_37); -x_39 = lean_usize_of_nat(x_38); -lean_dec(x_38); -x_40 = lean_usize_sub(x_39, x_1); -x_41 = lean_usize_land(x_2, x_40); -x_42 = lean_array_uget(x_37, x_41); -x_43 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_CollectFVars_visit___spec__1(x_3, x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_44 = lean_unsigned_to_nat(1u); -x_45 = lean_nat_add(x_36, x_44); -lean_dec(x_36); -x_46 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_46, 0, x_3); -lean_ctor_set(x_46, 1, x_4); -lean_ctor_set(x_46, 2, x_42); -x_47 = lean_array_uset(x_37, x_41, x_46); -x_48 = lean_unsigned_to_nat(4u); -x_49 = lean_nat_mul(x_45, x_48); -x_50 = lean_unsigned_to_nat(3u); -x_51 = lean_nat_div(x_49, x_50); -lean_dec(x_49); -x_52 = lean_array_get_size(x_47); -x_53 = lean_nat_dec_le(x_51, x_52); -lean_dec(x_52); -lean_dec(x_51); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_54 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_CollectFVars_visit___spec__2(x_47); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_45); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -return x_57; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_45); -lean_ctor_set(x_58, 1, x_47); -x_59 = lean_box(0); -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; -} -} -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; -x_61 = lean_box(0); -x_62 = lean_array_uset(x_37, x_41, x_61); -x_63 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_forEachExpr_x27_visit___spec__11(x_3, x_4, x_42); -x_64 = lean_array_uset(x_62, x_41, x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_36); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_box(0); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -return x_67; -} -} -} -} -static lean_object* _init_l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 1; -x_2 = lean_box_usize(x_1); +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_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_12; lean_object* x_13; -lean_inc(x_5); -x_12 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_12, 0, lean_box(0)); -lean_closure_set(x_12, 1, lean_box(0)); -lean_closure_set(x_12, 2, x_5); -lean_inc(x_3); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_13 = lean_apply_8(x_3, lean_box(0), x_12, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint64_t x_19; uint64_t x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; size_t x_26; size_t x_27; size_t x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_array_get_size(x_17); -x_19 = l_Lean_Expr_hash(x_4); -x_20 = 32; -x_21 = lean_uint64_shift_right(x_19, x_20); -x_22 = lean_uint64_xor(x_19, x_21); -x_23 = 16; -x_24 = lean_uint64_shift_right(x_22, x_23); -x_25 = lean_uint64_xor(x_22, x_24); -x_26 = lean_uint64_to_usize(x_25); -x_27 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_28 = 1; -x_29 = lean_usize_sub(x_27, x_28); -x_30 = lean_usize_land(x_26, x_29); -x_31 = lean_array_uget(x_17, x_30); -lean_dec(x_17); -x_32 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_forEachExpr_x27_visit___spec__1(x_4, x_31); -lean_dec(x_31); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_49; -lean_free_object(x_13); -lean_inc(x_1); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_49 = lean_apply_7(x_1, x_4, x_6, x_7, x_8, x_9, x_10, x_16); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; uint8_t x_51; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_unbox(x_50); -lean_dec(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; -lean_dec(x_2); -lean_dec(x_1); -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_box(0); -x_33 = x_53; -x_34 = x_52; -goto block_48; -} -else -{ -switch (lean_obj_tag(x_4)) { -case 5: -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_dec(x_49); -x_55 = lean_ctor_get(x_4, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_4, 1); -lean_inc(x_56); -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_3); -lean_inc(x_2); -lean_inc(x_1); -x_57 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_1, x_2, x_3, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_54); -if (lean_obj_tag(x_57) == 0) -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -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_3); -x_59 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_1, x_2, x_3, x_56, x_5, x_6, x_7, x_8, x_9, x_10, x_58); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; lean_object* x_61; -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_33 = x_60; -x_34 = x_61; -goto block_48; -} -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); -x_62 = !lean_is_exclusive(x_59); -if (x_62 == 0) -{ -return x_59; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_59, 0); -x_64 = lean_ctor_get(x_59, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_59); -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_66; -lean_dec(x_56); -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_66 = !lean_is_exclusive(x_57); -if (x_66 == 0) -{ -return x_57; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_57, 0); -x_68 = lean_ctor_get(x_57, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_57); -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; -} -} -} -case 6: -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_49, 1); -lean_inc(x_70); -lean_dec(x_49); -lean_inc(x_3); -lean_inc(x_2); -x_71 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4), 11, 3); -lean_closure_set(x_71, 0, x_1); -lean_closure_set(x_71, 1, x_2); -lean_closure_set(x_71, 2, x_3); -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_72 = l_Lean_Meta_visitLambda___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__5(x_2, x_71, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_70); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; -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_33 = x_73; -x_34 = x_74; -goto block_48; -} -else -{ -uint8_t x_75; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_75 = !lean_is_exclusive(x_72); -if (x_75 == 0) -{ -return x_72; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_72, 0); -x_77 = lean_ctor_get(x_72, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_72); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -case 7: -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_49, 1); -lean_inc(x_79); -lean_dec(x_49); -lean_inc(x_3); -lean_inc(x_2); -x_80 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4), 11, 3); -lean_closure_set(x_80, 0, x_1); -lean_closure_set(x_80, 1, x_2); -lean_closure_set(x_80, 2, x_3); -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_81 = l_Lean_Meta_visitForall___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__8(x_2, x_80, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_79); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_33 = x_82; -x_34 = x_83; -goto block_48; -} -else -{ -uint8_t x_84; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_84 = !lean_is_exclusive(x_81); -if (x_84 == 0) -{ -return x_81; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_81, 0); -x_86 = lean_ctor_get(x_81, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_81); -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; -} -} -} -case 8: -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_49, 1); -lean_inc(x_88); -lean_dec(x_49); -lean_inc(x_3); -lean_inc(x_2); -x_89 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4), 11, 3); -lean_closure_set(x_89, 0, x_1); -lean_closure_set(x_89, 1, x_2); -lean_closure_set(x_89, 2, x_3); -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_90 = l_Lean_Meta_visitLet___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__11(x_2, x_89, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_88); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; -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_33 = x_91; -x_34 = x_92; -goto block_48; -} -else -{ -uint8_t x_93; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_93 = !lean_is_exclusive(x_90); -if (x_93 == 0) -{ -return x_90; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_90, 0); -x_95 = lean_ctor_get(x_90, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_90); -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; -} -} -} -case 10: -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_49, 1); -lean_inc(x_97); -lean_dec(x_49); -x_98 = lean_ctor_get(x_4, 1); -lean_inc(x_98); -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_3); -x_99 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_1, x_2, x_3, x_98, x_5, x_6, x_7, x_8, x_9, x_10, x_97); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_33 = x_100; -x_34 = x_101; -goto block_48; -} -else -{ -uint8_t x_102; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_102 = !lean_is_exclusive(x_99); -if (x_102 == 0) -{ -return x_99; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_99, 0); -x_104 = lean_ctor_get(x_99, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_99); -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; -} -} -} -case 11: -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_49, 1); -lean_inc(x_106); -lean_dec(x_49); -x_107 = lean_ctor_get(x_4, 2); -lean_inc(x_107); -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_3); -x_108 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_1, x_2, x_3, x_107, x_5, x_6, x_7, x_8, x_9, x_10, x_106); -if (lean_obj_tag(x_108) == 0) -{ -lean_object* x_109; lean_object* x_110; -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_33 = x_109; -x_34 = x_110; -goto block_48; -} -else -{ -uint8_t x_111; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_111 = !lean_is_exclusive(x_108); -if (x_111 == 0) -{ -return x_108; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_108, 0); -x_113 = lean_ctor_get(x_108, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_108); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; -} -} -} -default: -{ -lean_object* x_115; lean_object* x_116; -lean_dec(x_2); -lean_dec(x_1); -x_115 = lean_ctor_get(x_49, 1); -lean_inc(x_115); -lean_dec(x_49); -x_116 = lean_box(0); -x_33 = x_116; -x_34 = x_115; -goto block_48; -} -} -} -} -else -{ -uint8_t x_117; -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_117 = !lean_is_exclusive(x_49); -if (x_117 == 0) -{ -return x_49; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_49, 0); -x_119 = lean_ctor_get(x_49, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_49); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} -} -block_48: -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___boxed__const__1; -x_36 = lean_box_usize(x_26); -lean_inc(x_33); -x_37 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___lambda__1___boxed), 5, 4); -lean_closure_set(x_37, 0, x_35); -lean_closure_set(x_37, 1, x_36); -lean_closure_set(x_37, 2, x_4); -lean_closure_set(x_37, 3, x_33); -x_38 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_38, 0, x_5); -lean_closure_set(x_38, 1, x_37); -x_39 = lean_apply_8(x_3, lean_box(0), x_38, x_6, x_7, x_8, x_9, x_10, x_34); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_39, 0); -lean_dec(x_41); -lean_ctor_set(x_39, 0, x_33); -return x_39; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec(x_39); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_33); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -else -{ -uint8_t x_44; -lean_dec(x_33); -x_44 = !lean_is_exclusive(x_39); -if (x_44 == 0) -{ -return x_39; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_39, 0); -x_46 = lean_ctor_get(x_39, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_39); -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; -} -} -} -} -else -{ -lean_object* x_121; -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_121 = lean_ctor_get(x_32, 0); -lean_inc(x_121); -lean_dec(x_32); -lean_ctor_set(x_13, 0, x_121); -return x_13; -} -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint64_t x_126; uint64_t x_127; uint64_t x_128; uint64_t x_129; uint64_t x_130; uint64_t x_131; uint64_t x_132; size_t x_133; size_t x_134; size_t x_135; size_t x_136; size_t x_137; lean_object* x_138; lean_object* x_139; -x_122 = lean_ctor_get(x_13, 0); -x_123 = lean_ctor_get(x_13, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_13); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_array_get_size(x_124); -x_126 = l_Lean_Expr_hash(x_4); -x_127 = 32; -x_128 = lean_uint64_shift_right(x_126, x_127); -x_129 = lean_uint64_xor(x_126, x_128); -x_130 = 16; -x_131 = lean_uint64_shift_right(x_129, x_130); -x_132 = lean_uint64_xor(x_129, x_131); -x_133 = lean_uint64_to_usize(x_132); -x_134 = lean_usize_of_nat(x_125); -lean_dec(x_125); -x_135 = 1; -x_136 = lean_usize_sub(x_134, x_135); -x_137 = lean_usize_land(x_133, x_136); -x_138 = lean_array_uget(x_124, x_137); -lean_dec(x_124); -x_139 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_forEachExpr_x27_visit___spec__1(x_4, x_138); -lean_dec(x_138); -if (lean_obj_tag(x_139) == 0) -{ -lean_object* x_140; lean_object* x_141; lean_object* x_155; -lean_inc(x_1); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_155 = lean_apply_7(x_1, x_4, x_6, x_7, x_8, x_9, x_10, x_123); -if (lean_obj_tag(x_155) == 0) -{ -lean_object* x_156; uint8_t x_157; -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_unbox(x_156); -lean_dec(x_156); -if (x_157 == 0) -{ -lean_object* x_158; lean_object* x_159; -lean_dec(x_2); -lean_dec(x_1); -x_158 = lean_ctor_get(x_155, 1); -lean_inc(x_158); -lean_dec(x_155); -x_159 = lean_box(0); -x_140 = x_159; -x_141 = x_158; -goto block_154; -} -else -{ -switch (lean_obj_tag(x_4)) { -case 5: -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_160 = lean_ctor_get(x_155, 1); -lean_inc(x_160); -lean_dec(x_155); -x_161 = lean_ctor_get(x_4, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_4, 1); -lean_inc(x_162); -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_3); -lean_inc(x_2); -lean_inc(x_1); -x_163 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_1, x_2, x_3, x_161, x_5, x_6, x_7, x_8, x_9, x_10, x_160); -if (lean_obj_tag(x_163) == 0) -{ -lean_object* x_164; lean_object* x_165; -x_164 = lean_ctor_get(x_163, 1); -lean_inc(x_164); -lean_dec(x_163); -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_3); -x_165 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_1, x_2, x_3, x_162, x_5, x_6, x_7, x_8, x_9, x_10, x_164); -if (lean_obj_tag(x_165) == 0) -{ -lean_object* x_166; lean_object* x_167; -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec(x_165); -x_140 = x_166; -x_141 = x_167; -goto block_154; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_168 = lean_ctor_get(x_165, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_165, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_165)) { - lean_ctor_release(x_165, 0); - lean_ctor_release(x_165, 1); - x_170 = x_165; -} else { - lean_dec_ref(x_165); - x_170 = lean_box(0); -} -if (lean_is_scalar(x_170)) { - x_171 = lean_alloc_ctor(1, 2, 0); -} else { - x_171 = x_170; -} -lean_ctor_set(x_171, 0, x_168); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -} -else -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -lean_dec(x_162); -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_172 = lean_ctor_get(x_163, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_163, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - lean_ctor_release(x_163, 1); - x_174 = x_163; -} else { - lean_dec_ref(x_163); - x_174 = lean_box(0); -} -if (lean_is_scalar(x_174)) { - x_175 = lean_alloc_ctor(1, 2, 0); -} else { - x_175 = x_174; -} -lean_ctor_set(x_175, 0, x_172); -lean_ctor_set(x_175, 1, x_173); -return x_175; -} -} -case 6: -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_155, 1); -lean_inc(x_176); -lean_dec(x_155); -lean_inc(x_3); -lean_inc(x_2); -x_177 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4), 11, 3); -lean_closure_set(x_177, 0, x_1); -lean_closure_set(x_177, 1, x_2); -lean_closure_set(x_177, 2, x_3); -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_178 = l_Lean_Meta_visitLambda___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__5(x_2, x_177, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_176); -if (lean_obj_tag(x_178) == 0) -{ -lean_object* x_179; lean_object* x_180; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -x_140 = x_179; -x_141 = x_180; -goto block_154; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_181 = lean_ctor_get(x_178, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_178, 1); -lean_inc(x_182); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_183 = x_178; -} else { - lean_dec_ref(x_178); - x_183 = lean_box(0); -} -if (lean_is_scalar(x_183)) { - x_184 = lean_alloc_ctor(1, 2, 0); -} else { - x_184 = x_183; -} -lean_ctor_set(x_184, 0, x_181); -lean_ctor_set(x_184, 1, x_182); -return x_184; -} -} -case 7: -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_155, 1); -lean_inc(x_185); -lean_dec(x_155); -lean_inc(x_3); -lean_inc(x_2); -x_186 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4), 11, 3); -lean_closure_set(x_186, 0, x_1); -lean_closure_set(x_186, 1, x_2); -lean_closure_set(x_186, 2, x_3); -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_187 = l_Lean_Meta_visitForall___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__8(x_2, x_186, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_185); -if (lean_obj_tag(x_187) == 0) -{ -lean_object* x_188; lean_object* x_189; -x_188 = lean_ctor_get(x_187, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); -lean_dec(x_187); -x_140 = x_188; -x_141 = x_189; -goto block_154; -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_190 = lean_ctor_get(x_187, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_187, 1); -lean_inc(x_191); -if (lean_is_exclusive(x_187)) { - lean_ctor_release(x_187, 0); - lean_ctor_release(x_187, 1); - x_192 = x_187; -} else { - lean_dec_ref(x_187); - x_192 = lean_box(0); -} -if (lean_is_scalar(x_192)) { - x_193 = lean_alloc_ctor(1, 2, 0); -} else { - x_193 = x_192; -} -lean_ctor_set(x_193, 0, x_190); -lean_ctor_set(x_193, 1, x_191); -return x_193; -} -} -case 8: -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get(x_155, 1); -lean_inc(x_194); -lean_dec(x_155); -lean_inc(x_3); -lean_inc(x_2); -x_195 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4), 11, 3); -lean_closure_set(x_195, 0, x_1); -lean_closure_set(x_195, 1, x_2); -lean_closure_set(x_195, 2, x_3); -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_196 = l_Lean_Meta_visitLet___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__11(x_2, x_195, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_194); -if (lean_obj_tag(x_196) == 0) -{ -lean_object* x_197; lean_object* x_198; -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -lean_dec(x_196); -x_140 = x_197; -x_141 = x_198; -goto block_154; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_199 = lean_ctor_get(x_196, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_196, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_196)) { - lean_ctor_release(x_196, 0); - lean_ctor_release(x_196, 1); - x_201 = x_196; -} else { - lean_dec_ref(x_196); - x_201 = lean_box(0); -} -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(1, 2, 0); -} else { - x_202 = x_201; -} -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); -return x_202; -} -} -case 10: -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_155, 1); -lean_inc(x_203); -lean_dec(x_155); -x_204 = lean_ctor_get(x_4, 1); -lean_inc(x_204); -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_3); -x_205 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_1, x_2, x_3, x_204, x_5, x_6, x_7, x_8, x_9, x_10, x_203); -if (lean_obj_tag(x_205) == 0) -{ -lean_object* x_206; lean_object* x_207; -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); -lean_inc(x_207); -lean_dec(x_205); -x_140 = x_206; -x_141 = x_207; -goto block_154; -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_208 = lean_ctor_get(x_205, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_205, 1); -lean_inc(x_209); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - x_210 = x_205; -} else { - lean_dec_ref(x_205); - x_210 = lean_box(0); -} -if (lean_is_scalar(x_210)) { - x_211 = lean_alloc_ctor(1, 2, 0); -} else { - x_211 = x_210; -} -lean_ctor_set(x_211, 0, x_208); -lean_ctor_set(x_211, 1, x_209); -return x_211; -} -} -case 11: -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_155, 1); -lean_inc(x_212); -lean_dec(x_155); -x_213 = lean_ctor_get(x_4, 2); -lean_inc(x_213); -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_3); -x_214 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_1, x_2, x_3, x_213, x_5, x_6, x_7, x_8, x_9, x_10, x_212); -if (lean_obj_tag(x_214) == 0) -{ -lean_object* x_215; lean_object* x_216; -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_140 = x_215; -x_141 = x_216; -goto block_154; -} -else -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_217 = lean_ctor_get(x_214, 0); -lean_inc(x_217); -x_218 = lean_ctor_get(x_214, 1); -lean_inc(x_218); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_219 = x_214; -} else { - lean_dec_ref(x_214); - x_219 = lean_box(0); -} -if (lean_is_scalar(x_219)) { - x_220 = lean_alloc_ctor(1, 2, 0); -} else { - x_220 = x_219; -} -lean_ctor_set(x_220, 0, x_217); -lean_ctor_set(x_220, 1, x_218); -return x_220; -} -} -default: -{ -lean_object* x_221; lean_object* x_222; -lean_dec(x_2); -lean_dec(x_1); -x_221 = lean_ctor_get(x_155, 1); -lean_inc(x_221); -lean_dec(x_155); -x_222 = lean_box(0); -x_140 = x_222; -x_141 = x_221; -goto block_154; -} -} -} -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -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_223 = lean_ctor_get(x_155, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_155, 1); -lean_inc(x_224); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_225 = x_155; -} else { - lean_dec_ref(x_155); - x_225 = lean_box(0); -} -if (lean_is_scalar(x_225)) { - x_226 = lean_alloc_ctor(1, 2, 0); -} else { - x_226 = x_225; -} -lean_ctor_set(x_226, 0, x_223); -lean_ctor_set(x_226, 1, x_224); -return x_226; -} -block_154: -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_142 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___boxed__const__1; -x_143 = lean_box_usize(x_133); -lean_inc(x_140); -x_144 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___lambda__1___boxed), 5, 4); -lean_closure_set(x_144, 0, x_142); -lean_closure_set(x_144, 1, x_143); -lean_closure_set(x_144, 2, x_4); -lean_closure_set(x_144, 3, x_140); -x_145 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_145, 0, x_5); -lean_closure_set(x_145, 1, x_144); -x_146 = lean_apply_8(x_3, lean_box(0), x_145, x_6, x_7, x_8, x_9, x_10, x_141); -if (lean_obj_tag(x_146) == 0) -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - x_148 = x_146; -} else { - lean_dec_ref(x_146); - x_148 = lean_box(0); -} -if (lean_is_scalar(x_148)) { - x_149 = lean_alloc_ctor(0, 2, 0); -} else { - x_149 = x_148; -} -lean_ctor_set(x_149, 0, x_140); -lean_ctor_set(x_149, 1, x_147); -return x_149; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -lean_dec(x_140); -x_150 = lean_ctor_get(x_146, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_146, 1); -lean_inc(x_151); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - x_152 = x_146; -} else { - lean_dec_ref(x_146); - x_152 = lean_box(0); -} -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(1, 2, 0); -} else { - x_153 = x_152; -} -lean_ctor_set(x_153, 0, x_150); -lean_ctor_set(x_153, 1, x_151); -return x_153; -} -} -} -else -{ -lean_object* x_227; lean_object* x_228; -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_227 = lean_ctor_get(x_139, 0); -lean_inc(x_227); -lean_dec(x_139); -x_228 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_123); -return x_228; -} -} -} -else -{ -uint8_t x_229; -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_229 = !lean_is_exclusive(x_13); -if (x_229 == 0) -{ -return x_13; -} -else -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_230 = lean_ctor_get(x_13, 0); -x_231 = lean_ctor_get(x_13, 1); -lean_inc(x_231); -lean_inc(x_230); -lean_dec(x_13); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -return x_232; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___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) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_apply_1(x_2, x_8); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -return x_9; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_9); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -} -} -static lean_object* _init_l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___lambda__1___boxed), 8, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__2() { -_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_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__2; -x_3 = lean_mk_array(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___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_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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; -x_9 = lean_box(0); -x_10 = l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__1; -x_11 = l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__4; -x_12 = lean_st_mk_ref(x_11, x_8); -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); -lean_inc(x_13); -x_15 = l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4(x_2, x_9, x_10, x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -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_st_ref_get(x_13, x_17); -lean_dec(x_13); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -lean_ctor_set(x_18, 0, x_16); -return x_18; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_16); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -else -{ -uint8_t x_23; -lean_dec(x_13); -x_23 = !lean_is_exclusive(x_15); -if (x_23 == 0) -{ -return x_15; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_15); -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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___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) { -_start: -{ -uint8_t x_8; lean_object* x_9; lean_object* x_10; -x_8 = 0; -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_7); -return x_10; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__1___boxed), 7, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_array_get_size(x_1); +lean_object* x_15; uint8_t x_16; x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_lt(x_15, x_14); +x_16 = lean_nat_dec_eq(x_5, x_15); if (x_16 == 0) { -uint8_t x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_14); -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_3); -lean_dec(x_2); -x_17 = 1; -x_18 = lean_box(x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_13); -return x_19; -} -else -{ -size_t x_20; size_t x_21; uint8_t x_22; -x_20 = 0; -x_21 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_22 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__1(x_7, x_1, x_20, x_21); -if (x_22 == 0) -{ -uint8_t x_23; lean_object* x_24; lean_object* x_25; -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_3); -lean_dec(x_2); -x_23 = 1; -x_24 = lean_box(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_13); -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; lean_object* x_32; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_26 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_7, x_15); -x_27 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___closed__1; -lean_inc(x_26); -x_28 = lean_mk_array(x_26, x_27); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_sub(x_26, x_29); -lean_dec(x_26); -x_31 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_7, x_28, x_30); -x_55 = lean_st_ref_take(x_6, x_13); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_array_get_size(x_31); -x_59 = lean_nat_dec_le(x_58, x_56); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; -lean_dec(x_58); -x_60 = lean_st_ref_set(x_6, x_56, x_57); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_32 = x_61; -goto block_54; -} -else -{ -lean_object* x_62; lean_object* x_63; -lean_dec(x_56); -x_62 = lean_st_ref_set(x_6, x_58, x_57); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_32 = x_63; -goto block_54; -} -block_54: -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; lean_object* x_37; -x_33 = l_Array_toSubarray___rarg(x_2, x_15, x_3); -x_34 = lean_box(0); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_array_size(x_31); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_37 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__2(x_4, x_5, x_31, x_34, x_31, x_36, x_20, x_35, x_8, x_9, x_10, x_11, x_12, x_32); -lean_dec(x_31); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -lean_dec(x_38); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2___closed__1; -x_42 = lean_box(0); -x_43 = lean_apply_7(x_41, x_42, x_8, x_9, x_10, x_11, x_12, x_40); -return x_43; -} -else -{ -uint8_t x_44; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_44 = !lean_is_exclusive(x_37); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_37, 0); -lean_dec(x_45); -x_46 = lean_ctor_get(x_39, 0); -lean_inc(x_46); -lean_dec(x_39); -lean_ctor_set(x_37, 0, x_46); -return x_37; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_37, 1); -lean_inc(x_47); -lean_dec(x_37); -x_48 = lean_ctor_get(x_39, 0); -lean_inc(x_48); -lean_dec(x_39); -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; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_50 = !lean_is_exclusive(x_37); -if (x_50 == 0) -{ -return x_37; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_37, 0); -x_52 = lean_ctor_get(x_37, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_37); -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; -} -} -} -} -} -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_instMonadControlReaderT___lambda__2), 3, 0); -return x_1; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_instMonadControlReaderT___lambda__3___boxed), 3, 0); -return x_1; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__3; -x_2 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___closed__3; -x_3 = l_instMonadControlTOfMonadControl___rarg(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__4; -x_16 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2___boxed), 13, 6); -lean_closure_set(x_16, 0, x_1); -lean_closure_set(x_16, 1, x_2); -lean_closure_set(x_16, 2, x_3); -lean_closure_set(x_16, 3, x_4); -lean_closure_set(x_16, 4, x_15); -lean_closure_set(x_16, 5, x_5); -x_17 = l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3(x_6, x_16, x_9, x_10, x_11, x_12, x_13, x_14); -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_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_5, x_17); +lean_dec(x_5); +x_19 = lean_array_fget(x_4, x_6); +x_20 = lean_ctor_get(x_2, 1); +x_21 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1; +x_22 = lean_array_get(x_21, x_20, x_6); +x_23 = lean_ctor_get(x_19, 5); +lean_inc(x_23); lean_dec(x_19); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_7); -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_7); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; -} -} -else -{ -uint8_t x_24; -lean_dec(x_7); -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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__1; -x_2 = lean_box(0); -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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_st_ref_get(x_1, x_13); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -x_18 = lean_unsigned_to_nat(0u); -x_19 = lean_nat_dec_eq(x_16, x_18); -lean_dec(x_16); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -lean_free_object(x_14); -x_20 = lean_box(0); -x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3(x_2, x_3, x_4, x_5, x_1, x_6, x_7, x_20, x_8, x_9, x_10, x_11, x_12, x_17); -return x_21; -} -else -{ -lean_object* x_22; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_22 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__3; -lean_ctor_set(x_14, 0, x_22); -return x_14; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_14); -x_25 = lean_unsigned_to_nat(0u); -x_26 = lean_nat_dec_eq(x_23, x_25); -lean_dec(x_23); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_box(0); -x_28 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3(x_2, x_3, x_4, x_5, x_1, x_6, x_7, x_27, x_8, x_9, x_10, x_11, x_12, x_24); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_29 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__3; -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_24); -return x_30; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__5(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_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) { -_start: -{ -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_19 = lean_ctor_get(x_12, 0); -lean_inc(x_19); -lean_dec(x_12); -x_20 = lean_ctor_get(x_1, 0); -lean_inc(x_20); -lean_dec(x_1); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_apply_8(x_21, lean_box(0), x_19, x_13, x_14, x_15, x_16, x_17, x_18); -return x_22; -} -else -{ -lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_12, 0); -lean_inc(x_23); -lean_dec(x_12); -x_24 = 1; -x_25 = lean_usize_add(x_2, x_24); -x_26 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14(x_3, x_4, x_5, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_25, x_23, x_13, x_14, x_15, x_16, x_17, x_18); -return x_26; -} -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14(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, size_t x_10, size_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) { -_start: -{ -uint8_t x_19; -x_19 = lean_usize_dec_lt(x_11, x_10); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -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_20 = lean_ctor_get(x_4, 0); -lean_inc(x_20); -lean_dec(x_4); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_apply_8(x_21, lean_box(0), x_12, x_13, x_14, x_15, x_16, x_17, x_18); -return x_22; -} -else -{ -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_dec(x_12); -x_23 = lean_array_uget(x_9, x_11); -x_24 = lean_ctor_get(x_4, 1); -lean_inc(x_24); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_2); -lean_inc(x_1); -lean_inc(x_6); -x_25 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4), 13, 7); -lean_closure_set(x_25, 0, x_6); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_2); -lean_closure_set(x_25, 3, x_5); -lean_closure_set(x_25, 4, x_7); -lean_closure_set(x_25, 5, x_23); -lean_closure_set(x_25, 6, x_8); -x_26 = lean_box_usize(x_11); -x_27 = lean_box_usize(x_10); -x_28 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__5___boxed), 18, 11); -lean_closure_set(x_28, 0, x_4); -lean_closure_set(x_28, 1, x_26); -lean_closure_set(x_28, 2, x_1); -lean_closure_set(x_28, 3, x_2); -lean_closure_set(x_28, 4, x_3); -lean_closure_set(x_28, 5, x_5); -lean_closure_set(x_28, 6, x_6); -lean_closure_set(x_28, 7, x_7); -lean_closure_set(x_28, 8, x_8); -lean_closure_set(x_28, 9, x_9); -lean_closure_set(x_28, 10, x_27); -x_29 = lean_apply_10(x_24, lean_box(0), lean_box(0), x_25, x_28, x_13, x_14, x_15, x_16, x_17, x_18); -return x_29; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix___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) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_st_ref_get(x_1, x_8); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -return x_9; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_9); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -} -} -static lean_object* _init_l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_instMonadMetaM; -x_2 = l_ReaderT_instMonad___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = lean_box(0); -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_Structural_getMutualFixedPrefix___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) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_10 = lean_array_get_size(x_2); -lean_inc(x_10); -x_11 = lean_st_mk_ref(x_10, x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_box(0); -x_15 = lean_array_size(x_3); -x_16 = 0; -x_17 = l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__1; -x_18 = l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__2; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); lean_inc(x_3); -x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14(x_1, x_2, x_3, x_17, x_10, x_12, x_14, x_18, x_3, x_15, x_16, x_18, x_4, x_5, x_6, x_7, x_8, x_13); -if (lean_obj_tag(x_19) == 0) +x_24 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_22, x_23, x_3, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_box(0); -x_24 = l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__1(x_12, x_23, x_4, x_5, x_6, x_7, x_8, x_22); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_nat_add(x_6, x_17); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_12); -return x_24; -} -else -{ -uint8_t x_25; -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_19, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_21, 0); -lean_inc(x_27); -lean_dec(x_21); -lean_ctor_set(x_19, 0, x_27); -return x_19; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_dec(x_19); -x_29 = lean_ctor_get(x_21, 0); -lean_inc(x_29); -lean_dec(x_21); -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 -{ -uint8_t x_31; -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_31 = !lean_is_exclusive(x_19); -if (x_31 == 0) -{ -return x_19; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_19, 0); -x_33 = lean_ctor_get(x_19, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_19); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix(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_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2), 9, 1); -lean_closure_set(x_8, 0, x_1); -x_9 = l_Lean_Elab_Structural_withCommonTelescope___rarg(x_1, x_8, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_getMutualFixedPrefix___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__1(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_16 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__2(x_1, x_2, x_3, x_4, x_5, x_15, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; uint8_t x_14; lean_object* x_15; -x_13 = lean_unbox(x_2); -lean_dec(x_2); -x_14 = lean_unbox(x_5); -lean_dec(x_5); -x_15 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___rarg(x_1, x_13, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__7(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; uint8_t x_14; lean_object* x_15; -x_13 = lean_unbox(x_2); -lean_dec(x_2); -x_14 = lean_unbox(x_5); -lean_dec(x_5); -x_15 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10___rarg(x_1, x_13, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__10(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_5); -lean_dec(x_5); -x_14 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13___rarg(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__13(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___lambda__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_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___lambda__1(x_6, x_7, x_3, x_4, x_5); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__1(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); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_8); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__5___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_20 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__5(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -return x_21; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_20 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19, x_20, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -return x_21; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getMutualFixedPrefix___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_3, x_2); -if (x_11 == 0) -{ -lean_object* x_12; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_4); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_array_uget(x_4, x_3); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_4, x_3, x_14); -x_16 = lean_ctor_get(x_13, 5); -lean_inc(x_16); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_1, x_14, x_16, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -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 = 1; -x_21 = lean_usize_add(x_3, x_20); -x_22 = lean_array_uset(x_15, x_3, x_18); -x_3 = x_21; -x_4 = x_22; -x_10 = x_19; +x_28 = lean_array_push(x_8, x_25); +x_5 = x_18; +x_6 = x_27; +x_7 = lean_box(0); +x_8 = x_28; +x_14 = x_26; goto _start; } else { -uint8_t x_24; -lean_dec(x_15); -lean_dec(x_9); +uint8_t x_30; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +lean_dec(x_3); +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) { -return x_17; +return x_24; } 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; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_24, 0); +x_32 = lean_ctor_get(x_24, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_24); +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 +{ +lean_object* x_34; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_8); +lean_ctor_set(x_34, 1, x_14); +return x_34; +} } } LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -6517,21 +2450,12 @@ return x_17; static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___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_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__2() { -_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_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__3() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__2() { _start: { lean_object* x_1; @@ -6539,17 +2463,17 @@ x_1 = lean_mk_string_unchecked("Array.range xs.size == positions.flatten.qsort N return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__4() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__2; -x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__3; +x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__1; +x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__2; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__5() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__4() { _start: { lean_object* x_1; @@ -6557,7 +2481,7 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.Structural.Basic", 40, 4 return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__5() { _start: { lean_object* x_1; @@ -6565,15 +2489,15 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.Structural.Positions.groupAndSort", 43 return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__7() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6() { _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_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__5; -x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6; +x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__4; +x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__5; x_3 = lean_unsigned_to_nat(86u); x_4 = lean_unsigned_to_nat(2u); -x_5 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__4; +x_5 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -6597,7 +2521,7 @@ if (x_13 == 0) { lean_object* x_33; lean_dec(x_11); -x_33 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__1; +x_33 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1; x_24 = x_33; goto block_32; } @@ -6609,7 +2533,7 @@ if (x_34 == 0) { lean_object* x_35; lean_dec(x_11); -x_35 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__1; +x_35 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1; x_24 = x_35; goto block_32; } @@ -6618,7 +2542,7 @@ else size_t x_36; lean_object* x_37; lean_object* x_38; x_36 = lean_usize_of_nat(x_11); lean_dec(x_11); -x_37 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__1; +x_37 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1; x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_Positions_groupAndSort___spec__6(x_7, x_6, x_36, x_37); x_24 = x_38; goto block_32; @@ -6637,7 +2561,7 @@ lean_dec(x_15); lean_dec(x_14); lean_dec(x_10); lean_dec(x_7); -x_18 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__7; +x_18 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6; x_19 = l_panic___at_Lean_Elab_Structural_Positions_groupAndSort___spec__3(x_18); return x_19; } @@ -6651,7 +2575,7 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; lean_dec(x_7); -x_21 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__7; +x_21 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6; x_22 = l_panic___at_Lean_Elab_Structural_Positions_groupAndSort___spec__3(x_21); return x_22; } @@ -6974,69 +2898,125 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_3, x_2); -if (x_11 == 0) -{ -lean_object* x_12; -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_4); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_1, 1); +x_14 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1; +x_15 = lean_array_get(x_14, x_13, x_2); +lean_inc(x_5); +x_16 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_15, x_3, x_5); +x_17 = l_Lean_Expr_beta(x_4, x_5); +x_18 = 0; +x_19 = 1; +x_20 = 1; +x_21 = l_Lean_Meta_mkLambdaFVars(x_16, x_17, x_18, x_19, x_18, x_20, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_16); +return x_21; } -else +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; -x_13 = lean_array_uget(x_4, x_3); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_4, x_3, x_14); -x_16 = 0; -x_17 = 1; -x_18 = 1; -x_19 = l_Lean_Meta_mkLambdaFVars(x_1, x_13, x_16, x_17, x_16, x_18, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_19) == 0) +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_5, x_15); +if (x_16 == 0) { -lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +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; lean_object* x_24; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_5, x_17); +lean_dec(x_5); +x_19 = lean_array_fget(x_4, x_6); 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 = 1; -x_23 = lean_usize_add(x_3, x_22); -x_24 = lean_array_uset(x_15, x_3, x_20); -x_3 = x_23; -x_4 = x_24; -x_10 = x_21; +lean_inc(x_2); +lean_inc(x_6); +lean_inc(x_1); +x_22 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11___lambda__1___boxed), 12, 4); +lean_closure_set(x_22, 0, x_1); +lean_closure_set(x_22, 1, x_6); +lean_closure_set(x_22, 2, x_2); +lean_closure_set(x_22, 3, x_21); +x_23 = 0; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_24 = l_Lean_Meta_lambdaTelescope___at_Lean_Elab_Structural_mkIndPredBRecOn___spec__2___rarg(x_20, x_22, x_23, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(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_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_nat_add(x_6, x_17); +lean_dec(x_6); +x_28 = lean_array_push(x_8, x_25); +x_5 = x_18; +x_6 = x_27; +x_7 = lean_box(0); +x_8 = x_28; +x_14 = x_26; goto _start; } else { -uint8_t x_26; -lean_dec(x_15); -x_26 = !lean_is_exclusive(x_19); -if (x_26 == 0) +uint8_t x_30; +lean_dec(x_18); +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_6); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) { -return x_19; +return x_24; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_19, 0); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_19); -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_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_24, 0); +x_32 = lean_ctor_get(x_24, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_24); +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 +{ +lean_object* x_34; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_8); +lean_ctor_set(x_34, 1, x_14); +return x_34; +} } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__12(size_t x_1, size_t x_2, lean_object* x_3) { @@ -7335,108 +3315,81 @@ lean_inc(x_2); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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, size_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) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_array_get_size(x_1); -x_16 = lean_mk_empty_array_with_capacity(x_15); -x_17 = lean_unsigned_to_nat(0u); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_array_get_size(x_1); +x_18 = lean_mk_empty_array_with_capacity(x_17); +x_19 = lean_unsigned_to_nat(0u); +lean_inc(x_15); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_18 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__10(x_2, x_1, x_3, x_4, x_1, x_15, x_17, lean_box(0), x_16, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_18) == 0) +x_20 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__10(x_2, x_1, x_3, x_4, x_1, x_17, x_19, lean_box(0), x_18, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_19; lean_object* x_20; size_t x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_array_size(x_19); -x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11(x_5, x_21, x_6, x_19, x_9, x_10, x_11, x_12, x_13, x_20); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_obj_tag(x_22) == 0) +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_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Array_zip___rarg(x_5, x_21); +lean_dec(x_21); +x_24 = lean_array_get_size(x_23); +x_25 = lean_mk_empty_array_with_capacity(x_24); +x_26 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11(x_6, x_7, x_23, x_23, x_24, x_19, lean_box(0), x_25, x_11, x_12, x_13, x_14, x_15, x_22); +lean_dec(x_23); +if (lean_obj_tag(x_26) == 0) { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_24; lean_object* x_25; size_t x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_22, 0); -x_25 = l_Array_zip___rarg(x_7, x_24); -lean_dec(x_24); -x_26 = lean_array_size(x_25); -x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__12(x_26, x_6, x_25); -lean_ctor_set(x_22, 0, x_27); -return x_22; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; lean_object* x_32; lean_object* x_33; -x_28 = lean_ctor_get(x_22, 0); -x_29 = lean_ctor_get(x_22, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_22); -x_30 = l_Array_zip___rarg(x_7, x_28); +lean_object* x_28; lean_object* x_29; size_t x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_26, 0); +x_29 = l_Array_zip___rarg(x_8, x_28); lean_dec(x_28); -x_31 = lean_array_size(x_30); -x_32 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__12(x_31, x_6, x_30); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_29); -return x_33; -} +x_30 = lean_array_size(x_29); +x_31 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__12(x_30, x_9, x_29); +lean_ctor_set(x_26, 0, x_31); +return x_26; } else { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_22); -if (x_34 == 0) -{ -return x_22; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_22, 0); -x_36 = lean_ctor_get(x_22, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_22); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); +lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; lean_object* x_36; lean_object* x_37; +x_32 = lean_ctor_get(x_26, 0); +x_33 = lean_ctor_get(x_26, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_26); +x_34 = l_Array_zip___rarg(x_8, x_32); +lean_dec(x_32); +x_35 = lean_array_size(x_34); +x_36 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__12(x_35, x_9, x_34); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_33); return x_37; } } -} else { uint8_t x_38; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_38 = !lean_is_exclusive(x_18); +x_38 = !lean_is_exclusive(x_26); if (x_38 == 0) { -return x_18; +return x_26; } else { lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_18, 0); -x_40 = lean_ctor_get(x_18, 1); +x_39 = lean_ctor_get(x_26, 0); +x_40 = lean_ctor_get(x_26, 1); lean_inc(x_40); lean_inc(x_39); -lean_dec(x_18); +lean_dec(x_26); x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); @@ -7444,6 +3397,36 @@ return x_41; } } } +else +{ +uint8_t x_42; +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); +x_42 = !lean_is_exclusive(x_20); +if (x_42 == 0) +{ +return x_20; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_20, 0); +x_44 = lean_ctor_get(x_20, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_20); +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; +} +} +} } static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__1() { _start: @@ -7479,141 +3462,140 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; -x_18 = l_Array_zip___rarg(x_1, x_2); -x_19 = l_Array_zip___rarg(x_3, x_18); -lean_dec(x_18); -x_20 = lean_array_size(x_19); +lean_object* x_19; lean_object* x_20; size_t x_21; lean_object* x_22; +x_19 = l_Array_zip___rarg(x_1, x_2); +x_20 = l_Array_zip___rarg(x_3, x_19); +lean_dec(x_19); +x_21 = lean_array_size(x_20); +lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); lean_inc(x_4); -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__9(x_3, x_4, x_20, x_5, x_19, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__9(x_3, x_4, x_21, x_5, x_20, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); lean_inc(x_6); -x_24 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_6, x_12, x_13, x_14, x_15, x_16, x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (x_26 == 0) +x_25 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_6, x_13, x_14, x_15, x_16, x_17, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_unbox(x_26); +lean_dec(x_26); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_6); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_box(0); -x_29 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(x_7, x_4, x_8, x_22, x_9, x_5, x_10, x_28, x_12, x_13, x_14, x_15, x_16, x_27); -lean_dec(x_12); -return x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_box(0); +x_30 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(x_7, x_4, x_8, x_23, x_1, x_9, x_10, x_11, x_5, x_29, x_13, x_14, x_15, x_16, x_17, x_28); +return x_30; } else { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_24); -if (x_30 == 0) +uint8_t x_31; +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 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; 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_31 = lean_ctor_get(x_24, 1); -x_32 = lean_ctor_get(x_24, 0); -lean_dec(x_32); -lean_inc(x_22); -x_33 = lean_array_to_list(x_22); -x_34 = lean_box(0); -x_35 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_33, x_34); -x_36 = l_Lean_MessageData_ofList(x_35); -x_37 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__2; -lean_ctor_set_tag(x_24, 7); -lean_ctor_set(x_24, 1, x_36); -lean_ctor_set(x_24, 0, x_37); -x_38 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; -x_39 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_39, 0, x_24); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_6, x_39, x_12, x_13, x_14, x_15, x_16, x_31); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); +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; +x_32 = lean_ctor_get(x_25, 1); +x_33 = lean_ctor_get(x_25, 0); +lean_dec(x_33); +lean_inc(x_23); +x_34 = lean_array_to_list(x_23); +x_35 = lean_box(0); +x_36 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_34, x_35); +x_37 = l_Lean_MessageData_ofList(x_36); +x_38 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__2; +lean_ctor_set_tag(x_25, 7); +lean_ctor_set(x_25, 1, x_37); +lean_ctor_set(x_25, 0, x_38); +x_39 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_40 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_40, 0, x_25); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_6, x_40, x_13, x_14, x_15, x_16, x_17, x_32); +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -lean_dec(x_40); -x_43 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(x_7, x_4, x_8, x_22, x_9, x_5, x_10, x_41, x_12, x_13, x_14, x_15, x_16, x_42); -lean_dec(x_12); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); lean_dec(x_41); -return x_43; +x_44 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(x_7, x_4, x_8, x_23, x_1, x_9, x_10, x_11, x_5, x_42, x_13, x_14, x_15, x_16, x_17, x_43); +lean_dec(x_42); +return x_44; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_44 = lean_ctor_get(x_24, 1); -lean_inc(x_44); -lean_dec(x_24); -lean_inc(x_22); -x_45 = lean_array_to_list(x_22); -x_46 = lean_box(0); -x_47 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_45, x_46); -x_48 = l_Lean_MessageData_ofList(x_47); -x_49 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__2; -x_50 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; -x_52 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_6, x_52, x_12, x_13, x_14, x_15, x_16, x_44); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 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; +x_45 = lean_ctor_get(x_25, 1); +lean_inc(x_45); +lean_dec(x_25); +lean_inc(x_23); +x_46 = lean_array_to_list(x_23); +x_47 = lean_box(0); +x_48 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_46, x_47); +x_49 = l_Lean_MessageData_ofList(x_48); +x_50 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__2; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_6, x_53, x_13, x_14, x_15, x_16, x_17, x_45); +x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); -lean_dec(x_53); -x_56 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(x_7, x_4, x_8, x_22, x_9, x_5, x_10, x_54, x_12, x_13, x_14, x_15, x_16, x_55); -lean_dec(x_12); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); lean_dec(x_54); -return x_56; +x_57 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(x_7, x_4, x_8, x_23, x_1, x_9, x_10, x_11, x_5, x_55, x_13, x_14, x_15, x_16, x_17, x_56); +lean_dec(x_55); +return x_57; } } } else { -uint8_t x_57; +uint8_t x_58; +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_21); -if (x_57 == 0) +x_58 = !lean_is_exclusive(x_22); +if (x_58 == 0) { -return x_21; +return x_22; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_21, 0); -x_59 = lean_ctor_get(x_21, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_22, 0); +x_60 = lean_ctor_get(x_22, 1); +lean_inc(x_60); lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_21); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +lean_dec(x_22); +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; } } } @@ -7635,183 +3617,187 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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, lean_object* x_17) { _start: { -lean_object* x_17; +lean_object* x_18; +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -x_17 = l_Lean_Elab_Structural_mkBRecOnConst(x_1, x_2, x_3, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Elab_Structural_mkBRecOnConst(x_1, x_2, x_3, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_18) == 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_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_18); +lean_inc(x_19); lean_inc(x_2); -x_20 = l_Lean_Elab_Structural_inferBRecOnFTypes(x_1, x_2, x_18, x_12, x_13, x_14, x_15, x_19); -if (lean_obj_tag(x_20) == 0) +x_21 = l_Lean_Elab_Structural_inferBRecOnFTypes(x_1, x_2, x_19, x_13, x_14, x_15, x_16, x_20); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); lean_inc(x_4); -x_23 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_4, x_11, x_12, x_13, x_14, x_15, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_unbox(x_24); +x_24 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_4, x_12, x_13, x_14, x_15, x_16, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_box(0); -x_28 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(x_5, x_21, x_1, x_2, x_6, x_4, x_7, x_18, x_8, x_9, x_27, x_11, x_12, x_13, x_14, x_15, x_26); -lean_dec(x_21); -return x_28; +x_28 = lean_box(0); +x_29 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(x_5, x_22, x_1, x_2, x_6, x_4, x_7, x_19, x_8, x_9, x_10, x_28, x_12, x_13, x_14, x_15, x_16, x_27); +lean_dec(x_22); +return x_29; } else { -uint8_t x_29; -x_29 = !lean_is_exclusive(x_23); -if (x_29 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_30 = lean_ctor_get(x_23, 1); -x_31 = lean_ctor_get(x_23, 0); -lean_dec(x_31); -lean_inc(x_21); -x_32 = lean_array_to_list(x_21); -x_33 = lean_box(0); -x_34 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_32, x_33); -x_35 = l_Lean_MessageData_ofList(x_34); -x_36 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___closed__2; -lean_ctor_set_tag(x_23, 7); -lean_ctor_set(x_23, 1, x_35); -lean_ctor_set(x_23, 0, x_36); -x_37 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; -x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_23); -lean_ctor_set(x_38, 1, x_37); +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; +x_31 = lean_ctor_get(x_24, 1); +x_32 = lean_ctor_get(x_24, 0); +lean_dec(x_32); +lean_inc(x_22); +x_33 = lean_array_to_list(x_22); +x_34 = lean_box(0); +x_35 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_33, x_34); +x_36 = l_Lean_MessageData_ofList(x_35); +x_37 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___closed__2; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_36); +lean_ctor_set(x_24, 0, x_37); +x_38 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_24); +lean_ctor_set(x_39, 1, x_38); lean_inc(x_4); -x_39 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_4, x_38, x_11, x_12, x_13, x_14, x_15, x_30); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_4, x_39, x_12, x_13, x_14, x_15, x_16, x_31); +x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); -lean_dec(x_39); -x_42 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(x_5, x_21, x_1, x_2, x_6, x_4, x_7, x_18, x_8, x_9, x_40, x_11, x_12, x_13, x_14, x_15, x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); lean_dec(x_40); -lean_dec(x_21); -return x_42; +x_43 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(x_5, x_22, x_1, x_2, x_6, x_4, x_7, x_19, x_8, x_9, x_10, x_41, x_12, x_13, x_14, x_15, x_16, x_42); +lean_dec(x_41); +lean_dec(x_22); +return x_43; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_43 = lean_ctor_get(x_23, 1); -lean_inc(x_43); -lean_dec(x_23); -lean_inc(x_21); -x_44 = lean_array_to_list(x_21); -x_45 = lean_box(0); -x_46 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_44, x_45); -x_47 = l_Lean_MessageData_ofList(x_46); -x_48 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___closed__2; -x_49 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_44 = lean_ctor_get(x_24, 1); +lean_inc(x_44); +lean_dec(x_24); +lean_inc(x_22); +x_45 = lean_array_to_list(x_22); +x_46 = lean_box(0); +x_47 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_45, x_46); +x_48 = l_Lean_MessageData_ofList(x_47); +x_49 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___closed__2; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); lean_inc(x_4); -x_52 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_4, x_51, x_11, x_12, x_13, x_14, x_15, x_43); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +x_53 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_4, x_52, x_12, x_13, x_14, x_15, x_16, x_44); +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec(x_52); -x_55 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(x_5, x_21, x_1, x_2, x_6, x_4, x_7, x_18, x_8, x_9, x_53, x_11, x_12, x_13, x_14, x_15, x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); lean_dec(x_53); -lean_dec(x_21); -return x_55; +x_56 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(x_5, x_22, x_1, x_2, x_6, x_4, x_7, x_19, x_8, x_9, x_10, x_54, x_12, x_13, x_14, x_15, x_16, x_55); +lean_dec(x_54); +lean_dec(x_22); +return x_56; } } } else { -uint8_t x_56; -lean_dec(x_18); +uint8_t x_57; +lean_dec(x_19); +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_9); +lean_dec(x_8); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_20); -if (x_56 == 0) +x_57 = !lean_is_exclusive(x_21); +if (x_57 == 0) { -return x_20; +return x_21; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_20, 0); -x_58 = lean_ctor_get(x_20, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_21, 0); +x_59 = lean_ctor_get(x_21, 1); +lean_inc(x_59); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_20); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_dec(x_21); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } else { -uint8_t x_60; +uint8_t x_61; +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_9); +lean_dec(x_8); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_60 = !lean_is_exclusive(x_17); -if (x_60 == 0) +x_61 = !lean_is_exclusive(x_18); +if (x_61 == 0) { -return x_17; +return x_18; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_17, 0); -x_62 = lean_ctor_get(x_17, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_18, 0); +x_63 = lean_ctor_get(x_18, 1); +lean_inc(x_63); lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_17); -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_dec(x_18); +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; } } } @@ -7833,144 +3819,147 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; size_t x_16; lean_object* x_17; +lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; x_15 = l_Array_zip___rarg(x_1, x_2); x_16 = lean_array_size(x_15); +x_17 = 0; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_15); -x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__8(x_16, x_3, x_15, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__8(x_16, x_17, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -lean_inc(x_4); -x_20 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_4, x_9, x_10, x_11, x_12, x_13, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_unbox(x_21); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_3); +x_21 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_3, x_9, x_10, x_11, x_12, x_13, x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); lean_dec(x_21); -if (x_22 == 0) -{ -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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(x_1, x_5, x_18, x_4, x_2, x_3, x_15, x_6, x_7, x_24, x_9, x_10, x_11, x_12, x_13, x_23); +x_25 = lean_box(0); +x_26 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(x_1, x_4, x_19, x_3, x_2, x_17, x_15, x_5, x_6, x_7, x_25, x_9, x_10, x_11, x_12, x_13, x_24); lean_dec(x_15); -lean_dec(x_18); -return x_25; +lean_dec(x_19); +return x_26; } else { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) +uint8_t x_27; +x_27 = !lean_is_exclusive(x_21); +if (x_27 == 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; -x_27 = lean_ctor_get(x_20, 1); -x_28 = lean_ctor_get(x_20, 0); -lean_dec(x_28); -lean_inc(x_18); -x_29 = lean_array_to_list(x_18); -x_30 = lean_box(0); -x_31 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_29, x_30); -x_32 = l_Lean_MessageData_ofList(x_31); -x_33 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5___closed__2; -lean_ctor_set_tag(x_20, 7); -lean_ctor_set(x_20, 1, x_32); -lean_ctor_set(x_20, 0, x_33); -x_34 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; -x_35 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_35, 0, x_20); -lean_ctor_set(x_35, 1, x_34); -lean_inc(x_4); -x_36 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_4, x_35, x_9, x_10, x_11, x_12, x_13, x_27); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); +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_28 = lean_ctor_get(x_21, 1); +x_29 = lean_ctor_get(x_21, 0); +lean_dec(x_29); +lean_inc(x_19); +x_30 = lean_array_to_list(x_19); +x_31 = lean_box(0); +x_32 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_30, x_31); +x_33 = l_Lean_MessageData_ofList(x_32); +x_34 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5___closed__2; +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_33); +lean_ctor_set(x_21, 0, x_34); +x_35 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_21); +lean_ctor_set(x_36, 1, x_35); +lean_inc(x_3); +x_37 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_3, x_36, x_9, x_10, x_11, x_12, x_13, x_28); +x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); -lean_dec(x_36); -x_39 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(x_1, x_5, x_18, x_4, x_2, x_3, x_15, x_6, x_7, x_37, x_9, x_10, x_11, x_12, x_13, x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); lean_dec(x_37); +x_40 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(x_1, x_4, x_19, x_3, x_2, x_17, x_15, x_5, x_6, x_7, x_38, x_9, x_10, x_11, x_12, x_13, x_39); +lean_dec(x_38); lean_dec(x_15); -lean_dec(x_18); -return x_39; +lean_dec(x_19); +return x_40; } 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; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_40 = lean_ctor_get(x_20, 1); -lean_inc(x_40); -lean_dec(x_20); -lean_inc(x_18); -x_41 = lean_array_to_list(x_18); -x_42 = lean_box(0); -x_43 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_41, x_42); -x_44 = l_Lean_MessageData_ofList(x_43); -x_45 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5___closed__2; -x_46 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; -x_48 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -lean_inc(x_4); -x_49 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_4, x_48, x_9, x_10, x_11, x_12, x_13, x_40); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); +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; +x_41 = lean_ctor_get(x_21, 1); +lean_inc(x_41); +lean_dec(x_21); +lean_inc(x_19); +x_42 = lean_array_to_list(x_19); +x_43 = lean_box(0); +x_44 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_42, x_43); +x_45 = l_Lean_MessageData_ofList(x_44); +x_46 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5___closed__2; +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +lean_inc(x_3); +x_50 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_3, x_49, x_9, x_10, x_11, x_12, x_13, x_41); +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -lean_dec(x_49); -x_52 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(x_1, x_5, x_18, x_4, x_2, x_3, x_15, x_6, x_7, x_50, x_9, x_10, x_11, x_12, x_13, x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); lean_dec(x_50); +x_53 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(x_1, x_4, x_19, x_3, x_2, x_17, x_15, x_5, x_6, x_7, x_51, x_9, x_10, x_11, x_12, x_13, x_52); +lean_dec(x_51); lean_dec(x_15); -lean_dec(x_18); -return x_52; +lean_dec(x_19); +return x_53; } } } else { -uint8_t x_53; +uint8_t x_54; 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_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); -x_53 = !lean_is_exclusive(x_17); -if (x_53 == 0) +x_54 = !lean_is_exclusive(x_18); +if (x_54 == 0) { -return x_17; +return x_18; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_17, 0); -x_55 = lean_ctor_get(x_17, 1); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_18, 0); +x_56 = lean_ctor_get(x_18, 1); +lean_inc(x_56); lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_17); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +lean_dec(x_18); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } @@ -8052,7 +4041,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; @@ -8077,7 +4066,7 @@ x_25 = lean_ctor_get(x_22, 1); lean_inc(x_25); lean_dec(x_22); x_26 = lean_box(0); -x_27 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(x_2, x_3, x_4, x_21, x_20, x_5, x_6, x_26, x_9, x_10, x_11, x_12, x_13, x_25); +x_27 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(x_2, x_3, x_21, x_20, x_4, x_5, x_6, x_26, x_9, x_10, x_11, x_12, x_13, x_25); return x_27; } else @@ -8117,7 +4106,7 @@ lean_inc(x_43); x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); lean_dec(x_42); -x_45 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(x_2, x_3, x_4, x_21, x_20, x_5, x_6, x_43, x_9, x_10, x_11, x_12, x_13, x_44); +x_45 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(x_2, x_3, x_21, x_20, x_4, x_5, x_6, x_43, x_9, x_10, x_11, x_12, x_13, x_44); lean_dec(x_43); return x_45; } @@ -8154,14 +4143,34 @@ lean_inc(x_60); x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); lean_dec(x_59); -x_62 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(x_2, x_3, x_4, x_21, x_20, x_5, x_6, x_60, x_9, x_10, x_11, x_12, x_13, x_61); +x_62 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(x_2, x_3, x_21, x_20, x_4, x_5, x_6, x_60, x_9, x_10, x_11, x_12, x_13, x_61); lean_dec(x_60); return x_62; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_1, 1); +x_13 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_get(x_13, x_12, x_14); +lean_inc(x_4); +x_16 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_15, x_2, x_4); +x_17 = l_Lean_mkAppN(x_3, x_4); +lean_dec(x_4); +x_18 = 0; +x_19 = 1; +x_20 = 1; +x_21 = l_Lean_Meta_mkLambdaFVars(x_16, x_17, x_18, x_19, x_19, x_20, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_16); +return x_21; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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) { _start: { lean_object* x_10; @@ -8308,7 +4317,7 @@ return x_46; } } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__1() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__1() { _start: { lean_object* x_1; @@ -8316,42 +4325,50 @@ x_1 = lean_mk_string_unchecked("Nonrecursive value:", 19, 19); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__2() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__1; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _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; -x_13 = l_Lean_Elab_instInhabitedPreDefinition; -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_get(x_13, x_1, x_14); -x_16 = l_Lean_instInhabitedExpr; -x_17 = lean_array_get(x_16, x_2, x_14); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = l_Lean_Elab_instInhabitedPreDefinition; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get(x_14, x_1, x_15); +x_17 = l_Lean_instInhabitedExpr; +x_18 = lean_array_get(x_17, x_2, x_15); +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_18 = l_Lean_Elab_Structural_mkIndPredBRecOn(x_3, x_17, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_18); +x_19 = l_Lean_Elab_Structural_mkIndPredBRecOn(x_3, x_18, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -x_21 = 0; -x_22 = 1; -x_23 = 1; -x_24 = l_Lean_Meta_mkLambdaFVars(x_4, x_19, x_21, x_22, x_21, x_23, x_8, x_9, x_10, x_11, 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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7___boxed), 11, 3); +lean_closure_set(x_22, 0, x_4); +lean_closure_set(x_22, 1, x_5); +lean_closure_set(x_22, 2, x_20); +x_23 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_24 = l_Lean_Meta_lambdaTelescope___at_Lean_Elab_Structural_mkIndPredBRecOn___spec__2___rarg(x_18, x_22, x_23, x_8, x_9, x_10, x_11, x_12, x_21); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; @@ -8360,8 +4377,8 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -lean_inc(x_5); -x_27 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_5, x_7, x_8, x_9, x_10, x_11, x_26); +lean_inc(x_6); +x_27 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_26); x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_unbox(x_28); @@ -8369,13 +4386,13 @@ lean_dec(x_28); if (x_29 == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_5); +lean_dec(x_6); x_30 = lean_ctor_get(x_27, 1); lean_inc(x_30); lean_dec(x_27); x_31 = lean_box(0); -x_32 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7(x_25, x_15, x_31, x_7, x_8, x_9, x_10, x_11, x_30); -lean_dec(x_7); +x_32 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8(x_25, x_16, x_31, x_8, x_9, x_10, x_11, x_12, x_30); +lean_dec(x_8); return x_32; } else @@ -8390,7 +4407,7 @@ x_35 = lean_ctor_get(x_27, 0); lean_dec(x_35); lean_inc(x_25); x_36 = l_Lean_indentExpr(x_25); -x_37 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__2; +x_37 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2; lean_ctor_set_tag(x_27, 7); lean_ctor_set(x_27, 1, x_36); lean_ctor_set(x_27, 0, x_37); @@ -8398,14 +4415,14 @@ x_38 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structur x_39 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_39, 0, x_27); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_5, x_39, x_7, x_8, x_9, x_10, x_11, x_34); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_6, x_39, x_8, x_9, x_10, x_11, x_12, x_34); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7(x_25, x_15, x_41, x_7, x_8, x_9, x_10, x_11, x_42); -lean_dec(x_7); +x_43 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8(x_25, x_16, x_41, x_8, x_9, x_10, x_11, x_12, x_42); +lean_dec(x_8); lean_dec(x_41); return x_43; } @@ -8417,7 +4434,7 @@ lean_inc(x_44); lean_dec(x_27); lean_inc(x_25); x_45 = l_Lean_indentExpr(x_25); -x_46 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__2; +x_46 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2; x_47 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); @@ -8425,14 +4442,14 @@ x_48 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structur x_49 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_5, x_49, x_7, x_8, x_9, x_10, x_11, x_44); +x_50 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_6, x_49, x_8, x_9, x_10, x_11, x_12, x_44); 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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7(x_25, x_15, x_51, x_7, x_8, x_9, x_10, x_11, x_52); -lean_dec(x_7); +x_53 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8(x_25, x_16, x_51, x_8, x_9, x_10, x_11, x_12, x_52); +lean_dec(x_8); lean_dec(x_51); return x_53; } @@ -8441,13 +4458,13 @@ return x_53; else { uint8_t x_54; -lean_dec(x_15); +lean_dec(x_16); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); +lean_dec(x_6); x_54 = !lean_is_exclusive(x_24); if (x_54 == 0) { @@ -8471,26 +4488,29 @@ return x_57; else { uint8_t x_58; -lean_dec(x_15); +lean_dec(x_18); +lean_dec(x_16); +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); -x_58 = !lean_is_exclusive(x_18); +lean_dec(x_4); +x_58 = !lean_is_exclusive(x_19); if (x_58 == 0) { -return x_18; +return x_19; } else { lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_18, 0); -x_60 = lean_ctor_get(x_18, 1); +x_59 = lean_ctor_get(x_19, 0); +x_60 = lean_ctor_get(x_19, 1); lean_inc(x_60); lean_inc(x_59); -lean_dec(x_18); +lean_dec(x_19); x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_59); lean_ctor_set(x_61, 1, x_60); @@ -8499,7 +4519,7 @@ return x_61; } } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__1() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__1() { _start: { lean_object* x_1; @@ -8507,51 +4527,51 @@ x_1 = lean_mk_string_unchecked("Using mkIndPred construction", 28, 28); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__1; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__5; -x_13 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_12, x_6, x_7, x_8, x_9, x_10, x_11); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_unbox(x_14); -lean_dec(x_14); -if (x_15 == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__5; +x_14 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_13, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_box(0); -x_18 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8(x_1, x_2, x_3, x_4, x_12, x_17, x_6, x_7, x_8, x_9, x_10, x_16); -return x_18; +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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9(x_1, x_2, x_3, x_4, x_5, x_13, x_18, x_7, x_8, x_9, x_10, x_11, x_17); +return x_19; } 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; -x_19 = lean_ctor_get(x_13, 1); -lean_inc(x_19); -lean_dec(x_13); -x_20 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2; -x_21 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_12, x_20, x_6, x_7, x_8, x_9, x_10, x_19); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__2; +x_22 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_13, x_21, x_7, x_8, x_9, x_10, x_11, x_20); +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8(x_1, x_2, x_3, x_4, x_12, x_22, x_6, x_7, x_8, x_9, x_10, x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); lean_dec(x_22); -return x_24; +x_25 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9(x_1, x_2, x_3, x_4, x_5, x_13, x_23, x_7, x_8, x_9, x_10, x_11, x_24); +lean_dec(x_23); +return x_25; } } } @@ -8572,107 +4592,108 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion(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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_array_size(x_1); -x_11 = 0; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_get_size(x_1); +x_12 = lean_mk_empty_array_with_capacity(x_11); +x_13 = lean_unsigned_to_nat(0u); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1); -x_12 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1(x_2, x_10, x_11, x_1, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_12) == 0) +lean_inc(x_11); +lean_inc(x_3); +x_14 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1(x_1, x_2, x_3, x_1, x_11, x_13, lean_box(0), x_12, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -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 = l_Lean_Elab_Structural_instInhabitedRecArgInfo; -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_get(x_15, x_3, x_16); -x_18 = lean_ctor_get(x_17, 4); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Structural_instInhabitedRecArgInfo; +x_18 = lean_array_get(x_17, x_4, x_13); +x_19 = lean_ctor_get(x_18, 4); lean_inc(x_19); -lean_dec(x_18); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); lean_dec(x_19); -x_21 = l_Lean_instInhabitedName; -x_22 = lean_array_get(x_21, x_20, x_16); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); lean_dec(x_20); -x_23 = l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2(x_22, x_4, x_5, x_6, x_7, x_8, x_14); -if (lean_obj_tag(x_23) == 0) +x_22 = l_Lean_instInhabitedName; +x_23 = lean_array_get(x_22, x_21, x_13); +lean_dec(x_21); +x_24 = l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2(x_23, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get(x_24, 0); +x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); -x_27 = lean_ctor_get(x_26, 0); +lean_dec(x_24); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); -lean_dec(x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +lean_dec(x_27); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_27); -x_28 = l_Lean_Meta_isInductivePredicate(x_27, x_5, x_6, x_7, x_8, x_25); -if (lean_obj_tag(x_28) == 0) +lean_inc(x_28); +x_29 = l_Lean_Meta_isInductivePredicate(x_28, x_6, x_7, x_8, x_9, x_26); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_29; uint8_t x_30; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_unbox(x_29); +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_18); +lean_dec(x_11); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); lean_dec(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_17); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -x_32 = lean_box(0); -x_33 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6(x_24, x_3, x_13, x_11, x_2, x_1, x_27, x_32, x_4, x_5, x_6, x_7, x_8, x_31); -lean_dec(x_1); -lean_dec(x_13); -lean_dec(x_24); -return x_33; +x_33 = lean_box(0); +x_34 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6(x_25, x_4, x_15, x_2, x_3, x_1, x_28, x_33, x_5, x_6, x_7, x_8, x_9, x_32); +lean_dec(x_15); +lean_dec(x_25); +return x_34; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -lean_dec(x_27); -lean_dec(x_24); -lean_dec(x_3); -x_34 = lean_ctor_get(x_28, 1); -lean_inc(x_34); +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_dec(x_28); -x_35 = lean_array_get_size(x_1); +lean_dec(x_25); +lean_dec(x_4); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); x_36 = lean_unsigned_to_nat(1u); -x_37 = lean_nat_dec_eq(x_35, x_36); -lean_dec(x_35); +x_37 = lean_nat_dec_eq(x_11, x_36); +lean_dec(x_11); if (x_37 == 0) { lean_object* x_38; lean_object* x_39; uint8_t x_40; -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_1); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_2); x_38 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__2; -x_39 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__19(x_38, x_4, x_5, x_6, x_7, x_8, x_34); +x_39 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__19(x_38, x_5, x_6, x_7, x_8, x_9, x_35); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -8696,9 +4717,8 @@ else { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); -x_45 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9(x_1, x_13, x_17, x_2, x_44, x_4, x_5, x_6, x_7, x_8, x_34); -lean_dec(x_13); -lean_dec(x_1); +x_45 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10(x_1, x_15, x_18, x_2, x_3, x_44, x_5, x_6, x_7, x_8, x_9, x_35); +lean_dec(x_15); return x_45; } } @@ -8706,30 +4726,32 @@ return x_45; else { uint8_t x_46; -lean_dec(x_27); -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_13); +lean_dec(x_28); +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_11); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_46 = !lean_is_exclusive(x_28); +lean_dec(x_2); +x_46 = !lean_is_exclusive(x_29); if (x_46 == 0) { -return x_28; +return x_29; } else { lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_28, 0); -x_48 = lean_ctor_get(x_28, 1); +x_47 = lean_ctor_get(x_29, 0); +x_48 = lean_ctor_get(x_29, 1); lean_inc(x_48); lean_inc(x_47); -lean_dec(x_28); +lean_dec(x_29); x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); @@ -8740,28 +4762,30 @@ return x_49; else { uint8_t x_50; -lean_dec(x_17); -lean_dec(x_13); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_11); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_50 = !lean_is_exclusive(x_23); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_24); if (x_50 == 0) { -return x_23; +return x_24; } else { lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_23, 0); -x_52 = lean_ctor_get(x_23, 1); +x_51 = lean_ctor_get(x_24, 0); +x_52 = lean_ctor_get(x_24, 1); lean_inc(x_52); lean_inc(x_51); -lean_dec(x_23); +lean_dec(x_24); x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_51); lean_ctor_set(x_53, 1, x_52); @@ -8772,26 +4796,28 @@ return x_53; else { uint8_t x_54; +lean_dec(x_11); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_12); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_14); if (x_54 == 0) { -return x_12; +return x_14; } else { lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_12, 0); -x_56 = lean_ctor_get(x_12, 1); +x_55 = lean_ctor_get(x_14, 0); +x_56 = lean_ctor_get(x_14, 1); lean_inc(x_56); lean_inc(x_55); -lean_dec(x_12); +lean_dec(x_14); x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); @@ -8800,18 +4826,16 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_2); +lean_object* x_15; +x_15 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +lean_dec(x_4); lean_dec(x_2); -x_12 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); lean_dec(x_1); -return x_13; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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) { @@ -8925,24 +4949,33 @@ lean_dec(x_2); return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_12 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_13; +x_13 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); return x_13; } } +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_4); +lean_dec(x_3); +return x_15; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -8964,19 +4997,18 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_15; lean_object* x_16; -x_15 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_16 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +size_t x_17; lean_object* x_18; +x_17 = lean_unbox_usize(x_9); lean_dec(x_9); +x_18 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_10); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_5); lean_dec(x_1); -return x_16; +return x_18; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___boxed(lean_object** _args) { @@ -8997,109 +5029,133 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_18; lean_object* x_19; -x_18 = lean_unbox_usize(x_5); +size_t x_19; lean_object* x_20; +x_19 = lean_unbox_usize(x_5); lean_dec(x_5); -x_19 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(x_1, x_2, x_3, x_4, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_20 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3(x_1, x_2, x_3, x_4, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -return x_19; +return x_20; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -size_t x_17; lean_object* x_18; -x_17 = lean_unbox_usize(x_6); +size_t x_18; lean_object* x_19; +x_18 = lean_unbox_usize(x_6); lean_dec(x_6); -x_18 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(x_1, x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_19 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__4(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -return x_18; +return x_19; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_15; lean_object* x_16; -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(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_object* x_15; +x_15 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_2); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_15; lean_object* x_16; -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_object* x_15; +x_15 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_8); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -return x_16; +return x_15; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8(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_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); +x_10 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); return x_10; } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10(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_6); +lean_dec(x_2); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___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_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { @@ -9301,102 +5357,99 @@ return x_54; } } } -static lean_object* _init_l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3___closed__1() { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_1; -x_1 = l_Lean_Elab_Structural_instInhabitedM(lean_box(0)); -return x_1; -} -} -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: +lean_object* x_16; uint8_t x_17; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_6, x_16); +if (x_17 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3___closed__1; -x_9 = lean_panic_fn(x_8, x_1); -x_10 = lean_apply_6(x_9, x_2, x_3, x_4, x_5, x_6, x_7); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_3, x_2); -if (x_11 == 0) -{ -lean_object* x_12; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +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_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_6, x_18); lean_dec(x_6); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_4); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -else +x_20 = lean_array_fget(x_5, x_7); +lean_inc(x_2); +x_21 = lean_array_get(x_2, x_3, x_7); +x_22 = lean_ctor_get(x_20, 5); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); +x_23 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_21, x_22, x_4, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_array_uget(x_4, x_3); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_4, x_3, x_14); -x_16 = lean_ctor_get(x_13, 5); -lean_inc(x_16); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_1, x_14, x_16, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -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 = 1; -x_21 = lean_usize_add(x_3, x_20); -x_22 = lean_array_uset(x_15, x_3, x_18); -x_3 = x_21; -x_4 = x_22; -x_10 = x_19; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_nat_add(x_7, x_18); +lean_dec(x_7); +x_27 = lean_array_push(x_9, x_24); +x_6 = x_19; +x_7 = x_26; +x_8 = lean_box(0); +x_9 = x_27; +x_15 = x_25; goto _start; } else { -uint8_t x_24; -lean_dec(x_15); +uint8_t x_29; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +lean_dec(x_4); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) { -return x_17; +return x_23; } 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; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +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_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_9); +lean_ctor_set(x_33, 1, x_15); +return x_33; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -9423,66 +5476,103 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { _start: { -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) { -lean_dec(x_1); -return x_4; +return x_3; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -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 = !lean_is_exclusive(x_6); -if (x_9 == 0) -{ -lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_6, 1); -lean_dec(x_10); -lean_inc(x_1); -lean_ctor_set(x_6, 1, x_1); -x_11 = 1; -x_12 = lean_usize_add(x_3, x_11); -x_13 = lean_array_uset(x_8, x_3, x_6); -x_3 = x_12; -x_4 = x_13; +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 = l_Lean_Elab_Structural_RecArgInfo_indicesAndRecArgPos(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; } -else +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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, lean_object* x_7, lean_object* x_8) { +_start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_15 = lean_ctor_get(x_6, 0); -x_16 = lean_ctor_get(x_6, 2); -x_17 = lean_ctor_get(x_6, 3); -x_18 = lean_ctor_get(x_6, 4); -x_19 = lean_ctor_get(x_6, 5); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_5, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_5, x_11); +lean_dec(x_5); +x_13 = lean_array_fget(x_4, x_6); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_13, 1); +lean_dec(x_15); +x_16 = lean_ctor_get(x_3, 1); +lean_inc(x_1); +x_17 = lean_array_get(x_1, x_16, x_6); +lean_ctor_set(x_13, 1, x_17); +x_18 = lean_nat_add(x_6, x_11); lean_dec(x_6); -lean_inc(x_1); -x_20 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_20, 0, x_15); -lean_ctor_set(x_20, 1, x_1); -lean_ctor_set(x_20, 2, x_16); -lean_ctor_set(x_20, 3, x_17); -lean_ctor_set(x_20, 4, x_18); -lean_ctor_set(x_20, 5, x_19); -x_21 = 1; -x_22 = lean_usize_add(x_3, x_21); -x_23 = lean_array_uset(x_8, x_3, x_20); -x_3 = x_22; -x_4 = x_23; +x_19 = lean_array_push(x_8, x_13); +x_5 = x_12; +x_6 = x_18; +x_7 = lean_box(0); +x_8 = x_19; goto _start; } +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 2); +x_23 = lean_ctor_get(x_13, 3); +x_24 = lean_ctor_get(x_13, 4); +x_25 = lean_ctor_get(x_13, 5); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +x_26 = lean_ctor_get(x_3, 1); +lean_inc(x_1); +x_27 = lean_array_get(x_1, x_26, x_6); +x_28 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_22); +lean_ctor_set(x_28, 3, x_23); +lean_ctor_set(x_28, 4, x_24); +lean_ctor_set(x_28, 5, x_25); +x_29 = lean_nat_add(x_6, x_11); +lean_dec(x_6); +x_30 = lean_array_push(x_8, x_28); +x_5 = x_12; +x_6 = x_29; +x_7 = lean_box(0); +x_8 = x_30; +goto _start; +} +} +else +{ +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; } } } @@ -9804,34 +5894,282 @@ return x_50; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 5) +{ +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, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(x_1, x_4, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_unbox(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_7); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_5, x_9); +return x_10; +} +else +{ +uint8_t x_11; +lean_dec(x_5); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_6, 0); +lean_dec(x_12); +return x_6; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_dec(x_6); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +else +{ +lean_object* x_15; +x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_2, x_3); +return x_15; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; -x_5 = lean_usize_dec_eq(x_2, x_3); +x_5 = lean_usize_dec_eq(x_3, x_4); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; size_t x_9; size_t x_10; -x_6 = lean_array_uget(x_1, x_2); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(x_1, x_6); lean_dec(x_6); -x_8 = lean_nat_dec_le(x_4, x_7); -x_9 = 1; -x_10 = lean_usize_add(x_2, x_9); -if (x_8 == 0) +if (x_7 == 0) { -lean_dec(x_4); -x_2 = x_10; -x_4 = x_7; +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_3 = x_9; goto _start; } else { -lean_dec(x_7); -x_2 = x_10; +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__19(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; goto _start; } +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +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) +{ +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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18(x_1, x_3, x_8, x_9); +return x_10; +} +} +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_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = 0; +return x_15; +} +else +{ +size_t x_16; size_t x_17; uint8_t x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_18 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__19(x_1, x_11, x_16, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__20(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +x_4 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 0; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_12 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__20(x_1, x_5, x_10, x_11); +return x_12; +} } else { @@ -9839,7 +6177,2176 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_name_eq(x_1, x_4); +lean_dec(x_4); +x_6 = lean_box(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_3); +return x_7; +} +case 2: +{ +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 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(x_8, x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +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; uint8_t x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_9, 0); +lean_dec(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +x_15 = l_Lean_MetavarContext_getDecl(x_14, x_8); +lean_dec(x_8); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16(x_1, x_17); +lean_dec(x_17); +x_19 = lean_box(x_18); +lean_ctor_set(x_9, 0, x_19); +return x_9; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); +lean_dec(x_9); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +x_22 = l_Lean_MetavarContext_getDecl(x_21, x_8); +lean_dec(x_8); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16(x_1, x_24); +lean_dec(x_24); +x_26 = lean_box(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_20); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_8); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_dec(x_9); +x_29 = lean_ctor_get(x_10, 0); +lean_inc(x_29); +lean_dec(x_10); +x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_29, x_28); +return x_30; +} +} +case 5: +{ +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Expr_getAppFn(x_2); +x_32 = l_Lean_Expr_isMVar(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_31); +x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(x_1, x_2, x_3); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_inc(x_2); +x_34 = l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(x_2, x_3); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Expr_getAppFn(x_35); +x_38 = lean_expr_eqv(x_37, x_31); +lean_dec(x_31); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_dec(x_2); +x_2 = x_35; +x_3 = x_36; +goto _start; +} +else +{ +lean_object* x_40; +lean_dec(x_35); +x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(x_1, x_2, x_36); +return x_40; +} +} +} +case 6: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_2, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_2, 2); +lean_inc(x_42); +lean_dec(x_2); +x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_41, x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_unbox(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_44); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_42, x_46); +return x_47; +} +else +{ +uint8_t x_48; +lean_dec(x_42); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_43, 0); +lean_dec(x_49); +return x_43; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_dec(x_43); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +case 7: +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_2, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_2, 2); +lean_inc(x_53); +lean_dec(x_2); +x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_52, x_3); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_55); +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_53, x_57); +return x_58; +} +else +{ +uint8_t x_59; +lean_dec(x_53); +x_59 = !lean_is_exclusive(x_54); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_54, 0); +lean_dec(x_60); +return x_54; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +lean_dec(x_54); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +case 8: +{ +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_63 = lean_ctor_get(x_2, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_2, 2); +lean_inc(x_64); +x_65 = lean_ctor_get(x_2, 3); +lean_inc(x_65); +lean_dec(x_2); +x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_63, x_3); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_67); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_64, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_71); +x_73 = lean_ctor_get(x_70, 1); +lean_inc(x_73); +lean_dec(x_70); +x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_65, x_73); +return x_74; +} +else +{ +uint8_t x_75; +lean_dec(x_65); +x_75 = !lean_is_exclusive(x_70); +if (x_75 == 0) +{ +lean_object* x_76; +x_76 = lean_ctor_get(x_70, 0); +lean_dec(x_76); +return x_70; +} +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_71); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +else +{ +uint8_t x_79; +lean_dec(x_65); +lean_dec(x_64); +x_79 = !lean_is_exclusive(x_66); +if (x_79 == 0) +{ +lean_object* x_80; +x_80 = lean_ctor_get(x_66, 0); +lean_dec(x_80); +return x_66; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_66, 1); +lean_inc(x_81); +lean_dec(x_66); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_67); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} +case 10: +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_2, 1); +lean_inc(x_83); +lean_dec(x_2); +x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_83, x_3); +return x_84; +} +case 11: +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_2, 2); +lean_inc(x_85); +lean_dec(x_2); +x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_85, x_3); +return x_86; +} +default: +{ +uint8_t x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_2); +x_87 = 0; +x_88 = lean_box(x_87); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_3); +return x_89; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_inc(x_2); +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_2); +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 0); +lean_dec(x_8); +x_9 = 0; +x_10 = lean_box(x_9); +lean_ctor_set(x_4, 0, x_10); +return x_4; +} +else +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = 0; +x_13 = lean_box(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +lean_dec(x_4); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14(x_1, x_2, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 5) +{ +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, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__23(x_1, x_4, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_unbox(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_7); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_5, x_9); +return x_10; +} +else +{ +uint8_t x_11; +lean_dec(x_5); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_6, 0); +lean_dec(x_12); +return x_6; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_dec(x_6); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +else +{ +lean_object* x_15; +x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_2, x_3); +return x_15; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__26(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__25(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_3 = x_9; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__27(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__25(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +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) +{ +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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__26(x_1, x_3, x_8, x_9); +return x_10; +} +} +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_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = 0; +return x_15; +} +else +{ +size_t x_16; size_t x_17; uint8_t x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_18 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__27(x_1, x_11, x_16, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__28(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__24(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +x_4 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__25(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 0; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_12 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__28(x_1, x_5, x_10, x_11); +return x_12; +} +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_name_eq(x_1, x_4); +lean_dec(x_4); +x_6 = lean_box(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_3); +return x_7; +} +case 2: +{ +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 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(x_8, x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +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; uint8_t x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_9, 0); +lean_dec(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +x_15 = l_Lean_MetavarContext_getDecl(x_14, x_8); +lean_dec(x_8); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__24(x_1, x_17); +lean_dec(x_17); +x_19 = lean_box(x_18); +lean_ctor_set(x_9, 0, x_19); +return x_9; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); +lean_dec(x_9); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +x_22 = l_Lean_MetavarContext_getDecl(x_21, x_8); +lean_dec(x_8); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__24(x_1, x_24); +lean_dec(x_24); +x_26 = lean_box(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_20); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_8); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_dec(x_9); +x_29 = lean_ctor_get(x_10, 0); +lean_inc(x_29); +lean_dec(x_10); +x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_29, x_28); +return x_30; +} +} +case 5: +{ +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Expr_getAppFn(x_2); +x_32 = l_Lean_Expr_isMVar(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_31); +x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__23(x_1, x_2, x_3); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_inc(x_2); +x_34 = l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(x_2, x_3); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Expr_getAppFn(x_35); +x_38 = lean_expr_eqv(x_37, x_31); +lean_dec(x_31); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_dec(x_2); +x_2 = x_35; +x_3 = x_36; +goto _start; +} +else +{ +lean_object* x_40; +lean_dec(x_35); +x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__23(x_1, x_2, x_36); +return x_40; +} +} +} +case 6: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_2, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_2, 2); +lean_inc(x_42); +lean_dec(x_2); +x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_41, x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_unbox(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_44); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_42, x_46); +return x_47; +} +else +{ +uint8_t x_48; +lean_dec(x_42); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_43, 0); +lean_dec(x_49); +return x_43; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_dec(x_43); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +case 7: +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_2, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_2, 2); +lean_inc(x_53); +lean_dec(x_2); +x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_52, x_3); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_55); +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_53, x_57); +return x_58; +} +else +{ +uint8_t x_59; +lean_dec(x_53); +x_59 = !lean_is_exclusive(x_54); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_54, 0); +lean_dec(x_60); +return x_54; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +lean_dec(x_54); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +case 8: +{ +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_63 = lean_ctor_get(x_2, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_2, 2); +lean_inc(x_64); +x_65 = lean_ctor_get(x_2, 3); +lean_inc(x_65); +lean_dec(x_2); +x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_63, x_3); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_67); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_64, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_71); +x_73 = lean_ctor_get(x_70, 1); +lean_inc(x_73); +lean_dec(x_70); +x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_65, x_73); +return x_74; +} +else +{ +uint8_t x_75; +lean_dec(x_65); +x_75 = !lean_is_exclusive(x_70); +if (x_75 == 0) +{ +lean_object* x_76; +x_76 = lean_ctor_get(x_70, 0); +lean_dec(x_76); +return x_70; +} +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_71); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +else +{ +uint8_t x_79; +lean_dec(x_65); +lean_dec(x_64); +x_79 = !lean_is_exclusive(x_66); +if (x_79 == 0) +{ +lean_object* x_80; +x_80 = lean_ctor_get(x_66, 0); +lean_dec(x_80); +return x_66; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_66, 1); +lean_inc(x_81); +lean_dec(x_66); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_67); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} +case 10: +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_2, 1); +lean_inc(x_83); +lean_dec(x_2); +x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_83, x_3); +return x_84; +} +case 11: +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_2, 2); +lean_inc(x_85); +lean_dec(x_2); +x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_85, x_3); +return x_86; +} +default: +{ +uint8_t x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_2); +x_87 = 0; +x_88 = lean_box(x_87); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_3); +return x_89; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_inc(x_2); +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_2); +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 0); +lean_dec(x_8); +x_9 = 0; +x_10 = lean_box(x_9); +lean_ctor_set(x_4, 0, x_10); +return x_4; +} +else +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = 0; +x_13 = lean_box(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +lean_dec(x_4); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__22(x_1, x_2, x_15); +return x_16; +} +} +} +static lean_object* _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___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_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__1; +x_3 = lean_mk_array(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___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_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__2; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_st_ref_get(x_5, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__3; +lean_inc(x_13); +lean_ctor_set(x_9, 1, x_13); +lean_ctor_set(x_9, 0, x_14); +x_15 = l_Lean_Expr_hasFVar(x_1); +if (x_15 == 0) +{ +uint8_t x_16; +x_16 = l_Lean_Expr_hasMVar(x_1); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +lean_dec(x_1); +x_17 = lean_st_ref_take(x_5, x_12); +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_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_18, 0); +lean_dec(x_21); +lean_ctor_set(x_18, 0, x_13); +x_22 = lean_st_ref_set(x_5, x_18, x_19); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +x_25 = 0; +x_26 = lean_box(x_25); +lean_ctor_set(x_22, 0, x_26); +return x_22; +} +else +{ +lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_22, 1); +lean_inc(x_27); +lean_dec(x_22); +x_28 = 0; +x_29 = lean_box(x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +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; uint8_t x_39; lean_object* x_40; lean_object* x_41; +x_31 = lean_ctor_get(x_18, 1); +x_32 = lean_ctor_get(x_18, 2); +x_33 = lean_ctor_get(x_18, 3); +x_34 = lean_ctor_get(x_18, 4); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_18); +x_35 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_35, 0, x_13); +lean_ctor_set(x_35, 1, x_31); +lean_ctor_set(x_35, 2, x_32); +lean_ctor_set(x_35, 3, x_33); +lean_ctor_set(x_35, 4, x_34); +x_36 = lean_st_ref_set(x_5, x_35, x_19); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_38 = x_36; +} else { + lean_dec_ref(x_36); + x_38 = lean_box(0); +} +x_39 = 0; +x_40 = lean_box(x_39); +if (lean_is_scalar(x_38)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_38; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_37); +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; uint8_t x_49; +lean_dec(x_13); +x_42 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_2, x_1, x_9); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_st_ref_take(x_5, x_12); +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_is_exclusive(x_47); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = lean_ctor_get(x_47, 0); +lean_dec(x_50); +lean_ctor_set(x_47, 0, x_45); +x_51 = lean_st_ref_set(x_5, x_47, x_48); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set(x_51, 0, x_44); +return x_51; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_44); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +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_47, 1); +x_57 = lean_ctor_get(x_47, 2); +x_58 = lean_ctor_get(x_47, 3); +x_59 = lean_ctor_get(x_47, 4); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_47); +x_60 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_60, 0, x_45); +lean_ctor_set(x_60, 1, x_56); +lean_ctor_set(x_60, 2, x_57); +lean_ctor_set(x_60, 3, x_58); +lean_ctor_set(x_60, 4, x_59); +x_61 = lean_st_ref_set(x_5, x_60, x_48); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_63 = x_61; +} else { + lean_dec_ref(x_61); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_44); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_13); +x_65 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_2, x_1, x_9); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 0); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_st_ref_take(x_5, x_12); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = !lean_is_exclusive(x_70); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_73 = lean_ctor_get(x_70, 0); +lean_dec(x_73); +lean_ctor_set(x_70, 0, x_68); +x_74 = lean_st_ref_set(x_5, x_70, x_71); +x_75 = !lean_is_exclusive(x_74); +if (x_75 == 0) +{ +lean_object* x_76; +x_76 = lean_ctor_get(x_74, 0); +lean_dec(x_76); +lean_ctor_set(x_74, 0, x_67); +return x_74; +} +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_74, 1); +lean_inc(x_77); +lean_dec(x_74); +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 +{ +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_79 = lean_ctor_get(x_70, 1); +x_80 = lean_ctor_get(x_70, 2); +x_81 = lean_ctor_get(x_70, 3); +x_82 = lean_ctor_get(x_70, 4); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_70); +x_83 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_83, 0, x_68); +lean_ctor_set(x_83, 1, x_79); +lean_ctor_set(x_83, 2, x_80); +lean_ctor_set(x_83, 3, x_81); +lean_ctor_set(x_83, 4, x_82); +x_84 = lean_st_ref_set(x_5, x_83, x_71); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_86 = x_84; +} else { + lean_dec_ref(x_84); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_67); +lean_ctor_set(x_87, 1, x_85); +return x_87; +} +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_88 = lean_ctor_get(x_9, 0); +x_89 = lean_ctor_get(x_9, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_9); +x_90 = lean_ctor_get(x_88, 0); +lean_inc(x_90); +lean_dec(x_88); +x_91 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__3; +lean_inc(x_90); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = l_Lean_Expr_hasFVar(x_1); +if (x_93 == 0) +{ +uint8_t x_94; +x_94 = l_Lean_Expr_hasMVar(x_1); +if (x_94 == 0) +{ +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; uint8_t x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_92); +lean_dec(x_1); +x_95 = lean_st_ref_take(x_5, x_89); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_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); +x_101 = lean_ctor_get(x_96, 4); +lean_inc(x_101); +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); + lean_ctor_release(x_96, 4); + x_102 = x_96; +} else { + lean_dec_ref(x_96); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(0, 5, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_90); +lean_ctor_set(x_103, 1, x_98); +lean_ctor_set(x_103, 2, x_99); +lean_ctor_set(x_103, 3, x_100); +lean_ctor_set(x_103, 4, x_101); +x_104 = lean_st_ref_set(x_5, x_103, x_97); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_106 = x_104; +} else { + lean_dec_ref(x_104); + x_106 = lean_box(0); +} +x_107 = 0; +x_108 = lean_box(x_107); +if (lean_is_scalar(x_106)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_106; +} +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_105); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_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_dec(x_90); +x_110 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_2, x_1, x_92); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 0); +lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = lean_st_ref_take(x_5, x_89); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +x_118 = lean_ctor_get(x_115, 2); +lean_inc(x_118); +x_119 = lean_ctor_get(x_115, 3); +lean_inc(x_119); +x_120 = lean_ctor_get(x_115, 4); +lean_inc(x_120); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + lean_ctor_release(x_115, 2); + lean_ctor_release(x_115, 3); + lean_ctor_release(x_115, 4); + x_121 = x_115; +} else { + lean_dec_ref(x_115); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(0, 5, 0); +} else { + x_122 = x_121; +} +lean_ctor_set(x_122, 0, x_113); +lean_ctor_set(x_122, 1, x_117); +lean_ctor_set(x_122, 2, x_118); +lean_ctor_set(x_122, 3, x_119); +lean_ctor_set(x_122, 4, x_120); +x_123 = lean_st_ref_set(x_5, x_122, x_116); +x_124 = lean_ctor_get(x_123, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_125 = x_123; +} else { + lean_dec_ref(x_123); + x_125 = lean_box(0); +} +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_125; +} +lean_ctor_set(x_126, 0, x_112); +lean_ctor_set(x_126, 1, x_124); +return x_126; +} +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; 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_dec(x_90); +x_127 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_2, x_1, x_92); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 0); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_st_ref_take(x_5, x_89); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +x_135 = lean_ctor_get(x_132, 2); +lean_inc(x_135); +x_136 = lean_ctor_get(x_132, 3); +lean_inc(x_136); +x_137 = lean_ctor_get(x_132, 4); +lean_inc(x_137); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + lean_ctor_release(x_132, 2); + lean_ctor_release(x_132, 3); + lean_ctor_release(x_132, 4); + x_138 = x_132; +} else { + lean_dec_ref(x_132); + x_138 = lean_box(0); +} +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(0, 5, 0); +} else { + x_139 = x_138; +} +lean_ctor_set(x_139, 0, x_130); +lean_ctor_set(x_139, 1, x_134); +lean_ctor_set(x_139, 2, x_135); +lean_ctor_set(x_139, 3, x_136); +lean_ctor_set(x_139, 4, x_137); +x_140 = lean_st_ref_set(x_5, x_139, x_133); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_142 = x_140; +} else { + lean_dec_ref(x_140); + x_142 = lean_box(0); +} +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_142; +} +lean_ctor_set(x_143, 0, x_129); +lean_ctor_set(x_143, 1, x_141); +return x_143; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29(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; uint8_t x_10; +x_8 = lean_ctor_get(x_5, 5); +x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set_tag(x_9, 1); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +lean_inc(x_8); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_13); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___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; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("its type is an inductive datatype and the datatype parameter", 60, 60); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\ndepends on the function parameter", 34, 34); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\nwhich cannot be fixed as it is an index or depends on an index, and indices cannot be fixed parameters when using structural recursion.", 136, 136); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30(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) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_6, x_5); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_2); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_7); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec(x_7); +x_16 = lean_array_uget(x_4, x_6); +lean_inc(x_2); +x_24 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12(x_2, x_16, x_8, x_9, x_10, x_11, x_12, x_13); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_16); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__1; +x_17 = x_28; +x_18 = x_27; +goto block_23; +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_24); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_ctor_get(x_24, 1); +x_31 = lean_ctor_get(x_24, 0); +lean_dec(x_31); +x_32 = l_Lean_Expr_isFVarOf(x_2, x_16); +if (x_32 == 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; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_33 = l_Lean_indentExpr(x_2); +x_34 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_33); +lean_ctor_set(x_24, 0, x_34); +x_35 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__5; +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_24); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Expr_fvar___override(x_16); +x_38 = l_Lean_indentExpr(x_37); +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7; +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29(x_41, x_8, x_9, x_10, x_11, x_12, x_30); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +return x_42; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_42, 0); +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_42); +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; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_dec(x_16); +x_47 = l_Lean_indentExpr(x_2); +x_48 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_47); +lean_ctor_set(x_24, 0, x_48); +x_49 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_24); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29(x_50, x_8, x_9, x_10, x_11, x_12, x_30); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +return x_51; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_51, 0); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_51); +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_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_24, 1); +lean_inc(x_56); +lean_dec(x_24); +x_57 = l_Lean_Expr_isFVarOf(x_2, x_16); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_58 = l_Lean_indentExpr(x_2); +x_59 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__5; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_Expr_fvar___override(x_16); +x_64 = l_Lean_indentExpr(x_63); +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_62); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7; +x_67 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29(x_67, x_8, x_9, x_10, x_11, x_12, x_56); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_71 = x_68; +} else { + lean_dec_ref(x_68); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +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; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_16); +x_73 = l_Lean_indentExpr(x_2); +x_74 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3; +x_75 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_73); +x_76 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7; +x_77 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29(x_77, x_8, x_9, x_10, x_11, x_12, x_56); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_81 = x_78; +} else { + lean_dec_ref(x_78); + x_81 = lean_box(0); +} +if (lean_is_scalar(x_81)) { + x_82 = lean_alloc_ctor(1, 2, 0); +} else { + x_82 = x_81; +} +lean_ctor_set(x_82, 0, x_79); +lean_ctor_set(x_82, 1, x_80); +return x_82; +} +} +} +block_23: +{ +lean_object* x_19; size_t x_20; size_t x_21; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = 1; +x_21 = lean_usize_add(x_6, x_20); +x_6 = x_21; +x_7 = x_19; +x_13 = x_18; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__31(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_7, x_6); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_8); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_8); +x_17 = lean_array_uget(x_5, x_7); +x_18 = lean_box(0); +x_19 = lean_array_size(x_2); +x_20 = lean_box(0); +x_21 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30(x_2, x_17, x_18, x_2, x_19, x_1, x_20, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; size_t x_23; size_t x_24; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = 1; +x_24 = lean_usize_add(x_7, x_23); +x_7 = x_24; +x_8 = x_20; +x_14 = x_22; +goto _start; +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +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_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__32(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_7, x_6); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_8); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_8); +x_17 = lean_array_uget(x_5, x_7); +x_18 = lean_box(0); +x_19 = lean_ctor_get(x_17, 4); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_19, 2); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_array_size(x_20); +x_22 = lean_box(0); +x_23 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__31(x_1, x_2, x_18, x_20, x_20, x_21, x_1, x_22, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_20); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; size_t x_25; size_t x_26; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = 1; +x_26 = lean_usize_add(x_7, x_25); +x_7 = x_26; +x_8 = x_22; +x_14 = x_24; +goto _start; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_23); +if (x_28 == 0) +{ +return x_23; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_23, 0); +x_30 = lean_ctor_get(x_23, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_23); +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_repr___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__33(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__35(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___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(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___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(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_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__34(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___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(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___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(x_8, x_9); +x_11 = l_List_foldl___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__35(x_2, x_10, x_4); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -9892,7 +8399,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__36___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__37(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -9950,7 +8457,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__36___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__37___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__38(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -10004,81 +8511,69 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___rarg___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_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__39___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) { _start: { -lean_object* x_10; -x_10 = lean_apply_8(x_1, x_3, x_4, x_2, x_5, x_6, x_7, x_8, x_9); -return x_10; +lean_object* x_9; +x_9 = lean_apply_7(x_1, x_3, x_2, x_4, x_5, x_6, x_7, x_8); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__39(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; uint8_t x_13; lean_object* x_14; -x_11 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___rarg___lambda__1), 9, 2); -lean_closure_set(x_11, 0, x_3); -lean_closure_set(x_11, 1, x_5); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_2); -x_13 = 0; -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(x_1, x_13, x_12, x_11, x_4, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_12); -if (lean_obj_tag(x_14) == 0) +lean_object* x_10; lean_object* x_11; +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_FixedParamPerm_forallTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__39___lambda__1), 8, 2); +lean_closure_set(x_10, 0, x_3); +lean_closure_set(x_10, 1, x_4); +x_11 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(x_1, x_2, x_10, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -return x_14; +return x_11; } else { -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_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) +{ +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); lean_inc(x_17); -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_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -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_dec(x_11); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___rarg___boxed), 10, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__1() { +static lean_object* _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__1() { _start: { lean_object* x_1; @@ -10086,32 +8581,32 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__2() { +static lean_object* _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__1; +x_1 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___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_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__3() { +static lean_object* _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__2; +x_1 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__2; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__4() { +static lean_object* _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__2; +x_1 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__2; x_2 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -10122,7 +8617,7 @@ lean_ctor_set(x_2, 5, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(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_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40(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; @@ -10140,7 +8635,7 @@ x_12 = lean_ctor_get(x_9, 4); lean_dec(x_12); x_13 = lean_ctor_get(x_9, 0); lean_dec(x_13); -x_14 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__3; +x_14 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__3; lean_ctor_set(x_9, 4, x_14); lean_ctor_set(x_9, 0, x_1); x_15 = lean_st_ref_set(x_6, x_9, x_10); @@ -10159,7 +8654,7 @@ if (x_20 == 0) lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; x_21 = lean_ctor_get(x_18, 1); lean_dec(x_21); -x_22 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__4; +x_22 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__4; lean_ctor_set(x_18, 1, x_22); x_23 = lean_st_ref_set(x_4, x_18, x_19); x_24 = !lean_is_exclusive(x_23); @@ -10197,7 +8692,7 @@ lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_dec(x_18); -x_34 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__4; +x_34 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__4; x_35 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_35, 0, x_30); lean_ctor_set(x_35, 1, x_34); @@ -10242,7 +8737,7 @@ lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_dec(x_9); -x_47 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__3; +x_47 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__3; x_48 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_48, 0, x_1); lean_ctor_set(x_48, 1, x_41); @@ -10281,7 +8776,7 @@ if (lean_is_exclusive(x_52)) { lean_dec_ref(x_52); x_58 = lean_box(0); } -x_59 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__4; +x_59 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__4; if (lean_is_scalar(x_58)) { x_60 = lean_alloc_ctor(0, 5, 0); } else { @@ -10315,7 +8810,7 @@ return x_65; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__41(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -10397,225 +8892,69 @@ lean_ctor_set(x_12, 1, x_9); return x_12; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_16; lean_object* x_17; size_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; lean_object* x_25; lean_object* x_26; -lean_inc(x_1); -x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(x_1, x_2, x_3, x_4); -lean_inc(x_1); -x_17 = l_Array_extract___rarg(x_5, x_1, x_6); -x_18 = lean_array_size(x_17); -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(x_18, x_3, x_17); -x_20 = lean_unsigned_to_nat(0u); -lean_inc(x_1); -x_21 = l_Array_toSubarray___rarg(x_5, x_20, x_1); -x_22 = l_Array_ofSubarray___rarg(x_21); -lean_dec(x_21); -x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___boxed), 9, 3); -lean_closure_set(x_23, 0, x_7); -lean_closure_set(x_23, 1, x_22); -lean_closure_set(x_23, 2, x_16); -x_24 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__1___boxed), 9, 2); -lean_closure_set(x_24, 0, x_1); -lean_closure_set(x_24, 1, x_8); -x_25 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__8___rarg), 8, 2); -lean_closure_set(x_25, 0, x_23); -lean_closure_set(x_25, 1, x_24); -x_26 = l_Lean_Meta_withErasedFVars___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__7(x_19, x_25, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_19); -return x_26; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_inc(x_2); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___boxed), 10, 4); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +lean_closure_set(x_14, 2, x_3); +lean_closure_set(x_14, 3, x_4); +x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__1___boxed), 9, 2); +lean_closure_set(x_15, 0, x_2); +lean_closure_set(x_15, 1, x_5); +x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__8___rarg), 8, 2); +lean_closure_set(x_16, 0, x_14); +lean_closure_set(x_16, 1, x_15); +x_17 = l_Lean_Meta_withErasedFVars___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__7(x_6, x_16, x_8, x_9, x_10, x_11, x_12, x_13); +return x_17; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__1() { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Reduced numFixed from ", 22, 22); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__2() { -_start: +lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_box(0); +x_13 = lean_array_size(x_1); +x_14 = lean_box(0); +x_15 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__32(x_2, x_3, x_1, x_12, x_1, x_13, x_2, x_14, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" to ", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_65 = lean_array_get_size(x_3); -x_66 = lean_unsigned_to_nat(0u); -x_67 = lean_nat_dec_lt(x_66, x_65); -if (x_67 == 0) -{ -lean_dec(x_65); -lean_inc(x_8); -x_17 = x_8; -goto block_64; +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_apply_7(x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_16); +return x_17; } else { -uint8_t x_68; -x_68 = lean_nat_dec_le(x_65, x_65); -if (x_68 == 0) -{ -lean_dec(x_65); -lean_inc(x_8); -x_17 = x_8; -goto block_64; -} -else -{ -size_t x_69; lean_object* x_70; -x_69 = lean_usize_of_nat(x_65); -lean_dec(x_65); -lean_inc(x_8); -x_70 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12(x_3, x_2, x_69, x_8); -x_17 = x_70; -goto block_64; -} -} -block_64: -{ uint8_t x_18; -x_18 = lean_nat_dec_lt(x_17, x_8); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_18 = !lean_is_exclusive(x_15); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; -lean_dec(x_9); -lean_dec(x_8); -x_19 = lean_box(0); -x_20 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_11, x_12, x_13, x_14, x_15, x_16); -return x_20; +return x_15; } else { -lean_object* x_21; lean_object* x_22; uint8_t x_23; -lean_inc(x_9); -x_21 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_9, x_11, x_12, x_13, x_14, x_15, x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_unbox(x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_9); -lean_dec(x_8); -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_box(0); -x_26 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_25, x_11, x_12, x_13, x_14, x_15, x_24); -return x_26; -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_21); -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; 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; -x_28 = lean_ctor_get(x_21, 1); -x_29 = lean_ctor_get(x_21, 0); -lean_dec(x_29); -x_30 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); -x_31 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_32 = l_Lean_MessageData_ofFormat(x_31); -x_33 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__2; -lean_ctor_set_tag(x_21, 7); -lean_ctor_set(x_21, 1, x_32); -lean_ctor_set(x_21, 0, x_33); -x_34 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__4; -x_35 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_35, 0, x_21); -lean_ctor_set(x_35, 1, x_34); -lean_inc(x_17); -x_36 = l___private_Init_Data_Repr_0__Nat_reprFast(x_17); -x_37 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = l_Lean_MessageData_ofFormat(x_37); -x_39 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_38); -x_40 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; -x_41 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_9, x_41, x_11, x_12, x_13, x_14, x_15, x_28); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_43, x_11, x_12, x_13, x_14, x_15, x_44); -lean_dec(x_43); -return x_45; -} -else -{ -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; -x_46 = lean_ctor_get(x_21, 1); -lean_inc(x_46); -lean_dec(x_21); -x_47 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); -x_48 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = l_Lean_MessageData_ofFormat(x_48); -x_50 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__2; -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__4; -x_53 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -lean_inc(x_17); -x_54 = l___private_Init_Data_Repr_0__Nat_reprFast(x_17); -x_55 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_55, 0, x_54); -x_56 = l_Lean_MessageData_ofFormat(x_55); -x_57 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_57, 0, x_53); -lean_ctor_set(x_57, 1, x_56); -x_58 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; -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___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_9, x_59, x_11, x_12, x_13, x_14, x_15, x_46); -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_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_61, x_11, x_12, x_13, x_14, x_15, x_62); -lean_dec(x_61); -return x_63; -} -} +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_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; } } } @@ -10624,7 +8963,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Trying argument set ", 20, 20); +x_1 = lean_mk_string_unchecked("New recArgInfos ", 16, 16); return x_1; } } @@ -10637,13 +8976,873 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(size_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, lean_object* x_12) { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(",", 1, 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__3; +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_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__4; +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_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("#[", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__6; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__7; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___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_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]", 1, 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("#[]", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___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_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__13; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2; +x_2 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__14; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__15; +x_2 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_1, 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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_2); +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; uint8_t x_24; +x_20 = lean_ctor_get(x_13, 1); +x_21 = lean_ctor_get(x_13, 0); +lean_dec(x_21); +x_22 = lean_array_get_size(x_2); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_nat_dec_eq(x_22, x_23); +lean_dec(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; 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_inc(x_2); +x_25 = lean_array_to_list(x_2); +x_26 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__5; +x_27 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__34(x_25, x_26); +x_28 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__9; +lean_ctor_set_tag(x_13, 5); +lean_ctor_set(x_13, 1, x_27); +lean_ctor_set(x_13, 0, x_28); +x_29 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__11; +x_30 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_30, 0, x_13); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__8; +x_32 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = 1; +x_34 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*1, x_33); +x_35 = l_Lean_MessageData_ofFormat(x_34); +x_36 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2; +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_1, x_39, x_7, x_8, x_9, x_10, x_11, x_20); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_2, x_3, x_4, x_5, x_41, x_7, x_8, x_9, x_10, x_11, x_42); +lean_dec(x_41); +lean_dec(x_2); +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_free_object(x_13); +x_44 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__16; +x_45 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_1, x_44, x_7, x_8, x_9, x_10, x_11, x_20); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_2, x_3, x_4, x_5, x_46, x_7, x_8, x_9, x_10, x_11, x_47); +lean_dec(x_46); +lean_dec(x_2); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_13, 1); +lean_inc(x_49); +lean_dec(x_13); +x_50 = lean_array_get_size(x_2); +x_51 = lean_unsigned_to_nat(0u); +x_52 = lean_nat_dec_eq(x_50, x_51); +lean_dec(x_50); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_inc(x_2); +x_53 = lean_array_to_list(x_2); +x_54 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__5; +x_55 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__34(x_53, x_54); +x_56 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__9; +x_57 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__11; +x_59 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__8; +x_61 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = 1; +x_63 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set_uint8(x_63, sizeof(void*)*1, x_62); +x_64 = l_Lean_MessageData_ofFormat(x_63); +x_65 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2; +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_1, x_68, x_7, x_8, x_9, x_10, x_11, x_49); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_2, x_3, x_4, x_5, x_70, x_7, x_8, x_9, x_10, x_11, x_71); +lean_dec(x_70); +lean_dec(x_2); +return x_72; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_73 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__16; +x_74 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_1, x_73, x_7, x_8, x_9, x_10, x_11, x_49); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_2, x_3, x_4, x_5, x_75, x_7, x_8, x_9, x_10, x_11, x_76); +lean_dec(x_75); +lean_dec(x_2); +return x_77; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Reduced fixed params from ", 26, 26); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" to ", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", erasing ", 10, 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_inc(x_3); +x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__5(x_1, x_2, x_3); +lean_inc(x_5); +x_18 = l_Lean_Elab_FixedParamPerms_erase(x_4, x_5, x_17); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_18, 1); +x_21 = !lean_is_exclusive(x_20); +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; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_22 = lean_ctor_get(x_18, 0); +x_23 = lean_ctor_get(x_20, 0); +x_24 = lean_ctor_get(x_20, 1); +x_25 = lean_array_get_size(x_3); +x_26 = lean_mk_empty_array_with_capacity(x_25); +x_27 = lean_unsigned_to_nat(0u); +x_28 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(x_6, x_3, x_22, x_3, x_25, x_27, lean_box(0), x_26); +lean_dec(x_3); +lean_inc(x_24); +lean_inc(x_8); +lean_inc(x_28); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_7); +x_29 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2___boxed), 13, 6); +lean_closure_set(x_29, 0, x_7); +lean_closure_set(x_29, 1, x_22); +lean_closure_set(x_29, 2, x_23); +lean_closure_set(x_29, 3, x_28); +lean_closure_set(x_29, 4, x_8); +lean_closure_set(x_29, 5, x_24); +x_30 = lean_array_get_size(x_23); +x_31 = lean_array_get_size(x_5); +x_32 = lean_nat_dec_eq(x_30, x_31); +lean_dec(x_31); +lean_dec(x_30); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_dec(x_22); +lean_dec(x_8); +lean_dec(x_7); +lean_inc(x_9); +x_33 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_9, x_11, x_12, x_13, x_14, x_15, x_16); +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_free_object(x_20); +lean_dec(x_23); +lean_free_object(x_18); +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_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_9, x_28, x_2, x_24, x_29, x_37, x_11, x_12, x_13, x_14, x_15, x_36); +lean_dec(x_24); +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; lean_object* x_52; size_t 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; +x_40 = lean_ctor_get(x_33, 1); +x_41 = lean_ctor_get(x_33, 0); +lean_dec(x_41); +x_42 = lean_array_to_list(x_5); +x_43 = lean_box(0); +x_44 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_42, x_43); +x_45 = l_Lean_MessageData_ofList(x_44); +x_46 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_45); +lean_ctor_set(x_33, 0, x_46); +x_47 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4; +lean_ctor_set_tag(x_20, 7); +lean_ctor_set(x_20, 1, x_47); +lean_ctor_set(x_20, 0, x_33); +x_48 = lean_array_to_list(x_23); +x_49 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_48, x_43); +x_50 = l_Lean_MessageData_ofList(x_49); +lean_ctor_set_tag(x_18, 7); +lean_ctor_set(x_18, 1, x_50); +lean_ctor_set(x_18, 0, x_20); +x_51 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_18); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_array_size(x_24); +lean_inc(x_24); +x_54 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_53, x_2, x_24); +x_55 = lean_array_to_list(x_54); +x_56 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_55, x_43); +x_57 = l_Lean_MessageData_ofList(x_56); +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_52); +lean_ctor_set(x_58, 1, x_57); +x_59 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +lean_inc(x_9); +x_61 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_9, x_60, x_11, x_12, x_13, x_14, x_15, x_40); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_9, x_28, x_2, x_24, x_29, x_62, x_11, x_12, x_13, x_14, x_15, x_63); +lean_dec(x_62); +lean_dec(x_24); +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t 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_65 = lean_ctor_get(x_33, 1); +lean_inc(x_65); +lean_dec(x_33); +x_66 = lean_array_to_list(x_5); +x_67 = lean_box(0); +x_68 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_66, x_67); +x_69 = l_Lean_MessageData_ofList(x_68); +x_70 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2; +x_71 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4; +lean_ctor_set_tag(x_20, 7); +lean_ctor_set(x_20, 1, x_72); +lean_ctor_set(x_20, 0, x_71); +x_73 = lean_array_to_list(x_23); +x_74 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_73, x_67); +x_75 = l_Lean_MessageData_ofList(x_74); +lean_ctor_set_tag(x_18, 7); +lean_ctor_set(x_18, 1, x_75); +lean_ctor_set(x_18, 0, x_20); +x_76 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6; +x_77 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_77, 0, x_18); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_size(x_24); +lean_inc(x_24); +x_79 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_78, x_2, x_24); +x_80 = lean_array_to_list(x_79); +x_81 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_80, x_67); +x_82 = l_Lean_MessageData_ofList(x_81); +x_83 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_83, 0, x_77); +lean_ctor_set(x_83, 1, x_82); +x_84 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_85 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +lean_inc(x_9); +x_86 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_9, x_85, x_11, x_12, x_13, x_14, x_15, x_65); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_9, x_28, x_2, x_24, x_29, x_87, x_11, x_12, x_13, x_14, x_15, x_88); +lean_dec(x_87); +lean_dec(x_24); +return x_89; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_29); +lean_free_object(x_20); +lean_free_object(x_18); +lean_dec(x_9); +lean_dec(x_5); +x_90 = lean_box(0); +x_91 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_7, x_22, x_23, x_28, x_8, x_24, x_90, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_24); +return x_91; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_92 = lean_ctor_get(x_18, 0); +x_93 = lean_ctor_get(x_20, 0); +x_94 = lean_ctor_get(x_20, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_20); +x_95 = lean_array_get_size(x_3); +x_96 = lean_mk_empty_array_with_capacity(x_95); +x_97 = lean_unsigned_to_nat(0u); +x_98 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(x_6, x_3, x_92, x_3, x_95, x_97, lean_box(0), x_96); +lean_dec(x_3); +lean_inc(x_94); +lean_inc(x_8); +lean_inc(x_98); +lean_inc(x_93); +lean_inc(x_92); +lean_inc(x_7); +x_99 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2___boxed), 13, 6); +lean_closure_set(x_99, 0, x_7); +lean_closure_set(x_99, 1, x_92); +lean_closure_set(x_99, 2, x_93); +lean_closure_set(x_99, 3, x_98); +lean_closure_set(x_99, 4, x_8); +lean_closure_set(x_99, 5, x_94); +x_100 = lean_array_get_size(x_93); +x_101 = lean_array_get_size(x_5); +x_102 = lean_nat_dec_eq(x_100, x_101); +lean_dec(x_101); +lean_dec(x_100); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_92); +lean_dec(x_8); +lean_dec(x_7); +lean_inc(x_9); +x_103 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_9, x_11, x_12, x_13, x_14, x_15, x_16); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +lean_dec(x_104); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_93); +lean_free_object(x_18); +lean_dec(x_5); +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +x_107 = lean_box(0); +x_108 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_9, x_98, x_2, x_94, x_99, x_107, x_11, x_12, x_13, x_14, x_15, x_106); +lean_dec(x_94); +return x_108; +} +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; 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; size_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_109 = lean_ctor_get(x_103, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_110 = x_103; +} else { + lean_dec_ref(x_103); + x_110 = lean_box(0); +} +x_111 = lean_array_to_list(x_5); +x_112 = lean_box(0); +x_113 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_111, x_112); +x_114 = l_Lean_MessageData_ofList(x_113); +x_115 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2; +if (lean_is_scalar(x_110)) { + x_116 = lean_alloc_ctor(7, 2, 0); +} else { + x_116 = x_110; + lean_ctor_set_tag(x_116, 7); +} +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4; +x_118 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_to_list(x_93); +x_120 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_119, x_112); +x_121 = l_Lean_MessageData_ofList(x_120); +lean_ctor_set_tag(x_18, 7); +lean_ctor_set(x_18, 1, x_121); +lean_ctor_set(x_18, 0, x_118); +x_122 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6; +x_123 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_123, 0, x_18); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_array_size(x_94); +lean_inc(x_94); +x_125 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_124, x_2, x_94); +x_126 = lean_array_to_list(x_125); +x_127 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_126, x_112); +x_128 = l_Lean_MessageData_ofList(x_127); +x_129 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_129, 0, x_123); +lean_ctor_set(x_129, 1, x_128); +x_130 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_131 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +lean_inc(x_9); +x_132 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_9, x_131, x_11, x_12, x_13, x_14, x_15, x_109); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_9, x_98, x_2, x_94, x_99, x_133, x_11, x_12, x_13, x_14, x_15, x_134); +lean_dec(x_133); +lean_dec(x_94); +return x_135; +} +} +else +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_99); +lean_free_object(x_18); +lean_dec(x_9); +lean_dec(x_5); +x_136 = lean_box(0); +x_137 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_7, x_92, x_93, x_98, x_8, x_94, x_136, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_94); +return x_137; +} +} +} +else +{ +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; uint8_t x_150; +x_138 = lean_ctor_get(x_18, 1); +x_139 = lean_ctor_get(x_18, 0); +lean_inc(x_138); +lean_inc(x_139); +lean_dec(x_18); +x_140 = lean_ctor_get(x_138, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_138, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_142 = x_138; +} else { + lean_dec_ref(x_138); + x_142 = lean_box(0); +} +x_143 = lean_array_get_size(x_3); +x_144 = lean_mk_empty_array_with_capacity(x_143); +x_145 = lean_unsigned_to_nat(0u); +x_146 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(x_6, x_3, x_139, x_3, x_143, x_145, lean_box(0), x_144); +lean_dec(x_3); +lean_inc(x_141); +lean_inc(x_8); +lean_inc(x_146); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_7); +x_147 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2___boxed), 13, 6); +lean_closure_set(x_147, 0, x_7); +lean_closure_set(x_147, 1, x_139); +lean_closure_set(x_147, 2, x_140); +lean_closure_set(x_147, 3, x_146); +lean_closure_set(x_147, 4, x_8); +lean_closure_set(x_147, 5, x_141); +x_148 = lean_array_get_size(x_140); +x_149 = lean_array_get_size(x_5); +x_150 = lean_nat_dec_eq(x_148, x_149); +lean_dec(x_149); +lean_dec(x_148); +if (x_150 == 0) +{ +lean_object* x_151; lean_object* x_152; uint8_t x_153; +lean_dec(x_139); +lean_dec(x_8); +lean_dec(x_7); +lean_inc(x_9); +x_151 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_9, x_11, x_12, x_13, x_14, x_15, x_16); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_unbox(x_152); +lean_dec(x_152); +if (x_153 == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +lean_dec(x_142); +lean_dec(x_140); +lean_dec(x_5); +x_154 = lean_ctor_get(x_151, 1); +lean_inc(x_154); +lean_dec(x_151); +x_155 = lean_box(0); +x_156 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_9, x_146, x_2, x_141, x_147, x_155, x_11, x_12, x_13, x_14, x_15, x_154); +lean_dec(x_141); +return x_156; +} +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; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; size_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_157 = lean_ctor_get(x_151, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_158 = x_151; +} else { + lean_dec_ref(x_151); + x_158 = lean_box(0); +} +x_159 = lean_array_to_list(x_5); +x_160 = lean_box(0); +x_161 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_159, x_160); +x_162 = l_Lean_MessageData_ofList(x_161); +x_163 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2; +if (lean_is_scalar(x_158)) { + x_164 = lean_alloc_ctor(7, 2, 0); +} else { + x_164 = x_158; + lean_ctor_set_tag(x_164, 7); +} +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_162); +x_165 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4; +if (lean_is_scalar(x_142)) { + x_166 = lean_alloc_ctor(7, 2, 0); +} else { + x_166 = x_142; + lean_ctor_set_tag(x_166, 7); +} +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_165); +x_167 = lean_array_to_list(x_140); +x_168 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_167, x_160); +x_169 = l_Lean_MessageData_ofList(x_168); +x_170 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_170, 0, x_166); +lean_ctor_set(x_170, 1, x_169); +x_171 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6; +x_172 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_array_size(x_141); +lean_inc(x_141); +x_174 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_173, x_2, x_141); +x_175 = lean_array_to_list(x_174); +x_176 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_175, x_160); +x_177 = l_Lean_MessageData_ofList(x_176); +x_178 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_178, 0, x_172); +lean_ctor_set(x_178, 1, x_177); +x_179 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__4; +x_180 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_179); +lean_inc(x_9); +x_181 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__3(x_9, x_180, x_11, x_12, x_13, x_14, x_15, x_157); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_9, x_146, x_2, x_141, x_147, x_182, x_11, x_12, x_13, x_14, x_15, x_183); +lean_dec(x_182); +lean_dec(x_141); +return x_184; +} +} +else +{ +lean_object* x_185; lean_object* x_186; +lean_dec(x_147); +lean_dec(x_142); +lean_dec(x_9); +lean_dec(x_5); +x_185 = lean_box(0); +x_186 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_7, x_139, x_140, x_146, x_8, x_141, x_185, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_141); +return x_186; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Trying argument set ", 20, 20); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6(size_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, lean_object* x_12) { _start: { size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_13 = lean_array_size(x_6); lean_inc(x_6); -x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__5(x_13, x_1, x_6); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__4(x_13, x_1, x_6); x_15 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__5; x_16 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApp___spec__2(x_15, x_7, x_8, x_9, x_10, x_11, x_12); x_17 = lean_ctor_get(x_16, 0); @@ -10657,7 +9856,7 @@ x_19 = lean_ctor_get(x_16, 1); lean_inc(x_19); lean_dec(x_16); x_20 = lean_box(0); -x_21 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_13, x_1, x_6, x_2, x_3, x_4, x_14, x_5, x_15, x_20, x_7, x_8, x_9, x_10, x_11, x_19); +x_21 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(x_13, x_1, x_6, x_2, x_3, x_4, x_5, x_14, x_15, x_20, x_7, x_8, x_9, x_10, x_11, x_19); return x_21; } else @@ -10673,9 +9872,9 @@ lean_dec(x_24); lean_inc(x_14); x_25 = lean_array_to_list(x_14); x_26 = lean_box(0); -x_27 = l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(x_25, x_26); +x_27 = l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__36___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__37___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__38(x_25, x_26); x_28 = l_Lean_MessageData_ofList(x_27); -x_29 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2; +x_29 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__2; lean_ctor_set_tag(x_16, 7); lean_ctor_set(x_16, 1, x_28); lean_ctor_set(x_16, 0, x_29); @@ -10689,7 +9888,7 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); -x_35 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_13, x_1, x_6, x_2, x_3, x_4, x_14, x_5, x_15, x_33, x_7, x_8, x_9, x_10, x_11, x_34); +x_35 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(x_13, x_1, x_6, x_2, x_3, x_4, x_5, x_14, x_15, x_33, x_7, x_8, x_9, x_10, x_11, x_34); lean_dec(x_33); return x_35; } @@ -10702,9 +9901,9 @@ lean_dec(x_16); lean_inc(x_14); x_37 = lean_array_to_list(x_14); x_38 = lean_box(0); -x_39 = l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(x_37, x_38); +x_39 = l_List_mapTR_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__36___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__37___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__38(x_37, x_38); x_40 = l_Lean_MessageData_ofList(x_39); -x_41 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2; +x_41 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__2; x_42 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); @@ -10718,138 +9917,77 @@ lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); -x_48 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_13, x_1, x_6, x_2, x_3, x_4, x_14, x_5, x_15, x_46, x_7, x_8, x_9, x_10, x_11, x_47); +x_48 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(x_13, x_1, x_6, x_2, x_3, x_4, x_5, x_14, x_15, x_46, x_7, x_8, x_9, x_10, x_11, x_47); lean_dec(x_46); return x_48; } } } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__1() { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("xs.size = maxNumFixed\n ", 28, 28); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__2; -x_2 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__1; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.Structural.Main", 39, 39); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("_private.Lean.Elab.PreDefinition.Structural.Main.0.Lean.Elab.Structural.inferRecArgPos", 86, 86); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___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; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__3; -x_2 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4; -x_3 = lean_unsigned_to_nat(142u); -x_4 = lean_unsigned_to_nat(6u); -x_5 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2; -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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_array_get_size(x_6); -x_15 = lean_nat_dec_eq(x_14, x_1); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_16 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__5; -x_17 = l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3(x_16, x_8, x_9, x_10, x_11, x_12, x_13); -return x_17; -} -else -{ -size_t x_18; lean_object* x_19; -x_18 = lean_array_size(x_2); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_array_get_size(x_1); +x_16 = lean_mk_empty_array_with_capacity(x_15); +x_17 = lean_unsigned_to_nat(0u); +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_2); -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__4(x_6, x_18, x_3, x_2, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_19) == 0) +x_18 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3(x_1, x_2, x_3, x_8, x_1, x_15, x_17, lean_box(0), x_16, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_box_usize(x_3); -lean_inc(x_6); -x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___boxed), 12, 5); -lean_closure_set(x_23, 0, x_22); -lean_closure_set(x_23, 1, x_6); -lean_closure_set(x_23, 2, x_14); -lean_closure_set(x_23, 3, x_2); -lean_closure_set(x_23, 4, x_1); -x_24 = l_Lean_Elab_Structural_tryAllArgs___rarg(x_4, x_6, x_20, x_5, x_23, x_8, x_9, x_10, x_11, x_12, x_21); -return x_24; +lean_dec(x_18); +x_21 = lean_box_usize(x_4); +lean_inc(x_8); +lean_inc(x_5); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___boxed), 12, 5); +lean_closure_set(x_22, 0, x_21); +lean_closure_set(x_22, 1, x_5); +lean_closure_set(x_22, 2, x_8); +lean_closure_set(x_22, 3, x_2); +lean_closure_set(x_22, 4, x_1); +x_23 = l_Lean_Elab_Structural_tryAllArgs___rarg(x_6, x_5, x_8, x_19, x_7, x_22, x_9, x_10, x_11, x_12, x_13, x_20); +return x_23; } else { -uint8_t x_25; -lean_dec(x_14); +uint8_t x_24; +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_6); +lean_dec(x_7); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) { -return x_19; +return x_18; } 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_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_18, 0); +x_26 = lean_ctor_get(x_18, 1); lean_inc(x_26); -lean_dec(x_19); -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; -} +lean_inc(x_25); +lean_dec(x_18); +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; } } } @@ -10883,78 +10021,78 @@ if (x_11 == 0) { lean_dec(x_9); x_16 = x_14; -goto block_61; +goto block_63; } else { -uint8_t x_62; -x_62 = lean_nat_dec_le(x_9, x_9); -if (x_62 == 0) +uint8_t x_64; +x_64 = lean_nat_dec_le(x_9, x_9); +if (x_64 == 0) { lean_dec(x_9); x_16 = x_14; -goto block_61; +goto block_63; } else { -size_t x_63; size_t x_64; lean_object* x_65; lean_object* x_66; -x_63 = 0; -x_64 = lean_usize_of_nat(x_9); +size_t x_65; size_t x_66; lean_object* x_67; lean_object* x_68; +x_65 = 0; +x_66 = lean_usize_of_nat(x_9); lean_dec(x_9); -x_65 = lean_box(0); +x_67 = lean_box(0); lean_inc(x_7); lean_inc(x_6); -x_66 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18(x_1, x_63, x_64, x_65, x_3, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_66) == 0) +x_68 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__41(x_1, x_65, x_66, x_67, x_3, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_67; -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_16 = x_67; -goto block_61; +lean_object* x_69; +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_16 = x_69; +goto block_63; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_dec(x_2); lean_dec(x_1); -x_68 = lean_ctor_get(x_66, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(x_15, x_3, x_4, x_5, x_6, x_7, x_69); +x_70 = lean_ctor_get(x_68, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_68, 1); +lean_inc(x_71); +lean_dec(x_68); +x_72 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40(x_15, x_3, x_4, x_5, x_6, x_7, x_71); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) { -lean_object* x_72; -x_72 = lean_ctor_get(x_70, 0); -lean_dec(x_72); -lean_ctor_set_tag(x_70, 1); -lean_ctor_set(x_70, 0, x_68); -return x_70; +lean_object* x_74; +x_74 = lean_ctor_get(x_72, 0); +lean_dec(x_74); +lean_ctor_set_tag(x_72, 1); +lean_ctor_set(x_72, 0, x_70); +return x_72; } else { -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_68); -lean_ctor_set(x_74, 1, x_73); -return x_74; +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); +lean_dec(x_72); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_70); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } } -block_61: +block_63: { size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; x_17 = lean_array_size(x_1); @@ -10977,185 +10115,188 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_21); -x_23 = l_Lean_Elab_Structural_getMutualFixedPrefix(x_21, x_3, x_4, x_5, x_6, x_7, x_22); +x_23 = l_Lean_Elab_getFixedParamPerms(x_21, x_4, x_5, x_6, x_7, x_22); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +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_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = l_Lean_Elab_instInhabitedPreDefinition; -x_27 = lean_array_get(x_26, x_21, x_10); -x_28 = lean_ctor_get(x_27, 5); -lean_inc(x_28); -lean_dec(x_27); -x_29 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___boxed__const__1; -lean_inc(x_24); -x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___boxed), 13, 5); -lean_closure_set(x_30, 0, x_24); -lean_closure_set(x_30, 1, x_21); -lean_closure_set(x_30, 2, x_29); -lean_closure_set(x_30, 3, x_19); -lean_closure_set(x_30, 4, x_2); -x_31 = 0; +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +x_27 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1; +x_28 = lean_array_get(x_27, x_26, x_10); +x_29 = l_Lean_Elab_instInhabitedPreDefinition; +x_30 = lean_array_get(x_29, x_21, x_10); +x_31 = lean_ctor_get(x_30, 4); +lean_inc(x_31); +lean_dec(x_30); +x_32 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___boxed__const__1; +x_33 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__7___boxed), 14, 7); +lean_closure_set(x_33, 0, x_21); +lean_closure_set(x_33, 1, x_27); +lean_closure_set(x_33, 2, x_26); +lean_closure_set(x_33, 3, x_32); +lean_closure_set(x_33, 4, x_24); +lean_closure_set(x_33, 5, x_19); +lean_closure_set(x_33, 6, x_2); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_32 = l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___rarg(x_28, x_24, x_30, x_31, x_3, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_32) == 0) +x_34 = l_Lean_Elab_FixedParamPerm_forallTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__39(x_28, x_31, x_33, x_3, x_4, x_5, x_6, x_7, x_25); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(x_15, x_3, x_4, x_5, x_6, x_7, x_34); +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40(x_15, x_3, x_4, x_5, x_6, x_7, x_36); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_37; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -lean_ctor_set(x_35, 0, x_33); -return x_35; +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +lean_ctor_set(x_37, 0, x_35); +return x_37; } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_33); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = lean_ctor_get(x_32, 0); +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_37, 1); lean_inc(x_40); -x_41 = lean_ctor_get(x_32, 1); -lean_inc(x_41); -lean_dec(x_32); -x_42 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(x_15, x_3, x_4, x_5, x_6, x_7, x_41); +lean_dec(x_37); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_35); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_42 = lean_ctor_get(x_34, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_34, 1); +lean_inc(x_43); +lean_dec(x_34); +x_44 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40(x_15, x_3, x_4, x_5, x_6, x_7, x_43); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +lean_ctor_set_tag(x_44, 1); +lean_ctor_set(x_44, 0, x_42); +return x_44; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); lean_dec(x_44); -lean_ctor_set_tag(x_42, 1); -lean_ctor_set(x_42, 0, x_40); -return x_42; -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_40); -lean_ctor_set(x_46, 1, x_45); -return x_46; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_dec(x_21); lean_dec(x_19); lean_dec(x_2); -x_47 = lean_ctor_get(x_23, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_23, 1); -lean_inc(x_48); +x_49 = lean_ctor_get(x_23, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_23, 1); +lean_inc(x_50); lean_dec(x_23); -x_49 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(x_15, x_3, x_4, x_5, x_6, x_7, x_48); +x_51 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40(x_15, x_3, x_4, x_5, x_6, x_7, x_50); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -lean_object* x_51; -x_51 = lean_ctor_get(x_49, 0); +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set_tag(x_51, 1); +lean_ctor_set(x_51, 0, x_49); +return x_51; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); lean_dec(x_51); -lean_ctor_set_tag(x_49, 1); -lean_ctor_set(x_49, 0, x_47); -return x_49; -} -else -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_47); -lean_ctor_set(x_53, 1, x_52); -return x_53; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_49); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_dec(x_19); lean_dec(x_2); -x_54 = lean_ctor_get(x_20, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_20, 1); -lean_inc(x_55); +x_56 = lean_ctor_get(x_20, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); lean_dec(x_20); -x_56 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(x_15, x_3, x_4, x_5, x_6, x_7, x_55); +x_58 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40(x_15, x_3, x_4, x_5, x_6, x_7, x_57); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) { -lean_object* x_58; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -lean_ctor_set_tag(x_56, 1); -lean_ctor_set(x_56, 0, x_54); -return x_56; +lean_object* x_60; +x_60 = lean_ctor_get(x_58, 0); +lean_dec(x_60); +lean_ctor_set_tag(x_58, 1); +lean_ctor_set(x_58, 0, x_56); +return x_58; } else { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_56, 1); -lean_inc(x_59); -lean_dec(x_56); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_54); -lean_ctor_set(x_60, 1, x_59); -return x_60; +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_dec(x_58); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_56); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } @@ -11188,18 +10329,28 @@ lean_dec(x_5); return x_13; } } -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* 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_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_12 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__4(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_16; +x_16 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_10); lean_dec(x_5); +lean_dec(x_3); lean_dec(x_1); -return x_13; +return x_16; +} +} +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* 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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__4(x_4, x_5, x_3); +return x_6; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -11214,16 +10365,15 @@ x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_M return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); +lean_object* x_9; +x_9 = l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__6(x_1, x_5, x_6, x_4); -return x_7; +lean_dec(x_2); +return x_9; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -11277,34 +10427,213 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _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___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12(x_1, x_5, x_6, x_4); +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(x_1, x_2, x_3); lean_dec(x_1); -return x_7; +return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_4); +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); lean_dec(x_4); -x_12 = l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___rarg(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; +x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___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_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__19___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__19(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(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_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__20___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__20(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__16(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_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__14(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__13(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__23(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__26___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__26(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__27___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__27(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__25___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__25(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_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__28___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; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__28(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__24___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__24(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_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__22(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__21(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__29(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); @@ -11313,7 +10642,86 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18___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_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_15 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_16 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30(x_1, x_2, x_3, x_4, x_14, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__31___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: +{ +size_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__31(x_15, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__32___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: +{ +size_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__32(x_15, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___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_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40(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); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__41___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -11321,7 +10729,7 @@ x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__18(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__41(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -11342,21 +10750,42 @@ lean_dec(x_4); return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_17 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_18 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_1, x_16, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_9); +lean_object* x_14; +x_14 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_7); lean_dec(x_6); -return x_18; +return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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) { +_start: +{ +size_t x_12; lean_object* x_13; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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: +{ +size_t x_13; lean_object* x_14; +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_6); +lean_dec(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { size_t x_17; size_t x_18; lean_object* x_19; @@ -11364,33 +10793,31 @@ x_17 = lean_unbox_usize(x_1); lean_dec(x_1); x_18 = lean_unbox_usize(x_2); lean_dec(x_2); -x_19 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3(x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_19 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(x_17, x_18, 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); lean_dec(x_10); -lean_dec(x_5); return x_19; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; lean_object* x_14; x_13 = lean_unbox_usize(x_1); lean_dec(x_1); -x_14 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4(x_13, 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); +x_14 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_14; lean_object* x_15; -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_7); +size_t x_15; lean_object* x_16; +x_15 = lean_unbox_usize(x_4); lean_dec(x_4); -return x_15; +x_16 = l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__7(x_1, x_2, x_3, x_15, 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_3); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Elab_Structural_reporttermMeasure___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) { @@ -13589,6 +13016,7 @@ return x_14; } } lean_object* initialize_Lean_Elab_PreDefinition_TerminationMeasure(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_Mutual(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_FindRecArg(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Structural_Preprocess(uint8_t builtin, lean_object*); @@ -13605,6 +13033,9 @@ _G_initialized = true; res = initialize_Lean_Elab_PreDefinition_TerminationMeasure(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_Mutual(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Structural_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -13644,36 +13075,8 @@ l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getF lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_getFixedPrefix___closed__3); l_Lean_Elab_Structural_withCommonTelescope___rarg___closed__1 = _init_l_Lean_Elab_Structural_withCommonTelescope___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Structural_withCommonTelescope___rarg___closed__1); -l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___boxed__const__1 = _init_l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___boxed__const__1(); -lean_mark_persistent(l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__4___boxed__const__1); -l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__1 = _init_l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__1(); -lean_mark_persistent(l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__1); -l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__2 = _init_l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__2(); -lean_mark_persistent(l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__2); -l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__3 = _init_l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__3(); -lean_mark_persistent(l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__3); -l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__4 = _init_l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__4(); -lean_mark_persistent(l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__3___closed__4); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__3___closed__4); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_getMutualFixedPrefix___spec__14___lambda__4___closed__3); -l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__1 = _init_l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__1); -l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__2 = _init_l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Structural_getMutualFixedPrefix___lambda__2___closed__2); +l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1 = _init_l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__1___closed__1); l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___closed__1 = _init_l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___closed__1(); lean_mark_persistent(l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___closed__1); l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___closed__2 = _init_l_Lean_getConstInfoInduct___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__2___closed__2(); @@ -13696,8 +13099,6 @@ l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefini lean_mark_persistent(l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__5); l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6 = _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6(); lean_mark_persistent(l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__6); -l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__7 = _init_l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__7(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_groupAndSort___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___spec__4___closed__7); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__1); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__3___closed__2(); @@ -13732,40 +13133,78 @@ l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elim lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__8); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__9 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__9(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__6___closed__9); -l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__1); -l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__8___closed__2); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__1); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__9___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__10___closed__2); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__1); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__2); -l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3___closed__1 = _init_l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3___closed__1(); -lean_mark_persistent(l_panic___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__3___closed__1); -l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__1 = _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__1(); -lean_mark_persistent(l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__1); -l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__2 = _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__2(); -lean_mark_persistent(l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__2); -l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__3 = _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__3(); -lean_mark_persistent(l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__3); -l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__4 = _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__4(); -lean_mark_persistent(l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___closed__4); -l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__1); -l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__2); -l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__3); -l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__3___closed__4); +l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__1 = _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__1(); +lean_mark_persistent(l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__1); +l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__2 = _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__2(); +lean_mark_persistent(l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__2); +l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__3 = _init_l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__3(); +lean_mark_persistent(l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__12___closed__3); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__1); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__2); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__3); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__4); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__5(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__5); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__6 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__6(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__6); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__30___closed__7); +l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__1 = _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__1(); +lean_mark_persistent(l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__1); +l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__2 = _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__2(); +lean_mark_persistent(l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__2); +l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__3 = _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__3(); +lean_mark_persistent(l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__3); +l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__4 = _init_l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__4(); +lean_mark_persistent(l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__40___closed__4); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__1); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__3); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__4); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__5 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__5); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__6 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__6); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__7 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__7); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__8 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__8); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__9 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__9); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__10 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__10); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__11 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__11); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__12 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__12); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__13 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__13); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__14 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__14); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__15 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__15); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__16 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__4___closed__16); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__1); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__2(); @@ -13776,6 +13215,12 @@ l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_infe lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__4); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__5 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__5(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__5); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__5___closed__6); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___closed__2); l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___boxed__const__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___boxed__const__1); l_Lean_Elab_Structural_reporttermMeasure___closed__1 = _init_l_Lean_Elab_Structural_reporttermMeasure___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/RecArgInfo.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/RecArgInfo.c index a4c560fbe0..243d8bad97 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/RecArgInfo.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/RecArgInfo.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.Structural.RecArgInfo -// Imports: Lean.Meta.Basic Lean.Meta.ForEachExpr Lean.Elab.PreDefinition.Structural.IndGroupInfo +// Imports: Lean.Meta.Basic Lean.Meta.ForEachExpr Lean.Elab.PreDefinition.FixedParams Lean.Elab.PreDefinition.Structural.IndGroupInfo #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,67 +15,60 @@ extern "C" { #endif static lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__1; lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_numFixed(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__22; lean_object* l___private_Lean_Elab_PreDefinition_Structural_IndGroupInfo_0__Lean_Elab_Structural_reprIndGroupInst____x40_Lean_Elab_PreDefinition_Structural_IndGroupInfo___hyg_298_(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__9; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__16; +lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__9(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__18; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__3; +lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__8; -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____spec__2(lean_object*, lean_object*); -static lean_object* l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__19; -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__5(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_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__15; +lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__10; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__4; +lean_object* l_Lean_Level_ofNat(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__26; +uint8_t l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__32; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__40; -size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__35; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_instReprRecArgInfo; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__21; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2(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_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__20; -LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__5; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__6; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__4; lean_object* lean_nat_to_int(lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____boxed(lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_indicesAndRecArgPos(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__33; lean_object* lean_array_to_list(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__1; static lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__1; extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__28; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__14; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__1; -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____spec__1(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__3; -lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__4; +lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_indName_x21(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__25; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__37; static lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__3; static lean_object* l_Lean_Elab_Structural_instReprRecArgInfo___closed__1; -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__5___boxed(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_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__29; lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__24; @@ -85,13 +78,10 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0_ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__27; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__36; +static lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__38; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__12; -extern lean_object* l_Id_instMonad; -lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__34; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__4(lean_object*, lean_object*, size_t, size_t); lean_object* lean_array_mk(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__6; size_t lean_usize_add(size_t, size_t); @@ -99,23 +89,19 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0_ extern lean_object* l_Lean_instInhabitedName; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); -lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); -static lean_object* l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__31; -lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__5; lean_object* lean_array_get_size(lean_object*); lean_object* lean_array_get(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); +uint8_t l_Lean_Elab_FixedParamPerm_isFixed(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__17; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__3; -LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____spec__3(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__23; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_indName_x21___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__3___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__30; static lean_object* _init_l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__1() { _start: @@ -157,16 +143,16 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_box(0); -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__1; +x_2 = l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__1; +x_3 = lean_unsigned_to_nat(0u); x_4 = l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__3; x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_2); -lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_2); lean_ctor_set(x_5, 4, x_4); -lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 5, x_3); return x_5; } } @@ -178,106 +164,6 @@ x_1 = l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__4; return x_1; } } -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____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_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____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_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____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_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____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_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____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_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____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_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____spec__1(x_7); -x_9 = l_List_foldl___at___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____spec__3(x_2, x_8, x_4); -return x_9; -} -} -} -} static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__1() { _start: { @@ -369,7 +255,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_RecArgI _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("numFixed", 8, 8); +x_1 = lean_mk_string_unchecked("fixedParamPerm", 14, 14); return x_1; } } @@ -387,7 +273,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_RecArgI _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(12u); +x_1 = lean_unsigned_to_nat(18u); x_2 = lean_nat_to_int(x_1); return x_2; } @@ -656,7 +542,7 @@ return x_3; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71_(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; 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; uint8_t 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_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; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_unsigned_to_nat(0u); @@ -691,224 +577,261 @@ lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); x_20 = lean_ctor_get(x_1, 1); 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_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__12; -x_24 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(6, 1, 1); +x_21 = lean_array_get_size(x_20); +x_22 = lean_nat_dec_eq(x_21, x_4); +lean_dec(x_21); +x_23 = lean_ctor_get(x_1, 2); +lean_inc(x_23); +x_24 = l___private_Init_Data_Repr_0__Nat_reprFast(x_23); +x_25 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_25, 0, x_24); -lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_8); -x_26 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_26, 0, x_19); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_alloc_ctor(5, 2, 0); +x_26 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__15; +x_27 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_12); -x_28 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_14); -x_29 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__14; -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 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_18); -x_32 = lean_ctor_get(x_1, 2); +lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_8); +x_29 = lean_ctor_get(x_1, 3); +lean_inc(x_29); +x_30 = lean_array_get_size(x_29); +x_31 = lean_nat_dec_eq(x_30, x_4); +lean_dec(x_30); +x_32 = lean_ctor_get(x_1, 4); lean_inc(x_32); -x_33 = l___private_Init_Data_Repr_0__Nat_reprFast(x_32); -x_34 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__15; -x_36 = lean_alloc_ctor(4, 2, 0); +x_33 = l___private_Lean_Elab_PreDefinition_Structural_IndGroupInfo_0__Lean_Elab_Structural_reprIndGroupInst____x40_Lean_Elab_PreDefinition_Structural_IndGroupInfo___hyg_298_(x_32, x_4); +x_34 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__21; +x_35 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -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_8); -x_38 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_38, 0, x_31); -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_12); -x_40 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_14); -x_41 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__17; -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 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_18); -x_44 = lean_ctor_get(x_1, 3); -lean_inc(x_44); -x_45 = lean_array_get_size(x_44); -x_46 = lean_nat_dec_eq(x_45, x_4); -lean_dec(x_45); -x_47 = lean_ctor_get(x_1, 4); -lean_inc(x_47); -x_48 = l___private_Lean_Elab_PreDefinition_Structural_IndGroupInfo_0__Lean_Elab_Structural_reprIndGroupInst____x40_Lean_Elab_PreDefinition_Structural_IndGroupInfo___hyg_298_(x_47, x_4); -x_49 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__21; -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 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_8); -x_52 = lean_ctor_get(x_1, 5); -lean_inc(x_52); +lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_8); +x_37 = lean_ctor_get(x_1, 5); +lean_inc(x_37); lean_dec(x_1); -x_53 = l___private_Init_Data_Repr_0__Nat_reprFast(x_52); -x_54 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_55, 0, x_6); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_8); -if (x_46 == 0) +x_38 = l___private_Init_Data_Repr_0__Nat_reprFast(x_37); +x_39 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_40, 0, x_6); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set_uint8(x_41, sizeof(void*)*1, x_8); +if (x_22 == 0) { -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; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_57 = lean_array_to_list(x_44); -x_58 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__30; -x_59 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____spec__2(x_57, x_58); -x_60 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__34; -x_61 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__36; -x_63 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__33; -x_65 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -x_66 = 1; -x_67 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set_uint8(x_67, sizeof(void*)*1, x_66); -x_68 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__18; -x_69 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -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_8); -x_71 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_71, 0, x_43); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_12); -x_73 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_14); -x_74 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__20; -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_alloc_ctor(5, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_18); -x_77 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_51); -x_78 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_12); -x_79 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_14); -x_80 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__23; -x_81 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_18); -x_83 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_56); -x_84 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__27; -x_85 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__29; -x_87 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -x_88 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__26; -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_ctor_set(x_90, 0, x_89); -lean_ctor_set_uint8(x_90, sizeof(void*)*1, x_8); -return x_90; +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; uint8_t x_123; lean_object* x_124; +x_114 = lean_array_to_list(x_20); +x_115 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__30; +x_116 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__4(x_114, x_115); +x_117 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__34; +x_118 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_116); +x_119 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__36; +x_120 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +x_121 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__33; +x_122 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); +x_123 = 1; +x_124 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set_uint8(x_124, sizeof(void*)*1, x_123); +x_42 = x_124; +goto block_113; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; 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_dec(x_44); -x_91 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__40; -x_92 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_92, 0, x_43); -lean_ctor_set(x_92, 1, x_91); +lean_object* x_125; +lean_dec(x_20); +x_125 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__38; +x_42 = x_125; +goto block_113; +} +block_113: +{ +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; +x_43 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__12; +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 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set_uint8(x_45, sizeof(void*)*1, x_8); +x_46 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_46, 0, x_19); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_12); +x_48 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_14); +x_49 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__14; +x_50 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_18); +x_52 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_28); +x_53 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_12); +x_54 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_14); +x_55 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__17; +x_56 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_18); +if (x_31 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t 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; +x_58 = lean_array_to_list(x_29); +x_59 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__30; +x_60 = l_Std_Format_joinSep___at___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_reprFixedParamPerms____x40_Lean_Elab_PreDefinition_FixedParams___hyg_3090____spec__9(x_58, x_59); +x_61 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__34; +x_62 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__36; +x_64 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__33; +x_66 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = 1; +x_68 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set_uint8(x_68, sizeof(void*)*1, x_67); +x_69 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__18; +x_70 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +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_8); +x_72 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_72, 0, x_57); +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_12); +x_74 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_14); +x_75 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__20; +x_76 = lean_alloc_ctor(5, 2, 0); +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_18); +x_78 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_36); +x_79 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_12); +x_80 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_14); +x_81 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__23; +x_82 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_82, 0, x_80); +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_18); +x_84 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_41); +x_85 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__27; +x_86 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__29; +x_88 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__26; +x_90 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_90, 0, x_89); +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_8); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_29); +x_92 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__40; x_93 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_12); +lean_ctor_set(x_93, 0, x_57); +lean_ctor_set(x_93, 1, x_92); x_94 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_14); -x_95 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__20; -x_96 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); +lean_ctor_set(x_94, 1, x_12); +x_95 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_14); +x_96 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__20; x_97 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_18); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); x_98 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_51); +lean_ctor_set(x_98, 1, x_18); x_99 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_12); +lean_ctor_set(x_99, 1, x_36); x_100 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_14); -x_101 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__23; -x_102 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); +lean_ctor_set(x_100, 1, x_12); +x_101 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_14); +x_102 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__23; x_103 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_18); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); x_104 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_56); -x_105 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____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_104); -x_107 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__29; -x_108 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -x_109 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__26; -x_110 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_108); -x_111 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_104, 1, x_18); +x_105 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_41); +x_106 = l___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__27; +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___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__29; +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___private_Lean_Elab_PreDefinition_Structural_RecArgInfo_0__Lean_Elab_Structural_reprRecArgInfo____x40_Lean_Elab_PreDefinition_Structural_RecArgInfo___hyg_71____closed__26; +x_111 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_111, 0, x_110); -lean_ctor_set_uint8(x_111, sizeof(void*)*1, x_8); -return x_111; +lean_ctor_set(x_111, 1, x_109); +x_112 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set_uint8(x_112, sizeof(void*)*1, x_8); +return x_112; +} } } } @@ -937,286 +860,98 @@ x_1 = l_Lean_Elab_Structural_instReprRecArgInfo___closed__1; return x_1; } } -static lean_object* _init_l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_indicesAndRecArgPos(lean_object* x_1) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Structural_instInhabitedRecArgInfo___closed__1; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_ctor_get(x_1, 3); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 2); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_array_push(x_2, x_3); +return x_4; } } -static lean_object* _init_l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__2() { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1(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) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Id_instMonad; -x_2 = l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__1; -x_3 = l_instInhabitedOfMonad___rarg(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1(lean_object* x_1) { -_start: +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_6, x_5); +if (x_8 == 0) { -lean_object* x_2; lean_object* x_3; -x_2 = l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__2; -x_3 = lean_panic_fn(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); -return x_1; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("info.numFixed ≤ j && j - info.numFixed < xs.size\n ", 55, 53); -return x_1; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__2; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.Structural.RecArgInfo", 45, 45); -return x_1; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Elab.Structural.RecArgInfo.pickIndicesMajor", 48, 48); -return x_1; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__6() { -_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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__4; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__5; -x_3 = lean_unsigned_to_nat(48u); -x_4 = lean_unsigned_to_nat(4u); -x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2(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_lt(x_7, x_6); -if (x_9 == 0) -{ -return x_8; +return x_7; } else { -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_array_uget(x_5, x_7); -x_11 = lean_ctor_get(x_1, 1); -x_12 = lean_nat_dec_le(x_11, x_10); +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_9 = lean_array_uget(x_4, x_6); +x_10 = l_Lean_instInhabitedExpr; +x_11 = lean_array_get(x_10, x_1, x_9); +lean_dec(x_9); +x_12 = lean_array_push(x_7, x_11); +x_13 = 1; +x_14 = lean_usize_add(x_6, x_13); +x_6 = x_14; +x_7 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___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, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_6, 1); +x_12 = lean_nat_dec_lt(x_8, x_11); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; -lean_dec(x_10); lean_dec(x_8); -x_13 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__6; -x_14 = l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1(x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -return x_15; +return x_7; } else { -lean_object* x_16; size_t x_17; size_t x_18; -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -lean_dec(x_14); -x_17 = 1; -x_18 = lean_usize_add(x_7, x_17); -x_7 = x_18; -x_8 = x_16; -goto _start; -} -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_nat_sub(x_10, x_11); -lean_dec(x_10); -x_21 = lean_array_get_size(x_2); -x_22 = lean_nat_dec_lt(x_20, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_20); -lean_dec(x_8); -x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__6; -x_24 = l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1(x_23); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -lean_dec(x_24); -return x_25; -} -else -{ -lean_object* x_26; size_t x_27; size_t x_28; -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -x_27 = 1; -x_28 = lean_usize_add(x_7, x_27); -x_7 = x_28; -x_8 = x_26; -goto _start; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; -x_30 = l_Lean_instInhabitedExpr; -x_31 = lean_array_get(x_30, x_2, x_20); -lean_dec(x_20); -x_32 = lean_array_push(x_8, x_31); -x_33 = 1; -x_34 = lean_usize_add(x_7, x_33); -x_7 = x_34; -x_8 = x_32; -goto _start; -} -} -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -x_7 = lean_nat_dec_eq(x_1, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = lean_usize_add(x_3, x_8); -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_array_get_size(x_1); -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_lt(x_4, x_3); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -size_t x_7; size_t x_8; uint8_t x_9; -x_7 = 0; -x_8 = lean_usize_of_nat(x_3); -lean_dec(x_3); -x_9 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__4(x_2, x_1, x_7, x_8); -return x_9; -} -} -} -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___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, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_ctor_get(x_4, 1); -x_10 = lean_nat_dec_lt(x_6, x_9); -if (x_10 == 0) -{ -lean_dec(x_6); -return x_5; -} -else -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_1, 1); -x_12 = lean_nat_add(x_6, x_11); -x_13 = l_Array_contains___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__3(x_3, x_12); -lean_dec(x_12); +uint8_t x_13; +x_13 = l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__3(x_5, x_8); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_array_fget(x_2, x_6); -x_15 = lean_array_push(x_5, x_14); -x_16 = lean_ctor_get(x_4, 2); -x_17 = lean_nat_add(x_6, x_16); -lean_dec(x_6); -x_5 = x_15; -x_6 = x_17; -x_7 = lean_box(0); -x_8 = lean_box(0); +uint8_t x_14; +x_14 = l_Lean_Elab_FixedParamPerm_isFixed(x_3, x_8); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_array_fget(x_4, x_8); +x_16 = lean_array_push(x_7, x_15); +x_17 = lean_ctor_get(x_6, 2); +x_18 = lean_nat_add(x_8, x_17); +lean_dec(x_8); +x_7 = x_16; +x_8 = x_18; +x_9 = lean_box(0); +x_10 = lean_box(0); goto _start; } else { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_4, 2); -x_20 = lean_nat_add(x_6, x_19); -lean_dec(x_6); -x_6 = x_20; -x_7 = lean_box(0); -x_8 = lean_box(0); +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_6, 2); +x_21 = lean_nat_add(x_8, x_20); +lean_dec(x_8); +x_8 = x_21; +x_9 = lean_box(0); +x_10 = lean_box(0); +goto _start; +} +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_6, 2); +x_24 = lean_nat_add(x_8, x_23); +lean_dec(x_8); +x_8 = x_24; +x_9 = lean_box(0); +x_10 = lean_box(0); goto _start; } } @@ -1226,6 +961,24 @@ static lean_object* _init_l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___c _start: { lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Level_ofNat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__1; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; x_1 = lean_box(0); x_2 = lean_array_mk(x_1); return x_2; @@ -1234,43 +987,68 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(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; size_t x_7; size_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; -x_3 = lean_ctor_get(x_1, 3); +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; size_t x_12; size_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; +x_3 = lean_ctor_get(x_1, 1); lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 2); -lean_inc(x_4); -x_5 = lean_array_push(x_3, x_4); -x_6 = lean_box(0); -x_7 = lean_array_size(x_5); -x_8 = 0; -x_9 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__1; -x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2(x_1, x_2, x_5, x_6, x_5, x_7, x_8, x_9); -x_11 = lean_array_get_size(x_2); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_11); -lean_ctor_set(x_14, 2, x_13); -x_15 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__5(x_1, x_2, x_5, x_14, x_9, x_12, lean_box(0), lean_box(0)); -lean_dec(x_14); -lean_dec(x_5); +x_4 = l_Lean_Elab_FixedParamPerm_numFixed(x_3); +x_5 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__2; +x_6 = lean_mk_array(x_4, x_5); +lean_inc(x_2); +lean_inc(x_3); +x_7 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_3, x_6, x_2); +lean_dec(x_6); +x_8 = lean_ctor_get(x_1, 3); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_array_push(x_8, x_9); +x_11 = lean_box(0); +x_12 = lean_array_size(x_10); +x_13 = 0; +x_14 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__3; +x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1(x_7, x_10, x_11, x_10, x_12, x_13, x_14); +x_16 = lean_array_get_size(x_7); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_16); +lean_ctor_set(x_19, 2, x_18); +x_20 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2(x_1, x_2, x_3, x_7, x_10, x_19, x_14, x_17, lean_box(0), lean_box(0)); +lean_dec(x_19); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_10); -lean_ctor_set(x_16, 1, x_15); -return 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_20); +return x_21; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___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) { _start: { -size_t x_9; size_t x_10; lean_object* x_11; +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); 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_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1279,53 +1057,6 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__4___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; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__4(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__3___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Array_contains___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__3(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_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___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, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Structural_RecArgInfo_indName_x21(lean_object* x_1) { _start: { @@ -1350,6 +1081,7 @@ return x_2; } lean_object* initialize_Lean_Meta_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_ForEachExpr(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Structural_IndGroupInfo(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_Structural_RecArgInfo(uint8_t builtin, lean_object* w) { @@ -1362,6 +1094,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_ForEachExpr(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_FixedParams(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Structural_IndGroupInfo(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -1459,24 +1194,12 @@ l_Lean_Elab_Structural_instReprRecArgInfo___closed__1 = _init_l_Lean_Elab_Struct lean_mark_persistent(l_Lean_Elab_Structural_instReprRecArgInfo___closed__1); l_Lean_Elab_Structural_instReprRecArgInfo = _init_l_Lean_Elab_Structural_instReprRecArgInfo(); lean_mark_persistent(l_Lean_Elab_Structural_instReprRecArgInfo); -l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__1(); -lean_mark_persistent(l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__1); -l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__2 = _init_l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__2(); -lean_mark_persistent(l_panic___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__1___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__4); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__5(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__5); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__6 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__6(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___spec__2___closed__6); l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__1 = _init_l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__1(); lean_mark_persistent(l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__1); +l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__2 = _init_l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__2(); +lean_mark_persistent(l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__2); +l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__3 = _init_l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__3(); +lean_mark_persistent(l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor___closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c index 413a54b69a..37440f11c5 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.WF.Eqns -// Imports: Lean.Meta.Tactic.Rewrite Lean.Meta.Tactic.Split Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Eqns Lean.Meta.ArgsPacker.Basic Lean.Elab.PreDefinition.WF.Unfold Init.Data.Array.Basic +// Imports: Lean.Meta.Tactic.Rewrite Lean.Meta.Tactic.Split Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Eqns Lean.Meta.ArgsPacker.Basic Lean.Elab.PreDefinition.WF.Unfold Lean.Elab.PreDefinition.FixedParams Init.Data.Array.Basic #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -18,37 +18,39 @@ lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64_(lean_object*); 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*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_308_(lean_object*); 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*); +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*, lean_object*, size_t, size_t, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__2; 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*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_293_(lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_eqnInfoExt; 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*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__3; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__4; -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*); +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*, lean_object*); size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__5; static lean_object* l_Lean_Elab_WF_registerEqnsInfo___closed__3; uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); static lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo___closed__1; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); 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_registerEqnsInfo___closed__1; 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); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__4; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____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_Meta_registerGetEqnsFn(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo___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_Lean_Elab_WF_instInhabitedEqnInfo___closed__7; static lean_object* l_Lean_Elab_WF_registerEqnsInfo___closed__4; lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_registerEqnsInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -58,17 +60,16 @@ lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_obj static lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo___closed__5; static lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo___closed__6; size_t lean_usize_add(size_t, size_t); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_293____closed__1; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); lean_object* lean_st_ref_set(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_308____closed__1; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3___closed__1; 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); static lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo___closed__2; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__1; 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_Elab_Eqns_mkEqns(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -127,29 +128,44 @@ return x_2; static lean_object* _init_l_Lean_Elab_WF_instInhabitedEqnInfo___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Elab_WF_instInhabitedEqnInfo___closed__5; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_instInhabitedEqnInfo___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_WF_instInhabitedEqnInfo___closed__4; x_2 = l_Lean_Elab_WF_instInhabitedEqnInfo___closed__5; x_3 = lean_box(0); x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_alloc_ctor(0, 5, 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); -lean_ctor_set(x_5, 4, x_2); -return x_5; +x_5 = l_Lean_Elab_WF_instInhabitedEqnInfo___closed__6; +x_6 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_6, 0, x_1); +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(x_6, 4, x_2); +lean_ctor_set(x_6, 5, x_5); +return x_6; } } static lean_object* _init_l_Lean_Elab_WF_instInhabitedEqnInfo() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_WF_instInhabitedEqnInfo___closed__6; +x_1 = l_Lean_Elab_WF_instInhabitedEqnInfo___closed__7; return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__1() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__1() { _start: { lean_object* x_1; @@ -157,7 +173,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_64____closed__2() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__2() { _start: { lean_object* x_1; @@ -165,7 +181,7 @@ 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_Eqns___hyg_64____closed__3() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__3() { _start: { lean_object* x_1; @@ -173,7 +189,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_64____closed__4() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__4() { _start: { lean_object* x_1; @@ -181,23 +197,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_64____closed__5() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____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_Eqns___hyg_64____closed__1; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__2; -x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__3; -x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__4; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__1; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__2; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__3; +x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__4; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73_(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_64____closed__5; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__5; x_3 = l_Lean_mkMapDeclarationExtension___rarg(x_2, x_1); return x_3; } @@ -272,55 +288,58 @@ x_1 = l_Lean_Elab_WF_eqnInfoExt; return x_1; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___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, size_t x_7, size_t x_8, lean_object* x_9) { _start: { -uint8_t x_9; -x_9 = lean_usize_dec_eq(x_6, x_7); -if (x_9 == 0) +uint8_t x_10; +x_10 = lean_usize_dec_eq(x_7, x_8); +if (x_10 == 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; size_t x_19; size_t x_20; -x_10 = lean_array_uget(x_5, x_6); -x_11 = lean_ctor_get(x_10, 3); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); +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; size_t x_20; size_t x_21; +x_11 = lean_array_uget(x_6, x_7); +x_12 = lean_ctor_get(x_11, 3); lean_inc(x_12); -x_13 = lean_ctor_get(x_10, 4); +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_10, 5); +x_14 = lean_ctor_get(x_11, 4); lean_inc(x_14); -lean_dec(x_10); -lean_inc(x_11); -x_15 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_12); -lean_ctor_set(x_15, 2, x_13); -lean_ctor_set(x_15, 3, x_14); -lean_inc(x_3); +x_15 = lean_ctor_get(x_11, 5); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_12); +x_16 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_13); +lean_ctor_set(x_16, 2, x_14); +lean_ctor_set(x_16, 3, x_15); lean_inc(x_2); -lean_inc(x_1); +lean_inc(x_3); lean_inc(x_4); -x_16 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_4); -lean_ctor_set(x_16, 2, x_1); -lean_ctor_set(x_16, 3, x_2); -lean_ctor_set(x_16, 4, x_3); -x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3___closed__1; -x_18 = l_Lean_MapDeclarationExtension_insert___rarg(x_17, x_8, x_11, x_16); -x_19 = 1; -x_20 = lean_usize_add(x_6, x_19); -x_6 = x_20; -x_8 = x_18; +lean_inc(x_1); +lean_inc(x_5); +x_17 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_5); +lean_ctor_set(x_17, 2, x_1); +lean_ctor_set(x_17, 3, x_4); +lean_ctor_set(x_17, 4, x_3); +lean_ctor_set(x_17, 5, x_2); +x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3___closed__1; +x_19 = l_Lean_MapDeclarationExtension_insert___rarg(x_18, x_9, x_12, x_17); +x_20 = 1; +x_21 = lean_usize_add(x_7, x_20); +x_7 = x_21; +x_9 = x_19; goto _start; } else { +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_9; } } } @@ -545,43 +564,46 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Elab_WF_registerEqnsInfo(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; lean_object* x_83; uint8_t x_84; -x_10 = lean_array_get_size(x_1); -x_83 = lean_unsigned_to_nat(0u); -x_84 = lean_nat_dec_lt(x_83, x_10); -if (x_84 == 0) -{ -x_11 = x_9; -goto block_82; -} -else -{ -uint8_t x_85; -x_85 = lean_nat_dec_le(x_10, x_10); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_84; uint8_t x_85; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +x_11 = lean_array_get_size(x_1); +x_84 = lean_unsigned_to_nat(0u); +x_85 = lean_nat_dec_lt(x_84, x_11); if (x_85 == 0) { -x_11 = x_9; -goto block_82; +x_12 = x_9; +goto block_83; } else { -size_t x_86; size_t x_87; lean_object* x_88; lean_object* x_89; -x_86 = 0; -x_87 = lean_usize_of_nat(x_10); -x_88 = lean_box(0); -x_89 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__5(x_1, x_86, x_87, x_88, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_89) == 0) +uint8_t x_86; +x_86 = lean_nat_dec_le(x_11, x_11); +if (x_86 == 0) { -lean_object* x_90; -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_11 = x_90; -goto block_82; +x_12 = x_9; +goto block_83; } else { -uint8_t x_91; +size_t x_87; size_t x_88; lean_object* x_89; lean_object* x_90; +x_87 = 0; +x_88 = lean_usize_of_nat(x_11); +x_89 = lean_box(0); +x_90 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__5(x_1, x_87, x_88, x_89, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +lean_dec(x_90); +x_12 = x_91; +goto block_83; +} +else +{ +uint8_t x_92; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -591,35 +613,36 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_91 = !lean_is_exclusive(x_89); -if (x_91 == 0) +x_92 = !lean_is_exclusive(x_90); +if (x_92 == 0) { -return x_89; +return x_90; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_89, 0); -x_93 = lean_ctor_get(x_89, 1); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_90, 0); +x_94 = lean_ctor_get(x_90, 1); +lean_inc(x_94); lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_89); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; +lean_dec(x_90); +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; } } } } -block_82: +block_83: { -lean_object* x_12; uint8_t x_13; -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_nat_dec_lt(x_12, x_10); -if (x_13 == 0) +lean_object* x_13; uint8_t x_14; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_11); +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; +lean_object* x_15; lean_object* x_16; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -629,21 +652,22 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_11); -return x_15; +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_12); +return x_16; } else { -size_t x_16; size_t x_17; uint8_t x_18; -x_16 = 0; -x_17 = lean_usize_of_nat(x_10); -x_18 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_registerEqnsInfo___spec__1(x_1, x_16, x_17); -if (x_18 == 0) +size_t x_17; size_t x_18; uint8_t x_19; +x_17 = 0; +x_18 = lean_usize_of_nat(x_11); +x_19 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_registerEqnsInfo___spec__1(x_1, x_17, x_18); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; +lean_object* x_20; lean_object* x_21; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -653,51 +677,52 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_11); -return x_20; +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_12); +return x_21; } else { -uint8_t x_21; lean_object* x_22; lean_object* x_71; +uint8_t x_22; lean_object* x_23; lean_object* x_72; lean_inc(x_8); lean_inc(x_6); -x_71 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_registerEqnsInfo___spec__4(x_1, x_16, x_17, x_5, x_6, x_7, x_8, x_11); -if (lean_obj_tag(x_71) == 0) +x_72 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_registerEqnsInfo___spec__4(x_1, x_17, x_18, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_72) == 0) { -lean_object* x_72; uint8_t x_73; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_unbox(x_72); +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_unbox(x_73); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -lean_dec(x_71); -x_75 = 1; -x_21 = x_75; -x_22 = x_74; -goto block_70; -} -else -{ -lean_object* x_76; uint8_t x_77; -x_76 = lean_ctor_get(x_71, 1); -lean_inc(x_76); -lean_dec(x_71); -x_77 = 0; -x_21 = x_77; +x_76 = 1; x_22 = x_76; -goto block_70; +x_23 = x_75; +goto block_71; +} +else +{ +lean_object* x_77; uint8_t x_78; +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_dec(x_72); +x_78 = 0; +x_22 = x_78; +x_23 = x_77; +goto block_71; } } else { -uint8_t x_78; +uint8_t x_79; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); @@ -705,194 +730,196 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_78 = !lean_is_exclusive(x_71); -if (x_78 == 0) +x_79 = !lean_is_exclusive(x_72); +if (x_79 == 0) { -return x_71; +return x_72; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_71, 0); -x_80 = lean_ctor_get(x_71, 1); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_72, 0); +x_81 = lean_ctor_get(x_72, 1); +lean_inc(x_81); lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_71); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_dec(x_72); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } -block_70: +block_71: { -if (x_21 == 0) +if (x_22 == 0) { -size_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; lean_object* x_35; lean_object* x_36; uint8_t x_66; -x_23 = lean_array_size(x_1); +size_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; uint8_t x_67; +x_24 = lean_array_size(x_1); lean_inc(x_1); -x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_23, x_16, x_1); -x_25 = lean_st_ref_take(x_8, x_22); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_24, x_17, x_1); +x_26 = lean_st_ref_take(x_8, x_23); +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_ctor_get(x_26, 0); +x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); -x_29 = lean_ctor_get(x_26, 1); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); -x_30 = lean_ctor_get(x_26, 2); +x_30 = lean_ctor_get(x_27, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_26, 3); +x_31 = lean_ctor_get(x_27, 2); lean_inc(x_31); -x_32 = lean_ctor_get(x_26, 5); +x_32 = lean_ctor_get(x_27, 3); lean_inc(x_32); -x_33 = lean_ctor_get(x_26, 6); +x_33 = lean_ctor_get(x_27, 5); lean_inc(x_33); -x_34 = lean_ctor_get(x_26, 7); +x_34 = lean_ctor_get(x_27, 6); lean_inc(x_34); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_35 = x_26; +x_35 = lean_ctor_get(x_27, 7); +lean_inc(x_35); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + lean_ctor_release(x_27, 3); + lean_ctor_release(x_27, 4); + lean_ctor_release(x_27, 5); + lean_ctor_release(x_27, 6); + lean_ctor_release(x_27, 7); + x_36 = x_27; } else { - lean_dec_ref(x_26); - x_35 = lean_box(0); + lean_dec_ref(x_27); + x_36 = lean_box(0); } -x_66 = lean_nat_dec_le(x_10, x_10); -lean_dec(x_10); -if (x_66 == 0) +x_67 = lean_nat_dec_le(x_11, x_11); +lean_dec(x_11); +if (x_67 == 0) { -lean_dec(x_24); +lean_dec(x_25); +lean_dec(x_10); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_36 = x_28; -goto block_65; +x_37 = x_29; +goto block_66; } else { -lean_object* x_67; -x_67 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3(x_2, x_3, x_4, x_24, x_1, x_16, x_17, x_28); +lean_object* x_68; +x_68 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3(x_2, x_3, x_4, x_10, x_25, x_1, x_17, x_18, x_29); lean_dec(x_1); -x_36 = x_67; -goto block_65; +x_37 = x_68; +goto block_66; } -block_65: +block_66: { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_37 = l_Lean_Elab_WF_registerEqnsInfo___closed__3; -if (lean_is_scalar(x_35)) { - x_38 = lean_alloc_ctor(0, 8, 0); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_38 = l_Lean_Elab_WF_registerEqnsInfo___closed__3; +if (lean_is_scalar(x_36)) { + x_39 = lean_alloc_ctor(0, 8, 0); } else { - x_38 = x_35; + x_39 = x_36; } -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_29); -lean_ctor_set(x_38, 2, x_30); -lean_ctor_set(x_38, 3, x_31); -lean_ctor_set(x_38, 4, x_37); -lean_ctor_set(x_38, 5, x_32); -lean_ctor_set(x_38, 6, x_33); -lean_ctor_set(x_38, 7, x_34); -x_39 = lean_st_ref_set(x_8, x_38, x_27); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_30); +lean_ctor_set(x_39, 2, x_31); +lean_ctor_set(x_39, 3, x_32); +lean_ctor_set(x_39, 4, x_38); +lean_ctor_set(x_39, 5, x_33); +lean_ctor_set(x_39, 6, x_34); +lean_ctor_set(x_39, 7, x_35); +x_40 = lean_st_ref_set(x_8, x_39, x_28); lean_dec(x_8); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_st_ref_take(x_6, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_st_ref_take(x_6, x_41); +x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); -lean_dec(x_41); -x_44 = !lean_is_exclusive(x_42); -if (x_44 == 0) +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = !lean_is_exclusive(x_43); +if (x_45 == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_ctor_get(x_42, 1); -lean_dec(x_45); -x_46 = l_Lean_Elab_WF_registerEqnsInfo___closed__4; -lean_ctor_set(x_42, 1, x_46); -x_47 = lean_st_ref_set(x_6, x_42, x_43); +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_43, 1); +lean_dec(x_46); +x_47 = l_Lean_Elab_WF_registerEqnsInfo___closed__4; +lean_ctor_set(x_43, 1, x_47); +x_48 = lean_st_ref_set(x_6, x_43, x_44); lean_dec(x_6); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) { -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_47, 0); -lean_dec(x_49); -x_50 = lean_box(0); -lean_ctor_set(x_47, 0, x_50); -return x_47; +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +x_51 = lean_box(0); +lean_ctor_set(x_48, 0, x_51); +return x_48; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -x_52 = lean_box(0); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -return x_53; +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_48, 1); +lean_inc(x_52); +lean_dec(x_48); +x_53 = lean_box(0); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +return x_54; } } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_54 = lean_ctor_get(x_42, 0); -x_55 = lean_ctor_get(x_42, 2); -x_56 = lean_ctor_get(x_42, 3); -x_57 = lean_ctor_get(x_42, 4); +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; +x_55 = lean_ctor_get(x_43, 0); +x_56 = lean_ctor_get(x_43, 2); +x_57 = lean_ctor_get(x_43, 3); +x_58 = lean_ctor_get(x_43, 4); +lean_inc(x_58); lean_inc(x_57); lean_inc(x_56); lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_42); -x_58 = l_Lean_Elab_WF_registerEqnsInfo___closed__4; -x_59 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_59, 0, x_54); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_55); -lean_ctor_set(x_59, 3, x_56); -lean_ctor_set(x_59, 4, x_57); -x_60 = lean_st_ref_set(x_6, x_59, x_43); +lean_dec(x_43); +x_59 = l_Lean_Elab_WF_registerEqnsInfo___closed__4; +x_60 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_60, 0, x_55); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_56); +lean_ctor_set(x_60, 3, x_57); +lean_ctor_set(x_60, 4, x_58); +x_61 = lean_st_ref_set(x_6, x_60, x_44); lean_dec(x_6); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_62 = x_60; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_63 = x_61; } else { - lean_dec_ref(x_60); - x_62 = lean_box(0); + lean_dec_ref(x_61); + x_63 = lean_box(0); } -x_63 = lean_box(0); -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(0, 2, 0); +x_64 = lean_box(0); +if (lean_is_scalar(x_63)) { + x_65 = lean_alloc_ctor(0, 2, 0); } else { - x_64 = x_62; + x_65 = x_63; } -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -return x_64; +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_62); +return x_65; } } } else { -lean_object* x_68; lean_object* x_69; +lean_object* x_69; lean_object* x_70; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); @@ -900,11 +927,11 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_68 = lean_box(0); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_22); -return x_69; +x_69 = lean_box(0); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_23); +return x_70; } } } @@ -938,17 +965,17 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_4, x return x_6; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___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) { _start: { -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_6); -lean_dec(x_6); +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_7); lean_dec(x_7); -x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); -lean_dec(x_5); -return x_11; +x_11 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_9); +lean_dec(x_6); +return x_12; } } LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_registerEqnsInfo___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -1245,7 +1272,7 @@ return x_64; } } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_293____closed__1() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_308____closed__1() { _start: { lean_object* x_1; @@ -1253,11 +1280,11 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_getEqnsFor_x3f), 6, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_293_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_308_(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_293____closed__1; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_308____closed__1; x_3 = l_Lean_Meta_registerGetEqnsFn(x_2, x_1); return x_3; } @@ -1268,6 +1295,7 @@ lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_obje lean_object* initialize_Lean_Elab_PreDefinition_Eqns(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_ArgsPacker_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_WF_Unfold(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(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_Lean_Elab_PreDefinition_WF_Eqns(uint8_t builtin, lean_object* w) { @@ -1292,6 +1320,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_WF_Unfold(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_FixedParams(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Init_Data_Array_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -1307,19 +1338,21 @@ l_Lean_Elab_WF_instInhabitedEqnInfo___closed__5 = _init_l_Lean_Elab_WF_instInhab lean_mark_persistent(l_Lean_Elab_WF_instInhabitedEqnInfo___closed__5); l_Lean_Elab_WF_instInhabitedEqnInfo___closed__6 = _init_l_Lean_Elab_WF_instInhabitedEqnInfo___closed__6(); lean_mark_persistent(l_Lean_Elab_WF_instInhabitedEqnInfo___closed__6); +l_Lean_Elab_WF_instInhabitedEqnInfo___closed__7 = _init_l_Lean_Elab_WF_instInhabitedEqnInfo___closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_instInhabitedEqnInfo___closed__7); l_Lean_Elab_WF_instInhabitedEqnInfo = _init_l_Lean_Elab_WF_instInhabitedEqnInfo(); lean_mark_persistent(l_Lean_Elab_WF_instInhabitedEqnInfo); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__1); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__2(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__2); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__3(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__3); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__4(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__4); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__5 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__5(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64____closed__5); -if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_64_(lean_io_mk_world()); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__1); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__2); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__3); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__4); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__5 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73____closed__5); +if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_73_(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); @@ -1334,9 +1367,9 @@ l_Lean_Elab_WF_registerEqnsInfo___closed__3 = _init_l_Lean_Elab_WF_registerEqnsI lean_mark_persistent(l_Lean_Elab_WF_registerEqnsInfo___closed__3); l_Lean_Elab_WF_registerEqnsInfo___closed__4 = _init_l_Lean_Elab_WF_registerEqnsInfo___closed__4(); lean_mark_persistent(l_Lean_Elab_WF_registerEqnsInfo___closed__4); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_293____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_293____closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_293____closed__1); -if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_293_(lean_io_mk_world()); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_308____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_308____closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_308____closed__1); +if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_308_(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 f4ec6681d6..e8799f90e5 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c @@ -14,18 +14,14 @@ extern "C" { #endif LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___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*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic(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_Fix___hyg_6____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___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_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__3; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___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*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___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_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__4; lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___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*); @@ -36,28 +32,37 @@ static lean_object* l_Lean_Elab_WF_assignSubsumed___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___rarg(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_mkFix___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___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*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2___boxed(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_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -static lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___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 uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___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_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___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*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__3; lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterPairsM___at_Lean_Elab_WF_assignSubsumed___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___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_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg___boxed(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_assignSubsumed___spec__3(lean_object*); +lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_groupGoalsByFunction___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*); +uint64_t lean_uint64_lor(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn(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_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___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_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__5(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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___rarg(lean_object*, 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*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___rarg(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_assignSubsumed___spec__3___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* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___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_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); @@ -65,33 +70,38 @@ static lean_object* l_Lean_Elab_WF_assignSubsumed___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___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* l_Lean_getRecAppSyntax_x3f(lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); extern uint8_t l_instInhabitedBool; lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_instMonadTermElabM; lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___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* l_Lean_replaceRef(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___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_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__9; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__1___closed__2; lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__6; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_casesOnSuffix; lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*); +static lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__5; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__1; static lean_object* l_Lean_Elab_WF_mkFix___lambda__1___closed__1; lean_object* l_Lean_Environment_find_x3f(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_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_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__5___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_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17(lean_object*, lean_object*); +static double l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___boxed(lean_object*); +static lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__1; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__2; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__8; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_groupGoalsByFunction___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__1___closed__1; @@ -100,310 +110,503 @@ lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__1; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___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_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___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_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___spec__2___rarg(lean_object*, lean_object*, lean_object*, uint8_t, 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_Fix___hyg_6____closed__5; lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___spec__3___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_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__2; +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___boxed(lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_solveDecreasingGoals(lean_object*, 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__10___boxed(lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14(lean_object*, lean_object*, lean_object*, lean_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_solveDecreasingGoals(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_debug_definition_wf_replaceRecApps; +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___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*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_containsRecFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_run(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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___boxed(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processApp(lean_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_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___boxed(lean_object*); -static lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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*); extern lean_object* l_instInhabitedPUnit; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__10; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___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_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___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_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2___boxed(lean_object*); +static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___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_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__3; +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__4; 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*); +lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___boxed(lean_object*); extern lean_object* l_Lean_instInhabitedMVarId; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___rarg(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_assignSubsumed___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___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_EXPORT lean_object* l_Lean_Elab_WF_mkFix___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*); size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___boxed(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_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg___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_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___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_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___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* l_Lean_Name_mkStr7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___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* 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*); +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___rarg___boxed(lean_object*, 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_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___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*); +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t lean_uint64_shift_right(uint64_t, uint64_t); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___lambda__2___closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__4; +lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___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_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix(lean_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_mkFix(lean_object*, lean_object*, 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_Elab_WF_mkFix___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*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___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*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___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_assignSubsumed___lambda__3___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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* 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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__2; lean_object* l_Lean_Name_getPrefix(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__7; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__1; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___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_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___boxed(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_groupGoalsByFunction___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_WF_assignSubsumed___lambda__1(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_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__19(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*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___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_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___spec__2(lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__5; static lean_object* l_Lean_Elab_WF_assignSubsumed___lambda__3___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__4; static lean_object* l_Lean_Elab_WF_mkFix___lambda__1___closed__5; -static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__6; lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9(lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__5___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_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___lambda__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop(lean_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_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_assignSubsumed___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkRecAppWithSyntax(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11(lean_object*); lean_object* lean_array_to_list(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___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_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___spec__2___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* l_Lean_throwError___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__50(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___spec__1___rarg(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_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___rarg___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_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___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_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___boxed(lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__3; +static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___rarg___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_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__4; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__4; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___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*); -static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__5; +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_HasConstCache_containsUnsafe(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__5; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___rarg(lean_object*, lean_object*, 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*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__15(lean_object*, lean_object*, lean_object*, 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_forIn_x27Unsafe_loop___at_Lean_Elab_WF_groupGoalsByFunction___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_WF_assignSubsumed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_groupGoalsByFunction___spec__1___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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*); +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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_WF_mkFix___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___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__4; lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__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*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___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_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___spec__1___rarg___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_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(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_loopGo___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__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_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_groupGoalsByFunction(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_WF_Fix_0__Lean_Elab_WF_replaceRecApps(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_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_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_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__19(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_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___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_EXPORT lean_object* l_Lean_Elab_WF_mkFix___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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___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*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mkFix___lambda__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___boxed(lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___rarg___boxed(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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8(lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___spec__1(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_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___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_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21(lean_object*, lean_object*); +static uint64_t l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__2; lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___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_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___boxed(lean_object*); +lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_solveDecreasingGoals___spec__2(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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processApp___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___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*); +double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___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_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8(lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3(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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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*); +static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__15(lean_object*, lean_object*, lean_object*, lean_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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___boxed(lean_object*); +lean_object* l_Lean_Meta_addPPExplicitToExposeDiff(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processApp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___boxed(lean_object*, lean_object*); uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___boxed(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_solveDecreasingGoals___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_solveDecreasingGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_assignSubsumed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constLevels_x21(lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13(lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7(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*); -static lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_MVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___boxed__const__1; +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__4; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3(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_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg___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_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__1(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_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__1; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mkFix___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__1___boxed(lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg_x3f(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_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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_EXPORT lean_object* l_Lean_Elab_WF_assignSubsumed___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12(lean_object*); +static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___closed__1; lean_object* l_Lean_Meta_getMVarsNoDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10___rarg(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_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo(lean_object*, 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*); -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___boxed(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_Elab_WF_mkFix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_toExpr(lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___rarg___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_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___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_panic_fn(lean_object*, lean_object*); 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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___rarg(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_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn(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_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__3; lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_containsRecFn(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_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_groupGoalsByFunction___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*); +uint64_t lean_uint64_shift_left(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__2; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___rarg(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_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__3; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___boxed(lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__11; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___spec__2(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___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_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___rarg(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_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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_array_mk(lean_object*); -static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___spec__4___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* l_Lean_isTracingEnabledForCore(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__6; lean_object* l_Lean_Elab_ensureNoRecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_assignSubsumed___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo(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_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___spec__4(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__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*, 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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___spec__1___closed__1; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__12; lean_object* l_Lean_Meta_ArgsPacker_unpack(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(lean_object*, uint8_t, 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*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___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*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__2; +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6_(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterPairsM___at_Lean_Elab_WF_assignSubsumed___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, 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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10(lean_object*); +static lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__1; 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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec(lean_object*, 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_Tactic_setGoals(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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___boxed(lean_object*); +uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterPairsM___at_Lean_Elab_WF_assignSubsumed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_assignSubsumed___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_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_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*); -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14(lean_object*, lean_object*, lean_object*, lean_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_Elab_WF_solveDecreasingGoals___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__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_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___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_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___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* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_InductiveVal_numCtors(lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___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_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___boxed(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___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_expr_instantiate1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___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*); static lean_object* l_Lean_Elab_WF_mkFix___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___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*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_assignSubsumed___spec__2___rarg___lambda__1(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_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___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_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mkFix___lambda__1___closed__3; +static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__3; lean_object* l_Lean_Meta_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2___rarg___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_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__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_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__7; +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___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* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___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_Fix___hyg_6____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("definition", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__3() { +_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_Fix___hyg_6____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("replaceRecApps", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____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_Fix___hyg_6____closed__1; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__2; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__3; +x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____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_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6() { +_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_Fix___hyg_6____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Type check every step of the well-founded definition translation", 64, 64); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__8() { +_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_Fix___hyg_6____closed__6; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__7; +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_Fix___hyg_6____closed__9() { +_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_Fix___hyg_6____closed__10() { +_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_Fix___hyg_6____closed__11() { +_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_Fix___hyg_6____closed__12() { +_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_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__9; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__10; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__11; +x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__1; +x_5 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__2; +x_6 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__3; +x_7 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__4; +x_8 = l_Lean_Name_mkStr7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___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_Fix___hyg_6____closed__5; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__8; +x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__12; +x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_4, x_1); +return x_5; +} +} static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1() { _start: { @@ -685,6 +888,430 @@ return x_30; } } } +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___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, 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); +x_11 = l_Lean_isTracingEnabledForCore(x_1, x_10, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___rarg___boxed), 9, 0); +return x_2; +} +} +static double _init_l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; double x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = 0; +x_3 = l_Float_ofScientific(x_1, x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_11 = lean_ctor_get(x_8, 5); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, 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_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_st_ref_take(x_9, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_15, 1); +x_20 = lean_ctor_get(x_15, 0); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_16, 3); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_17); +if (x_23 == 0) +{ +lean_object* x_24; double x_25; 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; uint8_t x_33; +x_24 = lean_ctor_get(x_17, 0); +x_25 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___closed__1; +x_26 = 0; +x_27 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6; +x_28 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set_float(x_28, sizeof(void*)*2, x_25); +lean_ctor_set_float(x_28, sizeof(void*)*2 + 8, x_25); +lean_ctor_set_uint8(x_28, sizeof(void*)*2 + 16, x_26); +x_29 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1; +x_30 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_13); +lean_ctor_set(x_30, 2, x_29); +lean_inc(x_11); +lean_ctor_set(x_15, 1, x_30); +lean_ctor_set(x_15, 0, x_11); +x_31 = l_Lean_PersistentArray_push___rarg(x_24, x_15); +lean_ctor_set(x_17, 0, x_31); +x_32 = lean_st_ref_set(x_9, x_16, x_19); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +x_35 = lean_box(0); +lean_ctor_set(x_32, 0, x_35); +return x_32; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +else +{ +uint64_t x_39; lean_object* x_40; double x_41; uint8_t 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; +x_39 = lean_ctor_get_uint64(x_17, sizeof(void*)*1); +x_40 = lean_ctor_get(x_17, 0); +lean_inc(x_40); +lean_dec(x_17); +x_41 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___closed__1; +x_42 = 0; +x_43 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6; +x_44 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_44, 0, x_1); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set_float(x_44, sizeof(void*)*2, x_41); +lean_ctor_set_float(x_44, sizeof(void*)*2 + 8, x_41); +lean_ctor_set_uint8(x_44, sizeof(void*)*2 + 16, x_42); +x_45 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1; +x_46 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_13); +lean_ctor_set(x_46, 2, x_45); +lean_inc(x_11); +lean_ctor_set(x_15, 1, x_46); +lean_ctor_set(x_15, 0, x_11); +x_47 = l_Lean_PersistentArray_push___rarg(x_40, x_15); +x_48 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set_uint64(x_48, sizeof(void*)*1, x_39); +lean_ctor_set(x_16, 3, x_48); +x_49 = lean_st_ref_set(x_9, x_16, x_19); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_51 = x_49; +} else { + lean_dec_ref(x_49); + x_51 = lean_box(0); +} +x_52 = lean_box(0); +if (lean_is_scalar(x_51)) { + x_53 = lean_alloc_ctor(0, 2, 0); +} else { + x_53 = x_51; +} +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_50); +return x_53; +} +} +else +{ +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; uint64_t x_61; lean_object* x_62; lean_object* x_63; double 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; lean_object* x_76; lean_object* x_77; +x_54 = lean_ctor_get(x_16, 0); +x_55 = lean_ctor_get(x_16, 1); +x_56 = lean_ctor_get(x_16, 2); +x_57 = lean_ctor_get(x_16, 4); +x_58 = lean_ctor_get(x_16, 5); +x_59 = lean_ctor_get(x_16, 6); +x_60 = lean_ctor_get(x_16, 7); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_16); +x_61 = lean_ctor_get_uint64(x_17, sizeof(void*)*1); +x_62 = lean_ctor_get(x_17, 0); +lean_inc(x_62); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_63 = x_17; +} else { + lean_dec_ref(x_17); + x_63 = lean_box(0); +} +x_64 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___closed__1; +x_65 = 0; +x_66 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6; +x_67 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_67, 0, x_1); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set_float(x_67, sizeof(void*)*2, x_64); +lean_ctor_set_float(x_67, sizeof(void*)*2 + 8, x_64); +lean_ctor_set_uint8(x_67, sizeof(void*)*2 + 16, x_65); +x_68 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1; +x_69 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_13); +lean_ctor_set(x_69, 2, x_68); +lean_inc(x_11); +lean_ctor_set(x_15, 1, x_69); +lean_ctor_set(x_15, 0, x_11); +x_70 = l_Lean_PersistentArray_push___rarg(x_62, x_15); +if (lean_is_scalar(x_63)) { + x_71 = lean_alloc_ctor(0, 1, 8); +} else { + x_71 = x_63; +} +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set_uint64(x_71, sizeof(void*)*1, x_61); +x_72 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_72, 0, x_54); +lean_ctor_set(x_72, 1, x_55); +lean_ctor_set(x_72, 2, x_56); +lean_ctor_set(x_72, 3, x_71); +lean_ctor_set(x_72, 4, x_57); +lean_ctor_set(x_72, 5, x_58); +lean_ctor_set(x_72, 6, x_59); +lean_ctor_set(x_72, 7, x_60); +x_73 = lean_st_ref_set(x_9, x_72, x_19); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; +} else { + lean_dec_ref(x_73); + x_75 = lean_box(0); +} +x_76 = lean_box(0); +if (lean_is_scalar(x_75)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_75; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +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; uint64_t x_87; lean_object* x_88; lean_object* x_89; double x_90; uint8_t 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; +x_78 = lean_ctor_get(x_15, 1); +lean_inc(x_78); +lean_dec(x_15); +x_79 = lean_ctor_get(x_16, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_16, 1); +lean_inc(x_80); +x_81 = lean_ctor_get(x_16, 2); +lean_inc(x_81); +x_82 = lean_ctor_get(x_16, 4); +lean_inc(x_82); +x_83 = lean_ctor_get(x_16, 5); +lean_inc(x_83); +x_84 = lean_ctor_get(x_16, 6); +lean_inc(x_84); +x_85 = lean_ctor_get(x_16, 7); +lean_inc(x_85); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + lean_ctor_release(x_16, 6); + lean_ctor_release(x_16, 7); + x_86 = x_16; +} else { + lean_dec_ref(x_16); + x_86 = lean_box(0); +} +x_87 = lean_ctor_get_uint64(x_17, sizeof(void*)*1); +x_88 = lean_ctor_get(x_17, 0); +lean_inc(x_88); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_89 = x_17; +} else { + lean_dec_ref(x_17); + x_89 = lean_box(0); +} +x_90 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___closed__1; +x_91 = 0; +x_92 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6; +x_93 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_93, 0, x_1); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set_float(x_93, sizeof(void*)*2, x_90); +lean_ctor_set_float(x_93, sizeof(void*)*2 + 8, x_90); +lean_ctor_set_uint8(x_93, sizeof(void*)*2 + 16, x_91); +x_94 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1; +x_95 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_13); +lean_ctor_set(x_95, 2, x_94); +lean_inc(x_11); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_11); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_Lean_PersistentArray_push___rarg(x_88, x_96); +if (lean_is_scalar(x_89)) { + x_98 = lean_alloc_ctor(0, 1, 8); +} else { + x_98 = x_89; +} +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set_uint64(x_98, sizeof(void*)*1, x_87); +if (lean_is_scalar(x_86)) { + x_99 = lean_alloc_ctor(0, 8, 0); +} else { + x_99 = x_86; +} +lean_ctor_set(x_99, 0, x_79); +lean_ctor_set(x_99, 1, x_80); +lean_ctor_set(x_99, 2, x_81); +lean_ctor_set(x_99, 3, x_98); +lean_ctor_set(x_99, 4, x_82); +lean_ctor_set(x_99, 5, x_83); +lean_ctor_set(x_99, 6, x_84); +lean_ctor_set(x_99, 7, x_85); +x_100 = lean_st_ref_set(x_9, x_99, x_78); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_102 = x_100; +} else { + lean_dec_ref(x_100); + x_102 = lean_box(0); +} +x_103 = lean_box(0); +if (lean_is_scalar(x_102)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_102; +} +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_101); +return x_104; +} +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___boxed), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_14 = l_Lean_Meta_etaExpand(x_1, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop(x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_17; +} +else +{ +uint8_t x_18; +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_4); +lean_dec(x_3); +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +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; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__1() { _start: { @@ -694,6 +1321,43 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__10; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__2; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("replaceRecApp: eta-expanding", 28, 28); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec(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: { @@ -983,51 +1647,634 @@ return x_71; } else { -lean_object* x_72; +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_dec(x_16); lean_dec(x_14); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_72 = l_Lean_Meta_etaExpand(x_4, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); +x_72 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__2; +x_73 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___rarg(x_72, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -lean_dec(x_72); -x_75 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop(x_1, x_2, x_3, x_73, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_74); -return x_75; +x_75 = lean_unbox(x_74); +lean_dec(x_74); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_73, 1); +lean_inc(x_76); +lean_dec(x_73); +x_77 = lean_box(0); +x_78 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___lambda__1(x_4, x_1, x_2, x_3, x_77, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_76); +return x_78; } else { -uint8_t x_76; +uint8_t x_79; +x_79 = !lean_is_exclusive(x_73); +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; lean_object* x_88; lean_object* x_89; +x_80 = lean_ctor_get(x_73, 1); +x_81 = lean_ctor_get(x_73, 0); +lean_dec(x_81); +lean_inc(x_4); +x_82 = l_Lean_indentExpr(x_4); +x_83 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__4; +lean_ctor_set_tag(x_73, 7); +lean_ctor_set(x_73, 1, x_82); +lean_ctor_set(x_73, 0, x_83); +x_84 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; +x_85 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_85, 0, x_73); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg(x_72, x_85, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_80); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___lambda__1(x_4, x_1, x_2, x_3, x_87, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_88); +lean_dec(x_87); +return x_89; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_90 = lean_ctor_get(x_73, 1); +lean_inc(x_90); +lean_dec(x_73); +lean_inc(x_4); +x_91 = l_Lean_indentExpr(x_4); +x_92 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__4; +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; +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_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg(x_72, x_95, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_90); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___lambda__1(x_4, x_1, x_2, x_3, x_97, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_98); +lean_dec(x_97); +return x_99; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___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, 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, 5); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +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, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, 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); -lean_dec(x_10); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___rarg___boxed), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___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, 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, 5); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +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, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, 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); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg___boxed), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +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_11 = lean_apply_8(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; 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); +lean_dec(x_11); +x_14 = lean_apply_9(x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_14; +} +else +{ +uint8_t x_15; 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_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_11); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___rarg), 10, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_apply_3(x_1, x_3, x_4, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(x_2, x_11, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg___boxed), 10, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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; +x_9 = l_Lean_Meta_isTypeCorrect(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Type not preserved transforming", 31, 31); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\nto", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\nType was", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\nand now is", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_1); +x_13 = lean_infer_type(x_1, 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; +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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_16 = lean_infer_type(x_2, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_17); +lean_inc(x_14); +x_19 = l_Lean_Meta_isExprDefEq(x_14, x_17, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_23 = l_Lean_Meta_addPPExplicitToExposeDiff(x_14, x_17, x_8, x_9, x_10, x_11, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = !lean_is_exclusive(x_24); +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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_27 = lean_ctor_get(x_24, 0); +x_28 = lean_ctor_get(x_24, 1); +x_29 = l_Lean_indentExpr(x_1); +x_30 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__2; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_29); +lean_ctor_set(x_24, 0, x_30); +x_31 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__4; +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_indentExpr(x_2); +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_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__6; +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_indentExpr(x_27); +x_38 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__8; +x_40 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_indentExpr(x_28); +x_42 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___rarg(x_44, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_45; +} +else +{ +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; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_24); +x_48 = l_Lean_indentExpr(x_1); +x_49 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__2; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__4; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_indentExpr(x_2); +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__6; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_indentExpr(x_46); +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__8; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_indentExpr(x_47); +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; +x_64 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___rarg(x_64, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); lean_dec(x_1); -x_76 = !lean_is_exclusive(x_72); +x_66 = !lean_is_exclusive(x_23); +if (x_66 == 0) +{ +return x_23; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_23, 0); +x_68 = lean_ctor_get(x_23, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_23); +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_70; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_70 = !lean_is_exclusive(x_19); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_19, 0); +lean_dec(x_71); +x_72 = lean_box(0); +lean_ctor_set(x_19, 0, x_72); +return x_19; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_19, 1); +lean_inc(x_73); +lean_dec(x_19); +x_74 = lean_box(0); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +} +} +else +{ +uint8_t x_76; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_76 = !lean_is_exclusive(x_19); if (x_76 == 0) { -return x_72; +return x_19; } else { lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_72, 0); -x_78 = lean_ctor_get(x_72, 1); +x_77 = lean_ctor_get(x_19, 0); +x_78 = lean_ctor_get(x_19, 1); lean_inc(x_78); lean_inc(x_77); -lean_dec(x_72); +lean_dec(x_19); x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); @@ -1035,9 +2282,751 @@ return x_79; } } } +else +{ +uint8_t x_80; +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_80 = !lean_is_exclusive(x_16); +if (x_80 == 0) +{ +return x_16; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_16, 0); +x_82 = lean_ctor_get(x_16, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_16); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +} +else +{ +uint8_t x_84; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_84 = !lean_is_exclusive(x_13); +if (x_84 == 0) +{ +return x_13; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_13, 0); +x_86 = lean_ctor_get(x_13, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_13); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Type error introduced when transforming", 39, 39); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (x_4 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_13 = l_Lean_indentExpr(x_1); +x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__2; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__4; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_indentExpr(x_2); +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +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_object* x_28; +x_27 = lean_box(0); +x_28 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3(x_1, x_2, x_3, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_28; +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_WF_debug_definition_wf_replaceRecApps; +return x_1; +} +} +static uint64_t _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__2() { +_start: +{ +uint8_t x_1; uint64_t x_2; +x_1 = 0; +x_2 = l_Lean_Meta_TransparencyMode_toUInt64(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_13 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = lean_ctor_get(x_10, 2); +lean_inc(x_17); +x_18 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__1; +x_19 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_17, x_18); +lean_dec(x_17); +if (x_19 == 0) +{ +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); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_free_object(x_13); +lean_inc(x_15); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2___boxed), 8, 1); +lean_closure_set(x_20, 0, x_15); +x_21 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_21, 0, x_20); +lean_inc(x_15); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___boxed), 12, 3); +lean_closure_set(x_22, 0, x_4); +lean_closure_set(x_22, 1, x_15); +lean_closure_set(x_22, 2, x_1); +x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___rarg), 10, 2); +lean_closure_set(x_23, 0, x_21); +lean_closure_set(x_23, 1, x_22); +x_24 = !lean_is_exclusive(x_8); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_8, 0); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +uint64_t x_27; uint8_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; uint64_t x_33; uint8_t x_34; lean_object* x_35; +x_27 = lean_ctor_get_uint64(x_8, sizeof(void*)*7); +x_28 = 0; +lean_ctor_set_uint8(x_25, 9, x_28); +x_29 = 2; +x_30 = lean_uint64_shift_right(x_27, x_29); +x_31 = lean_uint64_shift_left(x_30, x_29); +x_32 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__2; +x_33 = lean_uint64_lor(x_31, x_32); +lean_ctor_set_uint64(x_8, sizeof(void*)*7, x_33); +x_34 = 0; +x_35 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(x_23, x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +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; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_15); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_15); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_15); +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) +{ +return x_35; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_35, 0); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_35); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint64_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; uint8_t x_56; uint8_t x_57; uint8_t x_58; uint8_t x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; lean_object* x_63; uint64_t x_64; uint64_t x_65; uint64_t x_66; uint64_t x_67; uint64_t x_68; uint8_t x_69; lean_object* x_70; +x_44 = lean_ctor_get_uint64(x_8, sizeof(void*)*7); +x_45 = lean_ctor_get_uint8(x_25, 0); +x_46 = lean_ctor_get_uint8(x_25, 1); +x_47 = lean_ctor_get_uint8(x_25, 2); +x_48 = lean_ctor_get_uint8(x_25, 3); +x_49 = lean_ctor_get_uint8(x_25, 4); +x_50 = lean_ctor_get_uint8(x_25, 5); +x_51 = lean_ctor_get_uint8(x_25, 6); +x_52 = lean_ctor_get_uint8(x_25, 7); +x_53 = lean_ctor_get_uint8(x_25, 8); +x_54 = lean_ctor_get_uint8(x_25, 10); +x_55 = lean_ctor_get_uint8(x_25, 11); +x_56 = lean_ctor_get_uint8(x_25, 12); +x_57 = lean_ctor_get_uint8(x_25, 13); +x_58 = lean_ctor_get_uint8(x_25, 14); +x_59 = lean_ctor_get_uint8(x_25, 15); +x_60 = lean_ctor_get_uint8(x_25, 16); +x_61 = lean_ctor_get_uint8(x_25, 17); +lean_dec(x_25); +x_62 = 0; +x_63 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_63, 0, x_45); +lean_ctor_set_uint8(x_63, 1, x_46); +lean_ctor_set_uint8(x_63, 2, x_47); +lean_ctor_set_uint8(x_63, 3, x_48); +lean_ctor_set_uint8(x_63, 4, x_49); +lean_ctor_set_uint8(x_63, 5, x_50); +lean_ctor_set_uint8(x_63, 6, x_51); +lean_ctor_set_uint8(x_63, 7, x_52); +lean_ctor_set_uint8(x_63, 8, x_53); +lean_ctor_set_uint8(x_63, 9, x_62); +lean_ctor_set_uint8(x_63, 10, x_54); +lean_ctor_set_uint8(x_63, 11, x_55); +lean_ctor_set_uint8(x_63, 12, x_56); +lean_ctor_set_uint8(x_63, 13, x_57); +lean_ctor_set_uint8(x_63, 14, x_58); +lean_ctor_set_uint8(x_63, 15, x_59); +lean_ctor_set_uint8(x_63, 16, x_60); +lean_ctor_set_uint8(x_63, 17, x_61); +x_64 = 2; +x_65 = lean_uint64_shift_right(x_44, x_64); +x_66 = lean_uint64_shift_left(x_65, x_64); +x_67 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__2; +x_68 = lean_uint64_lor(x_66, x_67); +lean_ctor_set(x_8, 0, x_63); +lean_ctor_set_uint64(x_8, sizeof(void*)*7, x_68); +x_69 = 0; +x_70 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(x_23, x_69, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_72 = x_70; +} else { + lean_dec_ref(x_70); + x_72 = lean_box(0); +} +if (lean_is_scalar(x_72)) { + x_73 = lean_alloc_ctor(0, 2, 0); +} else { + x_73 = x_72; +} +lean_ctor_set(x_73, 0, x_15); +lean_ctor_set(x_73, 1, x_71); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_15); +x_74 = lean_ctor_get(x_70, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_76 = x_70; +} else { + lean_dec_ref(x_70); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +} +else +{ +lean_object* x_78; uint64_t x_79; uint8_t 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; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; uint8_t x_102; uint8_t x_103; uint8_t x_104; uint8_t x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; uint64_t x_109; uint64_t x_110; uint64_t x_111; uint64_t x_112; uint64_t x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; +x_78 = lean_ctor_get(x_8, 0); +x_79 = lean_ctor_get_uint64(x_8, sizeof(void*)*7); +x_80 = lean_ctor_get_uint8(x_8, sizeof(void*)*7 + 8); +x_81 = lean_ctor_get(x_8, 1); +x_82 = lean_ctor_get(x_8, 2); +x_83 = lean_ctor_get(x_8, 3); +x_84 = lean_ctor_get(x_8, 4); +x_85 = lean_ctor_get(x_8, 5); +x_86 = lean_ctor_get(x_8, 6); +x_87 = lean_ctor_get_uint8(x_8, sizeof(void*)*7 + 9); +x_88 = lean_ctor_get_uint8(x_8, sizeof(void*)*7 + 10); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_78); +lean_dec(x_8); +x_89 = lean_ctor_get_uint8(x_78, 0); +x_90 = lean_ctor_get_uint8(x_78, 1); +x_91 = lean_ctor_get_uint8(x_78, 2); +x_92 = lean_ctor_get_uint8(x_78, 3); +x_93 = lean_ctor_get_uint8(x_78, 4); +x_94 = lean_ctor_get_uint8(x_78, 5); +x_95 = lean_ctor_get_uint8(x_78, 6); +x_96 = lean_ctor_get_uint8(x_78, 7); +x_97 = lean_ctor_get_uint8(x_78, 8); +x_98 = lean_ctor_get_uint8(x_78, 10); +x_99 = lean_ctor_get_uint8(x_78, 11); +x_100 = lean_ctor_get_uint8(x_78, 12); +x_101 = lean_ctor_get_uint8(x_78, 13); +x_102 = lean_ctor_get_uint8(x_78, 14); +x_103 = lean_ctor_get_uint8(x_78, 15); +x_104 = lean_ctor_get_uint8(x_78, 16); +x_105 = lean_ctor_get_uint8(x_78, 17); +if (lean_is_exclusive(x_78)) { + x_106 = x_78; +} else { + lean_dec_ref(x_78); + x_106 = lean_box(0); +} +x_107 = 0; +if (lean_is_scalar(x_106)) { + x_108 = lean_alloc_ctor(0, 0, 18); +} else { + x_108 = x_106; +} +lean_ctor_set_uint8(x_108, 0, x_89); +lean_ctor_set_uint8(x_108, 1, x_90); +lean_ctor_set_uint8(x_108, 2, x_91); +lean_ctor_set_uint8(x_108, 3, x_92); +lean_ctor_set_uint8(x_108, 4, x_93); +lean_ctor_set_uint8(x_108, 5, x_94); +lean_ctor_set_uint8(x_108, 6, x_95); +lean_ctor_set_uint8(x_108, 7, x_96); +lean_ctor_set_uint8(x_108, 8, x_97); +lean_ctor_set_uint8(x_108, 9, x_107); +lean_ctor_set_uint8(x_108, 10, x_98); +lean_ctor_set_uint8(x_108, 11, x_99); +lean_ctor_set_uint8(x_108, 12, x_100); +lean_ctor_set_uint8(x_108, 13, x_101); +lean_ctor_set_uint8(x_108, 14, x_102); +lean_ctor_set_uint8(x_108, 15, x_103); +lean_ctor_set_uint8(x_108, 16, x_104); +lean_ctor_set_uint8(x_108, 17, x_105); +x_109 = 2; +x_110 = lean_uint64_shift_right(x_79, x_109); +x_111 = lean_uint64_shift_left(x_110, x_109); +x_112 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__2; +x_113 = lean_uint64_lor(x_111, x_112); +x_114 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_114, 0, x_108); +lean_ctor_set(x_114, 1, x_81); +lean_ctor_set(x_114, 2, x_82); +lean_ctor_set(x_114, 3, x_83); +lean_ctor_set(x_114, 4, x_84); +lean_ctor_set(x_114, 5, x_85); +lean_ctor_set(x_114, 6, x_86); +lean_ctor_set_uint64(x_114, sizeof(void*)*7, x_113); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 8, x_80); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 9, x_87); +lean_ctor_set_uint8(x_114, sizeof(void*)*7 + 10, x_88); +x_115 = 0; +x_116 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(x_23, x_115, x_5, x_6, x_7, x_114, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_118 = x_116; +} else { + lean_dec_ref(x_116); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_118; +} +lean_ctor_set(x_119, 0, x_15); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_15); +x_120 = lean_ctor_get(x_116, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_116, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_122 = x_116; +} else { + lean_dec_ref(x_116); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +x_124 = lean_ctor_get(x_13, 0); +x_125 = lean_ctor_get(x_13, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_13); +x_126 = lean_ctor_get(x_10, 2); +lean_inc(x_126); +x_127 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__1; +x_128 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_126, x_127); +lean_dec(x_126); +if (x_128 == 0) +{ +lean_object* x_129; +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_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_124); +lean_ctor_set(x_129, 1, x_125); +return x_129; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint64_t x_135; uint8_t 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; uint8_t x_144; lean_object* x_145; uint8_t x_146; uint8_t x_147; uint8_t x_148; uint8_t x_149; uint8_t x_150; uint8_t x_151; uint8_t x_152; uint8_t x_153; uint8_t x_154; uint8_t x_155; uint8_t x_156; uint8_t x_157; uint8_t x_158; uint8_t x_159; uint8_t x_160; uint8_t x_161; uint8_t x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; uint64_t x_166; uint64_t x_167; uint64_t x_168; uint64_t x_169; uint64_t x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; +lean_inc(x_124); +x_130 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2___boxed), 8, 1); +lean_closure_set(x_130, 0, x_124); +x_131 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_131, 0, x_130); +lean_inc(x_124); +x_132 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___boxed), 12, 3); +lean_closure_set(x_132, 0, x_4); +lean_closure_set(x_132, 1, x_124); +lean_closure_set(x_132, 2, x_1); +x_133 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___rarg), 10, 2); +lean_closure_set(x_133, 0, x_131); +lean_closure_set(x_133, 1, x_132); +x_134 = lean_ctor_get(x_8, 0); +lean_inc(x_134); +x_135 = lean_ctor_get_uint64(x_8, sizeof(void*)*7); +x_136 = lean_ctor_get_uint8(x_8, sizeof(void*)*7 + 8); +x_137 = lean_ctor_get(x_8, 1); +lean_inc(x_137); +x_138 = lean_ctor_get(x_8, 2); +lean_inc(x_138); +x_139 = lean_ctor_get(x_8, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_8, 4); +lean_inc(x_140); +x_141 = lean_ctor_get(x_8, 5); +lean_inc(x_141); +x_142 = lean_ctor_get(x_8, 6); +lean_inc(x_142); +x_143 = lean_ctor_get_uint8(x_8, sizeof(void*)*7 + 9); +x_144 = lean_ctor_get_uint8(x_8, sizeof(void*)*7 + 10); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + lean_ctor_release(x_8, 3); + lean_ctor_release(x_8, 4); + lean_ctor_release(x_8, 5); + lean_ctor_release(x_8, 6); + x_145 = x_8; +} else { + lean_dec_ref(x_8); + x_145 = lean_box(0); +} +x_146 = lean_ctor_get_uint8(x_134, 0); +x_147 = lean_ctor_get_uint8(x_134, 1); +x_148 = lean_ctor_get_uint8(x_134, 2); +x_149 = lean_ctor_get_uint8(x_134, 3); +x_150 = lean_ctor_get_uint8(x_134, 4); +x_151 = lean_ctor_get_uint8(x_134, 5); +x_152 = lean_ctor_get_uint8(x_134, 6); +x_153 = lean_ctor_get_uint8(x_134, 7); +x_154 = lean_ctor_get_uint8(x_134, 8); +x_155 = lean_ctor_get_uint8(x_134, 10); +x_156 = lean_ctor_get_uint8(x_134, 11); +x_157 = lean_ctor_get_uint8(x_134, 12); +x_158 = lean_ctor_get_uint8(x_134, 13); +x_159 = lean_ctor_get_uint8(x_134, 14); +x_160 = lean_ctor_get_uint8(x_134, 15); +x_161 = lean_ctor_get_uint8(x_134, 16); +x_162 = lean_ctor_get_uint8(x_134, 17); +if (lean_is_exclusive(x_134)) { + x_163 = x_134; +} else { + lean_dec_ref(x_134); + x_163 = lean_box(0); +} +x_164 = 0; +if (lean_is_scalar(x_163)) { + x_165 = lean_alloc_ctor(0, 0, 18); +} else { + x_165 = x_163; +} +lean_ctor_set_uint8(x_165, 0, x_146); +lean_ctor_set_uint8(x_165, 1, x_147); +lean_ctor_set_uint8(x_165, 2, x_148); +lean_ctor_set_uint8(x_165, 3, x_149); +lean_ctor_set_uint8(x_165, 4, x_150); +lean_ctor_set_uint8(x_165, 5, x_151); +lean_ctor_set_uint8(x_165, 6, x_152); +lean_ctor_set_uint8(x_165, 7, x_153); +lean_ctor_set_uint8(x_165, 8, x_154); +lean_ctor_set_uint8(x_165, 9, x_164); +lean_ctor_set_uint8(x_165, 10, x_155); +lean_ctor_set_uint8(x_165, 11, x_156); +lean_ctor_set_uint8(x_165, 12, x_157); +lean_ctor_set_uint8(x_165, 13, x_158); +lean_ctor_set_uint8(x_165, 14, x_159); +lean_ctor_set_uint8(x_165, 15, x_160); +lean_ctor_set_uint8(x_165, 16, x_161); +lean_ctor_set_uint8(x_165, 17, x_162); +x_166 = 2; +x_167 = lean_uint64_shift_right(x_135, x_166); +x_168 = lean_uint64_shift_left(x_167, x_166); +x_169 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__2; +x_170 = lean_uint64_lor(x_168, x_169); +if (lean_is_scalar(x_145)) { + x_171 = lean_alloc_ctor(0, 7, 11); +} else { + x_171 = x_145; +} +lean_ctor_set(x_171, 0, x_165); +lean_ctor_set(x_171, 1, x_137); +lean_ctor_set(x_171, 2, x_138); +lean_ctor_set(x_171, 3, x_139); +lean_ctor_set(x_171, 4, x_140); +lean_ctor_set(x_171, 5, x_141); +lean_ctor_set(x_171, 6, x_142); +lean_ctor_set_uint64(x_171, sizeof(void*)*7, x_170); +lean_ctor_set_uint8(x_171, sizeof(void*)*7 + 8, x_136); +lean_ctor_set_uint8(x_171, sizeof(void*)*7 + 9, x_143); +lean_ctor_set_uint8(x_171, sizeof(void*)*7 + 10, x_144); +x_172 = 0; +x_173 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(x_133, x_172, x_5, x_6, x_7, x_171, x_9, x_10, x_11, x_125); +if (lean_obj_tag(x_173) == 0) +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_175 = x_173; +} else { + lean_dec_ref(x_173); + x_175 = lean_box(0); +} +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_175; +} +lean_ctor_set(x_176, 0, x_124); +lean_ctor_set(x_176, 1, x_174); +return x_176; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_124); +x_177 = lean_ctor_get(x_173, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_173, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_179 = x_173; +} else { + lean_dec_ref(x_173); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(1, 2, 0); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +return x_180; +} +} +} +} +else +{ +uint8_t x_181; +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_181 = !lean_is_exclusive(x_13); +if (x_181 == 0) +{ +return x_13; +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_13, 0); +x_183 = lean_ctor_get(x_13, 1); +lean_inc(x_183); +lean_inc(x_182); +lean_dec(x_13); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -1073,15 +3062,15 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2___rarg___boxed), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___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, 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; @@ -1119,15 +3108,15 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___rarg___boxed), 9, 0); return x_2; } } -static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__1() { +static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__1() { _start: { lean_object* x_1; @@ -1135,16 +3124,16 @@ x_1 = lean_mk_string_unchecked("unknown constant '", 18, 18); return x_1; } } -static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2() { +static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__1; +x_1 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__3() { +static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__3() { _start: { lean_object* x_1; @@ -1152,16 +3141,16 @@ x_1 = lean_mk_string_unchecked("'", 1, 1); return x_1; } } -static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4() { +static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__3; +x_1 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -1183,15 +3172,15 @@ uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_obje lean_free_object(x_11); x_17 = 0; x_18 = l_Lean_MessageData_ofConstName(x_2, x_17); -x_19 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2; +x_19 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2; x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4; +x_21 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4; x_22 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_23 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___rarg(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); return x_23; } else @@ -1223,15 +3212,15 @@ if (lean_obj_tag(x_28) == 0) uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_29 = 0; x_30 = l_Lean_MessageData_ofConstName(x_2, x_29); -x_31 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2; +x_31 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2; 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_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4; +x_33 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4; 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_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +x_35 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___rarg(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); return x_35; } else @@ -1249,7 +3238,7 @@ return x_37; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___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, 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; @@ -1287,15 +3276,15 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___rarg___boxed), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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, 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; @@ -1317,15 +3306,15 @@ uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_obje lean_free_object(x_11); x_17 = 0; x_18 = l_Lean_MessageData_ofConstName(x_2, x_17); -x_19 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2; +x_19 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2; x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4; +x_21 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4; x_22 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___rarg(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_23 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___rarg(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); return x_23; } else @@ -1357,15 +3346,15 @@ if (lean_obj_tag(x_28) == 0) uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_29 = 0; x_30 = l_Lean_MessageData_ofConstName(x_2, x_29); -x_31 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2; +x_31 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2; 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_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4; +x_33 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4; 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_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___rarg(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +x_35 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___rarg(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); return x_35; } else @@ -1383,7 +3372,7 @@ return x_37; } } } -static lean_object* _init_l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__1() { +static lean_object* _init_l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1392,143 +3381,143 @@ x_2 = l_ReaderT_instMonad___rarg(x_1); return x_2; } } -static lean_object* _init_l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2() { +static lean_object* _init_l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__1; +x_1 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__1; x_2 = l_instInhabitedPUnit; x_3 = l_instInhabitedOfMonad___rarg(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2; +x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2; x_11 = lean_panic_fn(x_10, x_1); x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2; +x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2; x_11 = lean_panic_fn(x_10, x_1); x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2; +x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2; x_11 = lean_panic_fn(x_10, x_1); x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2; +x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2; x_11 = lean_panic_fn(x_10, x_1); x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2; +x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2; x_11 = lean_panic_fn(x_10, x_1); x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2; +x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2; x_11 = lean_panic_fn(x_10, x_1); x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2; +x_10 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2; x_11 = lean_panic_fn(x_10, x_1); x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___rarg), 9, 0); return x_2; } } -static lean_object* _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__1() { +static lean_object* _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__1() { _start: { lean_object* x_1; @@ -1536,7 +3525,7 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Match.MatcherApp.Basic", 32, 32); return x_1; } } -static lean_object* _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__2() { +static lean_object* _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__2() { _start: { lean_object* x_1; @@ -1544,7 +3533,7 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.matchMatcherApp\?", 26, 26); return x_1; } } -static lean_object* _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3() { +static lean_object* _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__3() { _start: { lean_object* x_1; @@ -1552,20 +3541,20 @@ x_1 = lean_mk_string_unchecked("unreachable code has been reached", 33, 33); return x_1; } } -static lean_object* _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4() { +static lean_object* _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___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_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__1; -x_2 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__2; +x_1 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__1; +x_2 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__2; x_3 = lean_unsigned_to_nat(63u); x_4 = lean_unsigned_to_nat(53u); -x_5 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3; +x_5 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___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_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14(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_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { if (lean_obj_tag(x_5) == 0) @@ -1591,7 +3580,7 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_5, 1); lean_inc(x_18); lean_dec(x_5); -x_24 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__5(x_1, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_24 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__5(x_1, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; @@ -1610,7 +3599,7 @@ lean_dec(x_27); x_28 = lean_ctor_get(x_24, 1); lean_inc(x_28); lean_dec(x_24); -x_29 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_29 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1618,7 +3607,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_30 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg(x_29, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +x_30 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg(x_29, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; @@ -1671,7 +3660,7 @@ lean_dec(x_25); x_36 = lean_ctor_get(x_24, 1); lean_inc(x_36); lean_dec(x_24); -x_37 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_37 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1679,7 +3668,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_38 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg(x_37, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); +x_38 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg(x_37, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); if (lean_obj_tag(x_38) == 0) { lean_object* x_39; lean_object* x_40; @@ -1739,7 +3728,7 @@ lean_dec(x_46); x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); lean_dec(x_24); -x_48 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_48 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1747,7 +3736,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_49 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___rarg(x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_47); +x_49 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___rarg(x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_47); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; @@ -1799,7 +3788,7 @@ lean_dec(x_25); x_55 = lean_ctor_get(x_24, 1); lean_inc(x_55); lean_dec(x_24); -x_56 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_56 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1807,7 +3796,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_57 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___rarg(x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_55); +x_57 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___rarg(x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_55); if (lean_obj_tag(x_57) == 0) { lean_object* x_58; lean_object* x_59; @@ -1867,7 +3856,7 @@ lean_dec(x_65); x_66 = lean_ctor_get(x_24, 1); lean_inc(x_66); lean_dec(x_24); -x_67 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_67 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1875,7 +3864,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_68 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___rarg(x_67, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66); +x_68 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___rarg(x_67, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66); if (lean_obj_tag(x_68) == 0) { lean_object* x_69; @@ -1928,7 +3917,7 @@ lean_dec(x_25); x_74 = lean_ctor_get(x_24, 1); lean_inc(x_74); lean_dec(x_24); -x_75 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_75 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1936,7 +3925,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_76 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___rarg(x_75, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_74); +x_76 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___rarg(x_75, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_74); if (lean_obj_tag(x_76) == 0) { lean_object* x_77; lean_object* x_78; @@ -1996,7 +3985,7 @@ lean_dec(x_84); x_85 = lean_ctor_get(x_24, 1); lean_inc(x_85); lean_dec(x_24); -x_86 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_86 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2004,7 +3993,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_87 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10___rarg(x_86, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85); +x_87 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___rarg(x_86, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85); if (lean_obj_tag(x_87) == 0) { lean_object* x_88; @@ -2057,7 +4046,7 @@ lean_dec(x_25); x_93 = lean_ctor_get(x_24, 1); lean_inc(x_93); lean_dec(x_24); -x_94 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_94 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2065,7 +4054,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_95 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10___rarg(x_94, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_93); +x_95 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___rarg(x_94, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_93); if (lean_obj_tag(x_95) == 0) { lean_object* x_96; lean_object* x_97; @@ -2125,7 +4114,7 @@ lean_dec(x_103); x_104 = lean_ctor_get(x_24, 1); lean_inc(x_104); lean_dec(x_24); -x_105 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_105 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2133,7 +4122,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_106 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___rarg(x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_104); +x_106 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___rarg(x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_104); if (lean_obj_tag(x_106) == 0) { lean_object* x_107; @@ -2186,7 +4175,7 @@ lean_dec(x_25); x_112 = lean_ctor_get(x_24, 1); lean_inc(x_112); lean_dec(x_24); -x_113 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_113 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2194,7 +4183,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_114 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___rarg(x_113, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_112); +x_114 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___rarg(x_113, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_112); if (lean_obj_tag(x_114) == 0) { lean_object* x_115; lean_object* x_116; @@ -2254,7 +4243,7 @@ lean_dec(x_122); x_123 = lean_ctor_get(x_24, 1); lean_inc(x_123); lean_dec(x_24); -x_124 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_124 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2262,7 +4251,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_125 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___rarg(x_124, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_123); +x_125 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___rarg(x_124, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_123); if (lean_obj_tag(x_125) == 0) { lean_object* x_126; @@ -2315,7 +4304,7 @@ lean_dec(x_25); x_131 = lean_ctor_get(x_24, 1); lean_inc(x_131); lean_dec(x_24); -x_132 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_132 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2323,7 +4312,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_133 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___rarg(x_132, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_131); +x_133 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___rarg(x_132, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_131); if (lean_obj_tag(x_133) == 0) { lean_object* x_134; lean_object* x_135; @@ -2421,7 +4410,7 @@ lean_dec(x_150); x_151 = lean_ctor_get(x_24, 1); lean_inc(x_151); lean_dec(x_24); -x_152 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_152 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2429,7 +4418,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_153 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___rarg(x_152, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_151); +x_153 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___rarg(x_152, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_151); if (lean_obj_tag(x_153) == 0) { lean_object* x_154; @@ -2482,7 +4471,7 @@ lean_dec(x_25); x_159 = lean_ctor_get(x_24, 1); lean_inc(x_159); lean_dec(x_24); -x_160 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_160 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2490,7 +4479,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_161 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___rarg(x_160, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_159); +x_161 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___rarg(x_160, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_159); if (lean_obj_tag(x_161) == 0) { lean_object* x_162; lean_object* x_163; @@ -2586,7 +4575,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_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_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { if (lean_obj_tag(x_5) == 0) @@ -2612,7 +4601,7 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_5, 1); lean_inc(x_18); lean_dec(x_5); -x_24 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__5(x_1, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_24 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__5(x_1, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; @@ -2631,7 +4620,7 @@ lean_dec(x_27); x_28 = lean_ctor_get(x_24, 1); lean_inc(x_28); lean_dec(x_24); -x_29 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_29 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2639,7 +4628,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_30 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg(x_29, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +x_30 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg(x_29, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; @@ -2692,7 +4681,7 @@ lean_dec(x_25); x_36 = lean_ctor_get(x_24, 1); lean_inc(x_36); lean_dec(x_24); -x_37 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_37 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2700,7 +4689,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_38 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg(x_37, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); +x_38 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg(x_37, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); if (lean_obj_tag(x_38) == 0) { lean_object* x_39; lean_object* x_40; @@ -2760,7 +4749,7 @@ lean_dec(x_46); x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); lean_dec(x_24); -x_48 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_48 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2768,7 +4757,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_49 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___rarg(x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_47); +x_49 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___rarg(x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_47); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; @@ -2820,7 +4809,7 @@ lean_dec(x_25); x_55 = lean_ctor_get(x_24, 1); lean_inc(x_55); lean_dec(x_24); -x_56 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_56 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2828,7 +4817,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_57 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___rarg(x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_55); +x_57 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___rarg(x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_55); if (lean_obj_tag(x_57) == 0) { lean_object* x_58; lean_object* x_59; @@ -2888,7 +4877,7 @@ lean_dec(x_65); x_66 = lean_ctor_get(x_24, 1); lean_inc(x_66); lean_dec(x_24); -x_67 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_67 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2896,7 +4885,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_68 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___rarg(x_67, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66); +x_68 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___rarg(x_67, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66); if (lean_obj_tag(x_68) == 0) { lean_object* x_69; @@ -2949,7 +4938,7 @@ lean_dec(x_25); x_74 = lean_ctor_get(x_24, 1); lean_inc(x_74); lean_dec(x_24); -x_75 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_75 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -2957,7 +4946,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_76 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___rarg(x_75, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_74); +x_76 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___rarg(x_75, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_74); if (lean_obj_tag(x_76) == 0) { lean_object* x_77; lean_object* x_78; @@ -3017,7 +5006,7 @@ lean_dec(x_84); x_85 = lean_ctor_get(x_24, 1); lean_inc(x_85); lean_dec(x_24); -x_86 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_86 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -3025,7 +5014,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_87 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10___rarg(x_86, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85); +x_87 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___rarg(x_86, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85); if (lean_obj_tag(x_87) == 0) { lean_object* x_88; @@ -3078,7 +5067,7 @@ lean_dec(x_25); x_93 = lean_ctor_get(x_24, 1); lean_inc(x_93); lean_dec(x_24); -x_94 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_94 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -3086,7 +5075,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_95 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10___rarg(x_94, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_93); +x_95 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___rarg(x_94, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_93); if (lean_obj_tag(x_95) == 0) { lean_object* x_96; lean_object* x_97; @@ -3146,7 +5135,7 @@ lean_dec(x_103); x_104 = lean_ctor_get(x_24, 1); lean_inc(x_104); lean_dec(x_24); -x_105 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_105 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -3154,7 +5143,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_106 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___rarg(x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_104); +x_106 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___rarg(x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_104); if (lean_obj_tag(x_106) == 0) { lean_object* x_107; @@ -3207,7 +5196,7 @@ lean_dec(x_25); x_112 = lean_ctor_get(x_24, 1); lean_inc(x_112); lean_dec(x_24); -x_113 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_113 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -3215,7 +5204,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_114 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___rarg(x_113, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_112); +x_114 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___rarg(x_113, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_112); if (lean_obj_tag(x_114) == 0) { lean_object* x_115; lean_object* x_116; @@ -3275,7 +5264,7 @@ lean_dec(x_122); x_123 = lean_ctor_get(x_24, 1); lean_inc(x_123); lean_dec(x_24); -x_124 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_124 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -3283,7 +5272,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_125 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___rarg(x_124, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_123); +x_125 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___rarg(x_124, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_123); if (lean_obj_tag(x_125) == 0) { lean_object* x_126; @@ -3336,7 +5325,7 @@ lean_dec(x_25); x_131 = lean_ctor_get(x_24, 1); lean_inc(x_131); lean_dec(x_24); -x_132 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_132 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -3344,7 +5333,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_133 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___rarg(x_132, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_131); +x_133 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___rarg(x_132, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_131); if (lean_obj_tag(x_133) == 0) { lean_object* x_134; lean_object* x_135; @@ -3442,7 +5431,7 @@ lean_dec(x_150); x_151 = lean_ctor_get(x_24, 1); lean_inc(x_151); lean_dec(x_24); -x_152 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_152 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -3450,7 +5439,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_153 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___rarg(x_152, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_151); +x_153 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___rarg(x_152, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_151); if (lean_obj_tag(x_153) == 0) { lean_object* x_154; @@ -3503,7 +5492,7 @@ lean_dec(x_25); x_159 = lean_ctor_get(x_24, 1); lean_inc(x_159); lean_dec(x_24); -x_160 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4; +x_160 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -3511,7 +5500,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_161 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___rarg(x_160, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_159); +x_161 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___rarg(x_160, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_159); if (lean_obj_tag(x_161) == 0) { lean_object* x_162; lean_object* x_163; @@ -3607,7 +5596,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -3618,7 +5607,7 @@ lean_ctor_set(x_11, 1, x_9); return x_11; } } -static lean_object* _init_l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -3628,7 +5617,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; 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; uint8_t x_38; lean_object* x_39; @@ -3683,7 +5672,7 @@ lean_inc(x_40); lean_dec(x_1); x_41 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1; lean_inc(x_40); -x_42 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14(x_4, x_39, x_40, x_40, x_40, x_41, lean_box(0), x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_42 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14(x_4, x_39, x_40, x_40, x_40, x_41, lean_box(0), x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_40); if (lean_obj_tag(x_42) == 0) { @@ -3702,7 +5691,7 @@ x_48 = l_Array_ofSubarray___rarg(x_31); lean_dec(x_31); x_49 = l_Array_ofSubarray___rarg(x_33); lean_dec(x_33); -x_50 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2___closed__1; +x_50 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___closed__1; x_51 = lean_alloc_ctor(0, 10, 0); lean_ctor_set(x_51, 0, x_5); lean_ctor_set(x_51, 1, x_45); @@ -3736,7 +5725,7 @@ x_58 = l_Array_ofSubarray___rarg(x_31); lean_dec(x_31); x_59 = l_Array_ofSubarray___rarg(x_33); lean_dec(x_33); -x_60 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2___closed__1; +x_60 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___closed__1; x_61 = lean_alloc_ctor(0, 10, 0); lean_ctor_set(x_61, 0, x_5); lean_ctor_set(x_61, 1, x_55); @@ -3795,7 +5784,7 @@ lean_inc(x_68); lean_dec(x_1); x_69 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1; lean_inc(x_68); -x_70 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__15(x_4, x_39, x_68, x_68, x_68, x_69, lean_box(0), x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_70 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__15(x_4, x_39, x_68, x_68, x_68, x_69, lean_box(0), x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_68); if (lean_obj_tag(x_70) == 0) { @@ -3899,7 +5888,7 @@ return x_93; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__3(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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__3(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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; @@ -3946,7 +5935,7 @@ else lean_object* x_27; lean_object* x_28; lean_dec(x_2); x_27 = l_Lean_Name_getPrefix(x_3); -x_28 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3(x_4, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21); +x_28 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3(x_4, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; @@ -4016,7 +6005,7 @@ else lean_object* x_51; lean_object* x_52; lean_free_object(x_28); x_51 = lean_box(0); -x_52 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2(x_33, x_40, x_6, x_4, x_3, x_51, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_31); +x_52 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2(x_33, x_40, x_6, x_4, x_3, x_51, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_31); return x_52; } } @@ -4081,7 +6070,7 @@ else { lean_object* x_73; lean_object* x_74; x_73 = lean_box(0); -x_74 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2(x_54, x_61, x_6, x_4, x_3, x_73, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_53); +x_74 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2(x_54, x_61, x_6, x_4, x_3, x_73, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_53); return x_74; } } @@ -4160,7 +6149,7 @@ return x_84; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { 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; @@ -4216,19 +6205,19 @@ lean_ctor_set(x_38, 1, x_13); return x_38; } } -static lean_object* _init_l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___closed__1() { +static lean_object* _init_l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__1___boxed), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__1___boxed), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___closed__1; +x_12 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___closed__1; x_13 = l_Lean_Expr_getAppFn(x_2); if (lean_obj_tag(x_13) == 4) { @@ -4238,7 +6227,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2___rarg(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); if (lean_obj_tag(x_17) == 0) @@ -4248,7 +6237,7 @@ x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); x_19 = lean_box(0); -x_20 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__3(x_3, x_12, x_14, x_1, x_2, x_15, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_20 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__3(x_3, x_12, x_14, x_1, x_2, x_15, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); return x_20; } else @@ -4283,7 +6272,7 @@ if (x_34 == 0) lean_object* x_35; lean_object* x_36; lean_free_object(x_16); x_35 = lean_box(0); -x_36 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__4(x_15, x_24, x_31, x_14, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_36 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__4(x_15, x_24, x_31, x_14, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4340,7 +6329,7 @@ if (x_49 == 0) { lean_object* x_50; lean_object* x_51; x_50 = lean_box(0); -x_51 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__4(x_15, x_39, x_46, x_14, x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); +x_51 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__4(x_15, x_39, x_46, x_14, x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4385,7 +6374,7 @@ return x_55; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___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, 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; @@ -4423,15 +6412,15 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___rarg___boxed), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -4439,11 +6428,11 @@ x_12 = lean_apply_10(x_1, x_5, x_6, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___rarg___lambda__1), 11, 4); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___rarg___lambda__1), 11, 4); lean_closure_set(x_13, 0, x_3); lean_closure_set(x_13, 1, x_5); lean_closure_set(x_13, 2, x_6); @@ -4499,15 +6488,15 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___rarg___boxed), 12, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___rarg___boxed), 12, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -4567,7 +6556,7 @@ return x_29; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -4575,16 +6564,16 @@ x_1 = lean_mk_string_unchecked("unexpected matcher application alternative", 42, return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -4592,33 +6581,16 @@ x_1 = lean_mk_string_unchecked("\nat application", 15, 15); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__4() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__3; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("", 0, 0); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; uint8_t x_17; @@ -4632,11 +6604,11 @@ lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); x_18 = l_Lean_indentExpr(x_4); -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__2; +x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__2; x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__4; +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__4; x_22 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -4644,11 +6616,11 @@ x_23 = l_Lean_indentExpr(x_5); x_24 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); -x_25 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; +x_25 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; x_26 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___rarg(x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_27 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___rarg(x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -4681,12 +6653,12 @@ lean_object* x_32; lean_object* x_33; lean_dec(x_5); lean_dec(x_4); x_32 = lean_box(0); -x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__1(x_1, x_6, x_2, x_3, x_7, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__1(x_1, x_6, x_2, x_3, x_7, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); return x_33; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18(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) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18(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: { uint8_t x_15; @@ -4725,7 +6697,7 @@ lean_inc(x_20); lean_inc(x_2); lean_inc(x_1); lean_inc(x_21); -x_22 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___boxed), 15, 5); +x_22 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___boxed), 15, 5); lean_closure_set(x_22, 0, x_21); lean_closure_set(x_22, 1, x_1); lean_closure_set(x_22, 2, x_2); @@ -4739,7 +6711,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_24 = l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___rarg(x_20, x_21, x_22, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_24 = l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___rarg(x_20, x_21, x_22, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; @@ -4792,7 +6764,7 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__19(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) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__19(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: { uint8_t x_15; @@ -4884,7 +6856,7 @@ return x_30; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg___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; @@ -4892,11 +6864,11 @@ x_11 = lean_apply_9(x_1, x_5, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; -x_14 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg___lambda__1), 10, 4); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg___lambda__1), 10, 4); lean_closure_set(x_14, 0, x_4); lean_closure_set(x_14, 1, x_6); lean_closure_set(x_14, 2, x_7); @@ -4948,19 +6920,19 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg___boxed), 13, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg___boxed), 13, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; -x_14 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg___lambda__1), 10, 4); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg___lambda__1), 10, 4); lean_closure_set(x_14, 0, x_4); lean_closure_set(x_14, 1, x_6); lean_closure_set(x_14, 2, x_7); @@ -5012,19 +6984,19 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___rarg___boxed), 13, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___rarg___boxed), 13, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; -x_14 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg___lambda__1), 10, 4); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg___lambda__1), 10, 4); lean_closure_set(x_14, 0, x_4); lean_closure_set(x_14, 1, x_6); lean_closure_set(x_14, 2, x_7); @@ -5076,15 +7048,15 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___rarg___boxed), 13, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___rarg___boxed), 13, 0); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; @@ -5147,7 +7119,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; @@ -5210,7 +7182,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; @@ -5272,7 +7244,7 @@ return x_27; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { switch (lean_obj_tag(x_1)) { @@ -5317,7 +7289,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_18 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1(x_2, x_1, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_18 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1(x_2, x_1, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; @@ -5387,7 +7359,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_3); lean_inc(x_2); -x_35 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18(x_2, x_3, x_1, x_33, x_34, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +x_35 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18(x_2, x_3, x_1, x_33, x_34, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; lean_object* x_40; @@ -5399,7 +7371,7 @@ lean_dec(x_35); x_38 = lean_ctor_get(x_29, 6); lean_inc(x_38); x_39 = lean_array_size(x_38); -x_40 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__19(x_2, x_3, x_4, x_39, x_34, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_40 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__19(x_2, x_3, x_4, x_39, x_34, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); if (lean_obj_tag(x_40) == 0) { uint8_t x_41; @@ -5640,13 +7612,13 @@ lean_inc(x_85); x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); lean_dec(x_84); -x_87 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__1___boxed), 13, 4); +x_87 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__1___boxed), 13, 4); lean_closure_set(x_87, 0, x_82); lean_closure_set(x_87, 1, x_2); lean_closure_set(x_87, 2, x_3); lean_closure_set(x_87, 3, x_4); x_88 = 0; -x_89 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg(x_80, x_83, x_85, x_87, x_88, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_86); +x_89 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg(x_80, x_83, x_85, x_87, x_88, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_86); return x_89; } else @@ -5714,13 +7686,13 @@ lean_inc(x_99); x_100 = lean_ctor_get(x_98, 1); lean_inc(x_100); lean_dec(x_98); -x_101 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2___boxed), 13, 4); +x_101 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__2___boxed), 13, 4); lean_closure_set(x_101, 0, x_96); lean_closure_set(x_101, 1, x_2); lean_closure_set(x_101, 2, x_3); lean_closure_set(x_101, 3, x_4); x_102 = 0; -x_103 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___rarg(x_94, x_97, x_99, x_101, x_102, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_100); +x_103 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___rarg(x_94, x_97, x_99, x_101, x_102, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_100); return x_103; } else @@ -5808,13 +7780,13 @@ lean_inc(x_116); x_117 = lean_ctor_get(x_115, 1); lean_inc(x_117); lean_dec(x_115); -x_118 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___boxed), 13, 4); +x_118 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__3___boxed), 13, 4); lean_closure_set(x_118, 0, x_111); lean_closure_set(x_118, 1, x_2); lean_closure_set(x_118, 2, x_3); lean_closure_set(x_118, 3, x_4); x_119 = 0; -x_120 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___rarg(x_108, x_113, x_116, x_118, x_119, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_117); +x_120 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___rarg(x_108, x_113, x_116, x_118, x_119, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_117); return x_120; } else @@ -6138,7 +8110,7 @@ return x_188; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop(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___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo(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; @@ -6190,7 +8162,7 @@ x_20 = lean_ctor_get(x_13, 1); lean_inc(x_20); lean_dec(x_13); x_21 = lean_box(0); -x_22 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4(x_4, x_1, x_2, x_3, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +x_22 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__4(x_4, x_1, x_2, x_3, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); return x_22; } } @@ -6461,36 +8433,11 @@ x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__L return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg(x_1, 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); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___rarg(x_1, 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); @@ -6501,20 +8448,231 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4(x_1); +x_2 = l_Lean_isTracingEnabledFor___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__2(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___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) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_5); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___rarg(x_1, 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); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg(x_1, 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); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___rarg(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__4(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_13; lean_object* x_14; +x_13 = lean_unbox(x_4); +lean_dec(x_4); +x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2___rarg(x_1, 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); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__2(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___rarg(x_1, 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); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__4(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6526,11 +8684,11 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___rarg(x_1, 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); @@ -6541,20 +8699,20 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__6(x_1); +x_2 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__6(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6566,74 +8724,74 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7(x_1); +x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__8(x_1); +x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__8(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9(x_1); +x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__9(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__10(x_1); +x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__10(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11(x_1); +x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__11(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__12(x_1); +x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__12(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__13(x_1); +x_2 = l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__13(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14(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 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6641,11 +8799,11 @@ lean_dec(x_1); return x_16; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_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_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__15(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 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6653,11 +8811,11 @@ lean_dec(x_1); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__1(x_1, 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); @@ -6669,33 +8827,33 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___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_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_6); lean_dec(x_4); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; lean_object* x_17; x_16 = lean_unbox(x_1); lean_dec(x_1); -x_17 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__3(x_16, 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_17 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__3(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_7); lean_dec(x_4); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___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, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___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, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6708,22 +8866,22 @@ lean_dec(x_2); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_3); lean_dec(x_3); -x_13 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1(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_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1(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_1); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___rarg(x_1, 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); @@ -6734,56 +8892,56 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16(x_1); +x_2 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__16(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___rarg(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___rarg(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__17(x_1, x_2); +x_3 = l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__17(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___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) { _start: { lean_object* x_16; -x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_6); lean_dec(x_1); return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___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: { size_t x_15; size_t x_16; lean_object* x_17; @@ -6791,11 +8949,11 @@ x_15 = lean_unbox_usize(x_4); lean_dec(x_4); x_16 = lean_unbox_usize(x_5); lean_dec(x_5); -x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); return x_17; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__19___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: { size_t x_15; size_t x_16; lean_object* x_17; @@ -6803,11 +8961,11 @@ x_15 = lean_unbox_usize(x_4); lean_dec(x_4); x_16 = lean_unbox_usize(x_5); lean_dec(x_5); -x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__19(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__19(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; uint8_t x_15; lean_object* x_16; @@ -6815,20 +8973,20 @@ x_14 = lean_unbox(x_2); lean_dec(x_2); x_15 = lean_unbox(x_5); lean_dec(x_5); -x_16 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___rarg(x_1, x_14, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___rarg(x_1, x_14, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__20(x_1, x_2); +x_3 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__20(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; uint8_t x_15; lean_object* x_16; @@ -6836,70 +8994,70 @@ x_14 = lean_unbox(x_2); lean_dec(x_2); x_15 = lean_unbox(x_5); lean_dec(x_5); -x_16 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___rarg(x_1, x_14, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___rarg(x_1, x_14, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__21(x_1, x_2); +x_3 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__21(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_5); lean_dec(x_5); -x_15 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___rarg(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___rarg(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__22(x_1, x_2); +x_3 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__22(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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) { _start: { lean_object* x_14; -x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___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, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___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, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_5); return x_14; } @@ -7021,7 +9179,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Ela _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(" : ", 3, 3); +x_1 = lean_mk_string_unchecked("type of functorial ", 19, 19); return x_1; } } @@ -7034,6 +9192,23 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" is", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -7073,7 +9248,7 @@ lean_inc(x_4); x_23 = lean_infer_type(x_4, x_9, x_10, x_11, x_12, x_21); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 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_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; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); @@ -7081,34 +9256,35 @@ lean_inc(x_25); lean_dec(x_23); lean_inc(x_4); x_26 = l_Lean_MessageData_ofExpr(x_4); -x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; +x_27 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2; lean_ctor_set_tag(x_14, 7); lean_ctor_set(x_14, 1, x_26); lean_ctor_set(x_14, 0, x_27); -x_28 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2; +x_28 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__4; x_29 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_29, 0, x_14); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_MessageData_ofExpr(x_24); +x_30 = l_Lean_indentExpr(x_24); x_31 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); -x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_27); -x_33 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_1, x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_25); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +x_32 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; +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_Term_traceAtCmdPos___spec__2(x_1, x_33, x_7, x_8, x_9, x_10, x_11, x_12, x_25); +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -x_36 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1(x_2, x_3, x_4, x_5, x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); lean_dec(x_34); -return x_36; +x_37 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1(x_2, x_3, x_4, x_5, x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_36); +lean_dec(x_35); +return x_37; } else { -uint8_t x_37; +uint8_t x_38; lean_free_object(x_14); lean_dec(x_12); lean_dec(x_11); @@ -7121,76 +9297,77 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_23); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) { return x_23; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_23, 0); -x_39 = lean_ctor_get(x_23, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); lean_inc(x_39); -lean_inc(x_38); lean_dec(x_23); -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; +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; } } } else { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_14, 1); -lean_inc(x_41); +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_14, 1); +lean_inc(x_42); lean_dec(x_14); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_4); -x_42 = lean_infer_type(x_4, x_9, x_10, x_11, x_12, x_41); -if (lean_obj_tag(x_42) == 0) +x_43 = lean_infer_type(x_4, x_9, x_10, x_11, x_12, x_42); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +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; +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); lean_inc(x_4); -x_45 = l_Lean_MessageData_ofExpr(x_4); -x_46 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; -x_47 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2; -x_49 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_MessageData_ofExpr(x_43); -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); +x_46 = l_Lean_MessageData_ofExpr(x_4); +x_47 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__4; +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_indentExpr(x_44); x_52 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_46); -x_53 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_1, x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_44); -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 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1(x_2, x_3, x_4, x_5, x_54, x_7, x_8, x_9, x_10, x_11, x_12, x_55); -lean_dec(x_54); -return x_56; +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_1, x_54, x_7, x_8, x_9, x_10, x_11, x_12, x_45); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1(x_2, x_3, x_4, x_5, x_56, x_7, x_8, x_9, x_10, x_11, x_12, x_57); +lean_dec(x_56); +return x_58; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7202,26 +9379,26 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_57 = lean_ctor_get(x_42, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_42, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_59 = x_42; +x_59 = lean_ctor_get(x_43, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_43, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_61 = x_43; } else { - lean_dec_ref(x_42); - x_59 = lean_box(0); + lean_dec_ref(x_43); + x_61 = lean_box(0); } -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_61)) { + x_62 = lean_alloc_ctor(1, 2, 0); } else { - x_60 = x_59; + x_62 = x_61; } -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_58); -return x_60; +lean_ctor_set(x_62, 0, x_59); +lean_ctor_set(x_62, 1, x_60); +return x_62; } } } @@ -7231,50 +9408,15 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Ela _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Elab", 4, 4); +x_1 = lean_mk_string_unchecked("replaceRecApps:", 15, 15); return x_1; } } static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("definition", 10, 10); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wf", 2, 2); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__1; -x_2 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__2; -x_3 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("replaceRecApps:", 15, 15); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__5; +x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -7283,7 +9425,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__4; +x_12 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__2; x_13 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); @@ -7311,11 +9453,11 @@ x_21 = lean_ctor_get(x_13, 0); lean_dec(x_21); lean_inc(x_4); x_22 = l_Lean_indentExpr(x_4); -x_23 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__6; +x_23 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__2; lean_ctor_set_tag(x_13, 7); lean_ctor_set(x_13, 1, x_22); lean_ctor_set(x_13, 0, x_23); -x_24 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; +x_24 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; x_25 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_25, 0, x_13); lean_ctor_set(x_25, 1, x_24); @@ -7337,11 +9479,11 @@ lean_inc(x_30); lean_dec(x_13); lean_inc(x_4); x_31 = l_Lean_indentExpr(x_4); -x_32 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__6; +x_32 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__2; x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); -x_34 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; +x_34 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; x_35 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); @@ -9097,9 +11239,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___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(122u); +x_3 = lean_unsigned_to_nat(143u); x_4 = lean_unsigned_to_nat(49u); -x_5 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3; +x_5 = l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -11971,7 +14113,7 @@ x_30 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_groupGoalsByFunction___spe 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_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; +x_32 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); @@ -12089,7 +14231,7 @@ x_62 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_groupGoalsByFunction___spe x_63 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); -x_64 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; +x_64 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; x_65 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); @@ -12127,7 +14269,7 @@ x_73 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_groupGoalsByFunction___spe x_74 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; +x_75 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; x_76 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_76, 0, x_74); lean_ctor_set(x_76, 1, x_75); @@ -12363,7 +14505,7 @@ x_32 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spe x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); -x_34 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6; +x_34 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5; x_35 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); @@ -13254,343 +15396,541 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +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_14 = lean_array_uget(x_3, x_5); -x_15 = lean_ctor_get(x_6, 0); +x_15 = lean_ctor_get(x_6, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_6, 1); +x_16 = lean_ctor_get(x_6, 0); lean_inc(x_16); -x_17 = lean_ctor_get(x_6, 2); -lean_inc(x_17); -x_18 = lean_nat_dec_lt(x_16, x_17); -if (x_18 == 0) +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_17 = x_6; +} else { + lean_dec_ref(x_6); + x_17 = lean_box(0); +} +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_15, 2); +lean_inc(x_20); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) { -lean_object* x_19; -lean_dec(x_17); +lean_object* x_22; lean_object* x_23; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +if (lean_is_scalar(x_17)) { + x_22 = lean_alloc_ctor(0, 2, 0); +} else { + x_22 = x_17; +} +lean_ctor_set(x_22, 0, x_16); +lean_ctor_set(x_22, 1, x_15); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_11); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_15); +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_ctor_get(x_15, 2); +lean_dec(x_25); +x_26 = lean_ctor_get(x_15, 1); +lean_dec(x_26); +x_27 = lean_ctor_get(x_15, 0); +lean_dec(x_27); +x_28 = lean_array_fget(x_18, x_19); +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_nat_add(x_19, x_29); +lean_dec(x_19); +lean_ctor_set(x_15, 1, x_30); +x_31 = lean_ctor_get(x_16, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_16, 2); +lean_inc(x_33); +x_34 = lean_nat_dec_lt(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_28); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +if (lean_is_scalar(x_17)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_17; +} +lean_ctor_set(x_35, 0, x_16); +lean_ctor_set(x_35, 1, x_15); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_11); +return x_36; +} +else +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_16); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_38 = lean_ctor_get(x_16, 2); +lean_dec(x_38); +x_39 = lean_ctor_get(x_16, 1); +lean_dec(x_39); +x_40 = lean_ctor_get(x_16, 0); +lean_dec(x_40); +x_41 = lean_array_fget(x_31, x_32); +x_42 = lean_nat_add(x_32, x_29); +lean_dec(x_32); +lean_ctor_set(x_16, 1, x_42); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_58 = lean_box(0); +x_59 = lean_array_size(x_41); +x_60 = lean_box_usize(x_59); +x_61 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___boxed__const__1; +x_62 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__2___boxed), 11, 4); +lean_closure_set(x_62, 0, x_41); +lean_closure_set(x_62, 1, x_58); +lean_closure_set(x_62, 2, x_60); +lean_closure_set(x_62, 3, x_61); +x_43 = x_62; +goto block_57; +} +else +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_63 = lean_ctor_get(x_28, 0); +lean_inc(x_63); +lean_dec(x_28); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = l_Array_isEmpty___rarg(x_41); +if (x_65 == 0) +{ +uint8_t x_66; lean_object* x_67; lean_object* x_68; +x_66 = 0; +x_67 = lean_box(x_66); +x_68 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___boxed), 11, 4); +lean_closure_set(x_68, 0, x_67); +lean_closure_set(x_68, 1, x_64); +lean_closure_set(x_68, 2, x_41); +lean_closure_set(x_68, 3, x_63); +x_43 = x_68; +goto block_57; +} +else +{ +uint8_t x_69; lean_object* x_70; lean_object* x_71; +x_69 = 1; +x_70 = lean_box(x_69); +x_71 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___boxed), 11, 4); +lean_closure_set(x_71, 0, x_70); +lean_closure_set(x_71, 1, x_64); +lean_closure_set(x_71, 2, x_41); +lean_closure_set(x_71, 3, x_63); +x_43 = x_71; +goto block_57; +} +} +block_57: +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_44, 0, x_14); +lean_closure_set(x_44, 1, x_43); +x_45 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__5; +x_46 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__6; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_47 = l_Lean_Elab_Term_TermElabM_run___rarg(x_44, x_45, x_46, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +if (lean_is_scalar(x_17)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_17; +} +lean_ctor_set(x_49, 0, x_16); +lean_ctor_set(x_49, 1, x_15); +x_50 = 1; +x_51 = lean_usize_add(x_5, x_50); +x_5 = x_51; +x_6 = x_49; +x_11 = x_48; +goto _start; +} +else +{ +uint8_t x_53; lean_dec(x_16); lean_dec(x_15); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_53 = !lean_is_exclusive(x_47); +if (x_53 == 0) +{ +return x_47; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_47, 0); +x_55 = lean_ctor_get(x_47, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_47); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_16); +x_72 = lean_array_fget(x_31, x_32); +x_73 = lean_nat_add(x_32, x_29); +lean_dec(x_32); +x_74 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_74, 0, x_31); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_33); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_90; size_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_90 = lean_box(0); +x_91 = lean_array_size(x_72); +x_92 = lean_box_usize(x_91); +x_93 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___boxed__const__1; +x_94 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__2___boxed), 11, 4); +lean_closure_set(x_94, 0, x_72); +lean_closure_set(x_94, 1, x_90); +lean_closure_set(x_94, 2, x_92); +lean_closure_set(x_94, 3, x_93); +x_75 = x_94; +goto block_89; +} +else +{ +lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_95 = lean_ctor_get(x_28, 0); +lean_inc(x_95); +lean_dec(x_28); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = l_Array_isEmpty___rarg(x_72); +if (x_97 == 0) +{ +uint8_t x_98; lean_object* x_99; lean_object* x_100; +x_98 = 0; +x_99 = lean_box(x_98); +x_100 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___boxed), 11, 4); +lean_closure_set(x_100, 0, x_99); +lean_closure_set(x_100, 1, x_96); +lean_closure_set(x_100, 2, x_72); +lean_closure_set(x_100, 3, x_95); +x_75 = x_100; +goto block_89; +} +else +{ +uint8_t x_101; lean_object* x_102; lean_object* x_103; +x_101 = 1; +x_102 = lean_box(x_101); +x_103 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___boxed), 11, 4); +lean_closure_set(x_103, 0, x_102); +lean_closure_set(x_103, 1, x_96); +lean_closure_set(x_103, 2, x_72); +lean_closure_set(x_103, 3, x_95); +x_75 = x_103; +goto block_89; +} +} +block_89: +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_76 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_76, 0, x_14); +lean_closure_set(x_76, 1, x_75); +x_77 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__5; +x_78 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__6; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_79 = l_Lean_Elab_Term_TermElabM_run___rarg(x_76, x_77, x_78, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +if (lean_is_scalar(x_17)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_17; +} +lean_ctor_set(x_81, 0, x_74); +lean_ctor_set(x_81, 1, x_15); +x_82 = 1; +x_83 = lean_usize_add(x_5, x_82); +x_5 = x_83; +x_6 = x_81; +x_11 = x_80; +goto _start; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_74); +lean_dec(x_15); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_85 = lean_ctor_get(x_79, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_79, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_87 = x_79; +} else { + lean_dec_ref(x_79); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +} +} +} +else +{ +lean_object* x_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; uint8_t x_111; +lean_dec(x_15); +x_104 = lean_array_fget(x_18, x_19); +x_105 = lean_unsigned_to_nat(1u); +x_106 = lean_nat_add(x_19, x_105); +lean_dec(x_19); +x_107 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_107, 0, x_18); +lean_ctor_set(x_107, 1, x_106); +lean_ctor_set(x_107, 2, x_20); +x_108 = lean_ctor_get(x_16, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_16, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_16, 2); +lean_inc(x_110); +x_111 = lean_nat_dec_lt(x_109, x_110); +if (x_111 == 0) +{ +lean_object* x_112; lean_object* x_113; +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_104); lean_dec(x_14); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_6); -lean_ctor_set(x_19, 1, x_11); -return x_19; +if (lean_is_scalar(x_17)) { + x_112 = lean_alloc_ctor(0, 2, 0); +} else { + x_112 = x_17; +} +lean_ctor_set(x_112, 0, x_16); +lean_ctor_set(x_112, 1, x_107); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_11); +return x_113; } else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_6); -if (x_20 == 0) +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_114 = x_16; +} else { + lean_dec_ref(x_16); + x_114 = lean_box(0); +} +x_115 = lean_array_fget(x_108, x_109); +x_116 = lean_nat_add(x_109, x_105); +lean_dec(x_109); +if (lean_is_scalar(x_114)) { + x_117 = lean_alloc_ctor(0, 3, 0); +} else { + x_117 = x_114; +} +lean_ctor_set(x_117, 0, x_108); +lean_ctor_set(x_117, 1, x_116); +lean_ctor_set(x_117, 2, x_110); +if (lean_obj_tag(x_104) == 0) { -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_6, 2); -lean_dec(x_21); -x_22 = lean_ctor_get(x_6, 1); -lean_dec(x_22); -x_23 = lean_ctor_get(x_6, 0); -lean_dec(x_23); -x_24 = lean_array_fget(x_15, x_16); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_16, x_25); -lean_dec(x_16); -lean_ctor_set(x_6, 1, x_26); -if (lean_obj_tag(x_24) == 0) +lean_object* x_133; size_t x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_133 = lean_box(0); +x_134 = lean_array_size(x_115); +x_135 = lean_box_usize(x_134); +x_136 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___boxed__const__1; +x_137 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__2___boxed), 11, 4); +lean_closure_set(x_137, 0, x_115); +lean_closure_set(x_137, 1, x_133); +lean_closure_set(x_137, 2, x_135); +lean_closure_set(x_137, 3, x_136); +x_118 = x_137; +goto block_132; +} +else { -lean_object* 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 = lean_box(0); -x_28 = lean_array_size(x_14); -x_29 = lean_box_usize(x_28); -x_30 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___boxed__const__1; -x_31 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__2___boxed), 11, 4); -lean_closure_set(x_31, 0, x_14); -lean_closure_set(x_31, 1, x_27); -lean_closure_set(x_31, 2, x_29); -lean_closure_set(x_31, 3, x_30); -x_32 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__5; -x_33 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__6; +lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_138 = lean_ctor_get(x_104, 0); +lean_inc(x_138); +lean_dec(x_104); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = l_Array_isEmpty___rarg(x_115); +if (x_140 == 0) +{ +uint8_t x_141; lean_object* x_142; lean_object* x_143; +x_141 = 0; +x_142 = lean_box(x_141); +x_143 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___boxed), 11, 4); +lean_closure_set(x_143, 0, x_142); +lean_closure_set(x_143, 1, x_139); +lean_closure_set(x_143, 2, x_115); +lean_closure_set(x_143, 3, x_138); +x_118 = x_143; +goto block_132; +} +else +{ +uint8_t x_144; lean_object* x_145; lean_object* x_146; +x_144 = 1; +x_145 = lean_box(x_144); +x_146 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___boxed), 11, 4); +lean_closure_set(x_146, 0, x_145); +lean_closure_set(x_146, 1, x_139); +lean_closure_set(x_146, 2, x_115); +lean_closure_set(x_146, 3, x_138); +x_118 = x_146; +goto block_132; +} +} +block_132: +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_119 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_119, 0, x_14); +lean_closure_set(x_119, 1, x_118); +x_120 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__5; +x_121 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__6; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_34 = l_Lean_Elab_Term_TermElabM_run___rarg(x_31, x_32, x_33, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_34) == 0) +x_122 = l_Lean_Elab_Term_TermElabM_run___rarg(x_119, x_120, x_121, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_122) == 0) { -lean_object* x_35; size_t x_36; size_t x_37; -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = 1; -x_37 = lean_usize_add(x_5, x_36); -x_5 = x_37; -x_11 = x_35; +lean_object* x_123; lean_object* x_124; size_t x_125; size_t x_126; +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +lean_dec(x_122); +if (lean_is_scalar(x_17)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_17; +} +lean_ctor_set(x_124, 0, x_117); +lean_ctor_set(x_124, 1, x_107); +x_125 = 1; +x_126 = lean_usize_add(x_5, x_125); +x_5 = x_126; +x_6 = x_124; +x_11 = x_123; goto _start; } else { -uint8_t x_39; -lean_dec(x_6); +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_117); +lean_dec(x_107); +lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) -{ -return x_34; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_34, 0); -x_41 = lean_ctor_get(x_34, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_34); -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; -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; -x_43 = lean_ctor_get(x_24, 0); -lean_inc(x_43); -lean_dec(x_24); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = l_Array_isEmpty___rarg(x_14); -if (x_45 == 0) -{ -uint8_t x_61; -x_61 = 0; -x_46 = x_61; -goto block_60; -} -else -{ -uint8_t x_62; -x_62 = 1; -x_46 = x_62; -goto block_60; -} -block_60: -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_box(x_46); -x_48 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___boxed), 11, 4); -lean_closure_set(x_48, 0, x_47); -lean_closure_set(x_48, 1, x_44); -lean_closure_set(x_48, 2, x_14); -lean_closure_set(x_48, 3, x_43); -x_49 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__5; -x_50 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__6; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_51 = l_Lean_Elab_Term_TermElabM_run___rarg(x_48, x_49, x_50, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; size_t x_53; size_t x_54; -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = 1; -x_54 = lean_usize_add(x_5, x_53); -x_5 = x_54; -x_11 = x_52; -goto _start; -} -else -{ -uint8_t x_56; -lean_dec(x_6); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_56 = !lean_is_exclusive(x_51); -if (x_56 == 0) -{ -return x_51; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_51, 0); -x_58 = lean_ctor_get(x_51, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_51); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -} -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec(x_6); -x_63 = lean_array_fget(x_15, x_16); -x_64 = lean_unsigned_to_nat(1u); -x_65 = lean_nat_add(x_16, x_64); -lean_dec(x_16); -x_66 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_66, 0, x_15); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_17); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_67; size_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_67 = lean_box(0); -x_68 = lean_array_size(x_14); -x_69 = lean_box_usize(x_68); -x_70 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___boxed__const__1; -x_71 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__2___boxed), 11, 4); -lean_closure_set(x_71, 0, x_14); -lean_closure_set(x_71, 1, x_67); -lean_closure_set(x_71, 2, x_69); -lean_closure_set(x_71, 3, x_70); -x_72 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__5; -x_73 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__6; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_74 = l_Lean_Elab_Term_TermElabM_run___rarg(x_71, x_72, x_73, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; size_t x_76; size_t x_77; -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = 1; -x_77 = lean_usize_add(x_5, x_76); -x_5 = x_77; -x_6 = x_66; -x_11 = x_75; -goto _start; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_66); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_79 = lean_ctor_get(x_74, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_74, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_81 = x_74; +x_128 = lean_ctor_get(x_122, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_122, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_130 = x_122; } else { - lean_dec_ref(x_74); - x_81 = lean_box(0); + lean_dec_ref(x_122); + x_130 = lean_box(0); } -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(1, 2, 0); } else { - x_82 = x_81; + x_131 = x_130; } -lean_ctor_set(x_82, 0, x_79); -lean_ctor_set(x_82, 1, x_80); -return x_82; -} -} -else -{ -lean_object* x_83; lean_object* x_84; uint8_t x_85; uint8_t x_86; -x_83 = lean_ctor_get(x_63, 0); -lean_inc(x_83); -lean_dec(x_63); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = l_Array_isEmpty___rarg(x_14); -if (x_85 == 0) -{ -uint8_t x_101; -x_101 = 0; -x_86 = x_101; -goto block_100; -} -else -{ -uint8_t x_102; -x_102 = 1; -x_86 = x_102; -goto block_100; -} -block_100: -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_87 = lean_box(x_86); -x_88 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___boxed), 11, 4); -lean_closure_set(x_88, 0, x_87); -lean_closure_set(x_88, 1, x_84); -lean_closure_set(x_88, 2, x_14); -lean_closure_set(x_88, 3, x_83); -x_89 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__5; -x_90 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___closed__6; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_91 = l_Lean_Elab_Term_TermElabM_run___rarg(x_88, x_89, x_90, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_91) == 0) -{ -lean_object* x_92; size_t x_93; size_t x_94; -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_93 = 1; -x_94 = lean_usize_add(x_5, x_93); -x_5 = x_94; -x_6 = x_66; -x_11 = x_92; -goto _start; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_66); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_96 = lean_ctor_get(x_91, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_91, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_98 = x_91; -} else { - lean_dec_ref(x_91); - x_98 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(1, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_97); -return x_99; +lean_ctor_set(x_131, 0, x_128); +lean_ctor_set(x_131, 1, x_129); +return x_131; } } } @@ -13599,119 +15939,93 @@ return x_99; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_solveDecreasingGoals(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_EXPORT lean_object* l_Lean_Elab_WF_solveDecreasingGoals(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_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_inc(x_3); -x_9 = l_Lean_Meta_getMVarsNoDelayed(x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Elab_WF_assignSubsumed___closed__1; +lean_object* x_10; uint8_t x_11; +lean_inc(x_4); +x_10 = l_Lean_Meta_getMVarsNoDelayed(x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = !lean_is_exclusive(x_10); +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_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = l_Lean_Elab_WF_assignSubsumed___closed__1; +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_13 = l_Array_filterPairsM___at_Lean_Elab_WF_assignSubsumed___spec__1___rarg(x_10, x_12, x_4, x_5, x_6, x_7, x_11); -lean_dec(x_10); -if (lean_obj_tag(x_13) == 0) +x_15 = l_Array_filterPairsM___at_Lean_Elab_WF_assignSubsumed___spec__1___rarg(x_12, x_14, x_5, x_6, x_7, x_8, x_13); +lean_dec(x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_array_get_size(x_2); +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); -x_17 = l_Lean_Elab_WF_groupGoalsByFunction(x_1, x_16, x_14, x_4, x_5, x_6, x_7, x_15); -lean_dec(x_14); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_18 = lean_ctor_get(x_17, 0); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_array_get_size(x_3); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_unsigned_to_nat(0u); -x_21 = l_Array_toSubarray___rarg(x_2, x_20, x_16); -x_22 = lean_box(0); -x_23 = lean_array_size(x_18); -x_24 = 0; +x_19 = l_Lean_Elab_WF_groupGoalsByFunction(x_2, x_18, x_16, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_16); +if (lean_obj_tag(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; size_t x_27; size_t x_28; lean_object* x_29; +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_array_get_size(x_20); +x_23 = lean_unsigned_to_nat(0u); +x_24 = l_Array_toSubarray___rarg(x_20, x_23, x_22); +x_25 = l_Array_toSubarray___rarg(x_3, x_23, x_18); +x_26 = lean_box(0); +lean_ctor_set(x_10, 1, x_25); +lean_ctor_set(x_10, 0, x_24); +x_27 = lean_array_size(x_1); +x_28 = 0; +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3(x_18, x_22, x_18, x_23, x_24, x_21, x_4, x_5, x_6, x_7, x_19); -lean_dec(x_18); -if (lean_obj_tag(x_25) == 0) +x_29 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3(x_1, x_26, x_1, x_27, x_28, x_10, x_5, x_6, x_7, x_8, x_21); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_3, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_27; -} -else -{ -uint8_t x_28; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_28 = !lean_is_exclusive(x_25); -if (x_28 == 0) -{ -return x_25; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_25, 0); -x_30 = lean_ctor_get(x_25, 1); +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_25); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); +lean_dec(x_29); +x_31 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_4, x_5, x_6, x_7, x_8, x_30); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); return x_31; } -} -} else { uint8_t x_32; -lean_dec(x_16); +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_32 = !lean_is_exclusive(x_17); +x_32 = !lean_is_exclusive(x_29); if (x_32 == 0) { -return x_17; +return x_29; } else { lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_17, 0); -x_34 = lean_ctor_get(x_17, 1); +x_33 = lean_ctor_get(x_29, 0); +x_34 = lean_ctor_get(x_29, 1); lean_inc(x_34); lean_inc(x_33); -lean_dec(x_17); +lean_dec(x_29); x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); @@ -13722,25 +16036,27 @@ return x_35; else { uint8_t x_36; +lean_dec(x_18); +lean_free_object(x_10); +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_36 = !lean_is_exclusive(x_13); +x_36 = !lean_is_exclusive(x_19); if (x_36 == 0) { -return x_13; +return x_19; } else { lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_13, 0); -x_38 = lean_ctor_get(x_13, 1); +x_37 = lean_ctor_get(x_19, 0); +x_38 = lean_ctor_get(x_19, 1); lean_inc(x_38); lean_inc(x_37); -lean_dec(x_13); +lean_dec(x_19); x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); @@ -13748,6 +16064,193 @@ return x_39; } } } +else +{ +uint8_t x_40; +lean_free_object(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_15); +if (x_40 == 0) +{ +return x_15; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_15, 0); +x_42 = lean_ctor_get(x_15, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_15); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +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; +x_44 = lean_ctor_get(x_10, 0); +x_45 = lean_ctor_get(x_10, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_10); +x_46 = l_Lean_Elab_WF_assignSubsumed___closed__1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_47 = l_Array_filterPairsM___at_Lean_Elab_WF_assignSubsumed___spec__1___rarg(x_44, x_46, x_5, x_6, x_7, x_8, x_45); +lean_dec(x_44); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +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 = lean_array_get_size(x_3); +lean_inc(x_50); +x_51 = l_Lean_Elab_WF_groupGoalsByFunction(x_2, x_50, x_48, x_5, x_6, x_7, x_8, x_49); +lean_dec(x_48); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; lean_object* x_62; +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 = lean_array_get_size(x_52); +x_55 = lean_unsigned_to_nat(0u); +x_56 = l_Array_toSubarray___rarg(x_52, x_55, x_54); +x_57 = l_Array_toSubarray___rarg(x_3, x_55, x_50); +x_58 = lean_box(0); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_array_size(x_1); +x_61 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_62 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3(x_1, x_58, x_1, x_60, x_61, x_59, x_5, x_6, x_7, x_8, x_53); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_4, x_5, x_6, x_7, x_8, x_63); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_65 = lean_ctor_get(x_62, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_67 = x_62; +} else { + lean_dec_ref(x_62); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_50); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_69 = lean_ctor_get(x_51, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_51, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_71 = x_51; +} else { + lean_dec_ref(x_51); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_73 = lean_ctor_get(x_47, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_47, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_75 = x_47; +} else { + lean_dec_ref(x_47); + x_75 = lean_box(0); +} +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); +} else { + x_76 = x_75; +} +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; +} +} +} } LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: @@ -13834,13 +16337,14 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_solveDecreasingGoals___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_EXPORT lean_object* l_Lean_Elab_WF_solveDecreasingGoals___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_WF_solveDecreasingGoals(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_10; +x_10 = l_Lean_Elab_WF_solveDecreasingGoals(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -14334,191 +16838,192 @@ x_16 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaC return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; +lean_object* x_17; +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); lean_inc(x_2); lean_inc(x_1); -x_16 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn(x_1, x_2, x_3, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_16) == 0) +x_17 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn(x_1, x_2, x_3, x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -x_19 = l_Lean_Elab_WF_solveDecreasingGoals(x_5, x_6, x_17, x_11, x_12, x_13, x_14, x_18); -if (lean_obj_tag(x_19) == 0) +x_20 = l_Lean_Elab_WF_solveDecreasingGoals(x_5, x_6, x_7, x_18, x_12, x_13, x_14, x_15, x_19); +if (lean_obj_tag(x_20) == 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; uint8_t x_27; uint8_t x_28; lean_object* x_29; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +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; uint8_t x_28; uint8_t x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_2); -lean_ctor_set(x_23, 1, x_22); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 0, x_2); lean_ctor_set(x_24, 1, x_23); -x_25 = lean_array_mk(x_24); -x_26 = 0; -x_27 = 1; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_array_mk(x_25); +x_27 = 0; x_28 = 1; -x_29 = l_Lean_Meta_mkLambdaFVars(x_25, x_20, x_26, x_27, x_26, x_28, x_11, x_12, x_13, x_14, x_21); -lean_dec(x_25); -if (lean_obj_tag(x_29) == 0) +x_29 = 1; +x_30 = l_Lean_Meta_mkLambdaFVars(x_26, x_21, x_27, x_28, x_27, x_29, x_12, x_13, x_14, x_15, x_22); +lean_dec(x_26); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Expr_app___override(x_7, x_30); -x_33 = l_Lean_Meta_mkLambdaFVars(x_8, x_32, x_26, x_27, x_26, x_28, x_11, x_12, x_13, x_14, x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Expr_app___override(x_8, x_31); +x_34 = l_Lean_Meta_mkLambdaFVars(x_9, x_33, x_27, x_28, x_27, x_29, x_12, x_13, x_14, x_15, x_32); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); -return x_33; +return x_34; } else { -uint8_t x_34; +uint8_t x_35; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +lean_dec(x_8); +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) { -return x_29; +return x_30; } 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_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_30, 0); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); lean_inc(x_36); -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_dec(x_30); +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 { -uint8_t x_38; +uint8_t x_39; +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_8); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_19); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_20); +if (x_39 == 0) { -return x_19; +return x_20; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_19, 0); -x_40 = lean_ctor_get(x_19, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +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_19); -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_dec(x_20); +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; } } } else { -uint8_t x_42; +uint8_t x_43; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); +lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_16); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_17); +if (x_43 == 0) { -return x_16; +return x_17; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_16, 0); -x_44 = lean_ctor_get(x_16, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_17, 0); +x_45 = lean_ctor_get(x_17, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_16); -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_dec(x_17); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -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; -x_16 = l_Lean_instInhabitedExpr; -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_array_get(x_16, x_7, x_17); -x_19 = lean_ctor_get(x_11, 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_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_17 = l_Lean_instInhabitedExpr; +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_get(x_17, x_8, x_18); +x_20 = lean_ctor_get(x_12, 2); +lean_inc(x_20); +x_21 = l_Lean_Expr_fvarId_x21(x_19); +x_22 = l_Lean_LocalContext_setUserName(x_20, x_21, x_1); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_array_get(x_17, x_8, x_23); +x_25 = lean_ctor_get(x_2, 5); +lean_inc(x_25); lean_inc(x_19); -x_20 = l_Lean_Expr_fvarId_x21(x_18); -x_21 = l_Lean_LocalContext_setUserName(x_19, x_20, x_1); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_array_get(x_16, x_7, x_22); -x_24 = lean_ctor_get(x_2, 5); -lean_inc(x_24); -lean_inc(x_18); lean_inc(x_3); -x_25 = lean_array_push(x_3, x_18); -x_26 = l_Lean_Expr_beta(x_24, x_25); +x_26 = lean_array_push(x_3, x_19); +x_27 = l_Lean_Expr_beta(x_25, x_26); lean_inc(x_3); -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__2___boxed), 12, 2); -lean_closure_set(x_27, 0, x_2); -lean_closure_set(x_27, 1, x_3); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__3___boxed), 15, 8); -lean_closure_set(x_28, 0, x_18); -lean_closure_set(x_28, 1, x_23); -lean_closure_set(x_28, 2, x_26); -lean_closure_set(x_28, 3, x_27); -lean_closure_set(x_28, 4, x_4); -lean_closure_set(x_28, 5, x_5); -lean_closure_set(x_28, 6, x_6); -lean_closure_set(x_28, 7, x_3); -x_29 = l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___rarg(x_21, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_29; +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__2___boxed), 12, 2); +lean_closure_set(x_28, 0, x_2); +lean_closure_set(x_28, 1, x_3); +x_29 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__3___boxed), 16, 9); +lean_closure_set(x_29, 0, x_19); +lean_closure_set(x_29, 1, x_24); +lean_closure_set(x_29, 2, x_27); +lean_closure_set(x_29, 3, x_28); +lean_closure_set(x_29, 4, x_4); +lean_closure_set(x_29, 5, x_5); +lean_closure_set(x_29, 6, x_6); +lean_closure_set(x_29, 7, x_7); +lean_closure_set(x_29, 8, x_3); +x_30 = l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___rarg(x_22, x_29, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_30; } } static lean_object* _init_l_Lean_Elab_WF_mkFix___closed__1() { @@ -14541,163 +17046,97 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_1, 4); -lean_inc(x_13); -x_14 = lean_unsigned_to_nat(0u); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_1, 4); +lean_inc(x_14); +x_15 = lean_unsigned_to_nat(0u); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_15 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_2, x_14, x_13, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_15) == 0) +x_16 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_2, x_15, x_14, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__1___boxed), 10, 1); -lean_closure_set(x_18, 0, x_4); -x_19 = l_Lean_Elab_WF_mkFix___closed__1; -x_20 = 0; +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__1___boxed), 10, 1); +lean_closure_set(x_19, 0, x_4); +x_20 = l_Lean_Elab_WF_mkFix___closed__1; +x_21 = 0; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_21 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_16, x_19, x_18, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_17, x_20, x_19, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_18); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +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_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_ctor_get(x_22, 0); +x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); lean_dec(x_22); +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); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_24); -x_26 = lean_infer_type(x_24, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_26) == 0) +lean_inc(x_25); +x_27 = lean_infer_type(x_25, x_9, x_10, x_11, x_12, x_24); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_29 = lean_whnf(x_27, x_8, x_9, x_10, x_11, x_28); -if (lean_obj_tag(x_29) == 0) +x_30 = lean_whnf(x_28, x_9, x_10, x_11, x_12, x_29); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +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_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Expr_bindingDomain_x21(x_30); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); lean_dec(x_30); -x_33 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__4___boxed), 15, 6); -lean_closure_set(x_33, 0, x_25); -lean_closure_set(x_33, 1, x_1); -lean_closure_set(x_33, 2, x_2); -lean_closure_set(x_33, 3, x_3); -lean_closure_set(x_33, 4, x_5); -lean_closure_set(x_33, 5, x_24); -x_34 = l_Lean_Elab_WF_mkFix___closed__2; -x_35 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_32, x_34, x_33, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -return x_35; +x_33 = l_Lean_Expr_bindingDomain_x21(x_31); +lean_dec(x_31); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__4___boxed), 16, 7); +lean_closure_set(x_34, 0, x_26); +lean_closure_set(x_34, 1, x_1); +lean_closure_set(x_34, 2, x_2); +lean_closure_set(x_34, 3, x_5); +lean_closure_set(x_34, 4, x_3); +lean_closure_set(x_34, 5, x_6); +lean_closure_set(x_34, 6, x_25); +x_35 = l_Lean_Elab_WF_mkFix___closed__2; +x_36 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_33, x_35, x_34, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_32); +return x_36; } else { -uint8_t x_36; -lean_dec(x_25); -lean_dec(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_3); -lean_dec(x_2); -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_29); -if (x_36 == 0) -{ -return x_29; -} -else -{ -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_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 -{ -uint8_t x_40; -lean_dec(x_25); -lean_dec(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_3); -lean_dec(x_2); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_26); -if (x_40 == 0) -{ -return x_26; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_26, 0); -x_42 = lean_ctor_get(x_26, 1); -lean_inc(x_42); -lean_inc(x_41); +uint8_t x_37; lean_dec(x_26); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -else -{ -uint8_t x_44; +lean_dec(x_25); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -14708,29 +17147,100 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_21); -if (x_44 == 0) +x_37 = !lean_is_exclusive(x_30); +if (x_37 == 0) { -return x_21; +return x_30; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_21, 0); -x_46 = lean_ctor_get(x_21, 1); +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_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_41; +lean_dec(x_26); +lean_dec(x_25); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_27); +if (x_41 == 0) +{ +return x_27; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_27, 0); +x_43 = lean_ctor_get(x_27, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_27); +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_45; +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_22); +if (x_45 == 0) +{ +return x_22; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_22, 0); +x_47 = lean_ctor_get(x_22, 1); +lean_inc(x_47); lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_21); -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; +lean_dec(x_22); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_48; +uint8_t x_49; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -14742,23 +17252,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_15); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_16); +if (x_49 == 0) { -return x_15; +return x_16; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_15, 0); -x_50 = lean_ctor_get(x_15, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_16, 0); +x_51 = lean_ctor_get(x_16, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_15); -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; +lean_dec(x_16); +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; } } } @@ -14783,24 +17293,25 @@ lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; -x_16 = l_Lean_Elab_WF_mkFix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_8); +lean_object* x_17; +x_17 = l_Lean_Elab_WF_mkFix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -return x_16; +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; -x_16 = l_Lean_Elab_WF_mkFix___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_object* x_17; +x_17 = l_Lean_Elab_WF_mkFix___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -return x_16; +return x_17; } } lean_object* initialize_Lean_Data_Array(uint8_t builtin, lean_object*); @@ -14844,46 +17355,103 @@ lean_dec_ref(res); res = initialize_Lean_Util_HasConstCache(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1(); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__1); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__2); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__3); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__4); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__5 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__5); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__6); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__7 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__7); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__8 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__8); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__9 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__9(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__9); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__10 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__10(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__10); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__11 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__11(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__11); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__12 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__12(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6____closed__12); +if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Fix___hyg_6_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Elab_WF_debug_definition_wf_replaceRecApps = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Elab_WF_debug_definition_wf_replaceRecApps); +lean_dec_ref(res); +}l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___closed__1); +l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___closed__1 = _init_l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___spec__3___rarg___closed__1(); l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__1); -l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__1 = _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__1(); -lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__1); -l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2 = _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2(); -lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__2); -l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__3 = _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__3(); -lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__3); -l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4 = _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4(); -lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__3___closed__4); -l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__1 = _init_l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__1(); -lean_mark_persistent(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__1); -l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2 = _init_l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2(); -lean_mark_persistent(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___rarg___closed__2); -l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__1 = _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__1(); -lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__1); -l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__2 = _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__2(); -lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__2); -l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3 = _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3(); -lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3); -l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4 = _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4(); -lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4); -l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2___closed__1 = _init_l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___lambda__2___closed__1); -l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___closed__1 = _init_l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__1___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__3); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__4); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__5 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__5); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__18___lambda__2___closed__6); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__2); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__3); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__4); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__5); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__1); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__2); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__3); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__4); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__5 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__5); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__6 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__6); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__7 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__7); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__8 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3___closed__8); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__1); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__4___closed__2); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__1); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___closed__2(); +l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__1 = _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__1(); +lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__1); +l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2 = _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2(); +lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__2); +l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__3 = _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__3(); +lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__3); +l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4 = _init_l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4(); +lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__3___closed__4); +l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__1 = _init_l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__1(); +lean_mark_persistent(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__1); +l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2 = _init_l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2(); +lean_mark_persistent(l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__7___rarg___closed__2); +l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__1 = _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__1(); +lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__1); +l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__2 = _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__2(); +lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__2); +l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__3 = _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__3(); +lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__3); +l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4 = _init_l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4(); +lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__14___closed__4); +l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___closed__1 = _init_l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___lambda__2___closed__1); +l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___closed__1 = _init_l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__1___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loopGo___spec__18___lambda__2___closed__4); l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1___closed__1); l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__1___closed__2(); @@ -14894,18 +17462,14 @@ l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lamb lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__1); l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__3); +l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__4); l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__1); l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__2); -l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__3); -l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__4); -l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__5 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__5); -l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__6 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__6); l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__1); l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c index 204fa26856..cba975f4b2 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.TerminationMeasure Lean.Elab.PreDefinition.WF.Basic 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.Mutual Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.TerminationMeasure Lean.Elab.PreDefinition.FixedParams Lean.Elab.PreDefinition.WF.Basic Lean.Data.Array #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg(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__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); @@ -26,12 +27,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_Gu static lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__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*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__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*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__17(lean_object*, lean_object*, lean_object*); 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*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_posString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__29___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_originalVarNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -44,28 +46,28 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___s LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___lambda__1(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__9; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(size_t, size_t, 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_4238____closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239_(uint8_t, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__6; static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_guessLex___lambda__1___closed__4; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___lambda__2___closed__3; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11___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_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*); LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_mayOmitSizeOf___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_guessLex___closed__1; static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_withUserNames___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__19; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_prettyEntry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___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_WF_GuessLex_GuessLexRel_ofNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__24(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_filterSubsumed___lambda__2___closed__2; static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__3; @@ -76,19 +78,21 @@ static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__17; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___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_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*); -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*); -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*); +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*, lean_object*); +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*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_formatTable___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___closed__2; static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__2; lean_object* lean_name_append_after(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; -LEAN_EXPORT lean_object* l_List_forIn_x27_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_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_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_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*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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_collectRecCalls___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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___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_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__8; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__23___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_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__28___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_throwError___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*); static lean_object* l_Lean_Elab_WF_GuessLex_explainNonMutualFailure___closed__1; @@ -98,7 +102,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_n lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__1(lean_object*, lean_object*, size_t, size_t); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4; -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_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_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*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); @@ -116,11 +120,10 @@ uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___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_Elab_WF_GuessLex_inspectCall___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(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_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(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_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__7; static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___lambda__2___closed__1; static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__7; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterPairsM___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__3___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); @@ -129,10 +132,8 @@ uint8_t lean_nat_dec_le(lean_object*, 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_WF_GuessLex_generateMeasures___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_measureHeader(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_4238____closed__26; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__13; static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__6___lambda__1(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(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -146,7 +147,9 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_f uint8_t lean_usize_dec_eq(size_t, size_t); extern uint8_t l_instInhabitedBool; static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__25; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9___boxed(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__5; uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_explainFailure___closed__3; @@ -159,17 +162,17 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___lambda__2___closed__5; 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* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); 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*); lean_object* l_Lean_Elab_Tactic_withoutRecover___rarg(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_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__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*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__9; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_casesOnSuffix; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__2___boxed(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_4239____closed__4; LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1(lean_object*); @@ -186,6 +189,7 @@ lean_object* l_Lean_Environment_find_x3f(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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, uint8_t, 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*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8(lean_object*, size_t, 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*); static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__8; @@ -193,7 +197,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_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_evalRecCall___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_evalRecCall___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_evalRecCall___closed__2; 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_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__2; @@ -205,7 +209,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_wi LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__15(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures(lean_object*, 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___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_generateCombinations_x3f(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr5(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_explainMutualFailure___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -216,6 +219,7 @@ static lean_object* l_Lean_Elab_WF_GuessLex_BasicMeasure_toString___closed__1; 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_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__15___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* l_Lean_Elab_FixedParamPerm_buildArgs___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___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_WF_GuessLex_SavedLocalContext_run___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,11 +227,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_eval(lean_object*, LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_withUserNames___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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__5(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___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__21; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_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_Lean_PersistentArray_forIn___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__5(lean_object*, 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_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___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*); -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__2; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__28(lean_object*); @@ -235,6 +240,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_f LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_explainMutualFailure___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_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg(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__11___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Exception_toMessageData(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__4___rarg___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -244,20 +250,19 @@ static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__21; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__25___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; lean_object* l_Lean_Elab_Tactic_run(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_4238____closed__22; +lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__4(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__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_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14___rarg___closed__2; LEAN_EXPORT uint8_t l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(lean_object*); -static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__22___rarg(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_Lean_Expr_withAppAux___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_WF_GuessLex_complexMeasures___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___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__26; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_explainFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; 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*); @@ -272,15 +277,17 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instInhabitedBasicMeasure; static lean_object* l_Lean_Elab_WF_GuessLex_instInhabitedBasicMeasure___closed__5; LEAN_EXPORT lean_object* l_Array_filterPairsM___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__3___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___spec__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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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*); static lean_object* l_Lean_Elab_WF_guessLex___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___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_4239____closed__23; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__7___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__7; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__18; static lean_object* l_Lean_Elab_WF_GuessLex_explainFailure___closed__4; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames_freshen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -302,7 +309,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames(lean_object*, lean lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___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_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_toTerminationMeasures___spec__2___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_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_toTerminationMeasures___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___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*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_posString___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___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_Elab_WF_GuessLex_complexMeasures___spec__6(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -319,7 +325,6 @@ 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*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_formatTable(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_4238____closed__20; 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*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_toTerminationMeasures___spec__2___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*); @@ -327,6 +332,7 @@ uint8_t lean_expr_eqv(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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg(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*); @@ -343,7 +349,6 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_comp LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___lambda__2(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_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1___boxed(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_4238____closed__7; lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(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_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_instInhabitedBasicMeasure___closed__4; @@ -356,10 +361,12 @@ 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_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*); +static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; lean_object* l_Lean_Name_getPrefix(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames_freshen___closed__1; static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__5; static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__8; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__30___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*); @@ -376,7 +383,7 @@ LEAN_EXPORT lean_object* l_Array_zipWithAux___at_Lean_Elab_WF_guessLex___spec__2 lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__1(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__9___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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_Elab_WF_GuessLex_collectRecCalls___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__20___boxed(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_reportTerminationMeasures(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -384,24 +391,24 @@ lean_object* l_ReaderT_instMonadLift(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__9(lean_object*, size_t, 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*); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; 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*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__3; 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*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(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_inspectCall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel(uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__17___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__12; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__24___rarg(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_Lean_Elab_WF_GuessLex_RecCallCache_mk(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2(lean_object*, lean_object*); uint8_t l_Lean_Expr_isLit(lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__19; static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -413,13 +420,13 @@ static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall 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*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_BasicMeasure_toString___lambda__1___boxed(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*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11___boxed(lean_object*, lean_object*, 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*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_simpleMeasures___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__12___rarg(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_toTerminationMeasures(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -440,7 +447,8 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14___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_WF_GuessLex_GuessLexRel_toNatRel___closed__27; static lean_object* l_Lean_Elab_WF_guessLex___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__15; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__1(lean_object*, 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_Lean_Elab_WF_GuessLex_complexMeasures___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_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_formatTable___spec__1(size_t, size_t, lean_object*); @@ -450,8 +458,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_explainNonMutualFailure___boxed static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14___rarg___closed__3; extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___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*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___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___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__10; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__7(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__23(lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -467,16 +474,17 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_filterSubsumed___boxed(lean_obj static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__27___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_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___boxed(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_4238____closed__3; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1(uint8_t, 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* l_panic___at_Lean_Expr_appFn_x21___spec__1(lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__17___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* l_Lean_HasConstCache_containsUnsafe(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg___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_4238____closed__1; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__10(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_toTerminationMeasures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11___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_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___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_foldrMUnsafe_fold___at_Lean_Elab_WF_GuessLex_mkProdElem___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_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -485,6 +493,7 @@ static lean_object* l_Lean_Elab_WF_GuessLex_instInhabitedBasicMeasure___closed__ extern lean_object* l_String_instInhabited; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__29___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_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__8(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(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___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* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -517,7 +526,7 @@ static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRec LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___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* 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 lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___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_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__30___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 uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(lean_object*, lean_object*); @@ -530,7 +539,6 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_s LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__2(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__6; LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_mayOmitSizeOf___spec__1___boxed(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_4238____closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___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_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__1(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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -538,16 +546,16 @@ static lean_object* l_Lean_Elab_WF_guessLex___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___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_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___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_WF_GuessLex_evalRecCall___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__20___rarg___boxed(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__3; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___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*, lean_object*, lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_simpleMeasures(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_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_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -556,28 +564,26 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_originalVarNames___lambda__1___ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_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*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__23; 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*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(size_t, size_t, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_showInferredTerminationBy; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__25; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__17; lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__5___boxed(lean_object**); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__15___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 uint8_t l_Lean_Elab_WF_GuessLex_GuessLexRel_ofNat(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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____boxed(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*); extern lean_object* l___private_Lean_Expr_0__Lean_natSubFn; lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__7___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__7; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___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*); @@ -587,7 +593,7 @@ lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__7___closed__10; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__3___closed__1; static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___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*); static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_WF_GuessLex_complexMeasures___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_filterSubsumed___closed__1; @@ -596,44 +602,39 @@ static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinitio lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall(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_evalRecCall(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___lambda__1___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__11; static size_t l_Lean_Elab_WF_GuessLex_generateMeasures___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_4238____closed__16; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__7(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_explainMutualFailure___spec__3___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_4238____closed__18; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__26___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_EXPORT lean_object* l_Std_Range_forIn_x27_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_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx(uint8_t); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_TerminationMeasure_delab___spec__1___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1; static lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__3; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__5(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_4239____closed__7; LEAN_EXPORT 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*); static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1; static lean_object* l_Lean_Elab_WF_GuessLex_instInhabitedBasicMeasure___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_complexMeasures(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_4238____closed__8; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___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_WF_GuessLex_instReprGuessLexRel___closed__1; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__24; 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; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___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_Elab_WF_GuessLex_solve(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -643,6 +644,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__16(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -662,6 +664,8 @@ static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__1(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_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__22; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___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_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__26; lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -669,16 +673,16 @@ static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___boxed(lean_object**); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_create___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___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_indentExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_reportTerminationMeasures___boxed(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__24; -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___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*); static lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames_freshen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1___rarg(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*); @@ -688,7 +692,6 @@ static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explai lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_filterSubsumed___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_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*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); @@ -701,6 +704,7 @@ static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__18; static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__2; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__7___closed__8; static lean_object* l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1___closed__2; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__5; 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_Array_contains___at_Lean_registerInternalExceptionId___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -726,12 +730,12 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_repo static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__5; static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__25___boxed(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_4239____closed__11; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instToStringGuessLexRel(uint8_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_complexMeasures___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_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__2; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__12; static lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -756,18 +760,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_Guess static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__4; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__7(lean_object*, size_t, 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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___spec__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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_explainFailure___closed__5; -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(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_Elab_WF_GuessLex_withRecApps_loop___spec__22___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_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_explainMutualFailure(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_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___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_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1___closed__1; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__15; static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_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*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__4(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); @@ -789,7 +789,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall(lean_object*, lean_ size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__24___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___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__14; static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__22(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__13; @@ -814,21 +813,25 @@ static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Expr_fvar___override(lean_object*); size_t lean_array_size(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_4238____closed__5; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__20; lean_object* l_Lean_Elab_TerminationMeasure_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTerminationMeasures___spec__1___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__31___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___boxed(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__4___closed__1; lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___boxed__const__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__1; lean_object* lean_st_ref_set(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_4239____closed__10; 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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3___boxed__const__1; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__31(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_4239____closed__24; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_guessLex___lambda__1___closed__6; lean_object* l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(lean_object*, lean_object*); @@ -838,9 +841,9 @@ static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1; 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*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_originalVarNames___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg___boxed(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_4239____closed__25; static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___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_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instReprGuessLexRel; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__16___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_explainNonMutualFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -849,6 +852,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_with lean_object* l_Lean_Meta_ArgsPacker_unpack(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_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*); 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_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__5___rarg___boxed(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*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(uint8_t); @@ -863,6 +867,7 @@ LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(uint8_t, static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__6___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_BasicMeasure_toString(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_4239____closed__14; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -876,10 +881,9 @@ static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); LEAN_EXPORT lean_object* l_List_forIn_x27_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_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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_Elab_WF_GuessLex_collectRecCalls___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_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg___closed__2; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__7___closed__9; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6; 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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___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_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*); @@ -896,21 +900,21 @@ static lean_object* l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_l LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls(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_SavedLocalContext_run(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_posString___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___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*, lean_object*); uint8_t l_Lean_Expr_isFVar(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_4238____closed__21; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__12; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); static uint64_t l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__10; lean_object* l_Lean_InductiveVal_numCtors(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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*); static lean_object* l_Lean_Elab_WF_GuessLex_filterSubsumed___lambda__1___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_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_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(size_t, size_t, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2; static lean_object* l_Lean_Elab_WF_GuessLex_measureHeader___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_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); static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__22; @@ -919,19 +923,22 @@ lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___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_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(lean_object*, size_t, 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__5(size_t, size_t, 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_4239____closed__13; static lean_object* l_Lean_Elab_WF_GuessLex_explainNonMutualFailure___closed__2; -static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__17; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_toTerminationMeasures___spec__2___lambda__1___boxed(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_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___lambda__1(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_Elab_WF_GuessLex_withRecApps_loop___spec__25___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__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_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__26(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__2(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__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx___boxed(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_4239____closed__16; lean_object* l_Lean_Meta_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___boxed(lean_object*, lean_object*, lean_object*); @@ -942,6 +949,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_generateMe LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2; +lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__1() { _start: { @@ -2947,7 +2955,7 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { 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; @@ -2969,7 +2977,7 @@ lean_ctor_set(x_15, 1, x_8); return x_15; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___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, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___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, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; @@ -3019,7 +3027,7 @@ x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); lean_dec(x_23); lean_inc(x_21); -x_27 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(x_21, x_7, x_21, x_9, x_10, x_11, x_12, x_26); +x_27 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(x_21, x_7, x_21, x_9, x_10, x_11, x_12, x_26); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -3041,7 +3049,7 @@ lean_inc(x_30); x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_32 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(x_21, x_7, x_30, x_9, x_10, x_11, x_12, x_31); +x_32 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(x_21, x_7, x_30, x_9, x_10, x_11, x_12, x_31); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -3167,7 +3175,7 @@ return x_48; } } } -static lean_object* _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1() { _start: { lean_object* x_1; @@ -3175,51 +3183,50 @@ x_1 = lean_mk_string_unchecked("sizeOf", 6, 6); return x_1; } } -static lean_object* _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__3; -x_2 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1(uint8_t 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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_6, x_5); -if (x_13 == 0) +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_7, x_6); +if (x_14 == 0) { -lean_object* x_14; +lean_object* x_15; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_7); -lean_ctor_set(x_14, 1, x_12); -return x_14; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_13); +return x_15; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_15 = lean_ctor_get(x_4, 0); -x_16 = lean_array_uget(x_15, x_6); +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_array_uget(x_5, x_7); x_17 = lean_box(0); lean_inc(x_16); x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); x_19 = lean_array_mk(x_18); -x_20 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2; +x_20 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_inc(x_19); -x_21 = l_Lean_Meta_mkAppM(x_20, x_19, x_8, x_9, x_10, x_11, x_12); +x_21 = l_Lean_Meta_mkAppM(x_20, x_19, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -3228,11 +3235,11 @@ lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_24 = l_Lean_Meta_whnfD(x_22, x_8, x_9, x_10, x_11, x_23); +x_24 = l_Lean_Meta_whnfD(x_22, x_9, x_10, x_11, x_12, x_23); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; uint8_t x_27; @@ -3247,11 +3254,11 @@ if (x_27 == 0) { lean_object* x_28; lean_object* x_29; x_28 = lean_box(0); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_29 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2(x_20, x_19, x_2, x_1, x_3, x_16, x_7, x_28, x_8, x_9, x_10, x_11, x_26); +x_29 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2(x_20, x_19, x_2, x_1, x_3, x_16, x_8, x_28, x_9, x_10, x_11, x_12, x_26); if (lean_obj_tag(x_29) == 0) { lean_object* x_30; @@ -3260,10 +3267,10 @@ lean_inc(x_30); if (lean_obj_tag(x_30) == 0) { uint8_t x_31; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); x_31 = !lean_is_exclusive(x_29); if (x_31 == 0) { @@ -3301,20 +3308,20 @@ x_38 = lean_ctor_get(x_30, 0); lean_inc(x_38); lean_dec(x_30); x_39 = 1; -x_40 = lean_usize_add(x_6, x_39); -x_6 = x_40; -x_7 = x_38; -x_12 = x_37; +x_40 = lean_usize_add(x_7, x_39); +x_7 = x_40; +x_8 = x_38; +x_13 = x_37; goto _start; } } else { uint8_t x_42; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); x_42 = !lean_is_exclusive(x_29); if (x_42 == 0) { @@ -3341,9 +3348,9 @@ size_t x_46; size_t x_47; lean_dec(x_19); lean_dec(x_16); x_46 = 1; -x_47 = lean_usize_add(x_6, x_46); -x_6 = x_47; -x_12 = x_26; +x_47 = lean_usize_add(x_7, x_46); +x_7 = x_47; +x_13 = x_26; goto _start; } } @@ -3352,11 +3359,11 @@ else uint8_t x_49; lean_dec(x_19); lean_dec(x_16); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); x_49 = !lean_is_exclusive(x_24); if (x_49 == 0) { @@ -3382,11 +3389,11 @@ else uint8_t x_53; lean_dec(x_19); lean_dec(x_16); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); x_53 = !lean_is_exclusive(x_21); if (x_53 == 0) { @@ -3413,7 +3420,7 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpl _start: { lean_object* x_13; -x_13 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1(x_1, x_2, x_3, x_4, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; @@ -3469,40 +3476,43 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___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_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___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, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; 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_26; -x_12 = lean_array_get_size(x_5); -lean_inc(x_5); -x_13 = l_Array_toSubarray___rarg(x_5, x_1, x_12); -x_14 = l_Array_ofSubarray___rarg(x_13); -x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; -x_16 = lean_array_get(x_15, x_2, x_3); -x_17 = lean_ctor_get(x_13, 2); -lean_inc(x_17); -x_18 = lean_usize_of_nat(x_17); -lean_dec(x_17); -x_19 = lean_ctor_get(x_13, 1); -lean_inc(x_19); -x_20 = lean_usize_of_nat(x_19); -lean_dec(x_19); -x_21 = l_Lean_Elab_WF_GuessLex_naryVarNames___closed__1; -x_22 = lean_box(x_4); -x_23 = lean_box_usize(x_18); -x_24 = lean_box_usize(x_20); -lean_inc(x_14); -x_25 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__1___boxed), 12, 7); -lean_closure_set(x_25, 0, x_22); -lean_closure_set(x_25, 1, x_5); -lean_closure_set(x_25, 2, x_14); -lean_closure_set(x_25, 3, x_13); -lean_closure_set(x_25, 4, x_23); -lean_closure_set(x_25, 5, x_24); -lean_closure_set(x_25, 6, x_21); -x_26 = l_Lean_Elab_WF_GuessLex_withUserNames___rarg(x_14, x_16, x_25, x_7, x_8, x_9, x_10, 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; size_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_12 = lean_ctor_get(x_1, 1); +x_13 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; +x_14 = lean_array_get(x_13, x_12, x_2); +x_15 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_14, x_5); lean_dec(x_14); -return x_26; +x_16 = lean_array_get(x_13, x_3, x_2); +x_17 = lean_box(0); +x_18 = lean_array_size(x_15); +x_19 = l_Lean_Elab_WF_GuessLex_naryVarNames___closed__1; +x_20 = lean_box(x_4); +x_21 = lean_box_usize(x_18); +x_22 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___boxed__const__1; +lean_inc(x_15); +x_23 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__1___boxed), 12, 7); +lean_closure_set(x_23, 0, x_20); +lean_closure_set(x_23, 1, x_5); +lean_closure_set(x_23, 2, x_15); +lean_closure_set(x_23, 3, x_17); +lean_closure_set(x_23, 4, x_21); +lean_closure_set(x_23, 5, x_22); +lean_closure_set(x_23, 6, x_19); +x_24 = l_Lean_Elab_WF_GuessLex_withUserNames___rarg(x_15, x_16, x_23, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_15); +return x_24; } } LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -3522,13 +3532,13 @@ x_20 = lean_ctor_get(x_19, 5); lean_inc(x_20); lean_dec(x_19); x_21 = lean_box(x_4); -lean_inc(x_7); lean_inc(x_3); +lean_inc(x_7); lean_inc(x_2); x_22 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___boxed), 11, 4); lean_closure_set(x_22, 0, x_2); -lean_closure_set(x_22, 1, x_3); -lean_closure_set(x_22, 2, x_7); +lean_closure_set(x_22, 1, x_7); +lean_closure_set(x_22, 2, x_3); lean_closure_set(x_22, 3, x_21); x_23 = 0; lean_inc(x_13); @@ -3617,11 +3627,11 @@ x_14 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__ return x_14; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3629,34 +3639,35 @@ lean_dec(x_4); return x_9; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_4); lean_dec(x_4); -x_15 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); return x_15; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; size_t x_14; size_t x_15; lean_object* x_16; -x_13 = lean_unbox(x_1); +uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_unbox(x_1); lean_dec(x_1); -x_14 = lean_unbox_usize(x_5); -lean_dec(x_5); x_15 = lean_unbox_usize(x_6); lean_dec(x_6); -x_16 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1(x_13, x_2, x_3, x_4, x_14, x_15, x_7, x_8, x_9, x_10, x_11, x_12); +x_16 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1(x_14, x_2, x_3, x_4, x_5, x_15, x_16, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_16; +return x_17; } } LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___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) { @@ -3686,6 +3697,7 @@ x_13 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_13; } } @@ -12579,139 +12591,143 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; +lean_object* x_12; lean_inc(x_2); -x_11 = l_Lean_Meta_ArgsPacker_unpack(x_1, x_2); -if (lean_obj_tag(x_11) == 0) +x_12 = l_Lean_Meta_ArgsPacker_unpack(x_1, x_2); +if (lean_obj_tag(x_12) == 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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_3); -x_12 = l_Lean_indentExpr(x_2); -x_13 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__2; -x_14 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; -x_16 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_16, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -return x_17; +x_13 = l_Lean_indentExpr(x_2); +x_14 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__2; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_17, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +return x_18; } else { -lean_object* x_18; uint8_t x_19; +lean_object* x_19; uint8_t x_20; lean_dec(x_2); -x_18 = lean_ctor_get(x_11, 0); -lean_inc(x_18); -lean_dec(x_11); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) +x_19 = lean_ctor_get(x_12, 0); +lean_inc(x_19); +lean_dec(x_12); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -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_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_3); -x_22 = l_Lean_Meta_ArgsPacker_unpack(x_1, x_3); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_ArgsPacker_unpack(x_1, x_3); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_21); -lean_dec(x_20); -x_23 = l_Lean_indentExpr(x_3); -x_24 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__4; -lean_ctor_set_tag(x_18, 7); -lean_ctor_set(x_18, 1, x_23); -lean_ctor_set(x_18, 0, x_24); -x_25 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; -x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_18); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_26, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -return x_27; -} -else -{ -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_free_object(x_18); -lean_dec(x_3); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_22); -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_ctor_get(x_8, 5); -lean_inc(x_31); -x_32 = l_Array_ofSubarray___rarg(x_4); -lean_inc(x_32); -x_33 = l_Array_append___rarg(x_32, x_21); lean_dec(x_21); -x_34 = l_Array_append___rarg(x_32, x_30); -lean_dec(x_30); -x_35 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(x_31, x_20, x_33, x_29, x_34, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -return x_35; -} +x_24 = l_Lean_indentExpr(x_3); +x_25 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__4; +lean_ctor_set_tag(x_19, 7); +lean_ctor_set(x_19, 1, x_24); +lean_ctor_set(x_19, 0, x_25); +x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_27, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +return x_28; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_18, 0); -x_37 = lean_ctor_get(x_18, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_18); -lean_inc(x_3); -x_38 = l_Lean_Meta_ArgsPacker_unpack(x_1, x_3); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_37); -lean_dec(x_36); -x_39 = l_Lean_indentExpr(x_3); -x_40 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__4; -x_41 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; -x_43 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_43, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -return x_44; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_object* x_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_free_object(x_19); lean_dec(x_3); -x_45 = lean_ctor_get(x_38, 0); -lean_inc(x_45); -lean_dec(x_38); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_8, 5); -lean_inc(x_48); -x_49 = l_Array_ofSubarray___rarg(x_4); -lean_inc(x_49); -x_50 = l_Array_append___rarg(x_49, x_37); -lean_dec(x_37); -x_51 = l_Array_append___rarg(x_49, x_47); -lean_dec(x_47); -x_52 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(x_48, x_36, x_50, x_46, x_51, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -return x_52; +x_29 = lean_ctor_get(x_23, 0); +lean_inc(x_29); +lean_dec(x_23); +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 = lean_ctor_get(x_4, 1); +x_33 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; +x_34 = lean_array_get(x_33, x_32, x_21); +x_35 = l_Array_ofSubarray___rarg(x_5); +x_36 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_34, x_35, x_22); +x_37 = lean_array_get(x_33, x_32, x_30); +x_38 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_37, x_35, x_31); +lean_dec(x_35); +x_39 = lean_ctor_get(x_9, 5); +lean_inc(x_39); +x_40 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(x_39, x_21, x_36, x_30, x_38, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +return x_40; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_19, 0); +x_42 = lean_ctor_get(x_19, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_19); +lean_inc(x_3); +x_43 = l_Lean_Meta_ArgsPacker_unpack(x_1, x_3); +if (lean_obj_tag(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_dec(x_42); +lean_dec(x_41); +x_44 = l_Lean_indentExpr(x_3); +x_45 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___closed__4; +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; +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_Lean_throwError___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_48, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_3); +x_50 = lean_ctor_get(x_43, 0); +lean_inc(x_50); +lean_dec(x_43); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ctor_get(x_4, 1); +x_54 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; +x_55 = lean_array_get(x_54, x_53, x_41); +x_56 = l_Array_ofSubarray___rarg(x_5); +x_57 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_55, x_56, x_42); +x_58 = lean_array_get(x_54, x_53, x_51); +x_59 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_58, x_56, x_52); +lean_dec(x_56); +x_60 = lean_ctor_get(x_9, 5); +lean_inc(x_60); +x_61 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(x_60, x_41, x_57, x_51, x_59, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +return x_61; } } } @@ -12785,132 +12801,132 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = l_Lean_instInhabitedExpr; -x_14 = lean_array_get(x_13, x_1, x_2); -x_15 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; -x_16 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_15, x_8, x_9, x_10, x_11, x_12); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_unbox(x_17); -lean_dec(x_17); -if (x_18 == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = l_Lean_instInhabitedExpr; +x_15 = lean_array_get(x_14, x_1, x_2); +x_16 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; +x_17 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_16, x_9, x_10, x_11, x_12, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_unbox(x_18); +lean_dec(x_18); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_6); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_box(0); -x_21 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_3, x_4, x_14, x_5, x_20, x_8, x_9, x_10, x_11, x_19); -return x_21; +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_7); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_3, x_4, x_15, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_20); +return x_22; } else { -uint8_t x_22; -x_22 = !lean_is_exclusive(x_16); -if (x_22 == 0) +uint8_t x_23; +x_23 = !lean_is_exclusive(x_17); +if (x_23 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 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_16, 1); -x_24 = lean_ctor_get(x_16, 0); -lean_dec(x_24); -x_25 = l_Lean_MessageData_ofName(x_6); -x_26 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2; -lean_inc(x_25); -lean_ctor_set_tag(x_16, 7); -lean_ctor_set(x_16, 1, x_25); -lean_ctor_set(x_16, 0, x_26); -x_27 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; -x_28 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_28, 0, x_16); -lean_ctor_set(x_28, 1, x_27); +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; +x_24 = lean_ctor_get(x_17, 1); +x_25 = lean_ctor_get(x_17, 0); +lean_dec(x_25); +x_26 = l_Lean_MessageData_ofName(x_7); +x_27 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2; +lean_inc(x_26); +lean_ctor_set_tag(x_17, 7); +lean_ctor_set(x_17, 1, x_26); +lean_ctor_set(x_17, 0, x_27); +x_28 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_17); +lean_ctor_set(x_29, 1, x_28); lean_inc(x_4); -x_29 = l_Lean_MessageData_ofExpr(x_4); -x_30 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; -x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); +x_30 = l_Lean_MessageData_ofExpr(x_4); +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; x_33 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_25); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); x_34 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_27); -lean_inc(x_14); -x_35 = l_Lean_MessageData_ofExpr(x_14); -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_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__8; -x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_15, x_38, x_8, x_9, x_10, x_11, x_23); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +lean_ctor_set(x_34, 1, x_26); +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_28); +lean_inc(x_15); +x_36 = l_Lean_MessageData_ofExpr(x_15); +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_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__8; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_16, x_39, x_9, x_10, x_11, x_12, x_24); +x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_3, x_4, x_14, x_5, x_40, x_8, x_9, x_10, x_11, x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); lean_dec(x_40); -return x_42; +x_43 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_3, x_4, x_15, x_5, x_6, x_41, x_9, x_10, x_11, x_12, x_42); +lean_dec(x_41); +return x_43; } else { -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; -x_43 = lean_ctor_get(x_16, 1); -lean_inc(x_43); -lean_dec(x_16); -x_44 = l_Lean_MessageData_ofName(x_6); -x_45 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2; +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; +x_44 = lean_ctor_get(x_17, 1); lean_inc(x_44); -x_46 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; -x_48 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); +lean_dec(x_17); +x_45 = l_Lean_MessageData_ofName(x_7); +x_46 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2; +lean_inc(x_45); +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); lean_inc(x_4); -x_49 = l_Lean_MessageData_ofExpr(x_4); -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_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; -x_52 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); +x_50 = l_Lean_MessageData_ofExpr(x_4); +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; x_53 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_44); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); x_54 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_47); -lean_inc(x_14); -x_55 = l_Lean_MessageData_ofExpr(x_14); -x_56 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__8; -x_58 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_15, x_58, x_8, x_9, x_10, x_11, x_43); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); +lean_ctor_set(x_54, 1, x_45); +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_48); +lean_inc(x_15); +x_56 = l_Lean_MessageData_ofExpr(x_15); +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_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__8; +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_Meta_processPostponed_loop___spec__2(x_16, x_59, x_9, x_10, x_11, x_12, x_44); +x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); -lean_dec(x_59); -x_62 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_3, x_4, x_14, x_5, x_60, x_8, x_9, x_10, x_11, x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); lean_dec(x_60); -return x_62; +x_63 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_3, x_4, x_15, x_5, x_6, x_61, x_9, x_10, x_11, x_12, x_62); +lean_dec(x_61); +return x_63; } } } @@ -12932,21 +12948,116 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_get_size(x_8); +x_15 = lean_nat_dec_le(x_6, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec(x_7); +lean_dec(x_5); +x_16 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3___closed__2; +x_17 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_16, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_11); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +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_inc(x_19); +lean_dec(x_17); +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; +x_22 = lean_box(0); +x_23 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(x_8, x_1, x_2, x_7, x_3, x_4, x_5, x_22, x_9, x_10, x_11, x_12, x_13); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +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_14 = lean_unsigned_to_nat(0u); +lean_inc(x_2); +lean_inc(x_1); +x_15 = l_Array_toSubarray___rarg(x_1, x_14, x_2); +x_16 = l_Lean_instInhabitedExpr; +x_17 = lean_array_get(x_16, x_1, x_2); +lean_dec(x_1); +x_18 = lean_ctor_get(x_3, 3); +lean_inc(x_18); +lean_dec(x_3); +lean_inc(x_18); +lean_inc(x_2); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3___boxed), 13, 6); +lean_closure_set(x_19, 0, x_2); +lean_closure_set(x_19, 1, x_4); +lean_closure_set(x_19, 2, x_5); +lean_closure_set(x_19, 3, x_15); +lean_closure_set(x_19, 4, x_18); +lean_closure_set(x_19, 5, x_6); +x_20 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg(x_18, x_2, x_17, x_7, x_19, x_9, x_10, x_11, x_12, x_13); +return x_20; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected number of lambdas in unary pre-definition", 52, 52); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; uint8_t x_14; -x_13 = lean_array_get_size(x_7); -x_14 = lean_nat_dec_le(x_5, x_13); +x_13 = lean_array_get_size(x_6); +x_14 = lean_nat_dec_eq(x_13, x_5); lean_dec(x_13); if (x_14 == 0) { lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -x_15 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3___closed__2; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__2; x_16 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_15, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -12970,104 +13081,11 @@ else { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(x_7, x_1, x_2, x_6, x_3, x_4, x_21, x_8, x_9, x_10, x_11, x_12); +x_22 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4(x_6, x_1, x_2, x_3, x_4, x_5, x_7, x_21, x_8, x_9, x_10, x_11, x_12); return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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; -x_13 = lean_unsigned_to_nat(0u); -lean_inc(x_2); -lean_inc(x_1); -x_14 = l_Array_toSubarray___rarg(x_1, x_13, x_2); -x_15 = l_Lean_instInhabitedExpr; -x_16 = lean_array_get(x_15, x_1, x_2); -lean_dec(x_1); -x_17 = lean_ctor_get(x_3, 3); -lean_inc(x_17); -lean_dec(x_3); -lean_inc(x_17); -lean_inc(x_2); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3___boxed), 12, 5); -lean_closure_set(x_18, 0, x_2); -lean_closure_set(x_18, 1, x_4); -lean_closure_set(x_18, 2, x_14); -lean_closure_set(x_18, 3, x_17); -lean_closure_set(x_18, 4, x_5); -x_19 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg(x_17, x_2, x_16, x_6, x_18, x_8, x_9, x_10, x_11, x_12); -return x_19; -} -} -static lean_object* _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unexpected number of lambdas in unary pre-definition", 52, 52); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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; uint8_t x_13; -x_12 = lean_array_get_size(x_5); -x_13 = lean_nat_dec_eq(x_12, x_4); -lean_dec(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -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_14 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__2; -x_15 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_14, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -return x_15; -} -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_inc(x_17); -lean_dec(x_15); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4(x_5, x_1, x_2, x_3, x_4, x_6, x_20, x_7, x_8, x_9, x_10, x_11); -return x_21; -} -} -} LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -13077,27 +13095,30 @@ lean_inc(x_6); x_9 = l_Lean_Elab_addAsAxiom(x_1, x_4, x_5, x_6, x_7, x_8); 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; uint8_t x_15; lean_object* x_16; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = lean_ctor_get(x_1, 5); lean_inc(x_11); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_2, x_12); -lean_inc(x_13); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5), 11, 4); -lean_closure_set(x_14, 0, x_2); -lean_closure_set(x_14, 1, x_1); -lean_closure_set(x_14, 2, x_3); -lean_closure_set(x_14, 3, x_13); -x_15 = 0; -x_16 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_TerminationMeasure_delab___spec__1___rarg(x_11, x_13, x_14, x_15, x_4, x_5, x_6, x_7, x_10); -return x_16; +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_12, x_13); +lean_inc(x_14); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5), 12, 5); +lean_closure_set(x_15, 0, x_12); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_2); +lean_closure_set(x_15, 4, x_14); +x_16 = 0; +x_17 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_FixedParamPerm_instantiateLambda_go___spec__1___rarg(x_11, x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_10); +return x_17; } else { -uint8_t x_17; +uint8_t x_18; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -13105,23 +13126,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_9); +if (x_18 == 0) { return x_9; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_9, 0); +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); lean_dec(x_9); -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; +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; } } } @@ -13150,59 +13171,62 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_WF_GuessLex_collectRecCalls___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_9); +lean_object* x_12; +x_12 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -return x_11; +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); +lean_object* x_14; +x_14 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +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); -return x_13; +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); +lean_object* x_14; +x_14 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); +lean_dec(x_6); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_13; +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_WF_GuessLex_collectRecCalls___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_7); -return x_13; +lean_object* x_14; +x_14 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +return x_14; } } static lean_object* _init_l_Lean_Elab_WF_GuessLex_isNatCmp___closed__1() { @@ -14569,7 +14593,7 @@ lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); lean_dec(x_39); -x_42 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_3, x_40); +x_42 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_4, x_40); if (x_42 == 0) { lean_object* x_43; lean_object* x_44; @@ -14580,7 +14604,7 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_20); -x_44 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_4, x_40, x_41, x_3, x_20, x_43, x_12, x_13, x_14, x_15, x_16); +x_44 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_3, x_40, x_41, x_4, x_20, x_43, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; @@ -14645,7 +14669,7 @@ lean_inc(x_52); x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); lean_dec(x_51); -x_54 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_3, x_52); +x_54 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_4, x_52); if (x_54 == 0) { lean_object* x_55; lean_object* x_56; @@ -14655,7 +14679,7 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_20); -x_56 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_4, x_52, x_53, x_3, x_20, x_55, x_12, x_13, x_14, x_15, x_16); +x_56 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_3, x_52, x_53, x_4, x_20, x_55, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_56) == 0) { lean_object* x_57; lean_object* x_58; @@ -14751,7 +14775,7 @@ lean_inc(x_70); x_71 = lean_ctor_get(x_68, 1); lean_inc(x_71); lean_dec(x_68); -x_72 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_3, x_70); +x_72 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_4, x_70); if (x_72 == 0) { lean_object* x_73; lean_object* x_74; @@ -14762,7 +14786,7 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_20); -x_74 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_4, x_70, x_71, x_3, x_20, x_73, x_12, x_13, x_14, x_15, x_16); +x_74 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_3, x_70, x_71, x_4, x_20, x_73, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_74) == 0) { lean_object* x_75; lean_object* x_76; @@ -15174,7 +15198,7 @@ lean_inc(x_44); x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); -x_46 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_3, x_44); +x_46 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_4, x_44); if (x_46 == 0) { lean_object* x_47; lean_object* x_48; @@ -15185,7 +15209,7 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_20); -x_48 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_4, x_44, x_45, x_3, x_20, x_47, x_12, x_13, x_14, x_15, x_16); +x_48 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_3, x_44, x_45, x_4, x_20, x_47, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_48) == 0) { lean_object* x_49; lean_object* x_50; @@ -15250,7 +15274,7 @@ lean_inc(x_56); x_57 = lean_ctor_get(x_55, 1); lean_inc(x_57); lean_dec(x_55); -x_58 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_3, x_56); +x_58 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_4, x_56); if (x_58 == 0) { lean_object* x_59; lean_object* x_60; @@ -15260,7 +15284,7 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_20); -x_60 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_4, x_56, x_57, x_3, x_20, x_59, x_12, x_13, x_14, x_15, x_16); +x_60 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_3, x_56, x_57, x_4, x_20, x_59, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; lean_object* x_62; @@ -15356,7 +15380,7 @@ lean_inc(x_74); x_75 = lean_ctor_get(x_72, 1); lean_inc(x_75); lean_dec(x_72); -x_76 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_3, x_74); +x_76 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(x_4, x_74); if (x_76 == 0) { lean_object* x_77; lean_object* x_78; @@ -15367,7 +15391,7 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_20); -x_78 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_4, x_74, x_75, x_3, x_20, x_77, x_12, x_13, x_14, x_15, x_16); +x_78 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(x_1, x_2, x_3, x_74, x_75, x_4, x_20, x_77, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_78) == 0) { lean_object* x_79; lean_object* x_80; @@ -15957,92 +15981,88 @@ return x_2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; size_t x_13; size_t 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; -x_12 = lean_ctor_get(x_1, 2); -lean_inc(x_12); -x_13 = lean_array_size(x_12); -x_14 = 0; -lean_inc(x_12); -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(x_13, x_14, x_12); -x_16 = lean_array_get_size(x_15); -lean_inc(x_2); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; 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_26; lean_object* x_27; lean_object* x_28; +x_12 = lean_ctor_get(x_1, 1); +x_13 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; +x_14 = lean_array_get(x_13, x_12, x_2); +x_15 = lean_ctor_get(x_3, 2); lean_inc(x_15); -x_17 = l_Array_toSubarray___rarg(x_15, x_2, x_16); -x_18 = l_Array_ofSubarray___rarg(x_17); -lean_dec(x_17); -x_19 = lean_ctor_get(x_1, 5); -lean_inc(x_19); -x_20 = lean_array_get_size(x_12); -lean_inc(x_12); -x_21 = l_Array_toSubarray___rarg(x_12, x_2, x_20); -x_22 = l_Array_ofSubarray___rarg(x_21); -lean_dec(x_21); -x_23 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; -x_24 = lean_array_get(x_23, x_3, x_4); -x_25 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; -x_26 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3___boxed__const__1; -x_27 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__2___boxed), 12, 7); -lean_closure_set(x_27, 0, x_25); -lean_closure_set(x_27, 1, x_12); +x_16 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_14, x_15); +lean_dec(x_14); +x_17 = lean_array_size(x_16); +x_18 = 0; +lean_inc(x_16); +x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(x_17, x_18, x_16); +x_20 = lean_array_size(x_15); +lean_inc(x_15); +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(x_20, x_18, x_15); +x_22 = lean_ctor_get(x_3, 5); +lean_inc(x_22); +x_23 = lean_array_get(x_13, x_4, x_2); +x_24 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; +x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3___boxed__const__1; +x_26 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__2___boxed), 12, 7); +lean_closure_set(x_26, 0, x_24); +lean_closure_set(x_26, 1, x_15); +lean_closure_set(x_26, 2, x_25); +lean_closure_set(x_26, 3, x_19); +lean_closure_set(x_26, 4, x_21); +lean_closure_set(x_26, 5, x_5); +lean_closure_set(x_26, 6, x_3); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withUserNames___rarg___boxed), 8, 3); +lean_closure_set(x_27, 0, x_16); +lean_closure_set(x_27, 1, x_23); lean_closure_set(x_27, 2, x_26); -lean_closure_set(x_27, 3, x_15); -lean_closure_set(x_27, 4, x_18); -lean_closure_set(x_27, 5, x_5); -lean_closure_set(x_27, 6, x_1); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withUserNames___rarg___boxed), 8, 3); -lean_closure_set(x_28, 0, x_22); -lean_closure_set(x_28, 1, x_24); -lean_closure_set(x_28, 2, x_27); -x_29 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(x_19, x_28, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_29) == 0) +x_28 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(x_22, x_27, x_7, x_8, x_9, x_10, x_11); +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) { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_29, 0, x_32); -return x_29; +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_28, 0, x_31); +return x_28; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_29, 0); -x_34 = lean_ctor_get(x_29, 1); -lean_inc(x_34); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_28, 0); +x_33 = lean_ctor_get(x_28, 1); lean_inc(x_33); -lean_dec(x_29); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, 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_34); -return x_36; +lean_inc(x_32); +lean_dec(x_28); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; } } else { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_29); -if (x_37 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_28); +if (x_36 == 0) { -return x_29; +return x_28; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_29, 0); -x_39 = lean_ctor_get(x_29, 1); -lean_inc(x_39); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_28, 0); +x_38 = lean_ctor_get(x_28, 1); lean_inc(x_38); -lean_dec(x_29); -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; +lean_inc(x_37); +lean_dec(x_28); +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; } } } @@ -16051,7 +16071,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_3, 2); lean_inc(x_12); x_13 = lean_array_get_size(x_12); x_14 = lean_unsigned_to_nat(0u); @@ -16087,8 +16107,7 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); +lean_dec(x_3); x_23 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_23, 0, x_5); x_24 = lean_alloc_ctor(0, 2, 0); @@ -16111,7 +16130,6 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_1); x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_9); lean_ctor_set(x_16, 1, x_14); @@ -16142,8 +16160,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_1); -x_24 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__4(x_17, x_1, x_2, x_4, x_9, x_23, x_10, x_11, x_12, x_13, x_14); +x_24 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__4(x_1, x_4, x_17, x_2, x_9, x_23, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; @@ -16156,7 +16173,6 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_1); x_26 = !lean_is_exclusive(x_24); if (x_26 == 0) { @@ -16208,7 +16224,6 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_1); x_37 = !lean_is_exclusive(x_24); if (x_37 == 0) { @@ -16252,7 +16267,6 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_2); x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10(x_2, x_3, x_4, x_7, x_19, x_4, x_20, x_21, x_22, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_23) == 0) { @@ -16282,7 +16296,6 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); -lean_dec(x_2); x_29 = !lean_is_exclusive(x_23); if (x_29 == 0) { @@ -16312,7 +16325,6 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_2); x_33 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_33, 0, x_9); lean_ctor_set(x_33, 1, x_14); @@ -16570,7 +16582,8 @@ lean_object* x_12; x_12 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); return x_12; } } @@ -16581,7 +16594,8 @@ lean_object* x_12; x_12 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); return x_12; } } @@ -16599,6 +16613,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_17; } } @@ -16610,6 +16625,7 @@ x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_complexMeasures___spec_ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); return x_15; } @@ -16621,6 +16637,7 @@ lean_object* x_10; x_10 = l_Lean_Elab_WF_GuessLex_complexMeasures(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); return x_10; } @@ -16718,7 +16735,7 @@ x_6 = l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg(x_4, x_5, x_3); return x_6; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__1() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__1() { _start: { lean_object* x_1; @@ -16726,17 +16743,17 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.GuessLex.GuessLexRel.lt", 36, 36); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__2() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__1; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____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_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__3() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -16745,23 +16762,23 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__4() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__3; -x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__5() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__5() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__4; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__4; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -16769,7 +16786,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -16778,23 +16795,23 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__7() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6; -x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__8() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__8() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__7; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__7; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -16802,7 +16819,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__9() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__9() { _start: { lean_object* x_1; @@ -16810,33 +16827,33 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.GuessLex.GuessLexRel.eq", 36, 36); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__10() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__9; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____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_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__11() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__3; -x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__10; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__10; 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_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__12() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__11; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -16844,23 +16861,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__13() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6; -x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__10; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__10; 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_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__14() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__14() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__13; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__13; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -16868,7 +16885,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__15() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__15() { _start: { lean_object* x_1; @@ -16876,33 +16893,33 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.GuessLex.GuessLexRel.le", 36, 36); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__16() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__15; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____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___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__17() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__3; -x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__16; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__16; 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_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__18() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__17; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -16910,23 +16927,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__19() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6; -x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__16; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__16; 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_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__20() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__20() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__19; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__19; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -16934,7 +16951,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__21() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__21() { _start: { lean_object* x_1; @@ -16942,33 +16959,33 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.GuessLex.GuessLexRel.no_idea", 41, return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__22() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__21; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____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_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__23() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__3; -x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__22; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__22; 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_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__24() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__23; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -16976,23 +16993,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__25() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6; -x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__22; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__22; 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_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__26() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__26() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__25; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__25; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -17000,7 +17017,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -17012,14 +17029,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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__5; +x_5 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__5; 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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__8; +x_7 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__8; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -17032,14 +17049,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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__12; +x_11 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__12; 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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__14; +x_13 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__14; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -17052,14 +17069,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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__18; +x_17 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__18; 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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__20; +x_19 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__20; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -17072,14 +17089,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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__24; +x_23 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__24; 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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__26; +x_25 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__26; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -17087,13 +17104,13 @@ return x_26; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238_(x_3, x_2); +x_4 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -17102,7 +17119,7 @@ static lean_object* _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____boxed), 2, 0); return x_1; } } @@ -17623,7 +17640,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__26; x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__27; -x_3 = lean_unsigned_to_nat(423u); +x_3 = lean_unsigned_to_nat(429u); x_4 = lean_unsigned_to_nat(15u); x_5 = l_List_forIn_x27_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); @@ -18168,7 +18185,7 @@ static lean_object* _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalR _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(" proof: ", 8, 8); +x_1 = lean_mk_string_unchecked(" proof. Goal:", 13, 13); return x_1; } } @@ -18184,10 +18201,9 @@ return x_2; static lean_object* _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\nError:", 7, 7); +return x_1; } } static lean_object* _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7() { @@ -18195,18 +18211,36 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_List_forIn_x27_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); +x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } static lean_object* _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8; +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_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10() { +_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_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7; -x_3 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6; +x_2 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9; +x_3 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8; 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); @@ -18217,7 +18251,7 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9() { +static lean_object* _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11() { _start: { lean_object* x_1; @@ -18225,549 +18259,572 @@ x_1 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLe return x_1; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_39; +lean_object* x_14; lean_object* x_15; lean_object* x_40; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_inc(x_1); -x_39 = l_Lean_Meta_check(x_1, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_39) == 0) +x_40 = l_Lean_Meta_check(x_1, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_40) == 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; uint8_t x_48; lean_object* x_49; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_box(0); -lean_inc(x_8); -x_42 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1, x_41, x_8, x_9, x_10, x_11, x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +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; uint8_t x_49; lean_object* x_50; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_box(0); +lean_inc(x_9); +x_43 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1, x_42, x_9, x_10, x_11, x_12, x_41); +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_45 = x_42; +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; } else { - lean_dec_ref(x_42); - x_45 = lean_box(0); + lean_dec_ref(x_43); + x_46 = lean_box(0); } -x_46 = l_Lean_Expr_mvarId_x21(x_43); -lean_dec(x_43); +x_47 = l_Lean_Expr_mvarId_x21(x_44); +lean_dec(x_44); lean_inc(x_2); -x_47 = lean_array_mk(x_2); -x_48 = 1; +x_48 = lean_array_mk(x_2); +x_49 = 1; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_49 = l___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore(x_46, x_47, x_48, x_8, x_9, x_10, x_11, x_44); -if (lean_obj_tag(x_49) == 0) +x_50 = l___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore(x_47, x_48, x_49, x_9, x_10, x_11, x_12, x_45); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); +lean_object* 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_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_52 = x_49; +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; } else { - lean_dec_ref(x_49); - x_52 = lean_box(0); + lean_dec_ref(x_50); + x_53 = lean_box(0); } -x_53 = 1; -x_54 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_4, x_53); -if (x_54 == 0) +x_54 = 1; +x_55 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_4, x_54); +if (x_55 == 0) { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t 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_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; uint8_t x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_inc(x_3); -x_139 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5), 11, 2); -lean_closure_set(x_139, 0, x_6); -lean_closure_set(x_139, 1, x_3); -x_140 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withoutRecover___rarg), 10, 1); -lean_closure_set(x_140, 0, x_139); -lean_inc(x_50); -x_141 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6), 9, 2); -lean_closure_set(x_141, 0, x_50); -lean_closure_set(x_141, 1, x_140); -x_142 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__2), 8, 1); -lean_closure_set(x_142, 0, x_141); -x_143 = lean_box(0); -x_144 = lean_box(0); -x_145 = 0; -x_146 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8; -x_147 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9; +x_150 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5), 11, 2); +lean_closure_set(x_150, 0, x_6); +lean_closure_set(x_150, 1, x_3); +x_151 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withoutRecover___rarg), 10, 1); +lean_closure_set(x_151, 0, x_150); +lean_inc(x_51); +x_152 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6), 9, 2); +lean_closure_set(x_152, 0, x_51); +lean_closure_set(x_152, 1, x_151); +x_153 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__2), 8, 1); +lean_closure_set(x_153, 0, x_152); +x_154 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_154, 0, x_7); +lean_closure_set(x_154, 1, x_153); +x_155 = lean_box(0); +x_156 = lean_box(0); +x_157 = 0; +x_158 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10; +x_159 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; lean_inc(x_2); -x_148 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_148, 0, x_143); -lean_ctor_set(x_148, 1, x_2); -lean_ctor_set(x_148, 2, x_146); -lean_ctor_set(x_148, 3, x_147); -lean_ctor_set(x_148, 4, x_144); -lean_ctor_set(x_148, 5, x_144); -lean_ctor_set(x_148, 6, x_143); -lean_ctor_set_uint8(x_148, sizeof(void*)*7, x_48); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 1, x_48); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 2, x_145); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 3, x_48); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 4, x_48); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 5, x_145); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 6, x_145); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 7, x_145); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 8, x_48); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 9, x_145); -lean_ctor_set_uint8(x_148, sizeof(void*)*7 + 10, x_48); +x_160 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_160, 0, x_155); +lean_ctor_set(x_160, 1, x_2); +lean_ctor_set(x_160, 2, x_158); +lean_ctor_set(x_160, 3, x_159); +lean_ctor_set(x_160, 4, x_156); +lean_ctor_set(x_160, 5, x_156); +lean_ctor_set(x_160, 6, x_155); +lean_ctor_set_uint8(x_160, sizeof(void*)*7, x_49); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 1, x_49); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 2, x_157); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 3, x_49); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 4, x_49); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 5, x_157); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 6, x_157); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 7, x_157); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 8, x_49); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 9, x_157); +lean_ctor_set_uint8(x_160, sizeof(void*)*7 + 10, x_49); lean_inc_n(x_2, 5); -x_149 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_149, 0, x_2); -lean_ctor_set(x_149, 1, x_144); -lean_ctor_set(x_149, 2, x_2); -lean_ctor_set(x_149, 3, x_2); -lean_ctor_set(x_149, 4, x_2); -lean_ctor_set(x_149, 5, x_144); -lean_ctor_set(x_149, 6, x_2); +x_161 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_161, 0, x_2); +lean_ctor_set(x_161, 1, x_156); +lean_ctor_set(x_161, 2, x_2); +lean_ctor_set(x_161, 3, x_2); +lean_ctor_set(x_161, 4, x_2); +lean_ctor_set(x_161, 5, x_156); +lean_ctor_set(x_161, 6, x_2); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_150 = l_Lean_Elab_Term_TermElabM_run___rarg(x_142, x_148, x_149, x_8, x_9, x_10, x_11, x_51); -if (lean_obj_tag(x_150) == 0) +x_162 = l_Lean_Elab_Term_TermElabM_run___rarg(x_154, x_160, x_161, x_9, x_10, x_11, x_12, x_52); +if (lean_obj_tag(x_162) == 0) { -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_dec(x_52); -lean_dec(x_50); -lean_dec(x_45); +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_53); +lean_dec(x_51); +lean_dec(x_46); lean_dec(x_2); -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_150, 1); -lean_inc(x_152); -lean_dec(x_150); -x_153 = lean_ctor_get(x_151, 0); -lean_inc(x_153); -lean_dec(x_151); -x_154 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_3, x_4, x_153, x_8, x_9, x_10, x_11, x_152); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_153); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_13 = x_155; -x_14 = x_156; -goto block_38; -} -else -{ -lean_object* x_157; lean_object* x_158; -x_157 = lean_ctor_get(x_150, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_150, 1); -lean_inc(x_158); -lean_dec(x_150); -x_55 = x_157; -x_56 = x_158; -goto block_138; -} -} -else -{ -lean_object* x_159; -lean_dec(x_6); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_50); -x_159 = l_Lean_MVarId_refl(x_50, x_8, x_9, x_10, x_11, x_51); -if (lean_obj_tag(x_159) == 0) -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -lean_dec(x_52); -lean_dec(x_50); -lean_dec(x_45); -lean_dec(x_2); -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); -lean_inc(x_161); -lean_dec(x_159); -x_162 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_3, x_4, x_160, x_8, x_9, x_10, x_11, x_161); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_160); x_163 = lean_ctor_get(x_162, 0); lean_inc(x_163); x_164 = lean_ctor_get(x_162, 1); lean_inc(x_164); lean_dec(x_162); -x_13 = x_163; -x_14 = x_164; -goto block_38; +x_165 = lean_ctor_get(x_163, 0); +lean_inc(x_165); +lean_dec(x_163); +x_166 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_3, x_4, x_165, x_9, x_10, x_11, x_12, x_164); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_165); +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_14 = x_167; +x_15 = x_168; +goto block_39; } else { -lean_object* x_165; lean_object* x_166; -x_165 = lean_ctor_get(x_159, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_159, 1); -lean_inc(x_166); -lean_dec(x_159); -x_55 = x_165; -x_56 = x_166; -goto block_138; +lean_object* x_169; lean_object* x_170; +x_169 = lean_ctor_get(x_162, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_162, 1); +lean_inc(x_170); +lean_dec(x_162); +x_56 = x_169; +x_57 = x_170; +goto block_149; } } -block_138: +else { -uint8_t x_57; -x_57 = l_Lean_Exception_isInterrupt(x_55); -if (x_57 == 0) +lean_object* x_171; +lean_dec(x_7); +lean_dec(x_6); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_51); +x_171 = l_Lean_MVarId_refl(x_51, x_9, x_10, x_11, x_12, x_52); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_dec(x_53); +lean_dec(x_51); +lean_dec(x_46); +lean_dec(x_2); +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +lean_dec(x_171); +x_174 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_3, x_4, x_172, x_9, x_10, x_11, x_12, x_173); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_172); +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +x_14 = x_175; +x_15 = x_176; +goto block_39; +} +else +{ +lean_object* x_177; lean_object* x_178; +x_177 = lean_ctor_get(x_171, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_171, 1); +lean_inc(x_178); +lean_dec(x_171); +x_56 = x_177; +x_57 = x_178; +goto block_149; +} +} +block_149: { uint8_t x_58; -x_58 = l_Lean_Exception_isRuntime(x_55); +x_58 = l_Lean_Exception_isInterrupt(x_56); if (x_58 == 0) { -lean_object* x_59; uint8_t x_60; -lean_dec(x_55); -lean_dec(x_52); +uint8_t x_59; +x_59 = l_Lean_Exception_isRuntime(x_56); +if (x_59 == 0) +{ +lean_object* x_60; uint8_t x_61; +lean_dec(x_53); lean_inc(x_3); -x_59 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_3, x_8, x_9, x_10, x_11, x_56); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) +x_60 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_3, x_9, x_10, x_11, x_12, x_57); +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_61 = lean_ctor_get(x_59, 0); -x_62 = lean_ctor_get(x_59, 1); -x_63 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; -x_64 = lean_unbox(x_61); -lean_dec(x_61); -if (x_64 == 0) +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_62 = lean_ctor_get(x_60, 0); +x_63 = lean_ctor_get(x_60, 1); +x_64 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; +x_65 = lean_unbox(x_62); +lean_dec(x_62); +if (x_65 == 0) { -lean_object* x_65; lean_object* x_66; -lean_free_object(x_59); -lean_dec(x_50); -lean_dec(x_45); +lean_object* x_66; lean_object* x_67; +lean_free_object(x_60); +lean_dec(x_56); +lean_dec(x_51); +lean_dec(x_46); lean_dec(x_3); lean_dec(x_2); -x_65 = lean_box(0); -x_66 = lean_apply_6(x_63, x_65, x_8, x_9, x_10, x_11, x_62); -if (lean_obj_tag(x_66) == 0) +x_66 = lean_box(0); +x_67 = lean_apply_6(x_64, x_66, x_9, x_10, x_11, x_12, x_63); +if (lean_obj_tag(x_67) == 0) { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_67, 0); lean_inc(x_68); -lean_dec(x_66); -x_13 = x_67; +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); x_14 = x_68; -goto block_38; +x_15 = x_69; +goto block_39; } else { -uint8_t x_69; +uint8_t x_70; lean_dec(x_5); -x_69 = !lean_is_exclusive(x_66); -if (x_69 == 0) +x_70 = !lean_is_exclusive(x_67); +if (x_70 == 0) { -return x_66; +return x_67; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_66, 0); -x_71 = lean_ctor_get(x_66, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_67, 0); +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_66); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; +lean_dec(x_67); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } } else { -lean_object* x_73; lean_object* x_74; -lean_ctor_set_tag(x_59, 1); -lean_ctor_set(x_59, 1, x_2); -lean_ctor_set(x_59, 0, x_50); -x_73 = l_Lean_Elab_goalsToMessageData(x_59); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_ctor_set_tag(x_60, 1); +lean_ctor_set(x_60, 1, x_2); +lean_ctor_set(x_60, 0, x_51); +x_74 = l_Lean_Elab_goalsToMessageData(x_60); +x_75 = l_Lean_Exception_toMessageData(x_56); +x_76 = l_Lean_indentD(x_75); switch (x_4) { case 0: { -lean_object* x_94; -x_94 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; -x_74 = x_94; -goto block_93; +lean_object* x_100; +x_100 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; +x_77 = x_100; +goto block_99; } case 1: { -lean_object* x_95; -x_95 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; -x_74 = x_95; -goto block_93; +lean_object* x_101; +x_101 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +x_77 = x_101; +goto block_99; } case 2: { -lean_object* x_96; -x_96 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; -x_74 = x_96; -goto block_93; +lean_object* x_102; +x_102 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; +x_77 = x_102; +goto block_99; } default: { -lean_object* x_97; -x_97 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; -x_74 = x_97; -goto block_93; +lean_object* x_103; +x_103 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +x_77 = x_103; +goto block_99; } } -block_93: +block_99: { -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_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; -if (lean_is_scalar(x_45)) { - x_77 = lean_alloc_ctor(7, 2, 0); +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; +x_78 = l_Lean_MessageData_ofFormat(x_77); +x_79 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; +if (lean_is_scalar(x_46)) { + x_80 = lean_alloc_ctor(7, 2, 0); } else { - x_77 = x_45; - lean_ctor_set_tag(x_77, 7); + x_80 = x_46; + lean_ctor_set_tag(x_80, 7); } -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = l_List_forIn_x27_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); -x_80 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_73); -x_81 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; +lean_ctor_set(x_80, 1, x_78); +x_81 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; x_82 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_82, 0, x_80); lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_3, x_82, x_8, x_9, x_10, x_11, x_62); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_apply_6(x_63, x_84, x_8, x_9, x_10, x_11, x_85); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_13 = x_87; -x_14 = x_88; -goto block_38; -} -else -{ -uint8_t x_89; -lean_dec(x_5); -x_89 = !lean_is_exclusive(x_86); -if (x_89 == 0) -{ -return x_86; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_86, 0); -x_91 = lean_ctor_get(x_86, 1); -lean_inc(x_91); +x_83 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_74); +x_84 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7; +x_85 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_76); +x_87 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_3, x_88, x_9, x_10, x_11, x_12, x_63); +x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -lean_dec(x_86); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_apply_6(x_64, x_90, x_9, x_10, x_11, x_12, x_91); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_14 = x_93; +x_15 = x_94; +goto block_39; +} +else +{ +uint8_t x_95; +lean_dec(x_5); +x_95 = !lean_is_exclusive(x_92); +if (x_95 == 0) +{ return x_92; } +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_92, 0); +x_97 = lean_ctor_get(x_92, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_92); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} } } } } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_98 = lean_ctor_get(x_59, 0); -x_99 = lean_ctor_get(x_59, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_59); -x_100 = l_List_forIn_x27_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) +lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_104 = lean_ctor_get(x_60, 0); +x_105 = lean_ctor_get(x_60, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_60); +x_106 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; +x_107 = lean_unbox(x_104); +lean_dec(x_104); +if (x_107 == 0) { -lean_object* x_102; lean_object* x_103; -lean_dec(x_50); -lean_dec(x_45); +lean_object* x_108; lean_object* x_109; +lean_dec(x_56); +lean_dec(x_51); +lean_dec(x_46); lean_dec(x_3); lean_dec(x_2); -x_102 = lean_box(0); -x_103 = lean_apply_6(x_100, x_102, x_8, x_9, x_10, x_11, x_99); -if (lean_obj_tag(x_103) == 0) +x_108 = lean_box(0); +x_109 = lean_apply_6(x_106, x_108, x_9, x_10, x_11, x_12, x_105); +if (lean_obj_tag(x_109) == 0) { -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_13 = x_104; -x_14 = x_105; -goto block_38; +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_14 = x_110; +x_15 = x_111; +goto block_39; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_dec(x_5); -x_106 = lean_ctor_get(x_103, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_108 = x_103; +x_112 = lean_ctor_get(x_109, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_114 = x_109; } else { - lean_dec_ref(x_103); - x_108 = lean_box(0); + lean_dec_ref(x_109); + x_114 = lean_box(0); } -if (lean_is_scalar(x_108)) { - x_109 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); } else { - x_109 = x_108; + x_115 = x_114; } -lean_ctor_set(x_109, 0, x_106); -lean_ctor_set(x_109, 1, x_107); -return x_109; +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; } } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_50); -lean_ctor_set(x_110, 1, x_2); -x_111 = l_Lean_Elab_goalsToMessageData(x_110); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_51); +lean_ctor_set(x_116, 1, x_2); +x_117 = l_Lean_Elab_goalsToMessageData(x_116); +x_118 = l_Lean_Exception_toMessageData(x_56); +x_119 = l_Lean_indentD(x_118); switch (x_4) { case 0: { -lean_object* x_132; -x_132 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; -x_112 = x_132; -goto block_131; +lean_object* x_143; +x_143 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; +x_120 = x_143; +goto block_142; } case 1: { -lean_object* x_133; -x_133 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; -x_112 = x_133; -goto block_131; +lean_object* x_144; +x_144 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +x_120 = x_144; +goto block_142; } case 2: { -lean_object* x_134; -x_134 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; -x_112 = x_134; -goto block_131; +lean_object* x_145; +x_145 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; +x_120 = x_145; +goto block_142; } default: { -lean_object* x_135; -x_135 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; -x_112 = x_135; -goto block_131; +lean_object* x_146; +x_146 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +x_120 = x_146; +goto block_142; } } -block_131: +block_142: { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_113 = l_Lean_MessageData_ofFormat(x_112); -x_114 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; -if (lean_is_scalar(x_45)) { - x_115 = lean_alloc_ctor(7, 2, 0); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_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_121 = l_Lean_MessageData_ofFormat(x_120); +x_122 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; +if (lean_is_scalar(x_46)) { + x_123 = lean_alloc_ctor(7, 2, 0); } else { - x_115 = x_45; - lean_ctor_set_tag(x_115, 7); + x_123 = x_46; + lean_ctor_set_tag(x_123, 7); } -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; -x_117 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_111); -x_119 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; -x_120 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -x_121 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_3, x_120, x_8, x_9, x_10, x_11, x_99); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_apply_6(x_100, x_122, x_8, x_9, x_10, x_11, x_123); -if (lean_obj_tag(x_124) == 0) +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +x_124 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; +x_125 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_117); +x_127 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7; +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 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_119); +x_130 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; +x_131 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +x_132 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_3, x_131, x_9, x_10, x_11, x_12, x_105); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_apply_6(x_106, x_133, x_9, x_10, x_11, x_12, x_134); +if (lean_obj_tag(x_135) == 0) { -lean_object* x_125; lean_object* x_126; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_13 = x_125; -x_14 = x_126; -goto block_38; +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_14 = x_136; +x_15 = x_137; +goto block_39; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_dec(x_5); -x_127 = lean_ctor_get(x_124, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_124, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_129 = x_124; +x_138 = lean_ctor_get(x_135, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_135, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_140 = x_135; } else { - lean_dec_ref(x_124); - x_129 = lean_box(0); + lean_dec_ref(x_135); + x_140 = lean_box(0); } -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(1, 2, 0); } else { - x_130 = x_129; + x_141 = x_140; } -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_128); -return x_130; +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_139); +return x_141; } } } @@ -18775,214 +18832,216 @@ return x_130; } else { -lean_object* x_136; -lean_dec(x_50); -lean_dec(x_45); +lean_object* x_147; +lean_dec(x_51); +lean_dec(x_46); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_52)) { - x_136 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_53)) { + x_147 = lean_alloc_ctor(1, 2, 0); } else { - x_136 = x_52; - lean_ctor_set_tag(x_136, 1); + x_147 = x_53; + lean_ctor_set_tag(x_147, 1); } -lean_ctor_set(x_136, 0, x_55); -lean_ctor_set(x_136, 1, x_56); -return x_136; +lean_ctor_set(x_147, 0, x_56); +lean_ctor_set(x_147, 1, x_57); +return x_147; } } else { -lean_object* x_137; -lean_dec(x_50); -lean_dec(x_45); +lean_object* x_148; +lean_dec(x_51); +lean_dec(x_46); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_52)) { - x_137 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_53)) { + x_148 = lean_alloc_ctor(1, 2, 0); } else { - x_137 = x_52; - lean_ctor_set_tag(x_137, 1); + x_148 = x_53; + lean_ctor_set_tag(x_148, 1); } -lean_ctor_set(x_137, 0, x_55); -lean_ctor_set(x_137, 1, x_56); -return x_137; +lean_ctor_set(x_148, 0, x_56); +lean_ctor_set(x_148, 1, x_57); +return x_148; } } } else { -uint8_t x_167; -lean_dec(x_45); +uint8_t x_179; +lean_dec(x_46); +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_3); lean_dec(x_2); -x_167 = !lean_is_exclusive(x_49); -if (x_167 == 0) +x_179 = !lean_is_exclusive(x_50); +if (x_179 == 0) { -return x_49; +return x_50; } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_49, 0); -x_169 = lean_ctor_get(x_49, 1); -lean_inc(x_169); -lean_inc(x_168); -lean_dec(x_49); -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; +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_50, 0); +x_181 = lean_ctor_get(x_50, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_50); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; } } } else { -uint8_t x_171; +uint8_t x_183; +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_3); lean_dec(x_2); lean_dec(x_1); -x_171 = !lean_is_exclusive(x_39); -if (x_171 == 0) +x_183 = !lean_is_exclusive(x_40); +if (x_183 == 0) { -return x_39; +return x_40; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_39, 0); -x_173 = lean_ctor_get(x_39, 1); -lean_inc(x_173); -lean_inc(x_172); -lean_dec(x_39); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_172); -lean_ctor_set(x_174, 1, x_173); -return x_174; +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_40, 0); +x_185 = lean_ctor_get(x_40, 1); +lean_inc(x_185); +lean_inc(x_184); +lean_dec(x_40); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +return x_186; } } -block_38: +block_39: { -switch (lean_obj_tag(x_13)) { +switch (lean_obj_tag(x_14)) { case 0: { -uint8_t x_15; +uint8_t x_16; lean_dec(x_5); -x_15 = !lean_is_exclusive(x_13); -if (x_15 == 0) +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 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_13, 0); -x_17 = lean_ctor_get(x_13, 1); -lean_dec(x_17); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_16); -x_19 = lean_box(0); -lean_ctor_set(x_13, 1, x_19); -lean_ctor_set(x_13, 0, x_18); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_13); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_14); -return x_21; +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_14, 0); +x_18 = lean_ctor_get(x_14, 1); +lean_dec(x_18); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_17); +x_20 = lean_box(0); +lean_ctor_set(x_14, 1, x_20); +lean_ctor_set(x_14, 0, x_19); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_14); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_15); +return x_22; } 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_13, 0); -lean_inc(x_22); -lean_dec(x_13); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_14); -return x_27; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_15); +return x_28; } } case 1: { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_13); -if (x_28 == 0) +uint8_t x_29; +x_29 = !lean_is_exclusive(x_14); +if (x_29 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_13, 0); -lean_dec(x_29); -lean_ctor_set_tag(x_13, 0); -lean_ctor_set(x_13, 0, x_5); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_13); -lean_ctor_set(x_30, 1, x_14); -return x_30; +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_14, 0); +lean_dec(x_30); +lean_ctor_set_tag(x_14, 0); +lean_ctor_set(x_14, 0, x_5); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_14); +lean_ctor_set(x_31, 1, x_15); +return x_31; } else { -lean_object* x_31; lean_object* x_32; -lean_dec(x_13); -x_31 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_31, 0, x_5); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_14); -return x_32; +lean_object* x_32; lean_object* x_33; +lean_dec(x_14); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_5); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_15); +return x_33; } } default: { -uint8_t x_33; -x_33 = !lean_is_exclusive(x_13); -if (x_33 == 0) +uint8_t x_34; +x_34 = !lean_is_exclusive(x_14); +if (x_34 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_13, 0); -lean_dec(x_34); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_5); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_13); -lean_ctor_set(x_35, 1, x_14); -return x_35; +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_14, 0); +lean_dec(x_35); +lean_ctor_set_tag(x_14, 1); +lean_ctor_set(x_14, 0, x_5); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_14); +lean_ctor_set(x_36, 1, x_15); +return x_36; } else { -lean_object* x_36; lean_object* x_37; -lean_dec(x_13); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_5); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_14); -return x_37; +lean_object* x_37; lean_object* x_38; +lean_dec(x_14); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, 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_15); +return x_38; } } } @@ -19023,345 +19082,352 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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) { _start: { -if (lean_obj_tag(x_11) == 0) +if (lean_obj_tag(x_12) == 0) { -lean_object* x_19; +lean_object* x_20; +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_12); -lean_ctor_set(x_19, 1, x_18); -return x_19; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_19); +return x_20; } else { -uint8_t x_20; -lean_dec(x_12); -x_20 = !lean_is_exclusive(x_11); -if (x_20 == 0) +uint8_t x_21; +lean_dec(x_13); +x_21 = !lean_is_exclusive(x_12); +if (x_21 == 0) { -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; uint8_t x_31; -x_21 = lean_ctor_get(x_11, 0); -x_22 = lean_ctor_get(x_11, 1); -x_23 = lean_unbox(x_21); -x_24 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(x_23); -x_25 = lean_box(0); -lean_inc(x_2); -lean_ctor_set(x_11, 1, x_25); -lean_ctor_set(x_11, 0, x_2); +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_22 = lean_ctor_get(x_12, 0); +x_23 = lean_ctor_get(x_12, 1); +x_24 = lean_unbox(x_22); +x_25 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(x_24); +x_26 = lean_box(0); lean_inc(x_3); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_3); -lean_ctor_set(x_26, 1, x_11); -x_27 = lean_array_mk(x_26); -x_28 = l_Lean_mkAppN(x_24, x_27); -lean_dec(x_27); +lean_ctor_set(x_12, 1, x_26); +lean_ctor_set(x_12, 0, x_3); lean_inc(x_4); -x_29 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_14, x_15, x_16, x_17, x_18); -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) +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_4); +lean_ctor_set(x_27, 1, x_12); +x_28 = lean_array_mk(x_27); +x_29 = l_Lean_mkAppN(x_25, x_28); +lean_dec(x_28); +lean_inc(x_5); +x_30 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_15, x_16, x_17, x_18, x_19); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = lean_box(0); -x_34 = lean_unbox(x_21); -lean_dec(x_21); +lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_box(0); +x_35 = lean_unbox(x_22); +lean_dec(x_22); +lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); lean_inc(x_1); -lean_inc(x_9); -lean_inc(x_4); -x_35 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_28, x_25, x_4, x_34, x_9, x_1, x_33, x_14, x_15, x_16, x_17, x_32); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); +lean_inc(x_2); +lean_inc(x_10); +lean_inc(x_5); +x_36 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_29, x_26, x_5, x_35, x_10, x_2, x_1, x_34, x_15, x_16, x_17, x_18, x_33); if (lean_obj_tag(x_36) == 0) { -uint8_t x_37; -lean_dec(x_22); +lean_object* x_37; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_38; +lean_dec(x_23); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_35); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_36); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_35, 0); -lean_dec(x_38); +lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_36, 0); -lean_inc(x_39); -lean_dec(x_36); -lean_ctor_set(x_35, 0, x_39); -return x_35; +lean_dec(x_39); +x_40 = lean_ctor_get(x_37, 0); +lean_inc(x_40); +lean_dec(x_37); +lean_ctor_set(x_36, 0, x_40); +return x_36; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_35, 1); -lean_inc(x_40); -lean_dec(x_35); -x_41 = lean_ctor_get(x_36, 0); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_36, 1); lean_inc(x_41); lean_dec(x_36); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -return x_42; +x_42 = lean_ctor_get(x_37, 0); +lean_inc(x_42); +lean_dec(x_37); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +return x_43; } } else { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_35, 1); -lean_inc(x_43); -lean_dec(x_35); -x_44 = lean_ctor_get(x_36, 0); +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_36, 1); lean_inc(x_44); lean_dec(x_36); -x_11 = x_22; -x_12 = x_44; -x_13 = lean_box(0); -x_18 = x_43; +x_45 = lean_ctor_get(x_37, 0); +lean_inc(x_45); +lean_dec(x_37); +x_12 = x_23; +x_13 = x_45; +x_14 = lean_box(0); +x_19 = x_44; goto _start; } } else { -uint8_t x_46; -lean_dec(x_22); +uint8_t x_47; +lean_dec(x_23); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_35); -if (x_46 == 0) +x_47 = !lean_is_exclusive(x_36); +if (x_47 == 0) { -return x_35; +return x_36; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_35, 0); -x_48 = lean_ctor_get(x_35, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_36, 0); +x_49 = lean_ctor_get(x_36, 1); +lean_inc(x_49); lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_35); -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_dec(x_36); +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; } } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_82; -x_50 = lean_ctor_get(x_29, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_51 = x_29; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_83; +x_51 = lean_ctor_get(x_30, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_52 = x_30; } else { - lean_dec_ref(x_29); - x_51 = lean_box(0); + lean_dec_ref(x_30); + x_52 = lean_box(0); } -lean_inc(x_28); -x_52 = l_Lean_MessageData_ofExpr(x_28); -x_82 = lean_unbox(x_21); -switch (x_82) { +lean_inc(x_29); +x_53 = l_Lean_MessageData_ofExpr(x_29); +x_83 = lean_unbox(x_22); +switch (x_83) { case 0: { -lean_object* x_83; -x_83 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; -x_53 = x_83; -goto block_81; +lean_object* x_84; +x_84 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; +x_54 = x_84; +goto block_82; } case 1: { -lean_object* x_84; -x_84 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; -x_53 = x_84; -goto block_81; +lean_object* x_85; +x_85 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +x_54 = x_85; +goto block_82; } case 2: { -lean_object* x_85; -x_85 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; -x_53 = x_85; -goto block_81; +lean_object* x_86; +x_86 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; +x_54 = x_86; +goto block_82; } default: { -lean_object* x_86; -x_86 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; -x_53 = x_86; -goto block_81; +lean_object* x_87; +x_87 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +x_54 = x_87; +goto block_82; } } -block_81: +block_82: { -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; lean_object* x_66; -x_54 = l_Lean_MessageData_ofFormat(x_53); -x_55 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2; -if (lean_is_scalar(x_51)) { - x_56 = lean_alloc_ctor(7, 2, 0); +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; uint8_t x_66; lean_object* x_67; +x_55 = l_Lean_MessageData_ofFormat(x_54); +x_56 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2; +if (lean_is_scalar(x_52)) { + x_57 = lean_alloc_ctor(7, 2, 0); } else { - x_56 = x_51; - lean_ctor_set_tag(x_56, 7); + x_57 = x_52; + lean_ctor_set_tag(x_57, 7); } -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4; -x_58 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4; x_59 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_52); -x_60 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; -x_61 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -lean_inc(x_4); -x_62 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_4, x_61, x_14, x_15, x_16, x_17, x_50); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_53); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +lean_inc(x_5); +x_63 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_5, x_62, x_15, x_16, x_17, x_18, x_51); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_unbox(x_21); -lean_dec(x_21); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = lean_unbox(x_22); +lean_dec(x_22); +lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); lean_inc(x_1); -lean_inc(x_9); -lean_inc(x_4); -x_66 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_28, x_25, x_4, x_65, x_9, x_1, x_63, x_14, x_15, x_16, x_17, x_64); -lean_dec(x_63); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); +lean_inc(x_2); +lean_inc(x_10); +lean_inc(x_5); +x_67 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_29, x_26, x_5, x_66, x_10, x_2, x_1, x_64, x_15, x_16, x_17, x_18, x_65); +lean_dec(x_64); if (lean_obj_tag(x_67) == 0) { -uint8_t x_68; -lean_dec(x_22); +lean_object* x_68; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +if (lean_obj_tag(x_68) == 0) +{ +uint8_t x_69; +lean_dec(x_23); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_68 = !lean_is_exclusive(x_66); -if (x_68 == 0) +x_69 = !lean_is_exclusive(x_67); +if (x_69 == 0) { -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 0); -lean_dec(x_69); +lean_object* x_70; lean_object* x_71; x_70 = lean_ctor_get(x_67, 0); -lean_inc(x_70); -lean_dec(x_67); -lean_ctor_set(x_66, 0, x_70); -return x_66; +lean_dec(x_70); +x_71 = lean_ctor_get(x_68, 0); +lean_inc(x_71); +lean_dec(x_68); +lean_ctor_set(x_67, 0, x_71); +return x_67; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_66, 1); -lean_inc(x_71); -lean_dec(x_66); -x_72 = lean_ctor_get(x_67, 0); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_67, 1); lean_inc(x_72); lean_dec(x_67); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -return x_73; +x_73 = lean_ctor_get(x_68, 0); +lean_inc(x_73); +lean_dec(x_68); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +return x_74; } } else { -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_66, 1); -lean_inc(x_74); -lean_dec(x_66); -x_75 = lean_ctor_get(x_67, 0); +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_67, 1); lean_inc(x_75); lean_dec(x_67); -x_11 = x_22; -x_12 = x_75; -x_13 = lean_box(0); -x_18 = x_74; +x_76 = lean_ctor_get(x_68, 0); +lean_inc(x_76); +lean_dec(x_68); +x_12 = x_23; +x_13 = x_76; +x_14 = lean_box(0); +x_19 = x_75; goto _start; } } else { -uint8_t x_77; -lean_dec(x_22); +uint8_t x_78; +lean_dec(x_23); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_77 = !lean_is_exclusive(x_66); -if (x_77 == 0) +x_78 = !lean_is_exclusive(x_67); +if (x_78 == 0) { -return x_66; +return x_67; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_66, 0); -x_79 = lean_ctor_get(x_66, 1); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_67, 0); +x_80 = lean_ctor_get(x_67, 1); +lean_inc(x_80); lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_66); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; +lean_dec(x_67); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; } } } @@ -19369,317 +19435,323 @@ return x_80; } else { -lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_87 = lean_ctor_get(x_11, 0); -x_88 = lean_ctor_get(x_11, 1); +lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; +x_88 = lean_ctor_get(x_12, 0); +x_89 = lean_ctor_get(x_12, 1); +lean_inc(x_89); lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_11); -x_89 = lean_unbox(x_87); -x_90 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(x_89); -x_91 = lean_box(0); -lean_inc(x_2); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_2); -lean_ctor_set(x_92, 1, x_91); +lean_dec(x_12); +x_90 = lean_unbox(x_88); +x_91 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(x_90); +x_92 = lean_box(0); lean_inc(x_3); x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_3); lean_ctor_set(x_93, 1, x_92); -x_94 = lean_array_mk(x_93); -x_95 = l_Lean_mkAppN(x_90, x_94); -lean_dec(x_94); lean_inc(x_4); -x_96 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_14, x_15, x_16, x_17, x_18); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_unbox(x_97); -lean_dec(x_97); -if (x_98 == 0) +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_4); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_mk(x_94); +x_96 = l_Lean_mkAppN(x_91, x_95); +lean_dec(x_95); +lean_inc(x_5); +x_97 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_15, x_16, x_17, x_18, x_19); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_unbox(x_98); +lean_dec(x_98); +if (x_99 == 0) { -lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_96, 1); -lean_inc(x_99); -lean_dec(x_96); -x_100 = lean_box(0); -x_101 = lean_unbox(x_87); -lean_dec(x_87); +lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; +x_100 = lean_ctor_get(x_97, 1); +lean_inc(x_100); +lean_dec(x_97); +x_101 = lean_box(0); +x_102 = lean_unbox(x_88); +lean_dec(x_88); +lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); lean_inc(x_1); -lean_inc(x_9); -lean_inc(x_4); -x_102 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_95, x_91, x_4, x_101, x_9, x_1, x_100, x_14, x_15, x_16, x_17, x_99); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); +lean_inc(x_2); +lean_inc(x_10); +lean_inc(x_5); +x_103 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_96, x_92, x_5, x_102, x_10, x_2, x_1, x_101, x_15, x_16, x_17, x_18, x_100); if (lean_obj_tag(x_103) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_dec(x_88); +lean_object* x_104; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_89); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_105 = x_102; +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_106 = x_103; } else { - lean_dec_ref(x_102); - x_105 = lean_box(0); + lean_dec_ref(x_103); + x_106 = lean_box(0); } -x_106 = lean_ctor_get(x_103, 0); -lean_inc(x_106); -lean_dec(x_103); -if (lean_is_scalar(x_105)) { - x_107 = lean_alloc_ctor(0, 2, 0); +x_107 = lean_ctor_get(x_104, 0); +lean_inc(x_107); +lean_dec(x_104); +if (lean_is_scalar(x_106)) { + x_108 = lean_alloc_ctor(0, 2, 0); } else { - x_107 = x_105; + x_108 = x_106; } -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_104); -return x_107; +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_105); +return x_108; } else { -lean_object* x_108; lean_object* x_109; -x_108 = lean_ctor_get(x_102, 1); -lean_inc(x_108); -lean_dec(x_102); -x_109 = lean_ctor_get(x_103, 0); +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_103, 1); lean_inc(x_109); lean_dec(x_103); -x_11 = x_88; -x_12 = x_109; -x_13 = lean_box(0); -x_18 = x_108; +x_110 = lean_ctor_get(x_104, 0); +lean_inc(x_110); +lean_dec(x_104); +x_12 = x_89; +x_13 = x_110; +x_14 = lean_box(0); +x_19 = x_109; goto _start; } } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -lean_dec(x_88); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_89); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_111 = lean_ctor_get(x_102, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_102, 1); +x_112 = lean_ctor_get(x_103, 0); lean_inc(x_112); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_113 = x_102; +x_113 = lean_ctor_get(x_103, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_114 = x_103; } else { - lean_dec_ref(x_102); - x_113 = lean_box(0); + lean_dec_ref(x_103); + x_114 = lean_box(0); } -if (lean_is_scalar(x_113)) { - x_114 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); } else { - x_114 = x_113; + x_115 = x_114; } -lean_ctor_set(x_114, 0, x_111); -lean_ctor_set(x_114, 1, x_112); -return x_114; +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; } } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_145; -x_115 = lean_ctor_get(x_96, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_116 = x_96; +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_146; +x_116 = lean_ctor_get(x_97, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_117 = x_97; } else { - lean_dec_ref(x_96); - x_116 = lean_box(0); + lean_dec_ref(x_97); + x_117 = lean_box(0); } -lean_inc(x_95); -x_117 = l_Lean_MessageData_ofExpr(x_95); -x_145 = lean_unbox(x_87); -switch (x_145) { +lean_inc(x_96); +x_118 = l_Lean_MessageData_ofExpr(x_96); +x_146 = lean_unbox(x_88); +switch (x_146) { case 0: { -lean_object* x_146; -x_146 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; -x_118 = x_146; -goto block_144; +lean_object* x_147; +x_147 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; +x_119 = x_147; +goto block_145; } case 1: { -lean_object* x_147; -x_147 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; -x_118 = x_147; -goto block_144; +lean_object* x_148; +x_148 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +x_119 = x_148; +goto block_145; } case 2: { -lean_object* x_148; -x_148 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; -x_118 = x_148; -goto block_144; +lean_object* x_149; +x_149 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; +x_119 = x_149; +goto block_145; } default: { -lean_object* x_149; -x_149 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; -x_118 = x_149; -goto block_144; +lean_object* x_150; +x_150 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +x_119 = x_150; +goto block_145; } } -block_144: +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; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; -x_119 = l_Lean_MessageData_ofFormat(x_118); -x_120 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2; -if (lean_is_scalar(x_116)) { - x_121 = lean_alloc_ctor(7, 2, 0); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; +x_120 = l_Lean_MessageData_ofFormat(x_119); +x_121 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2; +if (lean_is_scalar(x_117)) { + x_122 = lean_alloc_ctor(7, 2, 0); } else { - x_121 = x_116; - lean_ctor_set_tag(x_121, 7); + x_122 = x_117; + lean_ctor_set_tag(x_122, 7); } -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4; -x_123 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); +x_123 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4; x_124 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_117); -x_125 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; -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_4); -x_127 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_4, x_126, x_14, x_15, x_16, x_17, x_115); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_118); +x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__2___closed__5; +x_127 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +lean_inc(x_5); +x_128 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_5, x_127, x_15, x_16, x_17, x_18, x_116); +x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); -lean_dec(x_127); -x_130 = lean_unbox(x_87); -lean_dec(x_87); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_unbox(x_88); +lean_dec(x_88); +lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); lean_inc(x_1); -lean_inc(x_9); -lean_inc(x_4); -x_131 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_95, x_91, x_4, x_130, x_9, x_1, x_128, x_14, x_15, x_16, x_17, x_129); -lean_dec(x_128); -if (lean_obj_tag(x_131) == 0) -{ -lean_object* x_132; -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); +lean_inc(x_2); +lean_inc(x_10); +lean_inc(x_5); +x_132 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_96, x_92, x_5, x_131, x_10, x_2, x_1, x_129, x_15, x_16, x_17, x_18, x_130); +lean_dec(x_129); if (lean_obj_tag(x_132) == 0) { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_dec(x_88); +lean_object* x_133; +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +if (lean_obj_tag(x_133) == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec(x_89); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_134 = x_131; +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_131); - x_134 = lean_box(0); + lean_dec_ref(x_132); + x_135 = lean_box(0); } -x_135 = lean_ctor_get(x_132, 0); -lean_inc(x_135); -lean_dec(x_132); -if (lean_is_scalar(x_134)) { - x_136 = lean_alloc_ctor(0, 2, 0); +x_136 = lean_ctor_get(x_133, 0); +lean_inc(x_136); +lean_dec(x_133); +if (lean_is_scalar(x_135)) { + x_137 = lean_alloc_ctor(0, 2, 0); } else { - x_136 = x_134; + x_137 = x_135; } -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_133); -return x_136; +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_134); +return x_137; } else { -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_131, 1); -lean_inc(x_137); -lean_dec(x_131); -x_138 = lean_ctor_get(x_132, 0); +lean_object* x_138; lean_object* x_139; +x_138 = lean_ctor_get(x_132, 1); lean_inc(x_138); lean_dec(x_132); -x_11 = x_88; -x_12 = x_138; -x_13 = lean_box(0); -x_18 = x_137; +x_139 = lean_ctor_get(x_133, 0); +lean_inc(x_139); +lean_dec(x_133); +x_12 = x_89; +x_13 = x_139; +x_14 = lean_box(0); +x_19 = x_138; goto _start; } } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_88); +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_89); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_140 = lean_ctor_get(x_131, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_131, 1); +x_141 = lean_ctor_get(x_132, 0); lean_inc(x_141); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_142 = x_131; +x_142 = lean_ctor_get(x_132, 1); +lean_inc(x_142); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + x_143 = x_132; } else { - lean_dec_ref(x_131); - x_142 = lean_box(0); + lean_dec_ref(x_132); + x_143 = lean_box(0); } -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_143)) { + x_144 = lean_alloc_ctor(1, 2, 0); } else { - x_143 = x_142; + x_144 = x_143; } -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_141); -return x_143; +lean_ctor_set(x_144, 0, x_141); +lean_ctor_set(x_144, 1, x_142); +return x_144; } } } @@ -19758,96 +19830,96 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__1 return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_box(0); -x_14 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3; -x_15 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_box(0); +x_15 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3; +x_16 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_16 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_14, x_15, x_14, x_14, x_15, lean_box(0), x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) +x_17 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14, x_15, x_16, x_15, x_15, x_16, lean_box(0), x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); +lean_object* x_18; lean_object* x_19; x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_16, 1); +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_16); -x_20 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5; -x_21 = lean_box(0); -x_22 = lean_apply_6(x_20, x_21, x_8, x_9, x_10, x_11, x_19); -return x_22; +lean_dec(x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5; +x_22 = lean_box(0); +x_23 = lean_apply_6(x_21, x_22, x_9, x_10, x_11, x_12, x_20); +return x_23; } else { -uint8_t x_23; +uint8_t x_24; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_16, 0); -lean_dec(x_24); -x_25 = lean_ctor_get(x_18, 0); -lean_inc(x_25); -lean_dec(x_18); -lean_ctor_set(x_16, 0, x_25); -return x_16; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_16, 1); +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_17, 0); +lean_dec(x_25); +x_26 = lean_ctor_get(x_19, 0); lean_inc(x_26); -lean_dec(x_16); -x_27 = lean_ctor_get(x_18, 0); +lean_dec(x_19); +lean_ctor_set(x_17, 0, x_26); +return x_17; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 1); lean_inc(x_27); -lean_dec(x_18); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -return x_28; +lean_dec(x_17); +x_28 = lean_ctor_get(x_19, 0); +lean_inc(x_28); +lean_dec(x_19); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; } } } else { -uint8_t x_29; +uint8_t x_30; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) { -return x_16; +return x_17; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_16); -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_dec(x_17); +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; } } } @@ -19869,154 +19941,154 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_inc(x_1); -x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_1, 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); +x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_1, x_9, x_10, x_11, x_12, x_13); +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; +lean_dec(x_8); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_7); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_box(0); -x_18 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_2, x_3, x_4, x_1, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_16); -return x_18; +x_18 = lean_box(0); +x_19 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_2, x_3, x_4, x_5, x_1, x_6, x_7, x_18, x_9, x_10, x_11, x_12, x_17); +return x_19; } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_13); -if (x_19 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 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; 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; -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_7, 1); -lean_inc(x_22); -x_23 = l___private_Init_Data_Repr_0__Nat_reprFast(x_22); -x_24 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_MessageData_ofFormat(x_24); -x_26 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2; -lean_ctor_set_tag(x_13, 7); -lean_ctor_set(x_13, 1, x_25); -lean_ctor_set(x_13, 0, x_26); -x_27 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; -x_28 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_28, 0, x_13); -lean_ctor_set(x_28, 1, x_27); -lean_inc(x_3); -x_29 = l_Lean_MessageData_ofExpr(x_3); -x_30 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; -x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_ctor_get(x_7, 3); -lean_inc(x_33); -lean_dec(x_7); -x_34 = l___private_Init_Data_Repr_0__Nat_reprFast(x_33); -x_35 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = l_Lean_MessageData_ofFormat(x_35); -x_37 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_37, 0, x_32); -lean_ctor_set(x_37, 1, x_36); +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; +x_21 = lean_ctor_get(x_14, 1); +x_22 = lean_ctor_get(x_14, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_8, 1); +lean_inc(x_23); +x_24 = l___private_Init_Data_Repr_0__Nat_reprFast(x_23); +x_25 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_MessageData_ofFormat(x_25); +x_27 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2; +lean_ctor_set_tag(x_14, 7); +lean_ctor_set(x_14, 1, x_26); +lean_ctor_set(x_14, 0, x_27); +x_28 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_14); +lean_ctor_set(x_29, 1, x_28); +lean_inc(x_4); +x_30 = l_Lean_MessageData_ofExpr(x_4); +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; +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 = lean_ctor_get(x_8, 3); +lean_inc(x_34); +lean_dec(x_8); +x_35 = l___private_Init_Data_Repr_0__Nat_reprFast(x_34); +x_36 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = l_Lean_MessageData_ofFormat(x_36); x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_27); -lean_inc(x_4); -x_39 = l_Lean_MessageData_ofExpr(x_4); -x_40 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__8; -x_42 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_38, 0, x_33); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_28); +lean_inc(x_5); +x_40 = l_Lean_MessageData_ofExpr(x_5); +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__8; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); lean_inc(x_1); -x_43 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_1, x_42, x_8, x_9, x_10, x_11, x_20); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); +x_44 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_1, x_43, x_9, x_10, x_11, x_12, x_21); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_43); -x_46 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_2, x_3, x_4, x_1, x_5, x_6, x_44, x_8, x_9, x_10, x_11, x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); lean_dec(x_44); -return x_46; +x_47 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_2, x_3, x_4, x_5, x_1, x_6, x_7, x_45, x_9, x_10, x_11, x_12, x_46); +lean_dec(x_45); +return x_47; } 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; 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; -x_47 = lean_ctor_get(x_13, 1); -lean_inc(x_47); -lean_dec(x_13); -x_48 = lean_ctor_get(x_7, 1); +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; +x_48 = lean_ctor_get(x_14, 1); lean_inc(x_48); -x_49 = l___private_Init_Data_Repr_0__Nat_reprFast(x_48); -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_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___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_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; -x_55 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -lean_inc(x_3); -x_56 = l_Lean_MessageData_ofExpr(x_3); -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_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; -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 = lean_ctor_get(x_7, 3); -lean_inc(x_60); -lean_dec(x_7); -x_61 = l___private_Init_Data_Repr_0__Nat_reprFast(x_60); -x_62 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_62, 0, x_61); -x_63 = l_Lean_MessageData_ofFormat(x_62); -x_64 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_64, 0, x_59); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_54); +lean_dec(x_14); +x_49 = lean_ctor_get(x_8, 1); +lean_inc(x_49); +x_50 = l___private_Init_Data_Repr_0__Nat_reprFast(x_49); +x_51 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_52 = l_Lean_MessageData_ofFormat(x_51); +x_53 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2; +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__4; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); lean_inc(x_4); -x_66 = l_Lean_MessageData_ofExpr(x_4); -x_67 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__8; -x_69 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); +x_57 = l_Lean_MessageData_ofExpr(x_4); +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__6; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_ctor_get(x_8, 3); +lean_inc(x_61); +lean_dec(x_8); +x_62 = l___private_Init_Data_Repr_0__Nat_reprFast(x_61); +x_63 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = l_Lean_MessageData_ofFormat(x_63); +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_60); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_55); +lean_inc(x_5); +x_67 = l_Lean_MessageData_ofExpr(x_5); +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__8; +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_1); -x_70 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_1, x_69, x_8, x_9, x_10, x_11, x_47); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +x_71 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_1, x_70, x_9, x_10, x_11, x_12, x_48); +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_2, x_3, x_4, x_1, x_5, x_6, x_71, x_8, x_9, x_10, x_11, x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); lean_dec(x_71); -return x_73; +x_74 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_2, x_3, x_4, x_5, x_1, x_6, x_7, x_72, x_9, x_10, x_11, x_12, x_73); +lean_dec(x_72); +return x_74; } } } @@ -20042,40 +20114,41 @@ lean_closure_set(x_1, 2, lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall(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_WF_GuessLex_evalRecCall(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_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; -x_12 = lean_ctor_get(x_4, 5); -lean_inc(x_12); -x_13 = l_Lean_Elab_WF_GuessLex_instInhabitedBasicMeasure; -x_14 = lean_array_get(x_13, x_2, x_5); -x_15 = lean_array_get(x_13, x_3, x_6); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_4, 2); +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; +x_13 = lean_ctor_get(x_5, 5); +lean_inc(x_13); +x_14 = l_Lean_Elab_WF_GuessLex_instInhabitedBasicMeasure; +x_15 = lean_array_get(x_14, x_3, x_6); +x_16 = lean_array_get(x_14, x_4, x_7); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = l_Lean_Expr_beta(x_16, x_17); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); lean_dec(x_15); -x_20 = lean_ctor_get(x_4, 4); +x_18 = lean_ctor_get(x_5, 2); +lean_inc(x_18); +x_19 = l_Lean_Expr_beta(x_17, x_18); +x_20 = lean_ctor_get(x_16, 1); lean_inc(x_20); -x_21 = l_Lean_Expr_beta(x_19, x_20); -x_22 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; -x_23 = l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1; -x_24 = l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2; -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___boxed), 12, 7); -lean_closure_set(x_25, 0, x_22); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_18); -lean_closure_set(x_25, 3, x_21); -lean_closure_set(x_25, 4, x_23); -lean_closure_set(x_25, 5, x_24); -lean_closure_set(x_25, 6, x_4); -x_26 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(x_12, x_25, x_7, x_8, x_9, x_10, x_11); -return x_26; +lean_dec(x_16); +x_21 = lean_ctor_get(x_5, 4); +lean_inc(x_21); +x_22 = l_Lean_Expr_beta(x_20, x_21); +x_23 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; +x_24 = l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1; +x_25 = l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2; +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___boxed), 13, 8); +lean_closure_set(x_26, 0, x_23); +lean_closure_set(x_26, 1, x_1); +lean_closure_set(x_26, 2, x_2); +lean_closure_set(x_26, 3, x_19); +lean_closure_set(x_26, 4, x_22); +lean_closure_set(x_26, 5, x_24); +lean_closure_set(x_26, 6, x_25); +lean_closure_set(x_26, 7, x_5); +x_27 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(x_13, x_26, x_8, x_9, x_10, x_11, x_12); +return x_27; } } LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___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) { @@ -20154,15 +20227,15 @@ x_3 = lean_box(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_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, lean_object* x_12) { +LEAN_EXPORT lean_object* l_List_forIn_x27_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, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_4); +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); -return x_14; +x_15 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +return x_15; } } LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___boxed(lean_object** _args) { @@ -20184,16 +20257,17 @@ lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; _start: { -lean_object* x_19; -x_19 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_10); +lean_object* x_20; +x_20 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_11); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -return x_19; +return x_20; } } LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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) { @@ -20209,139 +20283,145 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_14; +x_14 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -return x_13; +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_7); +lean_dec(x_6); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Elab_WF_GuessLex_evalRecCall(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_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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_WF_GuessLex_RecCallCache_mk(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_12; -x_12 = l_Lean_Elab_WF_GuessLex_evalRecCall(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_5 = lean_box(0); -x_6 = lean_ctor_get(x_3, 1); +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; +x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); -x_7 = lean_array_get(x_5, x_1, x_6); -x_8 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; -x_9 = lean_array_get(x_8, x_2, x_6); +x_7 = l_Lean_instInhabitedName; +x_8 = lean_array_get(x_7, x_1, x_6); +x_9 = lean_box(0); +x_10 = lean_array_get(x_9, x_2, x_6); +x_11 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; +x_12 = lean_array_get(x_11, x_3, x_6); lean_dec(x_6); -x_10 = lean_ctor_get(x_3, 3); -lean_inc(x_10); -x_11 = lean_array_get(x_8, x_2, x_10); +x_13 = lean_ctor_get(x_4, 3); +lean_inc(x_13); +x_14 = lean_array_get(x_11, x_3, x_13); +lean_dec(x_13); +x_15 = lean_array_get_size(x_12); +x_16 = lean_array_get_size(x_14); +x_17 = lean_mk_array(x_16, x_9); +x_18 = lean_mk_array(x_15, x_17); +x_19 = lean_st_mk_ref(x_18, x_5); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_22, 0, x_8); +lean_ctor_set(x_22, 1, x_10); +lean_ctor_set(x_22, 2, x_12); +lean_ctor_set(x_22, 3, x_14); +lean_ctor_set(x_22, 4, x_4); +lean_ctor_set(x_22, 5, x_21); +lean_ctor_set(x_19, 0, x_22); +return x_19; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_19, 0); +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_25, 0, x_8); +lean_ctor_set(x_25, 1, x_10); +lean_ctor_set(x_25, 2, x_12); +lean_ctor_set(x_25, 3, x_14); +lean_ctor_set(x_25, 4, x_4); +lean_ctor_set(x_25, 5, 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_24); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_14); +lean_dec(x_12); lean_dec(x_10); -x_12 = lean_array_get_size(x_9); -x_13 = lean_array_get_size(x_11); -x_14 = lean_mk_array(x_13, x_5); -x_15 = lean_mk_array(x_12, x_14); -x_16 = lean_st_mk_ref(x_15, x_4); -if (lean_obj_tag(x_16) == 0) +lean_dec(x_8); +lean_dec(x_4); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_19, 0, x_7); -lean_ctor_set(x_19, 1, x_9); -lean_ctor_set(x_19, 2, x_11); -lean_ctor_set(x_19, 3, x_3); -lean_ctor_set(x_19, 4, x_18); -lean_ctor_set(x_16, 0, x_19); -return x_16; +return x_19; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_16, 0); -x_21 = lean_ctor_get(x_16, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_16); -x_22 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_22, 0, x_7); -lean_ctor_set(x_22, 1, x_9); -lean_ctor_set(x_22, 2, x_11); -lean_ctor_set(x_22, 3, x_3); -lean_ctor_set(x_22, 4, x_20); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; -} -} -else -{ -uint8_t x_24; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_3); -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) -{ -return x_16; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_16, 0); -x_26 = lean_ctor_get(x_16, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_16); -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_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk___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_5; -x_5 = l_Lean_Elab_WF_GuessLex_RecCallCache_mk(x_1, x_2, x_3, x_4); +lean_object* x_6; +x_6 = l_Lean_Elab_WF_GuessLex_RecCallCache_mk(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_6; } } LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_eval(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; uint8_t x_11; -x_9 = lean_ctor_get(x_1, 4); +x_9 = lean_ctor_get(x_1, 5); lean_inc(x_9); x_10 = lean_st_ref_get(x_9, x_8); x_11 = !lean_is_exclusive(x_10); @@ -20358,7 +20438,7 @@ x_17 = lean_array_get(x_14, x_16, x_3); lean_dec(x_16); if (lean_obj_tag(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_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_free_object(x_10); x_18 = lean_ctor_get(x_1, 0); lean_inc(x_18); @@ -20368,273 +20448,277 @@ x_20 = lean_ctor_get(x_1, 2); lean_inc(x_20); x_21 = lean_ctor_get(x_1, 3); lean_inc(x_21); +x_22 = lean_ctor_get(x_1, 4); +lean_inc(x_22); lean_dec(x_1); -x_22 = l_Lean_Elab_WF_GuessLex_evalRecCall(x_18, x_19, x_20, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_23 = l_Lean_Elab_WF_GuessLex_evalRecCall(x_18, x_19, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +lean_dec(x_21); lean_dec(x_20); -lean_dec(x_19); -if (lean_obj_tag(x_22) == 0) +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +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_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_st_ref_take(x_9, x_24); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_st_ref_take(x_9, x_25); +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_array_get_size(x_26); -x_29 = lean_nat_dec_lt(x_2, x_28); -lean_dec(x_28); -if (x_29 == 0) +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_array_get_size(x_27); +x_30 = lean_nat_dec_lt(x_2, x_29); +lean_dec(x_29); +if (x_30 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_st_ref_set(x_9, x_26, x_27); +lean_object* x_31; uint8_t x_32; +x_31 = lean_st_ref_set(x_9, x_27, x_28); lean_dec(x_9); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -lean_ctor_set(x_30, 0, x_23); -return x_30; +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_24); +return x_31; } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } 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; uint8_t x_42; -x_35 = lean_array_fget(x_26, x_2); -x_36 = lean_box(0); -x_37 = lean_array_fset(x_26, x_2, x_36); -lean_inc(x_23); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_23); -x_39 = lean_array_set(x_35, x_3, x_38); -x_40 = lean_array_fset(x_37, x_2, x_39); -x_41 = lean_st_ref_set(x_9, x_40, x_27); +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; uint8_t x_43; +x_36 = lean_array_fget(x_27, x_2); +x_37 = lean_box(0); +x_38 = lean_array_fset(x_27, x_2, x_37); +lean_inc(x_24); +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_24); +x_40 = lean_array_set(x_36, x_3, x_39); +x_41 = lean_array_fset(x_38, x_2, x_40); +x_42 = lean_st_ref_set(x_9, x_41, x_28); lean_dec(x_9); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_object* x_43; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -lean_ctor_set(x_41, 0, x_23); -return x_41; +lean_object* x_44; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +lean_ctor_set(x_42, 0, x_24); +return x_42; } else { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); -lean_dec(x_41); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_23); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_dec(x_42); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_24); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } else { -uint8_t x_46; +uint8_t x_47; lean_dec(x_9); -x_46 = !lean_is_exclusive(x_22); -if (x_46 == 0) +x_47 = !lean_is_exclusive(x_23); +if (x_47 == 0) { -return x_22; +return x_23; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_22, 0); -x_48 = lean_ctor_get(x_22, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_23, 0); +x_49 = lean_ctor_get(x_23, 1); +lean_inc(x_49); lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_22); -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_dec(x_23); +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; } } } else { -lean_object* x_50; +lean_object* x_51; lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_50 = lean_ctor_get(x_17, 0); -lean_inc(x_50); +x_51 = lean_ctor_get(x_17, 0); +lean_inc(x_51); lean_dec(x_17); -lean_ctor_set(x_10, 0, x_50); +lean_ctor_set(x_10, 0, x_51); return x_10; } } 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_10, 0); -x_52 = lean_ctor_get(x_10, 1); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_52 = lean_ctor_get(x_10, 0); +x_53 = lean_ctor_get(x_10, 1); +lean_inc(x_53); lean_inc(x_52); -lean_inc(x_51); lean_dec(x_10); -x_53 = lean_box(0); -x_54 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; -x_55 = lean_array_get(x_54, x_51, x_2); -lean_dec(x_51); -x_56 = lean_array_get(x_53, x_55, x_3); -lean_dec(x_55); -if (lean_obj_tag(x_56) == 0) +x_54 = lean_box(0); +x_55 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1; +x_56 = lean_array_get(x_55, x_52, x_2); +lean_dec(x_52); +x_57 = lean_array_get(x_54, x_56, x_3); +lean_dec(x_56); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_57 = lean_ctor_get(x_1, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_1, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_58 = lean_ctor_get(x_1, 0); lean_inc(x_58); -x_59 = lean_ctor_get(x_1, 2); +x_59 = lean_ctor_get(x_1, 1); lean_inc(x_59); -x_60 = lean_ctor_get(x_1, 3); +x_60 = lean_ctor_get(x_1, 2); lean_inc(x_60); +x_61 = lean_ctor_get(x_1, 3); +lean_inc(x_61); +x_62 = lean_ctor_get(x_1, 4); +lean_inc(x_62); lean_dec(x_1); -x_61 = l_Lean_Elab_WF_GuessLex_evalRecCall(x_57, x_58, x_59, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_52); -lean_dec(x_59); -lean_dec(x_58); -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; uint8_t x_68; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); +x_63 = l_Lean_Elab_WF_GuessLex_evalRecCall(x_58, x_59, x_60, x_61, x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_53); lean_dec(x_61); -x_64 = lean_st_ref_take(x_9, x_63); -x_65 = lean_ctor_get(x_64, 0); +lean_dec(x_60); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_array_get_size(x_65); -x_68 = lean_nat_dec_lt(x_2, x_67); -lean_dec(x_67); -if (x_68 == 0) +lean_dec(x_63); +x_66 = lean_st_ref_take(x_9, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_array_get_size(x_67); +x_70 = lean_nat_dec_lt(x_2, x_69); +lean_dec(x_69); +if (x_70 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_st_ref_set(x_9, x_65, x_66); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_st_ref_set(x_9, x_67, x_68); lean_dec(x_9); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_71 = x_69; +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_73 = x_71; } else { - lean_dec_ref(x_69); - x_71 = lean_box(0); + lean_dec_ref(x_71); + x_73 = lean_box(0); } -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(0, 2, 0); } else { - x_72 = x_71; + x_74 = x_73; } -lean_ctor_set(x_72, 0, x_62); -lean_ctor_set(x_72, 1, x_70); -return x_72; +lean_ctor_set(x_74, 0, x_64); +lean_ctor_set(x_74, 1, x_72); +return x_74; } 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; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_73 = lean_array_fget(x_65, x_2); -x_74 = lean_box(0); -x_75 = lean_array_fset(x_65, x_2, x_74); -lean_inc(x_62); -x_76 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_76, 0, x_62); -x_77 = lean_array_set(x_73, x_3, x_76); -x_78 = lean_array_fset(x_75, x_2, x_77); -x_79 = lean_st_ref_set(x_9, x_78, x_66); +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; +x_75 = lean_array_fget(x_67, x_2); +x_76 = lean_box(0); +x_77 = lean_array_fset(x_67, x_2, x_76); +lean_inc(x_64); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_64); +x_79 = lean_array_set(x_75, x_3, x_78); +x_80 = lean_array_fset(x_77, x_2, x_79); +x_81 = lean_st_ref_set(x_9, x_80, x_68); lean_dec(x_9); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_81 = x_79; +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_83 = x_81; } else { - lean_dec_ref(x_79); - x_81 = lean_box(0); + lean_dec_ref(x_81); + x_83 = lean_box(0); } -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 2, 0); } else { - x_82 = x_81; + x_84 = x_83; } -lean_ctor_set(x_82, 0, x_62); -lean_ctor_set(x_82, 1, x_80); -return x_82; +lean_ctor_set(x_84, 0, x_64); +lean_ctor_set(x_84, 1, x_82); +return x_84; } } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_dec(x_9); -x_83 = lean_ctor_get(x_61, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_61, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_85 = x_61; +x_85 = lean_ctor_get(x_63, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_63, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_87 = x_63; } else { - lean_dec_ref(x_61); - x_85 = lean_box(0); + lean_dec_ref(x_63); + x_87 = lean_box(0); } -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); } else { - x_86 = x_85; + x_88 = x_87; } -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_84); -return x_86; +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; } } else { -lean_object* x_87; lean_object* x_88; +lean_object* x_89; lean_object* x_90; lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_87 = lean_ctor_get(x_56, 0); -lean_inc(x_87); -lean_dec(x_56); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_52); -return x_88; +x_89 = lean_ctor_get(x_57, 0); +lean_inc(x_89); +lean_dec(x_57); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_53); +return x_90; } } } @@ -20661,7 +20745,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_prettyEntry(lean_o _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_ctor_get(x_1, 4); +x_9 = lean_ctor_get(x_1, 5); x_10 = lean_st_ref_get(x_9, x_8); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) @@ -20813,7 +20897,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1(lean_ob _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_ctor_get(x_1, 3); +x_9 = lean_ctor_get(x_1, 4); x_10 = lean_ctor_get(x_9, 1); x_11 = lean_nat_dec_eq(x_10, x_2); if (x_11 == 0) @@ -20861,7 +20945,7 @@ if (lean_obj_tag(x_2) == 0) { 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_8 = lean_ctor_get(x_2, 0); -x_9 = lean_ctor_get(x_1, 3); +x_9 = lean_ctor_get(x_1, 4); lean_inc(x_9); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); @@ -20882,7 +20966,7 @@ else { lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; x_16 = lean_ctor_get(x_2, 0); -x_17 = lean_ctor_get(x_1, 3); +x_17 = lean_ctor_get(x_1, 4); lean_inc(x_17); x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); @@ -23609,7 +23693,7 @@ x_30 = lean_unsigned_to_nat(1u); x_31 = lean_nat_add(x_21, x_30); lean_dec(x_21); lean_ctor_set(x_18, 1, x_31); -x_32 = lean_ctor_get(x_29, 3); +x_32 = lean_ctor_get(x_29, 4); lean_inc(x_32); lean_inc(x_11); x_33 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_posString(x_32, x_9, x_10, x_11, x_12, x_13); @@ -23721,7 +23805,7 @@ x_81 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_81, 0, x_20); lean_ctor_set(x_81, 1, x_80); lean_ctor_set(x_81, 2, x_22); -x_82 = lean_ctor_get(x_78, 3); +x_82 = lean_ctor_get(x_78, 4); lean_inc(x_82); lean_inc(x_11); x_83 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_posString(x_82, x_9, x_10, x_11, x_12, x_13); @@ -23842,7 +23926,7 @@ if (lean_is_scalar(x_115)) { lean_ctor_set(x_119, 0, x_109); lean_ctor_set(x_119, 1, x_118); lean_ctor_set(x_119, 2, x_111); -x_120 = lean_ctor_get(x_116, 3); +x_120 = lean_ctor_get(x_116, 4); lean_inc(x_120); lean_inc(x_11); x_121 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_posString(x_120, x_9, x_10, x_11, x_12, x_13); @@ -24803,7 +24887,7 @@ 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_array_uget(x_6, x_8); -x_18 = lean_ctor_get(x_17, 3); +x_18 = lean_ctor_get(x_17, 4); lean_inc(x_18); x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); @@ -24821,7 +24905,7 @@ x_24 = lean_ctor_get(x_21, 1); x_25 = l_Lean_instInhabitedName; x_26 = lean_array_get(x_25, x_1, x_19); x_27 = 1; -x_28 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9; +x_28 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; x_29 = l_Lean_Name_toString(x_26, x_27, x_28); x_30 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_30, 0, x_29); @@ -25107,7 +25191,7 @@ lean_dec(x_21); x_111 = l_Lean_instInhabitedName; x_112 = lean_array_get(x_111, x_1, x_19); x_113 = 1; -x_114 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9; +x_114 = l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; x_115 = l_Lean_Name_toString(x_112, x_113, x_114); x_116 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_116, 0, x_115); @@ -26429,16 +26513,16 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_toTer _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_14 = lean_array_get_size(x_7); -lean_inc(x_7); -x_15 = l_Array_toSubarray___rarg(x_7, x_1, x_14); -x_16 = l_Array_ofSubarray___rarg(x_15); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_15 = lean_array_get(x_2, x_14, x_3); +x_16 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_15, x_7); lean_dec(x_15); -x_17 = lean_array_get(x_2, x_3, x_4); +x_17 = lean_array_get(x_2, x_4, x_3); x_18 = lean_array_size(x_5); x_19 = 0; lean_inc(x_7); -x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_toTerminationMeasures___spec__1(x_4, x_6, x_7, x_18, x_19, x_5); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_toTerminationMeasures___spec__1(x_3, x_6, x_7, x_18, x_19, x_5); x_21 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_toTerminationMeasures___spec__2___lambda__1___boxed), 7, 2); lean_closure_set(x_21, 0, x_20); lean_closure_set(x_21, 1, x_7); @@ -26466,14 +26550,14 @@ x_23 = lean_ctor_get(x_20, 5); lean_inc(x_23); lean_dec(x_20); lean_inc(x_5); -lean_inc(x_8); lean_inc(x_3); +lean_inc(x_8); lean_inc(x_2); x_24 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_toTerminationMeasures___spec__2___lambda__2___boxed), 13, 6); lean_closure_set(x_24, 0, x_2); lean_closure_set(x_24, 1, x_21); -lean_closure_set(x_24, 2, x_3); -lean_closure_set(x_24, 3, x_8); +lean_closure_set(x_24, 2, x_8); +lean_closure_set(x_24, 3, x_3); lean_closure_set(x_24, 4, x_5); lean_closure_set(x_24, 5, x_22); x_25 = 0; @@ -26595,6 +26679,7 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_1); return x_14; } } @@ -27896,6 +27981,33 @@ 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, 3); +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; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); @@ -27915,7 +28027,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(lean_object* x_1, size_t 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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(lean_object* x_1, size_t 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) { _start: { uint8_t x_12; @@ -27931,31 +28043,34 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; x_14 = lean_array_uget(x_6, x_5); x_15 = lean_unsigned_to_nat(0u); x_16 = lean_array_uset(x_6, x_5, x_15); x_17 = lean_array_size(x_1); lean_inc(x_1); x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(x_17, x_2, x_1); -x_19 = l_Lean_Elab_WF_GuessLex_RecCallCache_mk(x_18, x_3, x_14, x_11); -lean_dec(x_18); -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_inc(x_1); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(x_17, x_2, x_1); +x_20 = l_Lean_Elab_WF_GuessLex_RecCallCache_mk(x_18, x_19, x_3, x_14, x_11); lean_dec(x_19); -x_22 = 1; -x_23 = lean_usize_add(x_5, x_22); -x_24 = lean_array_uset(x_16, x_5, x_20); -x_5 = x_23; -x_6 = x_24; -x_11 = x_21; +lean_dec(x_18); +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 = 1; +x_24 = lean_usize_add(x_5, x_23); +x_25 = lean_array_uset(x_16, x_5, x_21); +x_5 = x_24; +x_6 = x_25; +x_11 = x_22; goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__7(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -27981,7 +28096,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__9(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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__10(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) { _start: { uint8_t x_13; @@ -28582,13 +28697,13 @@ return x_165; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; x_12 = l_Array_eraseIdx___rarg(x_1, x_2, lean_box(0)); x_13 = lean_array_push(x_3, x_4); -x_14 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(x_12, x_5, x_13, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9(x_12, x_5, x_13, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_14) == 0) { uint8_t x_15; @@ -28654,7 +28769,7 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; uint8_t x_16; @@ -28690,7 +28805,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_18); -x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__9(x_2, x_18, x_19, x_2, x_20, x_21, x_22, x_10, x_11, x_12, x_13, x_14); +x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__10(x_2, x_18, x_19, x_2, x_20, x_21, x_22, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; @@ -28780,7 +28895,7 @@ lean_inc(x_10); lean_inc(x_3); lean_inc(x_7); lean_inc(x_1); -x_41 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1(x_1, x_7, x_3, x_18, x_39, x_40, x_10, x_11, x_12, x_13, x_38); +x_41 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11___lambda__1(x_1, x_7, x_3, x_18, x_39, x_40, x_10, x_11, x_12, x_13, x_38); lean_dec(x_39); if (lean_obj_tag(x_41) == 0) { @@ -28912,7 +29027,7 @@ return x_61; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9___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; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -28925,7 +29040,7 @@ lean_ctor_set(x_13, 1, x_10); lean_ctor_set(x_13, 2, x_12); x_14 = lean_box(0); x_15 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4; -x_16 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10(x_1, x_2, x_3, x_15, x_13, x_15, x_11, lean_box(0), lean_box(0), x_5, x_6, x_7, x_8, x_9); +x_16 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11(x_1, x_2, x_3, x_15, x_13, x_15, x_11, lean_box(0), lean_box(0), x_5, x_6, x_7, x_8, x_9); lean_dec(x_13); if (lean_obj_tag(x_16) == 0) { @@ -29014,7 +29129,7 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___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, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -29023,7 +29138,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = lean_box(0); -x_11 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1(x_1, x_2, x_3, x_10, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9___lambda__1(x_1, x_2, x_3, x_10, x_4, x_5, x_6, x_7, x_8); return x_11; } else @@ -29043,42 +29158,15 @@ return x_13; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___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; x_8 = l_Lean_Elab_WF_GuessLex_naryVarNames___closed__1; -x_9 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(x_1, x_2, x_8, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9(x_1, x_2, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(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, 3); -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; -} -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__12(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: { @@ -29240,7 +29328,7 @@ _start: size_t x_14; lean_object* x_15; uint8_t x_16; x_14 = lean_array_size(x_1); lean_inc(x_2); -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(x_2, x_3, x_4, x_14, x_3, x_1, x_9, x_10, x_11, x_12, x_13); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(x_2, x_3, x_4, x_14, x_3, x_1, x_9, x_10, x_11, x_12, x_13); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -29249,12 +29337,12 @@ x_17 = lean_ctor_get(x_15, 0); x_18 = lean_ctor_get(x_15, 1); x_19 = lean_array_size(x_17); lean_inc(x_17); -x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(x_19, x_3, x_17); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__7(x_19, x_3, x_17); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_21 = l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7(x_5, x_20, x_9, x_10, x_11, x_12, x_18); +x_21 = l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__8(x_5, x_20, x_9, x_10, x_11, x_12, x_18); lean_dec(x_20); if (lean_obj_tag(x_21) == 0) { @@ -29270,7 +29358,7 @@ x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); x_24 = lean_array_size(x_2); -x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_24, x_3, x_2); +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(x_24, x_3, x_2); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -29481,12 +29569,12 @@ lean_inc(x_62); lean_dec(x_15); x_64 = lean_array_size(x_62); lean_inc(x_62); -x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(x_64, x_3, x_62); +x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__7(x_64, x_3, x_62); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_66 = l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7(x_5, x_65, x_9, x_10, x_11, x_12, x_63); +x_66 = l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__8(x_5, x_65, x_9, x_10, x_11, x_12, x_63); lean_dec(x_65); if (lean_obj_tag(x_66) == 0) { @@ -29502,7 +29590,7 @@ x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); lean_dec(x_66); x_69 = lean_array_size(x_2); -x_70 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_69, x_3, x_2); +x_70 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(x_69, x_3, x_2); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -29748,7 +29836,6 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_2); x_21 = l_Lean_Elab_WF_GuessLex_complexMeasures(x_4, x_2, x_5, x_17, x_8, x_9, x_10, x_11, x_20); if (lean_obj_tag(x_21) == 0) { @@ -30306,7 +30393,19 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(x_4, x_5, x_3) return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; size_t x_14; lean_object* x_15; @@ -30316,7 +30415,7 @@ x_13 = lean_unbox_usize(x_4); lean_dec(x_4); x_14 = lean_unbox_usize(x_5); lean_dec(x_5); -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(x_1, x_12, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(x_1, x_12, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -30325,7 +30424,7 @@ lean_dec(x_3); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__7___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; @@ -30333,11 +30432,11 @@ 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_WF_guessLex___spec__6(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__7(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -30345,73 +30444,61 @@ x_13 = lean_unbox_usize(x_5); lean_dec(x_5); x_14 = lean_unbox_usize(x_6); lean_dec(x_6); -x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__9(x_1, x_2, x_3, x_4, x_13, x_14, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__10(x_1, x_2, x_3, x_4, x_13, x_14, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11___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) { _start: { lean_object* x_12; -x_12 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_5); return x_12; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_5); lean_dec(x_2); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9___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) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___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, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___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_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11___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_WF_guessLex___spec__11(x_4, x_5, x_3); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__12___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: { @@ -30455,8 +30542,10 @@ lean_object* initialize_Lean_Meta_ArgsPacker(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Quotation(uint8_t builtin, lean_object*); 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_Mutual(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Structural_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_TerminationMeasure(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(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; @@ -30491,12 +30580,18 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_Mutual(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Structural_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_TerminationMeasure(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_FixedParams(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); @@ -30571,12 +30666,14 @@ lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__8); l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__9 = _init_l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__9(); lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__9); l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__10 = _init_l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__10(); -l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1 = _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1(); -lean_mark_persistent(l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1); -l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2 = _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2(); -lean_mark_persistent(l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___closed__2); l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1(); lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___closed__1); +l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___boxed__const__1 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___boxed__const__1(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___boxed__const__1); l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1 = _init_l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1); l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg___closed__1 = _init_l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg___closed__1(); @@ -30709,58 +30806,58 @@ l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__ lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3___boxed__const__1); l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__1(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__1); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__2(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__2); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__3(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__3); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__4(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__4); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__5 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__5(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__5); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__6); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__7 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__7(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__7); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__8 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__8(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__8); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__9 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__9(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__9); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__10 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__10(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__10); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__11 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__11(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__11); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__12 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__12(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__12); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__13 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__13(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__13); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__14 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__14(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__14); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__15 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__15(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__15); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__16 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__16(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__16); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__17 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__17(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__17); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__18 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__18(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__18); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__19 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__19(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__19); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__20 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__20(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__20); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__21 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__21(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__21); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__22 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__22(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__22); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__23 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__23(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__23); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__24 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__24(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__24); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__25 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__25(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__25); -l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__26 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__26(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4238____closed__26); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__1); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__2); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__3); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__4); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__5 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__5); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__6); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__7 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__7); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__8 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__8); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__9 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__9(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__9); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__10 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__10(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__10); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__11 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__11(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__11); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__12 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__12(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__12); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__13 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__13(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__13); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__14 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__14(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__14); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__15 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__15(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__15); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__16 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__16(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__16); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__17 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__17(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__17); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__18 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__18(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__18); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__19 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__19(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__19); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__20 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__20(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__20); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__21 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__21(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__21); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__22 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__22(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__22); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__23 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__23(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__23); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__24 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__24(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__24); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__25 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__25(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__25); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__26 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__26(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4239____closed__26); l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1 = _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1); l_Lean_Elab_WF_GuessLex_instReprGuessLexRel = _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel(); @@ -30877,6 +30974,10 @@ l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda_ lean_mark_persistent(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8); l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9 = _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9(); lean_mark_persistent(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9); +l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10 = _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10(); +lean_mark_persistent(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10); +l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11 = _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11(); +lean_mark_persistent(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11); l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1 = _init_l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1(); lean_mark_persistent(l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1); l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2 = _init_l_List_forIn_x27_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 49933b032a..0b211744b9 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c @@ -13,81 +13,81 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__5(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_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__12; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4(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_wfRecursion___lambda__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__4___closed__1; lean_object* l_Lean_Elab_Mutual_addPreDefAttributes(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_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_WF_mkUnfoldEq(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_1476____closed__8; -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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6___boxed(lean_object**); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_indentD(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_wfRecursion___spec__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* l_Lean_Elab_eraseRecAppSyntaxExpr(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__7; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__5; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__13; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__4; +lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__4; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__1___boxed(lean_object**); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__15; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2___closed__1; lean_object* l_Lean_Elab_Mutual_cleanPreDefs(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; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___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*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_wfRecursion___closed__5; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__10; lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476_(lean_object*); 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*); -static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__7; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__9; static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__2; lean_object* l_Lean_Meta_unfoldDeclsFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__1; lean_object* l_Lean_Elab_WF_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___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*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4___boxed(lean_object**); static lean_object* l_Lean_Elab_wfRecursion___lambda__6___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486_(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__8; static lean_object* l_Lean_Elab_wfRecursion___lambda__6___closed__1; lean_object* l_Array_unzip___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___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_object*, lean_object*); uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); -lean_object* l_Lean_Elab_WF_mkFix(lean_object*, 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_WF_mkFix(lean_object*, lean_object*, 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_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__3; -lean_object* l_Lean_MessageData_ofFormat(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_WF_varyingVarNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__5; +lean_object* l_Lean_Elab_WF_varyingVarNames(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*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__12; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7___boxed(lean_object**); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__5; lean_object* l_Lean_throwError___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__50(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__5(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_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___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_wfRecursion___lambda__3(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*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__1; -static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7(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_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__16; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__6___closed__4; 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*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_enableRealizationsForConst(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary(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_1486____closed__16; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__15; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__13; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__6___closed__3; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__7; static lean_object* l_Lean_Elab_wfRecursion___lambda__4___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_wfRecursion___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__3___boxed(lean_object**); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(size_t, size_t, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__6___closed__1; lean_object* l_Lean_MessageData_ofExpr(lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__6___closed__4; @@ -96,47 +96,50 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___sp lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); 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*, lean_object*, lean_object*, lean_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__2___boxed(lean_object**); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_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*); -lean_object* l_Lean_Elab_Mutual_getFixedPrefix(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_1476____closed__14; +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*, 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_1486____closed__17; 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_wfRecursion___lambda__6___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__11; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__11; +lean_object* l_Lean_Elab_getFixedParamPerms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_wfRecursion___closed__3; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__18; static lean_object* l_Lean_Elab_wfRecursion___closed__2; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, uint8_t, 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_1476____closed__2; lean_object* l_Lean_Elab_addAsAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__3; lean_object* l_Lean_Elab_WF_packMutual(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_1476____closed__18; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__17; +static lean_object* l_Lean_Elab_wfRecursion___closed__6; size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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; lean_object* l_Lean_Elab_WF_floatRecApp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__6; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__10; lean_object* lean_array_get_size(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__9; lean_object* l_Lean_Elab_WF_preDefsFromUnaryNonRec(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*); 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*); static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__3; uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* l_Lean_Elab_WF_floatRecApp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__6; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__14; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); 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_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7(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_wfRecursion___lambda__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: @@ -805,81 +808,90 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_wfRecursion___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, 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_12; -x_12 = lean_usize_dec_lt(x_3, x_2); -if (x_12 == 0) -{ -lean_object* x_13; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_array_uget(x_4, x_3); +lean_object* x_15; uint8_t x_16; x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_array_uset(x_4, x_3, x_15); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_17 = l_Lean_Elab_WF_varyingVarNames(x_1, x_14, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_17) == 0) +x_16 = lean_nat_dec_eq(x_4, x_15); +if (x_16 == 0) { -lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -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 = 1; -x_21 = lean_usize_add(x_3, x_20); -x_22 = lean_array_uset(x_16, x_3, x_18); -x_3 = x_21; -x_4 = x_22; -x_11 = x_19; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_4, x_17); +lean_dec(x_4); +x_19 = lean_array_fget(x_3, x_5); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_5); +lean_inc(x_2); +x_20 = l_Lean_Elab_WF_varyingVarNames(x_2, x_5, x_19, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_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_nat_add(x_5, x_17); +lean_dec(x_5); +x_24 = lean_array_push(x_7, x_21); +x_4 = x_18; +x_5 = x_23; +x_6 = lean_box(0); +x_7 = x_24; +x_14 = x_22; goto _start; } else { -uint8_t x_24; -lean_dec(x_16); +uint8_t x_26; +lean_dec(x_18); +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_1); -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +lean_dec(x_5); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) { -return x_17; +return x_20; } 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; +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +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; } } } +else +{ +lean_object* x_30; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_7); +lean_ctor_set(x_30, 1, x_14); +return x_30; +} } } static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__6___closed__1() { @@ -1276,248 +1288,241 @@ return x_58; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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, lean_object* x_21, lean_object* x_22, lean_object* x_23) { _start: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_st_ref_get(x_16, 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_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec(x_19); -lean_inc(x_16); -lean_inc(x_15); -x_22 = l_Lean_Elab_addAsAxiom(x_1, x_13, x_14, x_15, x_16, x_20); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(x_2, x_3, x_4); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_1); -x_25 = l_Lean_Elab_WF_mkFix(x_1, x_5, x_6, x_7, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_23); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_25, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_st_ref_get(x_22, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_dec(x_24); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); lean_dec(x_25); -lean_inc(x_16); -lean_inc(x_15); -x_28 = l_Lean_Elab_eraseRecAppSyntaxExpr(x_26, x_15, x_16, x_27); +lean_inc(x_22); +lean_inc(x_21); +x_28 = l_Lean_Elab_addAsAxiom(x_1, x_19, x_20, x_21, x_22, 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; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_29 = lean_ctor_get(x_28, 0); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); lean_dec(x_28); -x_31 = lean_st_ref_get(x_16, x_30); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(x_2, x_3, x_4); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_31 = l_Lean_Elab_WF_mkFix(x_1, x_5, x_6, x_7, x_8, x_30, x_17, x_18, x_19, x_20, x_21, x_22, x_29); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec(x_31); -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_33); +lean_inc(x_22); +lean_inc(x_21); +x_34 = l_Lean_Elab_eraseRecAppSyntaxExpr(x_32, x_21, x_22, x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_22, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_27, x_17, x_18, x_19, x_20, x_21, x_22, x_39); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = l_Lean_Meta_unfoldDeclsFrom(x_40, x_35, x_21, x_22, x_42); +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); +x_46 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_46, 0, x_9); +lean_ctor_set(x_46, 1, x_11); +lean_ctor_set(x_46, 2, x_12); +lean_ctor_set(x_46, 3, x_13); +lean_ctor_set(x_46, 4, x_14); +lean_ctor_set(x_46, 5, x_45); +lean_ctor_set(x_46, 6, x_15); +lean_ctor_set_uint8(x_46, sizeof(void*)*7, x_10); +lean_ctor_set(x_43, 0, x_46); +return x_43; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_43, 0); +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_43); +x_49 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_49, 0, x_9); +lean_ctor_set(x_49, 1, x_11); +lean_ctor_set(x_49, 2, x_12); +lean_ctor_set(x_49, 3, x_13); +lean_ctor_set(x_49, 4, x_14); +lean_ctor_set(x_49, 5, x_47); +lean_ctor_set(x_49, 6, x_15); +lean_ctor_set_uint8(x_49, sizeof(void*)*7, x_10); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +else +{ +uint8_t x_51; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = l_Lean_Meta_unfoldDeclsFrom(x_34, x_29, x_15, x_16, x_36); -if (lean_obj_tag(x_37) == 0) +lean_dec(x_9); +x_51 = !lean_is_exclusive(x_43); +if (x_51 == 0) { -uint8_t x_38; -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_39 = lean_ctor_get(x_37, 0); -x_40 = lean_ctor_get(x_1, 0); -lean_inc(x_40); -x_41 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); -x_42 = lean_ctor_get(x_1, 1); -lean_inc(x_42); -x_43 = lean_ctor_get(x_1, 2); -lean_inc(x_43); -x_44 = lean_ctor_get(x_1, 6); -lean_inc(x_44); -lean_dec(x_1); -x_45 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_45, 0, x_40); -lean_ctor_set(x_45, 1, x_42); -lean_ctor_set(x_45, 2, x_43); -lean_ctor_set(x_45, 3, x_8); -lean_ctor_set(x_45, 4, x_9); -lean_ctor_set(x_45, 5, x_39); -lean_ctor_set(x_45, 6, x_44); -lean_ctor_set_uint8(x_45, sizeof(void*)*7, x_41); -lean_ctor_set(x_37, 0, x_45); -return x_37; +return x_43; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_46 = lean_ctor_get(x_37, 0); -x_47 = lean_ctor_get(x_37, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_37); -x_48 = lean_ctor_get(x_1, 0); -lean_inc(x_48); -x_49 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); -x_50 = lean_ctor_get(x_1, 1); -lean_inc(x_50); -x_51 = lean_ctor_get(x_1, 2); -lean_inc(x_51); -x_52 = lean_ctor_get(x_1, 6); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_43, 0); +x_53 = lean_ctor_get(x_43, 1); +lean_inc(x_53); lean_inc(x_52); -lean_dec(x_1); -x_53 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_53, 0, x_48); -lean_ctor_set(x_53, 1, x_50); -lean_ctor_set(x_53, 2, x_51); -lean_ctor_set(x_53, 3, x_8); -lean_ctor_set(x_53, 4, x_9); -lean_ctor_set(x_53, 5, x_46); -lean_ctor_set(x_53, 6, x_52); -lean_ctor_set_uint8(x_53, sizeof(void*)*7, x_49); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_47); +lean_dec(x_43); +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; } } -else -{ -uint8_t x_55; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_55 = !lean_is_exclusive(x_37); -if (x_55 == 0) -{ -return x_37; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_37, 0); -x_57 = lean_ctor_get(x_37, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_37); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_59 = lean_ctor_get(x_28, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_28, 1); -lean_inc(x_60); -lean_dec(x_28); -x_61 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_60); -lean_dec(x_16); +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) +lean_dec(x_9); +x_55 = lean_ctor_get(x_34, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_34, 1); +lean_inc(x_56); +lean_dec(x_34); +x_57 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_27, x_17, x_18, x_19, x_20, x_21, x_22, x_56); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) { -lean_object* x_63; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -lean_ctor_set_tag(x_61, 1); -lean_ctor_set(x_61, 0, x_59); +lean_object* x_59; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +lean_ctor_set_tag(x_57, 1); +lean_ctor_set(x_57, 0, x_55); +return x_57; +} +else +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 1); +lean_inc(x_60); +lean_dec(x_57); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_55); +lean_ctor_set(x_61, 1, x_60); return x_61; } -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); -lean_dec(x_61); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_66 = lean_ctor_get(x_25, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_25, 1); -lean_inc(x_67); -lean_dec(x_25); -x_68 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_67); -lean_dec(x_16); +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) +lean_dec(x_9); +x_62 = lean_ctor_get(x_31, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_31, 1); +lean_inc(x_63); +lean_dec(x_31); +x_64 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_27, x_17, x_18, x_19, x_20, x_21, x_22, x_63); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) { -lean_object* x_70; -x_70 = lean_ctor_get(x_68, 0); -lean_dec(x_70); -lean_ctor_set_tag(x_68, 1); -lean_ctor_set(x_68, 0, x_66); +lean_object* x_66; +x_66 = lean_ctor_get(x_64, 0); +lean_dec(x_66); +lean_ctor_set_tag(x_64, 1); +lean_ctor_set(x_64, 0, x_62); +return x_64; +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec(x_64); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_62); +lean_ctor_set(x_68, 1, x_67); return x_68; } -else -{ -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -lean_dec(x_68); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_66); -lean_ctor_set(x_72, 1, x_71); -return x_72; -} } } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -1525,38 +1530,38 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_73 = lean_ctor_get(x_22, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_22, 1); -lean_inc(x_74); +x_69 = lean_ctor_get(x_28, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_28, 1); +lean_inc(x_70); +lean_dec(x_28); +x_71 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_27, x_17, x_18, x_19, x_20, x_21, x_22, x_70); lean_dec(x_22); -x_75 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_74); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) { -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set_tag(x_75, 1); -lean_ctor_set(x_75, 0, x_73); -return x_75; +lean_object* x_73; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +lean_ctor_set_tag(x_71, 1); +lean_ctor_set(x_71, 0, x_69); +return x_71; } else { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_73); -lean_ctor_set(x_79, 1, x_78); -return x_79; +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); +lean_dec(x_71); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_69); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } @@ -1565,55 +1570,20 @@ static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Elab", 4, 4); +x_1 = lean_mk_string_unchecked("wfRel: ", 7, 7); return x_1; } } static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("definition", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wf", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_wfRecursion___lambda__2___closed__1; -x_2 = l_Lean_Elab_wfRecursion___lambda__2___closed__2; -x_3 = l_Lean_Elab_wfRecursion___lambda__2___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfRel: ", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_wfRecursion___lambda__2___closed__5; +x_1 = l_Lean_Elab_wfRecursion___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__7() { +static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -1621,119 +1591,127 @@ x_1 = lean_mk_string_unchecked("", 0, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__8() { +static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_wfRecursion___lambda__2___closed__7; +x_1 = l_Lean_Elab_wfRecursion___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, 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, lean_object* x_21, lean_object* x_22, lean_object* x_23) { _start: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; -x_18 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_17, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_unbox(x_19); -lean_dec(x_19); -if (x_20 == 0) +lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_inc(x_1); +x_24 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_box(0); -x_23 = l_Lean_Elab_wfRecursion___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_8, x_22, x_10, x_11, x_12, x_13, x_14, x_15, x_21); -return x_23; +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_1); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_box(0); +x_29 = l_Lean_Elab_wfRecursion___lambda__1(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_28, x_17, x_18, x_19, x_20, x_21, x_22, x_27); +return x_29; } else { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 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; lean_object* x_34; -x_25 = lean_ctor_get(x_18, 1); -x_26 = lean_ctor_get(x_18, 0); -lean_dec(x_26); -lean_inc(x_9); -x_27 = l_Lean_MessageData_ofExpr(x_9); -x_28 = l_Lean_Elab_wfRecursion___lambda__2___closed__6; -lean_ctor_set_tag(x_18, 7); -lean_ctor_set(x_18, 1, x_27); -lean_ctor_set(x_18, 0, x_28); -x_29 = l_Lean_Elab_wfRecursion___lambda__2___closed__8; -x_30 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_30, 0, x_18); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_17, x_30, x_10, x_11, x_12, x_13, x_14, x_15, x_25); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_wfRecursion___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_8, x_32, x_10, x_11, x_12, x_13, x_14, x_15, x_33); +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_31 = lean_ctor_get(x_24, 1); +x_32 = lean_ctor_get(x_24, 0); lean_dec(x_32); -return x_34; +lean_inc(x_16); +x_33 = l_Lean_MessageData_ofExpr(x_16); +x_34 = l_Lean_Elab_wfRecursion___lambda__2___closed__2; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_33); +lean_ctor_set(x_24, 0, x_34); +x_35 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_24); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_1, x_36, x_17, x_18, x_19, x_20, x_21, x_22, x_31); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_Elab_wfRecursion___lambda__1(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_38, x_17, x_18, x_19, x_20, x_21, x_22, x_39); +lean_dec(x_38); +return x_40; } 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; lean_object* x_44; -x_35 = lean_ctor_get(x_18, 1); -lean_inc(x_35); -lean_dec(x_18); -lean_inc(x_9); -x_36 = l_Lean_MessageData_ofExpr(x_9); -x_37 = l_Lean_Elab_wfRecursion___lambda__2___closed__6; -x_38 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = l_Lean_Elab_wfRecursion___lambda__2___closed__8; -x_40 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_17, x_40, x_10, x_11, x_12, x_13, x_14, x_15, x_35); -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_Elab_wfRecursion___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_8, x_42, x_10, x_11, x_12, x_13, x_14, x_15, x_43); -lean_dec(x_42); -return x_44; +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_41 = lean_ctor_get(x_24, 1); +lean_inc(x_41); +lean_dec(x_24); +lean_inc(x_16); +x_42 = l_Lean_MessageData_ofExpr(x_16); +x_43 = l_Lean_Elab_wfRecursion___lambda__2___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_Lean_Elab_wfRecursion___lambda__2___closed__4; +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_1, x_46, x_17, x_18, x_19, x_20, x_21, x_22, x_41); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Elab_wfRecursion___lambda__1(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_48, x_17, x_18, x_19, x_20, x_21, x_22, x_49); +lean_dec(x_48); +return x_50; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25) { _start: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = l_Lean_Expr_bindingDomain_x21(x_1); +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_26 = l_Lean_Expr_bindingDomain_x21(x_1); lean_inc(x_4); -x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_2, x_3, x_4); -x_20 = lean_ctor_get(x_5, 3); -lean_inc(x_20); -x_21 = lean_box_usize(x_2); -x_22 = lean_box_usize(x_3); -lean_inc(x_20); +x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(x_2, x_3, x_4); +x_28 = lean_box_usize(x_2); +x_29 = lean_box_usize(x_3); +x_30 = lean_box(x_10); +lean_inc(x_13); +lean_inc(x_27); +lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_wfRecursion___lambda__2___boxed), 16, 8); -lean_closure_set(x_23, 0, x_5); -lean_closure_set(x_23, 1, x_21); -lean_closure_set(x_23, 2, x_22); -lean_closure_set(x_23, 3, x_4); -lean_closure_set(x_23, 4, x_6); -lean_closure_set(x_23, 5, x_7); -lean_closure_set(x_23, 6, x_20); -lean_closure_set(x_23, 7, x_8); -x_24 = l_Lean_Elab_WF_elabWFRel___rarg(x_19, x_20, x_6, x_7, x_18, x_9, x_23, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_24; +x_31 = lean_alloc_closure((void*)(l_Lean_Elab_wfRecursion___lambda__2___boxed), 23, 15); +lean_closure_set(x_31, 0, x_5); +lean_closure_set(x_31, 1, x_6); +lean_closure_set(x_31, 2, x_28); +lean_closure_set(x_31, 3, x_29); +lean_closure_set(x_31, 4, x_4); +lean_closure_set(x_31, 5, x_7); +lean_closure_set(x_31, 6, x_8); +lean_closure_set(x_31, 7, x_27); +lean_closure_set(x_31, 8, x_9); +lean_closure_set(x_31, 9, x_30); +lean_closure_set(x_31, 10, x_11); +lean_closure_set(x_31, 11, x_12); +lean_closure_set(x_31, 12, x_13); +lean_closure_set(x_31, 13, x_14); +lean_closure_set(x_31, 14, x_15); +x_32 = l_Lean_Elab_WF_elabWFRel___rarg(x_27, x_13, x_16, x_7, x_8, x_26, x_17, x_31, x_19, x_20, x_21, x_22, x_23, x_24, x_25); +return x_32; } } static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__4___closed__1() { @@ -1753,108 +1731,122 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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) { _start: { -lean_object* x_17; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -x_17 = l_Lean_Meta_whnfForall(x_9, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_17) == 0) +lean_object* x_25; +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +x_25 = l_Lean_Meta_whnfForall(x_17, x_20, x_21, x_22, x_23, x_24); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_18; lean_object* x_19; uint8_t 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 = l_Lean_Expr_isForall(x_18); -if (x_20 == 0) +lean_object* x_26; lean_object* x_27; uint8_t 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_Expr_isForall(x_26); +if (x_28 == 0) { -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_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_21 = l_Lean_MessageData_ofExpr(x_18); -x_22 = l_Lean_Elab_wfRecursion___lambda__4___closed__2; -x_23 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Elab_wfRecursion___lambda__2___closed__8; -x_25 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_19); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -return x_26; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_26); -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 -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_box(0); -x_32 = l_Lean_Elab_wfRecursion___lambda__3(x_18, x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_7, x_31, x_10, x_11, x_12, x_13, x_14, x_15, x_19); -lean_dec(x_18); -return x_32; -} -} -else -{ -uint8_t x_33; +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_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_8); +lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_33 = !lean_is_exclusive(x_17); -if (x_33 == 0) +x_29 = l_Lean_MessageData_ofExpr(x_26); +x_30 = l_Lean_Elab_wfRecursion___lambda__4___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); +x_32 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; +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_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_33, x_18, x_19, x_20, x_21, x_22, x_23, x_27); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -return x_17; +return x_34; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_17, 0); -x_35 = lean_ctor_get(x_17, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_17); -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_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_34); +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; lean_object* x_40; +x_39 = lean_box(0); +x_40 = l_Lean_Elab_wfRecursion___lambda__3(x_26, x_1, x_2, x_3, x_4, x_5, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_39, x_18, x_19, x_20, x_21, x_22, x_23, x_27); +lean_dec(x_26); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_41 = !lean_is_exclusive(x_25); +if (x_41 == 0) +{ +return x_25; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_25, 0); +x_43 = lean_ctor_get(x_25, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_25); +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; } } } @@ -1869,7 +1861,6 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_4); lean_inc(x_2); -lean_inc(x_1); x_16 = l_Lean_Elab_WF_preDefsFromUnaryNonRec(x_1, x_2, x_3, x_4, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_16) == 0) { @@ -2181,458 +2172,268 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_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_17 = lean_ctor_get(x_1, 4); -lean_inc(x_17); +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); +x_20 = lean_ctor_get(x_1, 1); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 2); +lean_inc(x_21); +x_22 = lean_ctor_get(x_1, 3); +lean_inc(x_22); +x_23 = lean_ctor_get(x_1, 4); +lean_inc(x_23); +x_24 = lean_ctor_get(x_1, 6); +lean_inc(x_24); +x_25 = lean_ctor_get(x_2, 0); +lean_inc(x_25); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box_usize(x_3); +x_28 = lean_box_usize(x_4); +x_29 = lean_box(x_19); lean_inc(x_2); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_2); -x_19 = lean_box_usize(x_3); -x_20 = lean_box_usize(x_4); -lean_inc(x_17); +lean_inc(x_23); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_wfRecursion___lambda__4___boxed), 16, 7); -lean_closure_set(x_21, 0, x_19); -lean_closure_set(x_21, 1, x_20); -lean_closure_set(x_21, 2, x_5); -lean_closure_set(x_21, 3, x_1); -lean_closure_set(x_21, 4, x_6); -lean_closure_set(x_21, 5, x_17); -lean_closure_set(x_21, 6, x_9); -x_22 = 0; +x_30 = lean_alloc_closure((void*)(l_Lean_Elab_wfRecursion___lambda__4___boxed), 24, 15); +lean_closure_set(x_30, 0, x_27); +lean_closure_set(x_30, 1, x_28); +lean_closure_set(x_30, 2, x_5); +lean_closure_set(x_30, 3, x_6); +lean_closure_set(x_30, 4, x_1); +lean_closure_set(x_30, 5, x_7); +lean_closure_set(x_30, 6, x_18); +lean_closure_set(x_30, 7, x_29); +lean_closure_set(x_30, 8, x_20); +lean_closure_set(x_30, 9, x_21); +lean_closure_set(x_30, 10, x_22); +lean_closure_set(x_30, 11, x_23); +lean_closure_set(x_30, 12, x_24); +lean_closure_set(x_30, 13, x_2); +lean_closure_set(x_30, 14, x_10); +x_31 = 0; +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_23 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_17, x_18, x_21, x_22, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_23) == 0) +x_32 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_23, x_26, x_30, x_31, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; -x_27 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_26, x_10, x_11, x_12, x_13, x_14, x_15, x_25); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_unbox(x_28); -lean_dec(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -lean_dec(x_27); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_wfRecursion___lambda__5(x_2, x_6, x_5, x_24, x_7, x_8, x_4, x_31, x_10, x_11, x_12, x_13, x_14, x_15, x_30); -return x_32; -} -else -{ -uint8_t x_33; -x_33 = !lean_is_exclusive(x_27); -if (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; 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_27, 1); -x_35 = lean_ctor_get(x_27, 0); -lean_dec(x_35); -x_36 = lean_ctor_get(x_24, 3); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +lean_inc(x_6); +x_35 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_6, x_11, x_12, x_13, x_14, x_15, x_16, x_34); +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -x_37 = l_Lean_MessageData_ofName(x_36); -x_38 = l_Lean_Elab_wfRecursion___lambda__6___closed__2; -lean_ctor_set_tag(x_27, 7); -lean_ctor_set(x_27, 1, x_37); -lean_ctor_set(x_27, 0, x_38); -x_39 = l_Lean_Elab_wfRecursion___lambda__6___closed__4; -x_40 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_40, 0, x_27); -lean_ctor_set(x_40, 1, x_39); -x_41 = lean_ctor_get(x_24, 5); -lean_inc(x_41); -x_42 = l_Lean_MessageData_ofExpr(x_41); -x_43 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_43, 0, x_40); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Elab_wfRecursion___lambda__2___closed__8; -x_45 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_26, x_45, x_10, x_11, x_12, x_13, x_14, x_15, x_34); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Elab_wfRecursion___lambda__5(x_2, x_6, x_5, x_24, x_7, x_8, x_4, x_47, x_10, x_11, x_12, x_13, x_14, x_15, x_48); -lean_dec(x_47); -return x_49; +x_37 = lean_unbox(x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_6); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_box(0); +x_40 = l_Lean_Elab_wfRecursion___lambda__5(x_2, x_7, x_5, x_33, x_8, x_9, x_4, x_39, x_11, x_12, x_13, x_14, x_15, x_16, x_38); +return x_40; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_50 = lean_ctor_get(x_27, 1); -lean_inc(x_50); -lean_dec(x_27); -x_51 = lean_ctor_get(x_24, 3); -lean_inc(x_51); -x_52 = l_Lean_MessageData_ofName(x_51); -x_53 = l_Lean_Elab_wfRecursion___lambda__6___closed__2; -x_54 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_Elab_wfRecursion___lambda__6___closed__4; -x_56 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_ctor_get(x_24, 5); -lean_inc(x_57); -x_58 = l_Lean_MessageData_ofExpr(x_57); -x_59 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_59, 0, x_56); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_Elab_wfRecursion___lambda__2___closed__8; -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_Elab_Term_traceAtCmdPos___spec__2(x_26, x_61, x_10, x_11, x_12, x_13, x_14, x_15, x_50); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = l_Lean_Elab_wfRecursion___lambda__5(x_2, x_6, x_5, x_24, x_7, x_8, x_4, x_63, x_10, x_11, x_12, x_13, x_14, x_15, x_64); -lean_dec(x_63); -return x_65; +uint8_t x_41; +x_41 = !lean_is_exclusive(x_35); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_42 = lean_ctor_get(x_35, 1); +x_43 = lean_ctor_get(x_35, 0); +lean_dec(x_43); +x_44 = lean_ctor_get(x_33, 3); +lean_inc(x_44); +x_45 = l_Lean_MessageData_ofName(x_44); +x_46 = l_Lean_Elab_wfRecursion___lambda__6___closed__2; +lean_ctor_set_tag(x_35, 7); +lean_ctor_set(x_35, 1, x_45); +lean_ctor_set(x_35, 0, x_46); +x_47 = l_Lean_Elab_wfRecursion___lambda__6___closed__4; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_35); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_ctor_get(x_33, 5); +lean_inc(x_49); +x_50 = l_Lean_MessageData_ofExpr(x_49); +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_6, x_53, x_11, x_12, x_13, x_14, x_15, x_16, x_42); +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 = l_Lean_Elab_wfRecursion___lambda__5(x_2, x_7, x_5, x_33, x_8, x_9, x_4, x_55, x_11, x_12, x_13, x_14, x_15, x_16, x_56); +lean_dec(x_55); +return x_57; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_58 = lean_ctor_get(x_35, 1); +lean_inc(x_58); +lean_dec(x_35); +x_59 = lean_ctor_get(x_33, 3); +lean_inc(x_59); +x_60 = l_Lean_MessageData_ofName(x_59); +x_61 = l_Lean_Elab_wfRecursion___lambda__6___closed__2; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Elab_wfRecursion___lambda__6___closed__4; +x_64 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_ctor_get(x_33, 5); +lean_inc(x_65); +x_66 = l_Lean_MessageData_ofExpr(x_65); +x_67 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; +x_69 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_6, x_69, x_11, x_12, x_13, x_14, x_15, x_16, x_58); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Elab_wfRecursion___lambda__5(x_2, x_7, x_5, x_33, x_8, x_9, x_4, x_71, x_11, x_12, x_13, x_14, x_15, x_16, x_72); +lean_dec(x_71); +return x_73; } } } else { -uint8_t x_66; +uint8_t x_74; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_66 = !lean_is_exclusive(x_23); -if (x_66 == 0) +x_74 = !lean_is_exclusive(x_32); +if (x_74 == 0) { -return x_23; +return x_32; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_23, 0); -x_68 = lean_ctor_get(x_23, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_23); -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; +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_32, 0); +x_76 = lean_ctor_get(x_32, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_32); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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) { _start: { -lean_object* x_14; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_1); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__5(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) +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; size_t x_20; lean_object* x_21; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_19; +lean_inc(x_17); lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_array_get_size(x_4); -x_18 = lean_unsigned_to_nat(0u); -lean_inc(x_4); -x_19 = l_Array_toSubarray___rarg(x_4, x_18, x_17); -x_20 = lean_array_size(x_15); +lean_inc(x_15); +lean_inc(x_14); lean_inc(x_7); -x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__6(x_15, x_5, x_15, x_20, x_3, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_23 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7(x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_22); -lean_dec(x_7); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Array_unzip___rarg(x_24); -lean_dec(x_24); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_15); +lean_inc(x_2); lean_inc(x_1); -x_30 = l_Lean_Elab_WF_packMutual(x_1, x_15, x_28, x_9, x_10, x_11, x_12, x_25); -if (lean_obj_tag(x_30) == 0) +lean_inc(x_5); +x_19 = l_Lean_Elab_WF_guessLex(x_5, x_1, x_2, x_7, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_19) == 0) { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -lean_ctor_set(x_26, 0, x_32); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_15); -lean_ctor_set(x_33, 1, x_26); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_30, 0, x_34); -return x_30; +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_Elab_wfRecursion___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20, x_12, x_13, x_14, x_15, x_16, x_17, x_21); +return x_22; } else { -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_30, 0); -x_36 = lean_ctor_get(x_30, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_30); -lean_ctor_set(x_26, 0, x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_15); -lean_ctor_set(x_37, 1, x_26); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_1); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; -} -} -else -{ -uint8_t x_40; -lean_free_object(x_26); -lean_dec(x_29); +uint8_t x_23; +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_30); -if (x_40 == 0) -{ -return x_30; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_30, 0); -x_42 = lean_ctor_get(x_30, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_30); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_26, 0); -x_45 = lean_ctor_get(x_26, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_26); -lean_inc(x_15); -lean_inc(x_1); -x_46 = l_Lean_Elab_WF_packMutual(x_1, x_15, x_44, x_9, x_10, x_11, x_12, x_25); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 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); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_49 = x_46; -} else { - lean_dec_ref(x_46); - x_49 = lean_box(0); -} -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_45); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_15); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_1); -lean_ctor_set(x_52, 1, x_51); -if (lean_is_scalar(x_49)) { - x_53 = lean_alloc_ctor(0, 2, 0); -} else { - x_53 = x_49; -} -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_48); -return x_53; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -lean_dec(x_45); -lean_dec(x_15); -lean_dec(x_1); -x_54 = lean_ctor_get(x_46, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_46, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_56 = x_46; -} else { - lean_dec_ref(x_46); - x_56 = lean_box(0); -} -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(1, 2, 0); -} else { - x_57 = x_56; -} -lean_ctor_set(x_57, 0, x_54); -lean_ctor_set(x_57, 1, x_55); -return x_57; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_1); -x_58 = !lean_is_exclusive(x_23); -if (x_58 == 0) -{ -return x_23; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_23, 0); -x_60 = lean_ctor_get(x_23, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_23); -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; -} -} -} -else -{ -uint8_t x_62; -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_1); -x_62 = !lean_is_exclusive(x_21); -if (x_62 == 0) -{ -return x_21; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_21, 0); -x_64 = lean_ctor_get(x_21, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_21); -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_66; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_1); -x_66 = !lean_is_exclusive(x_14); -if (x_66 == 0) -{ -return x_14; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_14, 0); -x_68 = lean_ctor_get(x_14, 1); -lean_inc(x_68); -lean_inc(x_67); lean_dec(x_14); -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; +lean_dec(x_13); +lean_dec(x_12); +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_23 = !lean_is_exclusive(x_19); +if (x_23 == 0) +{ +return x_19; } +else +{ +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 +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_10, 0); +lean_inc(x_27); +lean_dec(x_10); +x_28 = l_Lean_Elab_wfRecursion___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_27, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_28; } } } @@ -2640,15 +2441,50 @@ static lean_object* _init_l_Lean_Elab_wfRecursion___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("fixed prefix: ", 14, 14); +x_1 = lean_mk_string_unchecked("Elab", 4, 4); return x_1; } } static lean_object* _init_l_Lean_Elab_wfRecursion___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("definition", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_wfRecursion___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("wf", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_wfRecursion___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_wfRecursion___closed__1; +x_2 = l_Lean_Elab_wfRecursion___closed__2; +x_3 = l_Lean_Elab_wfRecursion___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_wfRecursion___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unaryPreDef:", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_wfRecursion___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_wfRecursion___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -2666,7 +2502,7 @@ lean_inc(x_7); x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2(x_13, x_11, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; lean_object* x_20; 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_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; 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_98; lean_object* x_99; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -2674,659 +2510,616 @@ lean_inc(x_16); lean_dec(x_14); x_17 = lean_box(0); x_18 = lean_array_size(x_15); -x_42 = lean_st_ref_get(x_8, x_16); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_43, 0); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_box(0); -lean_inc(x_8); -lean_inc(x_7); -x_47 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__4(x_15, x_17, x_15, x_18, x_11, x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_44); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_15); -x_49 = l_Lean_Elab_Mutual_getFixedPrefix(x_15, x_5, x_6, x_7, x_8, x_48); -if (lean_obj_tag(x_49) == 0) -{ -uint8_t x_50; -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_51 = lean_ctor_get(x_49, 0); -x_52 = lean_ctor_get(x_49, 1); -x_53 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; -x_54 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_53, x_3, x_4, x_5, x_6, x_7, x_8, x_52); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_unbox(x_55); -lean_dec(x_55); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -lean_free_object(x_49); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_15); -x_58 = l_Lean_Elab_wfRecursion___lambda__7(x_51, x_18, x_11, x_15, x_17, x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_57); -if (lean_obj_tag(x_58) == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* 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); -lean_dec(x_58); -x_61 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_60); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_19 = x_59; -x_20 = x_62; -goto block_41; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -lean_dec(x_15); -lean_dec(x_12); -x_63 = lean_ctor_get(x_58, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_58, 1); -lean_inc(x_64); -lean_dec(x_58); -x_65 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_64); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_65, 0); -lean_dec(x_67); -lean_ctor_set_tag(x_65, 1); -lean_ctor_set(x_65, 0, x_63); -return x_65; -} -else -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_63); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -} -else -{ -uint8_t x_70; -x_70 = !lean_is_exclusive(x_54); -if (x_70 == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_71 = lean_ctor_get(x_54, 1); -x_72 = lean_ctor_get(x_54, 0); -lean_dec(x_72); -lean_inc(x_51); -x_73 = l___private_Init_Data_Repr_0__Nat_reprFast(x_51); -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 = l_Lean_Elab_wfRecursion___closed__2; -lean_ctor_set_tag(x_54, 7); -lean_ctor_set(x_54, 1, x_75); -lean_ctor_set(x_54, 0, x_76); -x_77 = l_Lean_Elab_wfRecursion___lambda__2___closed__8; -lean_ctor_set_tag(x_49, 7); -lean_ctor_set(x_49, 1, x_77); -lean_ctor_set(x_49, 0, x_54); -x_78 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_53, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_71); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_15); -x_81 = l_Lean_Elab_wfRecursion___lambda__7(x_51, x_18, x_11, x_15, x_17, x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_80); -lean_dec(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 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_83); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_19 = x_82; -x_20 = x_85; -goto block_41; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -lean_dec(x_15); -lean_dec(x_12); -x_86 = lean_ctor_get(x_81, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_81, 1); +x_86 = lean_st_ref_get(x_8, x_16); +x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); -lean_dec(x_81); -x_88 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_87); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_ctor_get(x_87, 0); +lean_inc(x_89); +lean_dec(x_87); +x_98 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +x_99 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__4(x_15, x_17, x_15, x_18, x_11, x_98, x_3, x_4, x_5, x_6, x_7, x_8, x_88); +if (lean_obj_tag(x_99) == 0) { -lean_object* x_90; -x_90 = lean_ctor_get(x_88, 0); -lean_dec(x_90); -lean_ctor_set_tag(x_88, 1); -lean_ctor_set(x_88, 0, x_86); -return x_88; -} -else -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_88, 1); -lean_inc(x_91); -lean_dec(x_88); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_86); -lean_ctor_set(x_92, 1, x_91); -return x_92; -} -} -} -else -{ -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; -x_93 = lean_ctor_get(x_54, 1); -lean_inc(x_93); -lean_dec(x_54); -lean_inc(x_51); -x_94 = l___private_Init_Data_Repr_0__Nat_reprFast(x_51); -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 = l_Lean_Elab_wfRecursion___closed__2; -x_98 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = l_Lean_Elab_wfRecursion___lambda__2___closed__8; -lean_ctor_set_tag(x_49, 7); -lean_ctor_set(x_49, 1, x_99); -lean_ctor_set(x_49, 0, x_98); -x_100 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_53, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_93); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +lean_dec(x_99); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_3); lean_inc(x_15); -x_103 = l_Lean_Elab_wfRecursion___lambda__7(x_51, x_18, x_11, x_15, x_17, x_101, x_3, x_4, x_5, x_6, x_7, x_8, x_102); +x_101 = l_Lean_Elab_getFixedParamPerms(x_15, x_5, x_6, x_7, x_8, x_100); +if (lean_obj_tag(x_101) == 0) +{ +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_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); lean_dec(x_101); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_104 = lean_ctor_get(x_103, 0); +x_104 = lean_array_get_size(x_15); +x_105 = lean_mk_empty_array_with_capacity(x_104); +x_106 = lean_unsigned_to_nat(0u); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_105); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -lean_dec(x_106); -x_19 = x_104; -x_20 = x_107; -goto block_41; -} -else +lean_inc(x_102); +x_107 = l_Array_mapFinIdxM_map___at_Lean_Elab_wfRecursion___spec__5(x_15, x_102, x_15, x_104, x_106, lean_box(0), x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_103); +if (lean_obj_tag(x_107) == 0) { -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_dec(x_15); -lean_dec(x_12); -x_108 = lean_ctor_get(x_103, 0); +lean_object* x_108; lean_object* x_109; lean_object* x_110; size_t x_111; lean_object* x_112; +x_108 = lean_ctor_get(x_107, 0); lean_inc(x_108); -x_109 = lean_ctor_get(x_103, 1); +x_109 = lean_ctor_get(x_107, 1); lean_inc(x_109); -lean_dec(x_103); -x_110 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_109); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_112 = x_110; -} else { - lean_dec_ref(x_110); - x_112 = lean_box(0); -} -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(1, 2, 0); -} else { - x_113 = x_112; - lean_ctor_set_tag(x_113, 1); -} -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_111); -return x_113; -} -} -} -} -else +lean_dec(x_107); +lean_inc(x_15); +x_110 = l_Array_toSubarray___rarg(x_15, x_106, x_104); +x_111 = lean_array_size(x_108); +lean_inc(x_3); +x_112 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__6(x_108, x_17, x_108, x_111, x_11, x_110, x_3, x_4, x_5, x_6, x_7, x_8, x_109); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_114 = lean_ctor_get(x_49, 0); -x_115 = lean_ctor_get(x_49, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_49); -x_116 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; -x_117 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_116, x_3, x_4, x_5, x_6, x_7, x_8, x_115); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_unbox(x_118); -lean_dec(x_118); +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_15); +x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7(x_18, x_11, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_113); +if (lean_obj_tag(x_114) == 0) +{ +uint8_t x_115; +x_115 = !lean_is_exclusive(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_116 = lean_ctor_get(x_114, 0); +x_117 = lean_ctor_get(x_114, 1); +x_118 = l_Array_unzip___rarg(x_116); +lean_dec(x_116); +x_119 = !lean_is_exclusive(x_118); if (x_119 == 0) { -lean_object* x_120; lean_object* x_121; -x_120 = lean_ctor_get(x_117, 1); -lean_inc(x_120); -lean_dec(x_117); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_118, 0); +x_121 = lean_ctor_get(x_118, 1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_15); -x_121 = l_Lean_Elab_wfRecursion___lambda__7(x_114, x_18, x_11, x_15, x_17, x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_120); -if (lean_obj_tag(x_121) == 0) +lean_inc(x_108); +lean_inc(x_102); +x_122 = l_Lean_Elab_WF_packMutual(x_102, x_108, x_120, x_5, x_6, x_7, x_8, x_117); +if (lean_obj_tag(x_122) == 0) { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_123); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -lean_dec(x_124); -x_19 = x_122; -x_20 = x_125; -goto block_41; +uint8_t x_123; +x_123 = !lean_is_exclusive(x_122); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_124 = lean_ctor_get(x_122, 0); +x_125 = lean_ctor_get(x_122, 1); +lean_ctor_set(x_118, 0, x_124); +lean_ctor_set(x_122, 1, x_118); +lean_ctor_set(x_122, 0, x_108); +lean_ctor_set(x_114, 1, x_122); +lean_ctor_set(x_114, 0, x_102); +x_126 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_125); +x_127 = !lean_is_exclusive(x_126); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_126, 0); +lean_dec(x_128); +lean_ctor_set(x_126, 0, x_114); +x_19 = x_126; +goto block_85; } 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_dec(x_15); -lean_dec(x_12); -x_126 = lean_ctor_get(x_121, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_121, 1); -lean_inc(x_127); -lean_dec(x_121); -x_128 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_127); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_129 = lean_ctor_get(x_128, 1); +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 1); lean_inc(x_129); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_130 = x_128; -} else { - lean_dec_ref(x_128); - x_130 = lean_box(0); -} -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); -} else { - x_131 = x_130; - lean_ctor_set_tag(x_131, 1); -} -lean_ctor_set(x_131, 0, x_126); -lean_ctor_set(x_131, 1, x_129); -return x_131; +lean_dec(x_126); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_114); +lean_ctor_set(x_130, 1, x_129); +x_19 = x_130; +goto block_85; } } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_132 = lean_ctor_get(x_117, 1); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_131 = lean_ctor_get(x_122, 0); +x_132 = lean_ctor_get(x_122, 1); lean_inc(x_132); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_133 = x_117; +lean_inc(x_131); +lean_dec(x_122); +lean_ctor_set(x_118, 0, x_131); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_108); +lean_ctor_set(x_133, 1, x_118); +lean_ctor_set(x_114, 1, x_133); +lean_ctor_set(x_114, 0, x_102); +x_134 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_132); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + x_136 = x_134; } else { - lean_dec_ref(x_117); - x_133 = lean_box(0); + lean_dec_ref(x_134); + x_136 = lean_box(0); } -lean_inc(x_114); -x_134 = l___private_Init_Data_Repr_0__Nat_reprFast(x_114); -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_Elab_wfRecursion___closed__2; -if (lean_is_scalar(x_133)) { - x_138 = lean_alloc_ctor(7, 2, 0); +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(0, 2, 0); } else { - x_138 = x_133; - lean_ctor_set_tag(x_138, 7); + x_137 = x_136; } -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = l_Lean_Elab_wfRecursion___lambda__2___closed__8; -x_140 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_116, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_132); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); +lean_ctor_set(x_137, 0, x_114); +lean_ctor_set(x_137, 1, x_135); +x_19 = x_137; +goto block_85; +} +} +else +{ +lean_object* x_138; lean_object* x_139; +lean_free_object(x_118); +lean_dec(x_121); +lean_free_object(x_114); +lean_dec(x_108); +lean_dec(x_102); +x_138 = lean_ctor_get(x_122, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_122, 1); +lean_inc(x_139); +lean_dec(x_122); +x_90 = x_138; +x_91 = x_139; +goto block_97; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_118, 0); +x_141 = lean_ctor_get(x_118, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_118); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_15); -x_144 = l_Lean_Elab_wfRecursion___lambda__7(x_114, x_18, x_11, x_15, x_17, x_142, x_3, x_4, x_5, x_6, x_7, x_8, x_143); -lean_dec(x_142); -if (lean_obj_tag(x_144) == 0) +lean_inc(x_108); +lean_inc(x_102); +x_142 = l_Lean_Elab_WF_packMutual(x_102, x_108, x_140, x_5, x_6, x_7, x_8, x_117); +if (lean_obj_tag(x_142) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -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 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_146); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_19 = x_145; -x_20 = x_148; -goto block_41; +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_145 = x_142; +} else { + lean_dec_ref(x_142); + x_145 = lean_box(0); } -else -{ -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_dec(x_15); -lean_dec(x_12); -x_149 = lean_ctor_get(x_144, 0); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_141); +if (lean_is_scalar(x_145)) { + x_147 = lean_alloc_ctor(0, 2, 0); +} else { + x_147 = x_145; +} +lean_ctor_set(x_147, 0, x_108); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_114, 1, x_147); +lean_ctor_set(x_114, 0, x_102); +x_148 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_144); +x_149 = lean_ctor_get(x_148, 1); lean_inc(x_149); -x_150 = lean_ctor_get(x_144, 1); -lean_inc(x_150); -lean_dec(x_144); -x_151 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_150); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_152 = lean_ctor_get(x_151, 1); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_150 = x_148; +} else { + lean_dec_ref(x_148); + x_150 = lean_box(0); +} +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(0, 2, 0); +} else { + x_151 = x_150; +} +lean_ctor_set(x_151, 0, x_114); +lean_ctor_set(x_151, 1, x_149); +x_19 = x_151; +goto block_85; +} +else +{ +lean_object* x_152; lean_object* x_153; +lean_dec(x_141); +lean_free_object(x_114); +lean_dec(x_108); +lean_dec(x_102); +x_152 = lean_ctor_get(x_142, 0); lean_inc(x_152); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - x_153 = x_151; -} else { - lean_dec_ref(x_151); - x_153 = lean_box(0); -} -if (lean_is_scalar(x_153)) { - x_154 = lean_alloc_ctor(1, 2, 0); -} else { - x_154 = x_153; - lean_ctor_set_tag(x_154, 1); -} -lean_ctor_set(x_154, 0, x_149); -lean_ctor_set(x_154, 1, x_152); -return x_154; -} +x_153 = lean_ctor_get(x_142, 1); +lean_inc(x_153); +lean_dec(x_142); +x_90 = x_152; +x_91 = x_153; +goto block_97; } } } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -lean_dec(x_15); -lean_dec(x_12); -x_155 = lean_ctor_get(x_49, 0); +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_154 = lean_ctor_get(x_114, 0); +x_155 = lean_ctor_get(x_114, 1); lean_inc(x_155); -x_156 = lean_ctor_get(x_49, 1); -lean_inc(x_156); -lean_dec(x_49); -x_157 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_156); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_158 = !lean_is_exclusive(x_157); -if (x_158 == 0) +lean_inc(x_154); +lean_dec(x_114); +x_156 = l_Array_unzip___rarg(x_154); +lean_dec(x_154); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_159 = x_156; +} else { + lean_dec_ref(x_156); + x_159 = lean_box(0); +} +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_108); +lean_inc(x_102); +x_160 = l_Lean_Elab_WF_packMutual(x_102, x_108, x_157, x_5, x_6, x_7, x_8, x_155); +if (lean_obj_tag(x_160) == 0) { -lean_object* x_159; -x_159 = lean_ctor_get(x_157, 0); -lean_dec(x_159); -lean_ctor_set_tag(x_157, 1); -lean_ctor_set(x_157, 0, x_155); -return x_157; -} -else -{ -lean_object* x_160; lean_object* x_161; -x_160 = lean_ctor_get(x_157, 1); -lean_inc(x_160); -lean_dec(x_157); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_155); -lean_ctor_set(x_161, 1, x_160); -return x_161; -} -} -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -lean_dec(x_15); -lean_dec(x_12); -x_162 = lean_ctor_get(x_47, 0); +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); lean_inc(x_162); -x_163 = lean_ctor_get(x_47, 1); -lean_inc(x_163); -lean_dec(x_47); -x_164 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_163); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_165 = !lean_is_exclusive(x_164); -if (x_165 == 0) -{ -lean_object* x_166; -x_166 = lean_ctor_get(x_164, 0); -lean_dec(x_166); -lean_ctor_set_tag(x_164, 1); -lean_ctor_set(x_164, 0, x_162); -return x_164; +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_163 = x_160; +} else { + lean_dec_ref(x_160); + x_163 = lean_box(0); +} +if (lean_is_scalar(x_159)) { + x_164 = lean_alloc_ctor(0, 2, 0); +} else { + x_164 = x_159; +} +lean_ctor_set(x_164, 0, x_161); +lean_ctor_set(x_164, 1, x_158); +if (lean_is_scalar(x_163)) { + x_165 = lean_alloc_ctor(0, 2, 0); +} else { + x_165 = x_163; +} +lean_ctor_set(x_165, 0, x_108); +lean_ctor_set(x_165, 1, x_164); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_102); +lean_ctor_set(x_166, 1, x_165); +x_167 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_162); +x_168 = lean_ctor_get(x_167, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_169 = x_167; +} else { + lean_dec_ref(x_167); + x_169 = lean_box(0); +} +if (lean_is_scalar(x_169)) { + x_170 = lean_alloc_ctor(0, 2, 0); +} else { + x_170 = x_169; +} +lean_ctor_set(x_170, 0, x_166); +lean_ctor_set(x_170, 1, x_168); +x_19 = x_170; +goto block_85; } else { -lean_object* x_167; lean_object* x_168; -x_167 = lean_ctor_get(x_164, 1); -lean_inc(x_167); -lean_dec(x_164); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_162); -lean_ctor_set(x_168, 1, x_167); -return x_168; +lean_object* x_171; lean_object* x_172; +lean_dec(x_159); +lean_dec(x_158); +lean_dec(x_108); +lean_dec(x_102); +x_171 = lean_ctor_get(x_160, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_160, 1); +lean_inc(x_172); +lean_dec(x_160); +x_90 = x_171; +x_91 = x_172; +goto block_97; } } -block_41: +} +else { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_173; lean_object* x_174; +lean_dec(x_108); +lean_dec(x_102); +x_173 = lean_ctor_get(x_114, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_114, 1); +lean_inc(x_174); +lean_dec(x_114); +x_90 = x_173; +x_91 = x_174; +goto block_97; +} +} +else +{ +lean_object* x_175; lean_object* x_176; +lean_dec(x_108); +lean_dec(x_102); +x_175 = lean_ctor_get(x_112, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_112, 1); +lean_inc(x_176); +lean_dec(x_112); +x_90 = x_175; +x_91 = x_176; +goto block_97; +} +} +else +{ +lean_object* x_177; lean_object* x_178; +lean_dec(x_104); +lean_dec(x_102); +x_177 = lean_ctor_get(x_107, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_107, 1); +lean_inc(x_178); +lean_dec(x_107); +x_90 = x_177; +x_91 = x_178; +goto block_97; +} +} +else +{ +lean_object* x_179; lean_object* x_180; +x_179 = lean_ctor_get(x_101, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_101, 1); +lean_inc(x_180); +lean_dec(x_101); +x_90 = x_179; +x_91 = x_180; +goto block_97; +} +} +else +{ +lean_object* x_181; lean_object* x_182; +x_181 = lean_ctor_get(x_99, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_99, 1); +lean_inc(x_182); +lean_dec(x_99); +x_90 = x_181; +x_91 = x_182; +goto block_97; +} +block_85: +{ +if (lean_obj_tag(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_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); -if (lean_obj_tag(x_12) == 0) -{ -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_19, 0); +x_23 = lean_ctor_get(x_19, 1); lean_inc(x_23); lean_dec(x_19); -x_24 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_20, 0); lean_inc(x_24); +lean_dec(x_20); +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); lean_dec(x_21); -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_25); -lean_inc(x_15); -x_27 = l_Lean_Elab_WF_guessLex(x_15, x_25, x_23, x_24, x_5, x_6, x_7, x_8, x_20); -if (lean_obj_tag(x_27) == 0) +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -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_Lean_Elab_wfRecursion___lambda__6(x_25, x_23, x_18, x_11, x_15, x_24, x_26, x_17, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_29); -return x_30; -} -else +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_27 = lean_ctor_get(x_22, 0); +x_28 = lean_ctor_get(x_22, 1); +x_29 = l_Lean_Elab_wfRecursion___closed__4; +x_30 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) { -uint8_t x_31; -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_31 = !lean_is_exclusive(x_27); -if (x_31 == 0) -{ -return x_27; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 0); -x_33 = lean_ctor_get(x_27, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_free_object(x_22); +x_33 = lean_ctor_get(x_30, 1); lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_27); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} +lean_dec(x_30); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_wfRecursion___lambda__7(x_27, x_24, x_18, x_11, x_15, x_29, x_25, x_28, x_17, x_12, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_33); +return x_35; } 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; -x_35 = lean_ctor_get(x_19, 0); -lean_inc(x_35); -lean_dec(x_19); -x_36 = lean_ctor_get(x_21, 0); -lean_inc(x_36); -lean_dec(x_21); -x_37 = lean_ctor_get(x_22, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_22, 1); -lean_inc(x_38); -lean_dec(x_22); -x_39 = lean_ctor_get(x_12, 0); +uint8_t x_36; +x_36 = !lean_is_exclusive(x_30); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_37 = lean_ctor_get(x_30, 1); +x_38 = lean_ctor_get(x_30, 0); +lean_dec(x_38); +x_39 = lean_ctor_get(x_27, 5); lean_inc(x_39); -lean_dec(x_12); -x_40 = l_Lean_Elab_wfRecursion___lambda__6(x_37, x_35, x_18, x_11, x_15, x_36, x_38, x_17, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_20); -return x_40; +x_40 = l_Lean_MessageData_ofExpr(x_39); +x_41 = l_Lean_indentD(x_40); +x_42 = l_Lean_Elab_wfRecursion___closed__6; +lean_ctor_set_tag(x_30, 7); +lean_ctor_set(x_30, 1, x_41); +lean_ctor_set(x_30, 0, x_42); +x_43 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; +lean_ctor_set_tag(x_22, 7); +lean_ctor_set(x_22, 1, x_43); +lean_ctor_set(x_22, 0, x_30); +x_44 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_29, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_37); +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_Lean_Elab_wfRecursion___lambda__7(x_27, x_24, x_18, x_11, x_15, x_29, x_25, x_28, x_17, x_12, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_46); +lean_dec(x_45); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_48 = lean_ctor_get(x_30, 1); +lean_inc(x_48); +lean_dec(x_30); +x_49 = lean_ctor_get(x_27, 5); +lean_inc(x_49); +x_50 = l_Lean_MessageData_ofExpr(x_49); +x_51 = l_Lean_indentD(x_50); +x_52 = l_Lean_Elab_wfRecursion___closed__6; +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_Lean_Elab_wfRecursion___lambda__2___closed__4; +lean_ctor_set_tag(x_22, 7); +lean_ctor_set(x_22, 1, x_54); +lean_ctor_set(x_22, 0, x_53); +x_55 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_29, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l_Lean_Elab_wfRecursion___lambda__7(x_27, x_24, x_18, x_11, x_15, x_29, x_25, x_28, x_17, x_12, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_57); +lean_dec(x_56); +return x_58; } } } else { -uint8_t x_169; +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_59 = lean_ctor_get(x_22, 0); +x_60 = lean_ctor_get(x_22, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_22); +x_61 = l_Lean_Elab_wfRecursion___closed__4; +x_62 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_61, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_unbox(x_63); +lean_dec(x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_dec(x_62); +x_66 = lean_box(0); +x_67 = l_Lean_Elab_wfRecursion___lambda__7(x_59, x_24, x_18, x_11, x_15, x_61, x_25, x_60, x_17, x_12, x_66, x_3, x_4, x_5, x_6, x_7, x_8, x_65); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_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_ctor_get(x_59, 5); +lean_inc(x_70); +x_71 = l_Lean_MessageData_ofExpr(x_70); +x_72 = l_Lean_indentD(x_71); +x_73 = l_Lean_Elab_wfRecursion___closed__6; +if (lean_is_scalar(x_69)) { + x_74 = lean_alloc_ctor(7, 2, 0); +} else { + x_74 = x_69; + lean_ctor_set_tag(x_74, 7); +} +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +x_75 = l_Lean_Elab_wfRecursion___lambda__2___closed__4; +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_61, x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_68); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_Elab_wfRecursion___lambda__7(x_59, x_24, x_18, x_11, x_15, x_61, x_25, x_60, x_17, x_12, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_79); +lean_dec(x_78); +return x_80; +} +} +} +else +{ +uint8_t x_81; +lean_dec(x_15); lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -3334,23 +3127,82 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_169 = !lean_is_exclusive(x_14); -if (x_169 == 0) +x_81 = !lean_is_exclusive(x_19); +if (x_81 == 0) +{ +return x_19; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_19, 0); +x_83 = lean_ctor_get(x_19, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_19); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +block_97: +{ +lean_object* x_92; uint8_t x_93; +x_92 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_91); +x_93 = !lean_is_exclusive(x_92); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_92, 0); +lean_dec(x_94); +lean_ctor_set_tag(x_92, 1); +lean_ctor_set(x_92, 0, x_90); +x_19 = x_92; +goto block_85; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_92, 1); +lean_inc(x_95); +lean_dec(x_92); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_90); +lean_ctor_set(x_96, 1, x_95); +x_19 = x_96; +goto block_85; +} +} +} +else +{ +uint8_t x_183; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_183 = !lean_is_exclusive(x_14); +if (x_183 == 0) { return x_14; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_170 = lean_ctor_get(x_14, 0); -x_171 = lean_ctor_get(x_14, 1); -lean_inc(x_171); -lean_inc(x_170); +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_14, 0); +x_185 = lean_ctor_get(x_14, 1); +lean_inc(x_185); +lean_inc(x_184); lean_dec(x_14); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_171); -return x_172; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +return x_186; } } } @@ -3419,18 +3271,16 @@ lean_dec(x_1); return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_wfRecursion___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, 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: { -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); +lean_object* x_15; +x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_wfRecursion___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_3); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); -lean_dec(x_5); -return x_14; +lean_dec(x_1); +return x_15; } } LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_wfRecursion___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -3485,28 +3335,61 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_2); +size_t x_24; size_t x_25; uint8_t x_26; lean_object* x_27; +x_24 = lean_unbox_usize(x_2); lean_dec(x_2); -x_19 = lean_unbox_usize(x_3); +x_25 = lean_unbox_usize(x_3); lean_dec(x_3); -x_20 = l_Lean_Elab_wfRecursion___lambda__1(x_1, x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_26 = lean_unbox(x_10); lean_dec(x_10); -return x_20; +x_27 = l_Lean_Elab_wfRecursion___lambda__1(x_1, x_24, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_26, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +return x_27; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___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) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_18 = lean_unbox_usize(x_3); +size_t x_24; size_t x_25; uint8_t x_26; lean_object* x_27; +x_24 = lean_unbox_usize(x_3); lean_dec(x_3); -x_19 = l_Lean_Elab_wfRecursion___lambda__2(x_1, x_17, x_18, 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); -return x_19; +x_25 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_26 = lean_unbox(x_10); +lean_dec(x_10); +x_27 = l_Lean_Elab_wfRecursion___lambda__2(x_1, x_2, x_24, x_25, x_5, x_6, x_7, x_8, x_9, x_26, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_27; } } LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__3___boxed(lean_object** _args) { @@ -3527,29 +3410,65 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +lean_object* x_24 = _args[23]; +lean_object* x_25 = _args[24]; _start: { -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_2); +size_t x_26; size_t x_27; uint8_t x_28; lean_object* x_29; +x_26 = lean_unbox_usize(x_2); lean_dec(x_2); -x_19 = lean_unbox_usize(x_3); +x_27 = lean_unbox_usize(x_3); lean_dec(x_3); -x_20 = l_Lean_Elab_wfRecursion___lambda__3(x_1, x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_28 = lean_unbox(x_10); lean_dec(x_10); +x_29 = l_Lean_Elab_wfRecursion___lambda__3(x_1, x_26, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_28, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25); +lean_dec(x_18); lean_dec(x_1); -return x_20; +return x_29; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +lean_object* x_24 = _args[23]; _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_1); +size_t x_25; size_t x_26; uint8_t x_27; lean_object* x_28; +x_25 = lean_unbox_usize(x_1); lean_dec(x_1); -x_18 = lean_unbox_usize(x_2); +x_26 = lean_unbox_usize(x_2); lean_dec(x_2); -x_19 = l_Lean_Elab_wfRecursion___lambda__4(x_17, x_18, 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); -return x_19; +x_27 = lean_unbox(x_8); +lean_dec(x_8); +x_28 = l_Lean_Elab_wfRecursion___lambda__4(x_25, x_26, x_3, x_4, x_5, x_6, x_7, x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); +return x_28; } } LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { @@ -3564,35 +3483,69 @@ lean_dec(x_6); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_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_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_3); +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_3); lean_dec(x_3); -x_18 = lean_unbox_usize(x_4); +x_19 = lean_unbox_usize(x_4); lean_dec(x_4); -x_19 = l_Lean_Elab_wfRecursion___lambda__6(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_8); -return x_19; +x_20 = l_Lean_Elab_wfRecursion___lambda__6(x_1, x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_9); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = lean_unbox_usize(x_3); +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_3); lean_dec(x_3); -x_16 = l_Lean_Elab_wfRecursion___lambda__7(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -return x_16; +x_20 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_21 = l_Lean_Elab_wfRecursion___lambda__7(x_1, x_2, x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_11); +lean_dec(x_9); +return x_21; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__1() { _start: { lean_object* x_1; @@ -3600,27 +3553,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_1476____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__2; -x_2 = l_Lean_Elab_wfRecursion___lambda__2___closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__2; +x_2 = l_Lean_Elab_wfRecursion___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_1476____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__4() { _start: { lean_object* x_1; @@ -3628,17 +3581,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_1476____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__3; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__4; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__3; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__6() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__6() { _start: { lean_object* x_1; @@ -3646,37 +3599,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_1476____closed__7() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__5; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__6; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__5; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__8() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__7; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__7; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__9() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__8; -x_2 = l_Lean_Elab_wfRecursion___lambda__2___closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__8; +x_2 = l_Lean_Elab_wfRecursion___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_1476____closed__10() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__10() { _start: { lean_object* x_1; @@ -3684,17 +3637,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_1476____closed__11() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__9; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__10; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__9; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__12() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__12() { _start: { lean_object* x_1; @@ -3702,17 +3655,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_1476____closed__13() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__11; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__12; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__11; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__14() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__14() { _start: { lean_object* x_1; @@ -3720,17 +3673,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_1476____closed__15() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__13; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__14; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__13; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__16() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__16() { _start: { lean_object* x_1; @@ -3738,33 +3691,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_1476____closed__17() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__15; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__16; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__15; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__18() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____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_1476____closed__17; -x_2 = lean_unsigned_to_nat(1476u); +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__17; +x_2 = lean_unsigned_to_nat(1486u); 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_1476_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486_(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_wfRecursion___lambda__2___closed__4; +x_2 = l_Lean_Elab_wfRecursion___closed__4; x_3 = 0; -x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__18; +x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__18; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -3834,14 +3787,6 @@ l_Lean_Elab_wfRecursion___lambda__2___closed__3 = _init_l_Lean_Elab_wfRecursion_ lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__2___closed__3); l_Lean_Elab_wfRecursion___lambda__2___closed__4 = _init_l_Lean_Elab_wfRecursion___lambda__2___closed__4(); lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__2___closed__4); -l_Lean_Elab_wfRecursion___lambda__2___closed__5 = _init_l_Lean_Elab_wfRecursion___lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__2___closed__5); -l_Lean_Elab_wfRecursion___lambda__2___closed__6 = _init_l_Lean_Elab_wfRecursion___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__2___closed__6); -l_Lean_Elab_wfRecursion___lambda__2___closed__7 = _init_l_Lean_Elab_wfRecursion___lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__2___closed__7); -l_Lean_Elab_wfRecursion___lambda__2___closed__8 = _init_l_Lean_Elab_wfRecursion___lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__2___closed__8); l_Lean_Elab_wfRecursion___lambda__4___closed__1 = _init_l_Lean_Elab_wfRecursion___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__4___closed__1); l_Lean_Elab_wfRecursion___lambda__4___closed__2 = _init_l_Lean_Elab_wfRecursion___lambda__4___closed__2(); @@ -3858,43 +3803,51 @@ l_Lean_Elab_wfRecursion___closed__1 = _init_l_Lean_Elab_wfRecursion___closed__1( lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__1); 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_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__6(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__6); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__7(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__7); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__8(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__8); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__9(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__9); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__10 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__10(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__10); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__11 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__11(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__11); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__12 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__12(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__12); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__13 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__13(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__13); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__14 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__14(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__14); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__15 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__15(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__15); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__16 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__16(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__16); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__17 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__17(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__17); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__18 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__18(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476____closed__18); -if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1476_(lean_io_mk_world()); +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_wfRecursion___closed__4 = _init_l_Lean_Elab_wfRecursion___closed__4(); +lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__4); +l_Lean_Elab_wfRecursion___closed__5 = _init_l_Lean_Elab_wfRecursion___closed__5(); +lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__5); +l_Lean_Elab_wfRecursion___closed__6 = _init_l_Lean_Elab_wfRecursion___closed__6(); +lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__6); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__5); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__6(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__6); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__7(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__7); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__8(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__8); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__9(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__9); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__10 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__10(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__10); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__11 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__11(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__11); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__12 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__12(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__12); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__13 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__13(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__13); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__14 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__14(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__14); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__15 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__15(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__15); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__16 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__16(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__16); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__17 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__17(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__17); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__18 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__18(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486____closed__18); +if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_1486_(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/PackMutual.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c index fdc5ec5262..ad11ac6874 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.WF.PackMutual -// Imports: Lean.Meta.ArgsPacker Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.WF.Eqns +// Imports: Lean.Meta.ArgsPacker Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.FixedParams Lean.Elab.PreDefinition.WF.Eqns #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,50 +14,66 @@ extern "C" { #endif lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__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_WF_packMutual___lambda__2___boxed(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_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packCalls___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_Meta_ArgsPacker_uncurryType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___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_WF_packCalls___lambda__4___closed__7; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___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*); +static lean_object* l_Lean_Elab_WF_packCalls___lambda__4___closed__3; +static lean_object* l_panic___at_Lean_Elab_WF_packCalls___spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mutualName___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_pickFixed___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___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_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__1; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__6; lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_packCalls___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_WF_packCalls___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___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_Lean_Elab_WF_varyingVarNames___lambda__2___closed__3; +static lean_object* l_Lean_Elab_WF_packCalls___lambda__4___closed__5; static lean_object* l_Lean_Elab_WF_withAppN___closed__1; +lean_object* l_Lean_Elab_FixedParamPerm_pickVarying___rarg(lean_object*, lean_object*); uint8_t l_Lean_Meta_ArgsPacker_onlyOneUnary(lean_object*); lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_WF_packMutual___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___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* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_preDefsFromUnaryNonRec___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_packCalls___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panic___at_Lean_Meta_PProdN_packLambdas___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ArgsPacker_uncurry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__7; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___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*); static lean_object* l_Lean_Elab_WF_varyingVarNames___closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___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_WF_withAppN___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packCalls___spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_WF_mutualName___closed__4; LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at_Lean_Elab_WF_packCalls___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___lambda__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_Elab_WF_varyingVarNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___lambda__2(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_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*); static lean_object* l_Lean_Elab_WF_packCalls___closed__3; -static lean_object* l_Lean_Elab_WF_varyingVarNames___closed__2; 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_WF_packCalls___closed__4; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -68,20 +84,24 @@ static lean_object* l_Lean_Elab_WF_packCalls___lambda__4___closed__1; lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_packCalls___lambda__6___closed__1; extern lean_object* l_Lean_levelZero; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__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_Elab_WF_packMutual___lambda__2(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_FixedParamPerm_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___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_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__2(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_packMutual___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_Elab_WF_packMutual___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* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_packCalls___closed__2; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_packCalls___lambda__4___closed__4; +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls(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_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___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_WF_varyingVarNames___lambda__2___closed__8; static lean_object* l_Lean_Elab_WF_packCalls___closed__6; +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__4; lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); @@ -90,8 +110,8 @@ static lean_object* l_Lean_Elab_WF_packCalls___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ArgsPacker_pack(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_packCalls___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_packCalls___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_withAppN___lambda__2___closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -100,15 +120,18 @@ lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_packCalls___closed__5; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mutualName___closed__2; +uint8_t l_Lean_Elab_FixedParamPerms_fixedArePrefix(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___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_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__5; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___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* l_Lean_FVarId_getUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_idxOfAux___at_Lean_MetavarContext_setMVarUserName___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__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* l_Lean_Elab_addAsAxiom(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_Lean_Elab_WF_packCalls___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*); @@ -117,16 +140,14 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUna lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__4; -static lean_object* l_Lean_Elab_WF_varyingVarNames___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__6; +static lean_object* l_Lean_Elab_WF_packCalls___lambda__4___closed__6; lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__3; -static lean_object* l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_varyingVarNames___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_WF_varyingVarNames___closed__3; +lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___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*); @@ -135,10 +156,11 @@ size_t lean_array_size(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_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, 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_EXPORT lean_object* l_Lean_Elab_WF_mutualName___boxed(lean_object*, lean_object*); +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mutualName___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Elab_WF_mutualName___closed__3; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -148,15 +170,16 @@ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_WF_preDefsFromUnaryNonRec(lean_object*, 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*); lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___lambda__1(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*); +lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___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*); uint8_t l_Lean_Expr_isForall(lean_object*); +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mutualName(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mutualName(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_varyingVarNames___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___lambda__3(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_varyingVarNames___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___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) { @@ -492,6 +515,66 @@ return x_8; } } } +static lean_object* _init_l_panic___at_Lean_Elab_WF_packCalls___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); +lean_closure_set(x_1, 0, lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_packCalls___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; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_WF_packCalls___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packCalls___spec__3(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_10 = 0; +x_11 = lean_box(x_10); +x_12 = lean_array_uset(x_7, x_2, x_11); +x_2 = x_9; +x_3 = x_12; +goto _start; +} +else +{ +uint8_t x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_5); +x_14 = 1; +x_15 = lean_box(x_14); +x_16 = lean_array_uset(x_7, x_2, x_15); +x_2 = x_9; +x_3 = x_16; +goto _start; +} +} +} +} static lean_object* _init_l_Lean_Elab_WF_packCalls___lambda__1___closed__1() { _start: { @@ -528,61 +611,58 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_array_get_size(x_6); -x_13 = l_Array_toSubarray___rarg(x_6, x_1, x_12); -x_14 = l_Array_ofSubarray___rarg(x_13); +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_1, x_6); +x_13 = l_Lean_Meta_ArgsPacker_pack(x_2, x_3, x_4, x_12, x_7, x_8, x_9, x_10, x_11); +lean_dec(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); +x_16 = l_Lean_Expr_app___override(x_5, x_15); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); lean_dec(x_13); -x_15 = l_Lean_Meta_ArgsPacker_pack(x_2, x_3, x_4, x_14, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_14); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = l_Lean_Expr_app___override(x_5, x_17); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = l_Lean_Expr_app___override(x_5, x_19); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +x_19 = l_Lean_Expr_app___override(x_5, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; } } else { -uint8_t x_23; +uint8_t x_21; lean_dec(x_5); -x_23 = !lean_is_exclusive(x_15); -if (x_23 == 0) +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) { -return x_15; +return x_13; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_15); -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_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +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; } } } @@ -590,6 +670,61 @@ return x_26; static lean_object* _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__1() { _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_WF_packCalls___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fidx < fixedParamPerms.perms.size\n ", 40, 40); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_packCalls___lambda__4___closed__1; +x_2 = l_Lean_Elab_WF_packCalls___lambda__4___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.WF.PackMutual", 37, 37); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.WF.packCalls", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__6() { +_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_packCalls___lambda__4___closed__4; +x_2 = l_Lean_Elab_WF_packCalls___lambda__4___closed__5; +x_3 = lean_unsigned_to_nat(53u); +x_4 = lean_unsigned_to_nat(6u); +x_5 = l_Lean_Elab_WF_packCalls___lambda__4___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__7() { +_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); @@ -609,7 +744,6 @@ lean_object* x_16; lean_object* x_17; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); x_16 = lean_box(0); x_17 = l_Lean_Elab_WF_packCalls___lambda__2(x_1, x_16, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); @@ -624,142 +758,187 @@ uint8_t x_18; x_18 = !lean_is_exclusive(x_15); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_19 = lean_ctor_get(x_15, 0); -x_20 = l_Lean_Elab_WF_packCalls___lambda__4___closed__1; -x_21 = lean_array_get(x_20, x_4, x_19); -x_22 = lean_array_get_size(x_21); +x_20 = lean_ctor_get(x_4, 1); +x_21 = lean_array_get_size(x_20); +x_22 = lean_nat_dec_lt(x_19, x_21); lean_dec(x_21); -x_23 = lean_nat_add(x_5, x_22); -lean_dec(x_22); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packCalls___lambda__3___boxed), 11, 5); -lean_closure_set(x_24, 0, x_5); -lean_closure_set(x_24, 1, x_4); -lean_closure_set(x_24, 2, x_6); -lean_closure_set(x_24, 3, x_19); -lean_closure_set(x_24, 4, x_7); -x_25 = l_Lean_Elab_WF_withAppN(x_23, x_1, x_24, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_25) == 0) +if (x_22 == 0) { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_ctor_set_tag(x_15, 0); -lean_ctor_set(x_15, 0, x_27); -lean_ctor_set(x_25, 0, x_15); -return x_25; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_25, 0); -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_25); -lean_ctor_set_tag(x_15, 0); -lean_ctor_set(x_15, 0, x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_15); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -else -{ -uint8_t x_31; +lean_object* x_23; lean_object* x_24; lean_free_object(x_15); -x_31 = !lean_is_exclusive(x_25); -if (x_31 == 0) -{ -return x_25; +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_23 = l_Lean_Elab_WF_packCalls___lambda__4___closed__6; +x_24 = l_panic___at_Lean_Elab_WF_packCalls___spec__2(x_23, x_9, x_10, x_11, x_12, x_13); +return x_24; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_25, 0); -x_33 = lean_ctor_get(x_25, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_25); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_25 = l_Lean_Elab_WF_packCalls___lambda__4___closed__7; +x_26 = lean_array_get(x_25, x_20, x_19); +x_27 = lean_array_size(x_26); +x_28 = 0; +lean_inc(x_26); +x_29 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packCalls___spec__3(x_27, x_28, x_26); +x_30 = lean_array_get_size(x_29); +lean_dec(x_29); +x_31 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packCalls___lambda__3___boxed), 11, 5); +lean_closure_set(x_31, 0, x_26); +lean_closure_set(x_31, 1, x_5); +lean_closure_set(x_31, 2, x_6); +lean_closure_set(x_31, 3, x_19); +lean_closure_set(x_31, 4, x_7); +x_32 = l_Lean_Elab_WF_withAppN(x_30, x_1, x_31, x_9, x_10, x_11, x_12, x_13); +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; +x_34 = lean_ctor_get(x_32, 0); +lean_ctor_set_tag(x_15, 0); +lean_ctor_set(x_15, 0, x_34); +lean_ctor_set(x_32, 0, x_15); +return x_32; } 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; -x_35 = lean_ctor_get(x_15, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_32, 0); +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); lean_inc(x_35); -lean_dec(x_15); -x_36 = l_Lean_Elab_WF_packCalls___lambda__4___closed__1; -x_37 = lean_array_get(x_36, x_4, x_35); -x_38 = lean_array_get_size(x_37); -lean_dec(x_37); -x_39 = lean_nat_add(x_5, x_38); -lean_dec(x_38); -x_40 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packCalls___lambda__3___boxed), 11, 5); -lean_closure_set(x_40, 0, x_5); -lean_closure_set(x_40, 1, x_4); -lean_closure_set(x_40, 2, x_6); -lean_closure_set(x_40, 3, x_35); -lean_closure_set(x_40, 4, x_7); -x_41 = l_Lean_Elab_WF_withAppN(x_39, x_1, x_40, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_44 = x_41; -} else { - lean_dec_ref(x_41); - x_44 = lean_box(0); +lean_dec(x_32); +lean_ctor_set_tag(x_15, 0); +lean_ctor_set(x_15, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_15); +lean_ctor_set(x_37, 1, x_36); +return x_37; } -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_42); -if (lean_is_scalar(x_44)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_44; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_43); -return x_46; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_41, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_41, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_49 = x_41; -} else { - lean_dec_ref(x_41); - x_49 = lean_box(0); +uint8_t x_38; +lean_free_object(x_15); +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +return x_32; } -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(1, 2, 0); -} else { - x_50 = x_49; +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_32, 0); +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_32); +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; +} +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_42 = lean_ctor_get(x_15, 0); +lean_inc(x_42); +lean_dec(x_15); +x_43 = lean_ctor_get(x_4, 1); +x_44 = lean_array_get_size(x_43); +x_45 = lean_nat_dec_lt(x_42, x_44); +lean_dec(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_42); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_46 = l_Lean_Elab_WF_packCalls___lambda__4___closed__6; +x_47 = l_panic___at_Lean_Elab_WF_packCalls___spec__2(x_46, x_9, x_10, x_11, x_12, x_13); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_48 = l_Lean_Elab_WF_packCalls___lambda__4___closed__7; +x_49 = lean_array_get(x_48, x_43, x_42); +x_50 = lean_array_size(x_49); +x_51 = 0; +lean_inc(x_49); +x_52 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packCalls___spec__3(x_50, x_51, x_49); +x_53 = lean_array_get_size(x_52); +lean_dec(x_52); +x_54 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packCalls___lambda__3___boxed), 11, 5); +lean_closure_set(x_54, 0, x_49); +lean_closure_set(x_54, 1, x_5); +lean_closure_set(x_54, 2, x_6); +lean_closure_set(x_54, 3, x_42); +lean_closure_set(x_54, 4, x_7); +x_55 = l_Lean_Elab_WF_withAppN(x_53, x_1, x_54, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_56); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_55, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_55, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_63 = x_55; +} else { + lean_dec_ref(x_55); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; } -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_48); -return x_50; } } } @@ -782,7 +961,6 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); x_14 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_14, 0, x_6); x_15 = lean_alloc_ctor(0, 2, 0); @@ -948,7 +1126,7 @@ else { lean_object* x_29; lean_object* x_30; x_29 = lean_box(0); -x_30 = l_Lean_Elab_WF_packCalls___lambda__6(x_12, x_3, x_2, x_1, x_4, x_5, x_29, x_6, x_7, x_8, x_9, x_13); +x_30 = l_Lean_Elab_WF_packCalls___lambda__6(x_12, x_3, x_1, x_2, x_4, x_5, x_29, x_6, x_7, x_8, x_9, x_13); lean_dec(x_12); return x_30; } @@ -996,6 +1174,18 @@ lean_dec(x_1); return x_3; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packCalls___spec__3___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_WF_packCalls___spec__3(x_4, x_5, x_3); +return x_6; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_WF_packCalls___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -1027,7 +1217,9 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_WF_packCalls___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); lean_dec(x_2); +lean_dec(x_1); return x_12; } } @@ -1037,6 +1229,7 @@ _start: lean_object* x_14; x_14 = l_Lean_Elab_WF_packCalls___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_8); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_14; @@ -1047,6 +1240,7 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_WF_packCalls___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); lean_dec(x_1); return x_12; } @@ -1097,461 +1291,555 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mutualName(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mutualName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_3; -x_3 = l_Lean_Meta_ArgsPacker_onlyOneUnary(x_1); -if (x_3 == 0) +uint8_t x_4; +x_4 = l_Lean_Elab_FixedParamPerms_fixedArePrefix(x_1); +if (x_4 == 0) { -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_array_get_size(x_1); -x_5 = lean_unsigned_to_nat(1u); -x_6 = lean_nat_dec_lt(x_5, x_4); -lean_dec(x_4); -if (x_6 == 0) +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_array_get_size(x_2); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_dec_lt(x_6, x_5); +lean_dec(x_5); +if (x_7 == 0) { -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_7 = l_Lean_Elab_instInhabitedPreDefinition; -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_get(x_7, x_2, x_8); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_Elab_WF_mutualName___closed__2; -x_12 = l_Lean_Name_append(x_10, x_11); -return x_12; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = l_Lean_Elab_instInhabitedPreDefinition; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_get(x_8, x_3, x_9); +x_11 = lean_ctor_get(x_10, 3); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_Elab_WF_mutualName___closed__2; +x_13 = l_Lean_Name_append(x_11, x_12); +return x_13; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_13 = l_Lean_Elab_instInhabitedPreDefinition; -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_get(x_13, x_2, x_14); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Elab_WF_mutualName___closed__4; -x_18 = l_Lean_Name_append(x_16, x_17); -return x_18; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = l_Lean_Elab_instInhabitedPreDefinition; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get(x_14, x_3, x_15); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Elab_WF_mutualName___closed__4; +x_19 = l_Lean_Name_append(x_17, x_18); +return x_19; } } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = l_Lean_Elab_instInhabitedPreDefinition; -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_array_get(x_19, x_2, x_20); -x_22 = lean_ctor_get(x_21, 3); -lean_inc(x_22); +uint8_t x_20; +x_20 = l_Lean_Meta_ArgsPacker_onlyOneUnary(x_2); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_array_get_size(x_2); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_dec_lt(x_22, x_21); lean_dec(x_21); -return x_22; +if (x_23 == 0) +{ +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_24 = l_Lean_Elab_instInhabitedPreDefinition; +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_array_get(x_24, x_3, x_25); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_Lean_Elab_WF_mutualName___closed__2; +x_29 = l_Lean_Name_append(x_27, x_28); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = l_Lean_Elab_instInhabitedPreDefinition; +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_array_get(x_30, x_3, x_31); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l_Lean_Elab_WF_mutualName___closed__4; +x_35 = l_Lean_Name_append(x_33, x_34); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = l_Lean_Elab_instInhabitedPreDefinition; +x_37 = lean_unsigned_to_nat(0u); +x_38 = lean_array_get(x_36, x_3, x_37); +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +lean_dec(x_38); +return x_39; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_mutualName___boxed(lean_object* x_1, lean_object* x_2) { +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_mutualName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; -x_3 = l_Lean_Elab_WF_mutualName(x_1, x_2); +lean_object* x_4; +x_4 = l_Lean_Elab_WF_mutualName(x_1, x_2, x_3); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_3; +return x_4; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_10; -x_10 = lean_usize_dec_lt(x_3, x_2); -if (x_10 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_6, x_15); +if (x_16 == 0) { -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); +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_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_6, x_17); lean_dec(x_6); -lean_dec(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_4); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_array_uget(x_4, x_3); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_4, x_3, x_13); -x_15 = lean_ctor_get(x_12, 4); -lean_inc(x_15); -lean_dec(x_12); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_16 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_1, x_13, x_15, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; -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 = 1; -x_20 = lean_usize_add(x_3, x_19); -x_21 = lean_array_uset(x_14, x_3, x_17); -x_3 = x_20; -x_4 = x_21; -x_9 = x_18; -goto _start; -} -else -{ -uint8_t x_23; -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) -{ -return x_16; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; -x_10 = lean_usize_dec_lt(x_3, x_2); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_4); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_array_uget(x_4, x_3); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_4, x_3, x_13); -x_15 = lean_ctor_get(x_12, 5); -lean_inc(x_15); -lean_dec(x_12); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_16 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_1, x_13, x_15, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; -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 = 1; -x_20 = lean_usize_add(x_3, x_19); -x_21 = lean_array_uset(x_14, x_3, x_17); -x_3 = x_20; -x_4 = x_21; -x_9 = x_18; -goto _start; -} -else -{ -uint8_t x_23; -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) -{ -return x_16; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -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_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_array_size(x_1); -x_14 = 0; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_1); -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(x_6, x_13, x_14, x_1, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* 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); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_1); -x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__2(x_6, x_13, x_14, x_1, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_21 = l_Lean_Meta_ArgsPacker_uncurryType(x_2, x_16, x_8, x_9, x_10, x_11, x_20); -lean_dec(x_16); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; -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 = 0; -x_25 = 1; -x_26 = 1; -x_27 = l_Lean_Meta_mkForallFVars(x_6, x_22, x_24, x_25, x_26, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_3, 0); -lean_inc(x_30); -x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*7); -x_32 = lean_ctor_get(x_3, 1); -lean_inc(x_32); -x_33 = lean_ctor_get(x_3, 2); -lean_inc(x_33); -x_34 = lean_ctor_get(x_3, 5); -lean_inc(x_34); -x_35 = lean_ctor_get(x_3, 6); -lean_inc(x_35); -lean_inc(x_35); -lean_inc(x_28); -lean_inc(x_4); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_30); -x_36 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_36, 0, x_30); -lean_ctor_set(x_36, 1, x_32); -lean_ctor_set(x_36, 2, x_33); -lean_ctor_set(x_36, 3, x_4); -lean_ctor_set(x_36, 4, x_28); -lean_ctor_set(x_36, 5, x_34); -lean_ctor_set(x_36, 6, x_35); -lean_ctor_set_uint8(x_36, sizeof(void*)*7, x_31); -lean_inc(x_11); -lean_inc(x_10); -x_37 = l_Lean_Elab_addAsAxiom(x_36, x_8, x_9, x_10, x_11, x_29); -lean_dec(x_36); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = !lean_is_exclusive(x_3); -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_3, 1); -x_41 = lean_ctor_get(x_3, 6); -lean_dec(x_41); -x_42 = lean_ctor_get(x_3, 5); -lean_dec(x_42); -x_43 = lean_ctor_get(x_3, 4); -lean_dec(x_43); -x_44 = lean_ctor_get(x_3, 3); -lean_dec(x_44); -x_45 = lean_ctor_get(x_3, 2); -lean_dec(x_45); -x_46 = lean_ctor_get(x_3, 0); -lean_dec(x_46); -x_47 = lean_box(0); -x_48 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_40, x_47); -lean_inc(x_4); -x_49 = l_Lean_Expr_const___override(x_4, x_48); -x_50 = l_Lean_mkAppN(x_49, x_6); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_51 = l_Lean_Meta_ArgsPacker_uncurry(x_2, x_19, x_8, x_9, x_10, x_11, x_38); +x_19 = lean_array_fget(x_5, x_7); +lean_inc(x_2); +x_20 = lean_array_get(x_2, x_3, x_7); +x_21 = lean_ctor_get(x_19, 4); +lean_inc(x_21); lean_dec(x_19); -if (lean_obj_tag(x_51) == 0) +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_4); +x_22 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_20, x_21, x_4, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_22) == 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); -lean_dec(x_51); -x_54 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_13, x_14, x_1); +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 = lean_nat_add(x_7, x_17); +lean_dec(x_7); +x_26 = lean_array_push(x_9, x_23); +x_6 = x_18; +x_7 = x_25; +x_8 = lean_box(0); +x_9 = x_26; +x_14 = x_24; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +return x_22; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_22, 0); +x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_22); +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; +} +} +} +else +{ +lean_object* x_32; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_9); +lean_ctor_set(x_32, 1, x_14); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_6, 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_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_6, x_17); +lean_dec(x_6); +x_19 = lean_array_fget(x_5, x_7); +lean_inc(x_2); +x_20 = lean_array_get(x_2, x_3, x_7); +x_21 = lean_ctor_get(x_19, 5); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_4); +x_22 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_20, x_21, x_4, x_10, x_11, x_12, x_13, 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 = lean_nat_add(x_7, x_17); +lean_dec(x_7); +x_26 = lean_array_push(x_9, x_23); +x_6 = x_18; +x_7 = x_25; +x_8 = lean_box(0); +x_9 = x_26; +x_14 = x_24; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +return x_22; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_22, 0); +x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_22); +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; +} +} +} +else +{ +lean_object* x_32; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_9); +lean_ctor_set(x_32, 1, x_14); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_WF_packMutual___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_array_get_size(x_1); +x_15 = lean_mk_empty_array_with_capacity(x_14); +x_16 = lean_unsigned_to_nat(0u); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_8); +lean_inc(x_2); +x_17 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__1(x_1, x_2, x_3, x_8, x_1, x_14, x_16, lean_box(0), x_15, x_9, x_10, x_11, x_12, x_13); +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); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_55 = l_Lean_Elab_WF_packCalls(x_5, x_2, x_54, x_50, x_52, x_8, x_9, x_10, x_11, x_53); -if (lean_obj_tag(x_55) == 0) +x_20 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__2(x_1, x_2, x_3, x_8, x_1, x_14, x_16, lean_box(0), x_15, x_9, x_10, x_11, x_12, x_19); +if (lean_obj_tag(x_20) == 0) { -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); -x_58 = l_Lean_Meta_mkLambdaFVars(x_6, x_56, x_24, x_25, x_24, x_26, x_8, x_9, x_10, x_11, x_57); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +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); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_23 = l_Lean_Meta_ArgsPacker_uncurryType(x_4, x_18, x_9, x_10, x_11, x_12, x_22); +lean_dec(x_18); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 0; +x_27 = 1; +x_28 = 1; +x_29 = l_Lean_Meta_mkForallFVars(x_8, x_24, x_26, x_27, x_28, x_9, x_10, x_11, x_12, x_25); +if (lean_obj_tag(x_29) == 0) +{ +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; lean_object* x_39; +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 = lean_ctor_get(x_5, 0); +lean_inc(x_32); +x_33 = lean_ctor_get_uint8(x_5, sizeof(void*)*7); +x_34 = lean_ctor_get(x_5, 1); +lean_inc(x_34); +x_35 = lean_ctor_get(x_5, 2); +lean_inc(x_35); +x_36 = lean_ctor_get(x_5, 5); +lean_inc(x_36); +x_37 = lean_ctor_get(x_5, 6); +lean_inc(x_37); +lean_inc(x_37); +lean_inc(x_30); +lean_inc(x_6); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_32); +x_38 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_38, 0, x_32); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_6); +lean_ctor_set(x_38, 4, x_30); +lean_ctor_set(x_38, 5, x_36); +lean_ctor_set(x_38, 6, x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*7, x_33); +lean_inc(x_12); +lean_inc(x_11); +x_39 = l_Lean_Elab_addAsAxiom(x_38, x_9, x_10, x_11, x_12, x_31); +lean_dec(x_38); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = !lean_is_exclusive(x_5); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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_42 = lean_ctor_get(x_5, 1); +x_43 = lean_ctor_get(x_5, 6); +lean_dec(x_43); +x_44 = lean_ctor_get(x_5, 5); +lean_dec(x_44); +x_45 = lean_ctor_get(x_5, 4); +lean_dec(x_45); +x_46 = lean_ctor_get(x_5, 3); +lean_dec(x_46); +x_47 = lean_ctor_get(x_5, 2); +lean_dec(x_47); +x_48 = lean_ctor_get(x_5, 0); +lean_dec(x_48); +x_49 = lean_box(0); +x_50 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_42, x_49); +lean_inc(x_6); +x_51 = l_Lean_Expr_const___override(x_6, x_50); +x_52 = l_Lean_mkAppN(x_51, x_8); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_53 = l_Lean_Meta_ArgsPacker_uncurry(x_4, x_21, x_9, x_10, x_11, x_12, x_40); +lean_dec(x_21); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; size_t x_56; size_t x_57; lean_object* x_58; lean_object* x_59; +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_array_size(x_1); +x_57 = 0; +x_58 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_56, x_57, x_1); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_59 = l_Lean_Elab_WF_packCalls(x_7, x_4, x_58, x_52, x_54, x_9, x_10, x_11, x_12, x_55); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +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 = l_Lean_Meta_mkLambdaFVars(x_8, x_60, x_26, x_27, x_26, x_28, x_9, x_10, x_11, x_12, x_61); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -if (lean_obj_tag(x_58) == 0) +if (lean_obj_tag(x_62) == 0) { -uint8_t x_59; -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) +uint8_t x_63; +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_60; -x_60 = lean_ctor_get(x_58, 0); -lean_ctor_set(x_3, 5, x_60); -lean_ctor_set(x_3, 4, x_28); -lean_ctor_set(x_3, 3, x_4); -lean_ctor_set(x_58, 0, x_3); -return x_58; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_58, 0); -x_62 = lean_ctor_get(x_58, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_58); -lean_ctor_set(x_3, 5, x_61); -lean_ctor_set(x_3, 4, x_28); -lean_ctor_set(x_3, 3, x_4); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_3); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} -} -else -{ -uint8_t x_64; -lean_free_object(x_3); -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_4); -x_64 = !lean_is_exclusive(x_58); -if (x_64 == 0) -{ -return x_58; +lean_object* x_64; +x_64 = lean_ctor_get(x_62, 0); +lean_ctor_set(x_5, 5, x_64); +lean_ctor_set(x_5, 4, x_30); +lean_ctor_set(x_5, 3, x_6); +lean_ctor_set(x_62, 0, x_5); +return x_62; } else { lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_58, 0); -x_66 = lean_ctor_get(x_58, 1); +x_65 = lean_ctor_get(x_62, 0); +x_66 = lean_ctor_get(x_62, 1); lean_inc(x_66); lean_inc(x_65); -lean_dec(x_58); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); +lean_dec(x_62); +lean_ctor_set(x_5, 5, x_65); +lean_ctor_set(x_5, 4, x_30); +lean_ctor_set(x_5, 3, x_6); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_5); lean_ctor_set(x_67, 1, x_66); return x_67; } } -} else { uint8_t x_68; -lean_free_object(x_3); +lean_free_object(x_5); +lean_dec(x_37); lean_dec(x_35); -lean_dec(x_33); +lean_dec(x_34); lean_dec(x_32); lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_68 = !lean_is_exclusive(x_55); +lean_dec(x_6); +x_68 = !lean_is_exclusive(x_62); if (x_68 == 0) { -return x_55; +return x_62; } else { lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_55, 0); -x_70 = lean_ctor_get(x_55, 1); +x_69 = lean_ctor_get(x_62, 0); +x_70 = lean_ctor_get(x_62, 1); lean_inc(x_70); lean_inc(x_69); -lean_dec(x_55); +lean_dec(x_62); x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); @@ -1562,34 +1850,31 @@ return x_71; else { uint8_t x_72; -lean_dec(x_50); -lean_free_object(x_3); +lean_free_object(x_5); +lean_dec(x_37); lean_dec(x_35); -lean_dec(x_33); +lean_dec(x_34); lean_dec(x_32); lean_dec(x_30); -lean_dec(x_28); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_72 = !lean_is_exclusive(x_51); +lean_dec(x_6); +x_72 = !lean_is_exclusive(x_59); if (x_72 == 0) { -return x_51; +return x_59; } else { lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_51, 0); -x_74 = lean_ctor_get(x_51, 1); +x_73 = lean_ctor_get(x_59, 0); +x_74 = lean_ctor_get(x_59, 1); lean_inc(x_74); lean_inc(x_73); -lean_dec(x_51); +lean_dec(x_59); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); @@ -1599,53 +1884,928 @@ return x_75; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_76 = lean_ctor_get(x_3, 1); -lean_inc(x_76); -lean_dec(x_3); -x_77 = lean_box(0); -x_78 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_76, x_77); -lean_inc(x_4); -x_79 = l_Lean_Expr_const___override(x_4, x_78); -x_80 = l_Lean_mkAppN(x_79, x_6); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_81 = l_Lean_Meta_ArgsPacker_uncurry(x_2, x_19, x_8, x_9, x_10, x_11, x_38); -lean_dec(x_19); -if (lean_obj_tag(x_81) == 0) +uint8_t x_76; +lean_dec(x_52); +lean_free_object(x_5); +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_30); +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_4); +lean_dec(x_1); +x_76 = !lean_is_exclusive(x_53); +if (x_76 == 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 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_13, x_14, x_1); +return x_53; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_53, 0); +x_78 = lean_ctor_get(x_53, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_53); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +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; +x_80 = lean_ctor_get(x_5, 1); +lean_inc(x_80); +lean_dec(x_5); +x_81 = lean_box(0); +x_82 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_80, x_81); +lean_inc(x_6); +x_83 = l_Lean_Expr_const___override(x_6, x_82); +x_84 = l_Lean_mkAppN(x_83, x_8); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_85 = l_Lean_Elab_WF_packCalls(x_5, x_2, x_84, x_80, x_82, x_8, x_9, x_10, x_11, x_83); +x_85 = l_Lean_Meta_ArgsPacker_uncurry(x_4, x_21, x_9, x_10, x_11, x_12, x_40); +lean_dec(x_21); if (lean_obj_tag(x_85) == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_86; lean_object* x_87; size_t x_88; size_t x_89; lean_object* x_90; lean_object* x_91; 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 = l_Lean_Meta_mkLambdaFVars(x_6, x_86, x_24, x_25, x_24, x_26, x_8, x_9, x_10, x_11, x_87); +x_88 = lean_array_size(x_1); +x_89 = 0; +x_90 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_88, x_89, x_1); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_91 = l_Lean_Elab_WF_packCalls(x_7, x_4, x_90, x_84, x_86, x_9, x_10, x_11, x_12, x_87); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = l_Lean_Meta_mkLambdaFVars(x_8, x_92, x_26, x_27, x_26, x_28, x_9, x_10, x_11, x_12, x_93); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +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_alloc_ctor(0, 7, 1); +lean_ctor_set(x_98, 0, x_32); +lean_ctor_set(x_98, 1, x_34); +lean_ctor_set(x_98, 2, x_35); +lean_ctor_set(x_98, 3, x_6); +lean_ctor_set(x_98, 4, x_30); +lean_ctor_set(x_98, 5, x_95); +lean_ctor_set(x_98, 6, x_37); +lean_ctor_set_uint8(x_98, sizeof(void*)*7, x_33); +if (lean_is_scalar(x_97)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_97; +} +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_96); +return x_99; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_6); +x_100 = lean_ctor_get(x_94, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_94, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_102 = x_94; +} else { + lean_dec_ref(x_94); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(1, 2, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_100); +lean_ctor_set(x_103, 1, x_101); +return x_103; +} +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +x_104 = lean_ctor_get(x_91, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_91, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_106 = x_91; +} else { + lean_dec_ref(x_91); + x_106 = lean_box(0); +} +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(1, 2, 0); +} else { + x_107 = x_106; +} +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_105); +return x_107; +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_84); +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_30); +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_4); +lean_dec(x_1); +x_108 = lean_ctor_get(x_85, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_85, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_110 = x_85; +} else { + lean_dec_ref(x_85); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 2, 0); +} else { + x_111 = x_110; +} +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_109); +return x_111; +} +} +} +else +{ +uint8_t x_112; +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_21); +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_112 = !lean_is_exclusive(x_39); +if (x_112 == 0) +{ +return x_39; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_39, 0); +x_114 = lean_ctor_get(x_39, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_39); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +} +} +else +{ +uint8_t x_116; +lean_dec(x_21); +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_116 = !lean_is_exclusive(x_29); +if (x_116 == 0) +{ +return x_29; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_29, 0); +x_118 = lean_ctor_get(x_29, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_29); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +} +else +{ +uint8_t x_120; +lean_dec(x_21); +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_120 = !lean_is_exclusive(x_23); +if (x_120 == 0) +{ +return x_23; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_23, 0); +x_122 = lean_ctor_get(x_23, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_23); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_18); +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_124 = !lean_is_exclusive(x_20); +if (x_124 == 0) +{ +return x_20; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_20, 0); +x_126 = lean_ctor_get(x_20, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_20); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; +} +} +} +else +{ +uint8_t x_128; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_128 = !lean_is_exclusive(x_17); +if (x_128 == 0) +{ +return x_17; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_17, 0); +x_130 = lean_ctor_get(x_17, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_17); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___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_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; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +x_12 = l_Lean_Elab_WF_packCalls___lambda__4___closed__7; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get(x_12, x_11, x_13); +x_15 = l_Lean_Elab_instInhabitedPreDefinition; +x_16 = lean_array_get(x_15, x_2, x_13); +x_17 = lean_ctor_get(x_16, 4); +lean_inc(x_17); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packMutual___lambda__1___boxed), 13, 7); +lean_closure_set(x_18, 0, x_2); +lean_closure_set(x_18, 1, x_12); +lean_closure_set(x_18, 2, x_11); +lean_closure_set(x_18, 3, x_3); +lean_closure_set(x_18, 4, x_16); +lean_closure_set(x_18, 5, x_4); +lean_closure_set(x_18, 6, x_1); +x_19 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Elab_WF_packMutual___spec__3(x_14, x_17, x_18, x_6, x_7, x_8, x_9, x_10); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual(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_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = l_Lean_Elab_WF_mutualName(x_1, x_2, x_3); +x_10 = l_Lean_Elab_instInhabitedPreDefinition; +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_get(x_10, x_3, x_11); +x_13 = lean_ctor_get(x_12, 3); +lean_inc(x_13); +x_14 = lean_name_eq(x_9, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_12); +x_15 = lean_box(0); +x_16 = l_Lean_Elab_WF_packMutual___lambda__2(x_1, x_3, x_2, x_9, x_15, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_9); +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_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_12); +lean_ctor_set(x_17, 1, x_8); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_packMutual___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___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) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_WF_packMutual___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___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: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_WF_packMutual___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_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Elab_WF_packCalls___spec__2___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___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; lean_object* x_11; +x_10 = l_Lean_Expr_fvarId_x21(x_1); +x_11 = l_Lean_FVarId_getUserName(x_10, x_5, x_6, x_7, x_8, x_9); +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; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_array_push(x_3, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_11, 0, x_16); +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +x_19 = lean_array_push(x_3, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_18); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec(x_3); +lean_dec(x_2); +x_23 = !lean_is_exclusive(x_11); +if (x_23 == 0) +{ +return x_11; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_11, 0); +x_25 = lean_ctor_get(x_11, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_11); +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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2(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) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_5, x_4); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_7); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_uget(x_3, x_5); +x_15 = !lean_is_exclusive(x_6); +if (x_15 == 0) +{ +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_16 = lean_ctor_get(x_6, 0); +x_17 = lean_ctor_get(x_6, 1); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_16, 2); +lean_inc(x_20); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_7); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_6); +lean_ctor_set(x_22, 1, x_11); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +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_24 = lean_ctor_get(x_16, 2); +lean_dec(x_24); +x_25 = lean_ctor_get(x_16, 1); +lean_dec(x_25); +x_26 = lean_ctor_get(x_16, 0); +lean_dec(x_26); +x_27 = lean_array_fget(x_18, x_19); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_19, x_28); +lean_dec(x_19); +lean_ctor_set(x_16, 1, x_29); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_6); +x_30 = lean_box(0); +lean_inc(x_7); +x_31 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___lambda__1(x_14, x_16, x_17, x_30, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_14); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +uint8_t x_33; +lean_dec(x_7); +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_32, 0); +lean_inc(x_35); +lean_dec(x_32); +lean_ctor_set(x_31, 0, x_35); +return x_31; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_dec(x_31); +x_37 = lean_ctor_get(x_32, 0); +lean_inc(x_37); +lean_dec(x_32); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +else +{ +lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_dec(x_31); +x_40 = lean_ctor_get(x_32, 0); +lean_inc(x_40); +lean_dec(x_32); +x_41 = 1; +x_42 = lean_usize_add(x_5, x_41); +x_5 = x_42; +x_6 = x_40; +x_11 = x_39; +goto _start; +} +} +else +{ +uint8_t x_44; +lean_dec(x_7); +x_44 = !lean_is_exclusive(x_31); +if (x_44 == 0) +{ +return x_31; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_31, 0); +x_46 = lean_ctor_get(x_31, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_31); +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; +} +} +} +else +{ +size_t x_48; size_t x_49; +lean_dec(x_27); +lean_dec(x_14); +x_48 = 1; +x_49 = lean_usize_add(x_5, x_48); +x_5 = x_49; +goto _start; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_16); +x_51 = lean_array_fget(x_18, x_19); +x_52 = lean_unsigned_to_nat(1u); +x_53 = lean_nat_add(x_19, x_52); +lean_dec(x_19); +x_54 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_54, 0, x_18); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_54, 2, x_20); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_55; lean_object* x_56; +lean_free_object(x_6); +x_55 = lean_box(0); +lean_inc(x_7); +x_56 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___lambda__1(x_14, x_54, x_17, x_55, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_14); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_7); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_59 = x_56; +} else { + lean_dec_ref(x_56); + x_59 = lean_box(0); +} +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +lean_dec(x_57); +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_59; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_58); +return x_61; +} +else +{ +lean_object* x_62; lean_object* x_63; size_t x_64; size_t x_65; +x_62 = lean_ctor_get(x_56, 1); +lean_inc(x_62); +lean_dec(x_56); +x_63 = lean_ctor_get(x_57, 0); +lean_inc(x_63); +lean_dec(x_57); +x_64 = 1; +x_65 = lean_usize_add(x_5, x_64); +x_5 = x_65; +x_6 = x_63; +x_11 = x_62; +goto _start; +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_7); +x_67 = lean_ctor_get(x_56, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_56, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_69 = x_56; +} else { + lean_dec_ref(x_56); + x_69 = lean_box(0); +} +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(1, 2, 0); +} else { + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_68); +return x_70; +} +} +else +{ +size_t x_71; size_t x_72; +lean_dec(x_51); +lean_dec(x_14); +lean_ctor_set(x_6, 0, x_54); +x_71 = 1; +x_72 = lean_usize_add(x_5, x_71); +x_5 = x_72; +goto _start; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_74 = lean_ctor_get(x_6, 0); +x_75 = lean_ctor_get(x_6, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_6); +x_76 = lean_ctor_get(x_74, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_74, 1); +lean_inc(x_77); +x_78 = lean_ctor_get(x_74, 2); +lean_inc(x_78); +x_79 = lean_nat_dec_lt(x_77, x_78); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_14); +lean_dec(x_7); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_74); +lean_ctor_set(x_80, 1, x_75); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_11); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + lean_ctor_release(x_74, 2); + x_82 = x_74; +} else { + lean_dec_ref(x_74); + x_82 = lean_box(0); +} +x_83 = lean_array_fget(x_76, x_77); +x_84 = lean_unsigned_to_nat(1u); +x_85 = lean_nat_add(x_77, x_84); +lean_dec(x_77); +if (lean_is_scalar(x_82)) { + x_86 = lean_alloc_ctor(0, 3, 0); +} else { + x_86 = x_82; +} +lean_ctor_set(x_86, 0, x_76); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_78); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_87; lean_object* x_88; +x_87 = lean_box(0); +lean_inc(x_7); +x_88 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___lambda__1(x_14, x_86, x_75, x_87, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_14); if (lean_obj_tag(x_88) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_object* x_89; x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_7); x_90 = lean_ctor_get(x_88, 1); lean_inc(x_90); if (lean_is_exclusive(x_88)) { @@ -1656,15 +2816,9 @@ if (lean_is_exclusive(x_88)) { lean_dec_ref(x_88); x_91 = lean_box(0); } -x_92 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_92, 0, x_30); -lean_ctor_set(x_92, 1, x_32); -lean_ctor_set(x_92, 2, x_33); -lean_ctor_set(x_92, 3, x_4); -lean_ctor_set(x_92, 4, x_28); -lean_ctor_set(x_92, 5, x_89); -lean_ctor_set(x_92, 6, x_35); -lean_ctor_set_uint8(x_92, sizeof(void*)*7, x_31); +x_92 = lean_ctor_get(x_89, 0); +lean_inc(x_92); +lean_dec(x_89); if (lean_is_scalar(x_91)) { x_93 = lean_alloc_ctor(0, 2, 0); } else { @@ -1676,462 +2830,61 @@ return x_93; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_4); -x_94 = lean_ctor_get(x_88, 0); +lean_object* x_94; lean_object* x_95; size_t x_96; size_t x_97; +x_94 = lean_ctor_get(x_88, 1); lean_inc(x_94); -x_95 = lean_ctor_get(x_88, 1); +lean_dec(x_88); +x_95 = lean_ctor_get(x_89, 0); lean_inc(x_95); +lean_dec(x_89); +x_96 = 1; +x_97 = lean_usize_add(x_5, x_96); +x_5 = x_97; +x_6 = x_95; +x_11 = x_94; +goto _start; +} +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_7); +x_99 = lean_ctor_get(x_88, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_88, 1); +lean_inc(x_100); if (lean_is_exclusive(x_88)) { lean_ctor_release(x_88, 0); lean_ctor_release(x_88, 1); - x_96 = x_88; + x_101 = x_88; } else { lean_dec_ref(x_88); - x_96 = lean_box(0); + x_101 = lean_box(0); } -if (lean_is_scalar(x_96)) { - x_97 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(1, 2, 0); } else { - x_97 = x_96; + x_102 = x_101; } -lean_ctor_set(x_97, 0, x_94); -lean_ctor_set(x_97, 1, x_95); -return x_97; +lean_ctor_set(x_102, 0, x_99); +lean_ctor_set(x_102, 1, x_100); +return x_102; } } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_98 = lean_ctor_get(x_85, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_85, 1); -lean_inc(x_99); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_100 = x_85; -} else { - lean_dec_ref(x_85); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(1, 2, 0); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_98); -lean_ctor_set(x_101, 1, x_99); -return x_101; -} -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_80); -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_102 = lean_ctor_get(x_81, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_81, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_104 = x_81; -} else { - lean_dec_ref(x_81); - x_104 = lean_box(0); -} -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(1, 2, 0); -} else { - x_105 = x_104; -} -lean_ctor_set(x_105, 0, x_102); -lean_ctor_set(x_105, 1, x_103); -return x_105; -} -} -} -else -{ -uint8_t x_106; -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_106 = !lean_is_exclusive(x_37); -if (x_106 == 0) -{ -return x_37; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_37, 0); -x_108 = lean_ctor_get(x_37, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_37); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; -} -} -} -else -{ -uint8_t x_110; -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_110 = !lean_is_exclusive(x_27); -if (x_110 == 0) -{ -return x_27; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_27, 0); -x_112 = lean_ctor_get(x_27, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_27); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; -} -} -} -else -{ -uint8_t x_114; -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_114 = !lean_is_exclusive(x_21); -if (x_114 == 0) -{ -return x_21; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_21, 0); -x_116 = lean_ctor_get(x_21, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_21); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_16); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_118 = !lean_is_exclusive(x_18); -if (x_118 == 0) -{ -return x_18; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_18, 0); -x_120 = lean_ctor_get(x_18, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_18); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -uint8_t x_122; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_122 = !lean_is_exclusive(x_15); -if (x_122 == 0) -{ -return x_15; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_15, 0); -x_124 = lean_ctor_get(x_15, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_15); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___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) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_10 = l_Lean_Elab_WF_mutualName(x_1, x_2); -x_11 = l_Lean_Elab_instInhabitedPreDefinition; -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_get(x_11, x_2, x_12); -x_14 = lean_ctor_get(x_13, 4); -lean_inc(x_14); -lean_inc(x_3); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_3); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packMutual___lambda__1___boxed), 12, 5); -lean_closure_set(x_16, 0, x_2); -lean_closure_set(x_16, 1, x_1); -lean_closure_set(x_16, 2, x_13); -lean_closure_set(x_16, 3, x_10); -lean_closure_set(x_16, 4, x_3); -x_17 = 0; -x_18 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_14, x_15, x_16, x_17, x_5, x_6, x_7, x_8, x_9); -return x_18; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual(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; -x_9 = l_Lean_Meta_ArgsPacker_onlyOneUnary(x_2); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(0); -x_11 = l_Lean_Elab_WF_packMutual___lambda__2(x_2, x_3, x_1, x_10, x_4, x_5, x_6, x_7, x_8); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_12 = l_Lean_Elab_instInhabitedPreDefinition; -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_get(x_12, x_3, x_13); -lean_dec(x_3); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_8); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___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: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__2(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_WF_packMutual___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); -lean_dec(x_6); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_WF_packMutual___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -return x_10; -} -} -static lean_object* _init_l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); -lean_closure_set(x_1, 0, lean_box(0)); -return x_1; -} -} -LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1___closed__1; -x_8 = lean_panic_fn(x_7, x_1); -x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_varyingVarNames___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_lt(x_2, x_1); -if (x_9 == 0) -{ -lean_object* x_10; -lean_dec(x_4); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_3); -lean_ctor_set(x_10, 1, x_8); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_array_uget(x_3, x_2); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_uset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_fvarId_x21(x_11); -lean_dec(x_11); -lean_inc(x_4); -x_15 = l_Lean_FVarId_getUserName(x_14, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; -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 = 1; -x_19 = lean_usize_add(x_2, x_18); -x_20 = lean_array_uset(x_13, x_2, x_16); -x_2 = x_19; -x_3 = x_20; -x_8 = x_17; +lean_object* x_103; size_t x_104; size_t x_105; +lean_dec(x_83); +lean_dec(x_14); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_86); +lean_ctor_set(x_103, 1, x_75); +x_104 = 1; +x_105 = lean_usize_add(x_5, x_104); +x_5 = x_105; +x_6 = x_103; goto _start; } -else -{ -uint8_t x_22; -lean_dec(x_13); -lean_dec(x_4); -x_22 = !lean_is_exclusive(x_15); -if (x_22 == 0) -{ -return x_15; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_15, 0); -x_24 = lean_ctor_get(x_15, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_15); -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; } } } @@ -2152,37 +2905,21 @@ static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__1 _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); +x_1 = lean_mk_string_unchecked("xs.size = arity\n ", 20, 20); return x_1; } } static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("xs.size = arity\n ", 20, 20); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__1; -x_2 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__2; +x_1 = l_Lean_Elab_WF_packCalls___lambda__4___closed__1; +x_2 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.WF.PackMutual", 37, 37); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__5() { +static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -2190,49 +2927,160 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.varyingVarNames", 28, 28); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__6() { +static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__4; -x_2 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__5; -x_3 = lean_unsigned_to_nat(111u); +x_1 = l_Lean_Elab_WF_packCalls___lambda__4___closed__4; +x_2 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__3; +x_3 = lean_unsigned_to_nat(117u); x_4 = lean_unsigned_to_nat(4u); -x_5 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__3; +x_5 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__2; 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_WF_varyingVarNames___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) { +static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__5() { _start: { -lean_object* x_10; uint8_t x_11; -x_10 = lean_array_get_size(x_3); -x_11 = lean_nat_dec_eq(x_10, x_1); -lean_dec(x_10); -if (x_11 == 0) +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fixedParamPerms.perms[preDefIdx]!.size = arity\n ", 51, 51); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__6() { +_start: { -lean_object* x_12; lean_object* x_13; -lean_dec(x_3); -lean_dec(x_2); -x_12 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__6; -x_13 = l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1(x_12, x_5, x_6, x_7, x_8, x_9); -return x_13; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_packCalls___lambda__4___closed__1; +x_2 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Elab_WF_packCalls___lambda__4___closed__4; +x_2 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__3; +x_3 = lean_unsigned_to_nat(118u); +x_4 = lean_unsigned_to_nat(4u); +x_5 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__6; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_array_mk(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___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_11; uint8_t x_12; +x_11 = lean_array_get_size(x_4); +x_12 = lean_nat_dec_eq(x_11, x_1); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__4; +x_14 = l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1(x_13, x_6, x_7, x_8, x_9, x_10); +return x_14; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_14 = lean_array_get_size(x_3); -x_15 = l_Array_toSubarray___rarg(x_3, x_2, x_14); -x_16 = l_Array_ofSubarray___rarg(x_15); -lean_dec(x_15); -x_17 = lean_array_size(x_16); -x_18 = 0; -x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_varyingVarNames___spec__2(x_17, x_18, x_16, x_5, x_6, x_7, x_8, x_9); +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_2, 1); +x_16 = l_Lean_Elab_WF_packCalls___lambda__4___closed__7; +x_17 = lean_array_get(x_16, x_15, x_3); +x_18 = lean_array_get_size(x_17); +x_19 = lean_nat_dec_eq(x_18, x_1); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_17); +x_20 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__7; +x_21 = l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1(x_20, x_6, x_7, x_8, x_9, x_10); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Array_toSubarray___rarg(x_17, x_22, x_18); +x_24 = lean_box(0); +x_25 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__8; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_array_size(x_4); +x_28 = 0; +x_29 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2(x_4, x_24, x_4, x_27, x_28, x_26, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -return x_19; +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +lean_ctor_set(x_29, 0, x_32); +return x_29; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_29, 0); +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_29); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(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_34); +return x_36; +} +} +else +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_29); +if (x_37 == 0) +{ +return x_29; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_29, 0); +x_39 = lean_ctor_get(x_29, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_29); +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; +} +} +} } } } @@ -2244,128 +3092,100 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_varyingVarNames___lambda__1___bo return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___closed__2() { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames(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_1; -x_1 = lean_mk_string_unchecked("fixedPrefixSize ≤ arity\n ", 28, 26); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__1; -x_2 = l_Lean_Elab_WF_varyingVarNames___closed__2; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_WF_varyingVarNames___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_Elab_WF_varyingVarNames___lambda__2___closed__4; -x_2 = l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__5; -x_3 = lean_unsigned_to_nat(109u); -x_4 = lean_unsigned_to_nat(2u); -x_5 = l_Lean_Elab_WF_varyingVarNames___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_Elab_WF_varyingVarNames(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; uint8_t x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_2, 5); -lean_inc(x_8); -x_9 = l_Lean_Elab_WF_varyingVarNames___closed__1; -x_10 = 0; +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_3, 5); +lean_inc(x_9); +x_10 = l_Lean_Elab_WF_varyingVarNames___closed__1; +x_11 = 0; +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_11 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_8, x_9, x_10, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_11) == 0) +x_12 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_9, x_10, x_11, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 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; +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_nat_dec_le(x_1, x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); lean_dec(x_12); -lean_dec(x_2); -lean_dec(x_1); -x_15 = l_Lean_Elab_WF_varyingVarNames___closed__4; -x_16 = l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1(x_15, x_3, x_4, x_5, x_6, x_13); -return x_16; +x_15 = lean_ctor_get(x_3, 4); +lean_inc(x_15); +lean_dec(x_3); +lean_inc(x_13); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_13); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_WF_varyingVarNames___lambda__2___boxed), 10, 3); +lean_closure_set(x_17, 0, x_13); +lean_closure_set(x_17, 1, x_1); +lean_closure_set(x_17, 2, x_2); +x_18 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_15, x_16, x_17, x_11, x_4, x_5, x_6, x_7, x_14); +return x_18; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_2, 4); -lean_inc(x_17); -lean_dec(x_2); -lean_inc(x_12); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_12); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_WF_varyingVarNames___lambda__2___boxed), 9, 2); -lean_closure_set(x_19, 0, x_12); -lean_closure_set(x_19, 1, x_1); -x_20 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_17, x_18, x_19, x_10, x_3, x_4, x_5, x_6, x_13); -return x_20; -} -} -else -{ -uint8_t x_21; +uint8_t x_19; +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_21 = !lean_is_exclusive(x_11); -if (x_21 == 0) +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) { -return x_11; +return x_12; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_11, 0); -x_23 = lean_ctor_get(x_11, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_11); -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_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_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_Array_mapMUnsafe_map___at_Lean_Elab_WF_varyingVarNames___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___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) { _start: { -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_varyingVarNames___spec__2(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_10; +x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___lambda__1(x_1, 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); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = lean_unbox_usize(x_5); lean_dec(x_5); -return x_11; +x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_varyingVarNames___spec__2(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___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) { @@ -2382,72 +3202,136 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___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_EXPORT lean_object* l_Lean_Elab_WF_varyingVarNames___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: { -lean_object* x_10; -x_10 = l_Lean_Elab_WF_varyingVarNames___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_11; +x_11 = l_Lean_Elab_WF_varyingVarNames___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_5); lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__1() { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_1, 3); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("arity = params.size\n ", 28, 28); +return x_1; +} +} +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_packCalls___lambda__4___closed__1; +x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.WF.preDefsFromUnaryNonRec", 35, 35); +return x_1; +} +} +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___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_Elab_WF_packCalls___lambda__4___closed__4; +x_2 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(133u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__2; +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_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_get_size(x_7); +x_15 = lean_nat_dec_eq(x_1, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_16 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__4; +x_17 = l_panic___at_Lean_Meta_PProdN_packLambdas___spec__1(x_16, x_9, x_10, x_11, x_12, x_13); +return x_17; +} +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; +x_18 = l_Lean_Elab_FixedParamPerm_pickFixed___rarg(x_2, x_7); +x_19 = l_Lean_Elab_FixedParamPerm_pickVarying___rarg(x_2, x_7); +x_20 = lean_ctor_get(x_3, 3); +lean_inc(x_20); +lean_dec(x_3); +x_21 = l_Lean_Expr_const___override(x_20, x_4); +x_22 = l_Lean_mkAppN(x_21, x_18); +lean_dec(x_18); lean_inc(x_12); -lean_dec(x_1); -x_13 = l_Lean_Expr_const___override(x_12, x_2); -x_14 = l_Lean_mkAppN(x_13, x_5); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_15 = l_Lean_Meta_ArgsPacker_curryProj(x_3, x_14, x_4, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_15) == 0) +x_23 = l_Lean_Meta_ArgsPacker_curryProj(x_5, x_22, x_6, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; -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 = 0; -x_19 = 1; -x_20 = 1; -x_21 = l_Lean_Meta_mkLambdaFVars(x_5, x_16, x_18, x_19, x_18, x_20, x_7, x_8, x_9, x_10, x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -return x_21; -} -else -{ -uint8_t x_22; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_22 = !lean_is_exclusive(x_15); -if (x_22 == 0) -{ -return x_15; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_15, 0); -x_24 = lean_ctor_get(x_15, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_15); -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; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Expr_beta(x_24, x_19); +x_27 = 0; +x_28 = 1; +x_29 = 1; +x_30 = l_Lean_Meta_mkLambdaFVars(x_7, x_26, x_27, x_28, x_27, x_29, x_9, x_10, x_11, x_12, x_25); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +return x_30; +} +else +{ +uint8_t x_31; +lean_dec(x_19); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_31 = !lean_is_exclusive(x_23); +if (x_31 == 0) +{ +return x_23; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_23, 0); +x_33 = lean_ctor_get(x_23, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_23); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} } } } @@ -2531,190 +3415,196 @@ x_16 = lean_unsigned_to_nat(0u); x_17 = lean_nat_dec_eq(x_7, x_16); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; +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; 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; uint8_t x_34; lean_object* x_35; x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_sub(x_7, x_18); lean_dec(x_7); x_20 = lean_array_fget(x_6, x_8); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get_uint8(x_20, sizeof(void*)*7); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_20, 2); -lean_inc(x_24); -x_25 = lean_ctor_get(x_20, 3); +x_21 = lean_ctor_get(x_1, 1); +x_22 = l_Lean_Elab_WF_packCalls___lambda__4___closed__7; +x_23 = lean_array_get(x_22, x_21, x_8); +x_24 = lean_array_get_size(x_23); +x_25 = lean_ctor_get(x_20, 0); lean_inc(x_25); -x_26 = lean_ctor_get(x_20, 4); -lean_inc(x_26); -x_27 = lean_ctor_get(x_20, 6); +x_26 = lean_ctor_get_uint8(x_20, sizeof(void*)*7); +x_27 = lean_ctor_get(x_20, 1); lean_inc(x_27); +x_28 = lean_ctor_get(x_20, 2); +lean_inc(x_28); +x_29 = lean_ctor_get(x_20, 3); +lean_inc(x_29); +x_30 = lean_ctor_get(x_20, 4); +lean_inc(x_30); +x_31 = lean_ctor_get(x_20, 6); +lean_inc(x_31); lean_dec(x_20); -lean_inc(x_1); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_1); +lean_inc(x_24); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_24); lean_inc(x_8); lean_inc(x_2); lean_inc(x_5); lean_inc(x_4); -x_29 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___boxed), 11, 4); -lean_closure_set(x_29, 0, x_4); -lean_closure_set(x_29, 1, x_5); -lean_closure_set(x_29, 2, x_2); -lean_closure_set(x_29, 3, x_8); -x_30 = 0; +x_33 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___boxed), 13, 6); +lean_closure_set(x_33, 0, x_24); +lean_closure_set(x_33, 1, x_23); +lean_closure_set(x_33, 2, x_4); +lean_closure_set(x_33, 3, x_5); +lean_closure_set(x_33, 4, x_2); +lean_closure_set(x_33, 5, x_8); +x_34 = 0; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_26); -x_31 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_26, x_28, x_29, x_30, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_31) == 0) +lean_inc(x_30); +x_35 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_30, x_32, x_33, x_34, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_35) == 0) { -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_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__4; -x_35 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_34, x_11, x_12, x_13, x_14, x_33); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -x_37 = lean_unbox(x_36); -lean_dec(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); lean_dec(x_35); -x_39 = lean_box(0); -x_40 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__2(x_21, x_22, x_23, x_24, x_25, x_26, x_32, x_27, x_39, x_11, x_12, x_13, x_14, x_38); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); +x_38 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__4; +x_39 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_38, x_11, x_12, x_13, x_14, x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_unbox(x_40); lean_dec(x_40); -x_43 = lean_nat_add(x_8, x_18); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = lean_box(0); +x_44 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__2(x_25, x_26, x_27, x_28, x_29, x_30, x_36, x_31, x_43, x_11, x_12, x_13, x_14, x_42); +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 = lean_nat_add(x_8, x_18); lean_dec(x_8); -x_44 = lean_array_push(x_10, x_41); +x_48 = lean_array_push(x_10, x_45); x_7 = x_19; -x_8 = x_43; +x_8 = x_47; x_9 = lean_box(0); -x_10 = x_44; -x_15 = x_42; +x_10 = x_48; +x_15 = x_46; goto _start; } else { -uint8_t x_46; -x_46 = !lean_is_exclusive(x_35); -if (x_46 == 0) +uint8_t x_50; +x_50 = !lean_is_exclusive(x_39); +if (x_50 == 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; 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_47 = lean_ctor_get(x_35, 1); -x_48 = lean_ctor_get(x_35, 0); -lean_dec(x_48); -lean_inc(x_25); -x_49 = l_Lean_MessageData_ofName(x_25); -x_50 = l_Lean_Elab_WF_packCalls___closed__6; -lean_ctor_set_tag(x_35, 7); -lean_ctor_set(x_35, 1, x_49); -lean_ctor_set(x_35, 0, x_50); -x_51 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__6; -x_52 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_52, 0, x_35); -lean_ctor_set(x_52, 1, x_51); -lean_inc(x_32); -x_53 = l_Lean_MessageData_ofExpr(x_32); -x_54 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_50); -x_56 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_34, x_55, x_11, x_12, x_13, x_14, x_47); -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_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__2(x_21, x_22, x_23, x_24, x_25, x_26, x_32, x_27, x_57, x_11, x_12, x_13, x_14, x_58); -lean_dec(x_57); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); +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_51 = lean_ctor_get(x_39, 1); +x_52 = lean_ctor_get(x_39, 0); +lean_dec(x_52); +lean_inc(x_29); +x_53 = l_Lean_MessageData_ofName(x_29); +x_54 = l_Lean_Elab_WF_packCalls___closed__6; +lean_ctor_set_tag(x_39, 7); +lean_ctor_set(x_39, 1, x_53); +lean_ctor_set(x_39, 0, x_54); +x_55 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__6; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_39); +lean_ctor_set(x_56, 1, x_55); +lean_inc(x_36); +x_57 = l_Lean_MessageData_ofExpr(x_36); +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_54); +x_60 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_38, x_59, x_11, x_12, x_13, x_14, x_51); +x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_nat_add(x_8, x_18); -lean_dec(x_8); -x_63 = lean_array_push(x_10, x_60); -x_7 = x_19; -x_8 = x_62; -x_9 = lean_box(0); -x_10 = x_63; -x_15 = x_61; -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; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_65 = lean_ctor_get(x_35, 1); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__2(x_25, x_26, x_27, x_28, x_29, x_30, x_36, x_31, x_61, x_11, x_12, x_13, x_14, x_62); +lean_dec(x_61); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -lean_dec(x_35); -lean_inc(x_25); -x_66 = l_Lean_MessageData_ofName(x_25); -x_67 = l_Lean_Elab_WF_packCalls___closed__6; -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_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___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_32); -x_71 = l_Lean_MessageData_ofExpr(x_32); -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 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_67); -x_74 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_34, x_73, x_11, x_12, x_13, x_14, x_65); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__2(x_21, x_22, x_23, x_24, x_25, x_26, x_32, x_27, x_75, x_11, x_12, x_13, x_14, x_76); -lean_dec(x_75); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_nat_add(x_8, x_18); +lean_dec(x_63); +x_66 = lean_nat_add(x_8, x_18); lean_dec(x_8); -x_81 = lean_array_push(x_10, x_78); +x_67 = lean_array_push(x_10, x_64); x_7 = x_19; -x_8 = x_80; +x_8 = x_66; x_9 = lean_box(0); -x_10 = x_81; -x_15 = x_79; +x_10 = x_67; +x_15 = x_65; +goto _start; +} +else +{ +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; +x_69 = lean_ctor_get(x_39, 1); +lean_inc(x_69); +lean_dec(x_39); +lean_inc(x_29); +x_70 = l_Lean_MessageData_ofName(x_29); +x_71 = l_Lean_Elab_WF_packCalls___closed__6; +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__6; +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +lean_inc(x_36); +x_75 = l_Lean_MessageData_ofExpr(x_36); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_71); +x_78 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_38, x_77, x_11, x_12, x_13, x_14, x_69); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__2(x_25, x_26, x_27, x_28, x_29, x_30, x_36, x_31, x_79, x_11, x_12, x_13, x_14, x_80); +lean_dec(x_79); +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_nat_add(x_8, x_18); +lean_dec(x_8); +x_85 = lean_array_push(x_10, x_82); +x_7 = x_19; +x_8 = x_84; +x_9 = lean_box(0); +x_10 = x_85; +x_15 = x_83; goto _start; } } } else { -uint8_t x_83; +uint8_t x_87; +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_28); lean_dec(x_27); -lean_dec(x_26); lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_21); lean_dec(x_19); lean_dec(x_14); lean_dec(x_13); @@ -2725,30 +3615,29 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); -x_83 = !lean_is_exclusive(x_31); -if (x_83 == 0) +x_87 = !lean_is_exclusive(x_35); +if (x_87 == 0) { -return x_31; +return x_35; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_31, 0); -x_85 = lean_ctor_get(x_31, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_31); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_35, 0); +x_89 = lean_ctor_get(x_35, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_35); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } } else { -lean_object* x_87; +lean_object* x_91; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -2758,11 +3647,10 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_10); -lean_ctor_set(x_87, 1, x_15); -return x_87; +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_10); +lean_ctor_set(x_91, 1, x_15); +return x_91; } } } @@ -2876,7 +3764,6 @@ lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_dec(x_12); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_37 = lean_ctor_get(x_17, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_17, 1); @@ -2911,15 +3798,17 @@ return x_43; } } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; -x_12 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); +lean_object* x_14; +x_14 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); -lean_dec(x_3); -return x_12; +lean_dec(x_2); +lean_dec(x_1); +return x_14; } } LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___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) { @@ -2944,6 +3833,7 @@ lean_object* x_16; x_16 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_6); lean_dec(x_3); +lean_dec(x_1); return x_16; } } @@ -2953,11 +3843,13 @@ _start: lean_object* x_10; x_10 = l_Lean_Elab_WF_preDefsFromUnaryNonRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_3); +lean_dec(x_1); return x_10; } } lean_object* initialize_Lean_Meta_ArgsPacker(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_WF_Eqns(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_PackMutual(uint8_t builtin, lean_object* w) { @@ -2970,6 +3862,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_FixedParams(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_WF_Eqns(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -2979,10 +3874,24 @@ l_Lean_Elab_WF_withAppN___lambda__2___closed__2 = _init_l_Lean_Elab_WF_withAppN_ lean_mark_persistent(l_Lean_Elab_WF_withAppN___lambda__2___closed__2); l_Lean_Elab_WF_withAppN___closed__1 = _init_l_Lean_Elab_WF_withAppN___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_withAppN___closed__1); +l_panic___at_Lean_Elab_WF_packCalls___spec__2___closed__1 = _init_l_panic___at_Lean_Elab_WF_packCalls___spec__2___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_WF_packCalls___spec__2___closed__1); l_Lean_Elab_WF_packCalls___lambda__1___closed__1 = _init_l_Lean_Elab_WF_packCalls___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__1___closed__1); l_Lean_Elab_WF_packCalls___lambda__4___closed__1 = _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__4___closed__1); +l_Lean_Elab_WF_packCalls___lambda__4___closed__2 = _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__4___closed__2); +l_Lean_Elab_WF_packCalls___lambda__4___closed__3 = _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__4___closed__3); +l_Lean_Elab_WF_packCalls___lambda__4___closed__4 = _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__4___closed__4); +l_Lean_Elab_WF_packCalls___lambda__4___closed__5 = _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__4___closed__5); +l_Lean_Elab_WF_packCalls___lambda__4___closed__6 = _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__4___closed__6); +l_Lean_Elab_WF_packCalls___lambda__4___closed__7 = _init_l_Lean_Elab_WF_packCalls___lambda__4___closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__4___closed__7); l_Lean_Elab_WF_packCalls___lambda__6___closed__1 = _init_l_Lean_Elab_WF_packCalls___lambda__6___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_packCalls___lambda__6___closed__1); l_Lean_Elab_WF_packCalls___closed__1 = _init_l_Lean_Elab_WF_packCalls___closed__1(); @@ -3005,8 +3914,6 @@ l_Lean_Elab_WF_mutualName___closed__3 = _init_l_Lean_Elab_WF_mutualName___closed lean_mark_persistent(l_Lean_Elab_WF_mutualName___closed__3); l_Lean_Elab_WF_mutualName___closed__4 = _init_l_Lean_Elab_WF_mutualName___closed__4(); lean_mark_persistent(l_Lean_Elab_WF_mutualName___closed__4); -l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1___closed__1(); -lean_mark_persistent(l_panic___at_Lean_Elab_WF_varyingVarNames___spec__1___closed__1); l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__1 = _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__1); l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__2 = _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__2(); @@ -3019,14 +3926,20 @@ l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__5 = _init_l_Lean_Elab_WF_va lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__5); l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__6 = _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__6(); lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__6); +l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__7 = _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__7); +l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__8 = _init_l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___lambda__2___closed__8); l_Lean_Elab_WF_varyingVarNames___closed__1 = _init_l_Lean_Elab_WF_varyingVarNames___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___closed__1); -l_Lean_Elab_WF_varyingVarNames___closed__2 = _init_l_Lean_Elab_WF_varyingVarNames___closed__2(); -lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___closed__2); -l_Lean_Elab_WF_varyingVarNames___closed__3 = _init_l_Lean_Elab_WF_varyingVarNames___closed__3(); -lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___closed__3); -l_Lean_Elab_WF_varyingVarNames___closed__4 = _init_l_Lean_Elab_WF_varyingVarNames___closed__4(); -lean_mark_persistent(l_Lean_Elab_WF_varyingVarNames___closed__4); +l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__1 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__1(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__1); +l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__2 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__2(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__2); +l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__3 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__3(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__3); +l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__4 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__4(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___lambda__1___closed__4); l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__1 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__1(); lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__1); l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__2 = _init_l_Array_mapFinIdxM_map___at_Lean_Elab_WF_preDefsFromUnaryNonRec___spec__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c index 4413af28cf..ba8fff89bb 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.WF.Rel -// Imports: Lean.Meta.Tactic.Apply Lean.Meta.Tactic.Cases Lean.Meta.Tactic.Rename Lean.Elab.SyntheticMVars Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.TerminationMeasure Lean.Meta.ArgsPacker +// Imports: Lean.Meta.Tactic.Apply Lean.Meta.Tactic.Cases Lean.Meta.Tactic.Rename Lean.Elab.SyntheticMVars Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.TerminationMeasure Lean.Elab.PreDefinition.FixedParams Lean.Meta.ArgsPacker #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,91 +14,126 @@ extern "C" { #endif lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__8; static lean_object* l_Lean_Elab_WF_checkCodomains___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__1; +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_checkCodomains___spec__1(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_checkCodomains___spec__2(size_t, size_t, 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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__5; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__4; lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__16; lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__6; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__8; +lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__10; static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__3; lean_object* l_Lean_Meta_ArgsPacker_arities(lean_object*); -static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__8; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___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_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__1; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_elabWFRel___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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___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_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__4; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__9; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__10; static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__4; lean_object* l_Lean_MessageData_ofFormat(lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__1(size_t, size_t, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedTerminationMeasure; +LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__14; lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__4; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___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*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__11; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__2; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__15; +lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__3; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel(lean_object*); -static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__5; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__9; -LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__1; +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__7; lean_object* l_Lean_Meta_ArgsPacker_uncurryND(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3(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*); -static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_checkCodomains(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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_checkCodomains(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__3; -LEAN_EXPORT 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*); +LEAN_EXPORT 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*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__5; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__13; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__7; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__7; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___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_indentExpr(lean_object*); -static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__9; lean_object* l_Lean_Meta_isExprDefEqGuarded(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_checkCodomains___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__17; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__10; +static lean_object* l_panic___at_Lean_Elab_WF_checkCodomains___spec__1___closed__1; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__5; +lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_mk(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__11; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); uint8_t l_Lean_Expr_hasFVar(lean_object*); extern lean_object* l_Lean_instInhabitedName; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___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*); -static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__6; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__4; -static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__7; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___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_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__12; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___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_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_elabWFRel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__10; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_checkCodomains___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__6; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__9; +LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3___boxed(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_checkCodomains___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_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__6; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withDeclName___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_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +static lean_object* _init_l_panic___at_Lean_Elab_WF_checkCodomains___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Term_instInhabitedTermElabM(lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_checkCodomains___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = l_panic___at_Lean_Elab_WF_checkCodomains___spec__1___closed__1; +x_10 = lean_panic_fn(x_9, x_1); +x_11 = lean_apply_7(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__2(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -124,7 +159,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -150,7 +185,7 @@ case 5: 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_2, 1); -x_9 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(x_1, x_7); +x_9 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(x_1, x_7); if (x_9 == 0) { x_2 = x_8; @@ -168,7 +203,7 @@ case 6: lean_object* x_12; lean_object* x_13; uint8_t x_14; x_12 = lean_ctor_get(x_2, 1); x_13 = lean_ctor_get(x_2, 2); -x_14 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(x_1, x_12); +x_14 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(x_1, x_12); if (x_14 == 0) { x_2 = x_13; @@ -186,7 +221,7 @@ case 7: lean_object* x_17; lean_object* x_18; uint8_t x_19; x_17 = lean_ctor_get(x_2, 1); x_18 = lean_ctor_get(x_2, 2); -x_19 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(x_1, x_17); +x_19 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(x_1, x_17); if (x_19 == 0) { x_2 = x_18; @@ -205,11 +240,11 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; x_22 = lean_ctor_get(x_2, 1); x_23 = lean_ctor_get(x_2, 2); x_24 = lean_ctor_get(x_2, 3); -x_25 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(x_1, x_22); +x_25 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(x_1, x_22); if (x_25 == 0) { uint8_t x_26; -x_26 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(x_1, x_23); +x_26 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(x_1, x_23); if (x_26 == 0) { x_2 = x_24; @@ -253,7 +288,7 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___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; @@ -263,7 +298,62 @@ lean_ctor_set(x_10, 1, x_9); return x_10; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("xs.size = arity\n ", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__1; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.WF.Rel", 30, 30); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.WF.checkCodomains", 27, 27); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__6() { +_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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__4; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__5; +x_3 = lean_unsigned_to_nat(33u); +x_4 = lean_unsigned_to_nat(6u); +x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__7() { _start: { lean_object* x_1; @@ -271,16 +361,16 @@ x_1 = lean_mk_string_unchecked("The termination measure's type must not depend o return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__1; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__9() { _start: { lean_object* x_1; @@ -288,16 +378,16 @@ x_1 = lean_mk_string_unchecked("function's varying parameters, but ", 35, 35); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__4() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__3; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__5() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__11() { _start: { lean_object* x_1; @@ -305,16 +395,16 @@ x_1 = lean_mk_string_unchecked("'s termination measure does:", 28, 28); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__6() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__5; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__11; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__7() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__13() { _start: { lean_object* x_1; @@ -322,16 +412,16 @@ x_1 = lean_mk_string_unchecked("\n", 1, 1); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__8() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__7; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__13; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__9() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__15() { _start: { lean_object* x_1; @@ -339,871 +429,918 @@ x_1 = lean_mk_string_unchecked("Try using `sizeOf` explicitly", 29, 29); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__10() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__9; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__11() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__10; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__16; x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_array_size(x_4); -x_14 = 0; -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__1(x_13, x_14, x_4); -x_16 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(x_15, x_5); -lean_dec(x_15); -if (x_16 == 0) +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_get_size(x_5); +x_15 = lean_nat_dec_eq(x_14, x_1); +lean_dec(x_14); +if (x_15 == 0) { -lean_object* x_17; -lean_dec(x_10); +lean_object* x_16; lean_object* x_17; lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_12); +x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__6; +x_17 = l_panic___at_Lean_Elab_WF_checkCodomains___spec__1(x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_17; } 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; 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_dec(x_5); -x_18 = lean_ctor_get(x_1, 0); -x_19 = l_Lean_MessageData_ofName(x_2); -x_20 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__4; -x_21 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_22 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__6; -x_23 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_indentExpr(x_3); -x_25 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__8; -x_27 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__2; -x_29 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -x_30 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__11; -x_31 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___spec__1(x_18, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +size_t x_18; size_t x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_array_size(x_5); +x_19 = 0; +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__2(x_18, x_19, x_5); +x_21 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(x_20, x_6); +lean_dec(x_20); +if (x_21 == 0) { -return x_32; +lean_object* x_22; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_6); +lean_ctor_set(x_22, 1, x_13); +return x_22; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_32); -x_36 = lean_alloc_ctor(1, 2, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_dec(x_6); +x_23 = lean_ctor_get(x_2, 0); +x_24 = l_Lean_MessageData_ofName(x_3); +x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__10; +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__12; +x_28 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_indentExpr(x_4); +x_30 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__14; +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__8; +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__17; +x_36 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_36, 0, x_34); lean_ctor_set(x_36, 1, x_35); -return x_36; +x_37 = l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___spec__1(x_23, x_36, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +return x_37; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 0); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_37); +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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1() { _start: { -uint8_t x_15; -x_15 = lean_usize_dec_lt(x_6, x_5); -if (x_15 == 0) +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_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: { -lean_object* x_16; +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_7, x_6); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_7); -lean_ctor_set(x_16, 1, x_14); -return x_16; +lean_dec(x_3); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_8); +lean_ctor_set(x_17, 1, x_15); +return x_17; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_array_uget(x_4, x_6); -x_18 = lean_ctor_get(x_7, 1); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = !lean_is_exclusive(x_7); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_7, 0); -x_22 = lean_ctor_get(x_7, 1); -lean_dec(x_22); -x_23 = !lean_is_exclusive(x_18); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_24 = lean_ctor_get(x_18, 1); -x_25 = lean_ctor_get(x_18, 0); -lean_dec(x_25); -x_26 = lean_ctor_get(x_19, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_19, 2); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_18 = lean_array_uget(x_5, x_7); +x_28 = lean_ctor_get(x_8, 1); lean_inc(x_28); -x_29 = lean_nat_dec_lt(x_27, x_28); -if (x_29 == 0) -{ -lean_object* x_30; -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_17); -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_2); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_7); -lean_ctor_set(x_30, 1, x_14); -return x_30; -} -else -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_19); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = !lean_is_exclusive(x_8); if (x_31 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_32 = lean_ctor_get(x_19, 2); -lean_dec(x_32); -x_33 = lean_ctor_get(x_19, 1); +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_8, 0); +x_33 = lean_ctor_get(x_8, 1); lean_dec(x_33); -x_34 = lean_ctor_get(x_19, 0); -lean_dec(x_34); -x_35 = lean_array_fget(x_26, x_27); -x_36 = lean_unsigned_to_nat(1u); -x_37 = lean_nat_add(x_27, x_36); -lean_dec(x_27); -lean_ctor_set(x_19, 1, x_37); -x_38 = lean_ctor_get(x_21, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_21, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_21, 2); -lean_inc(x_40); -x_41 = lean_nat_dec_lt(x_39, x_40); -if (x_41 == 0) +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) { -lean_object* x_42; -lean_dec(x_40); +lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_dec(x_36); +x_37 = !lean_is_exclusive(x_29); +if (x_37 == 0) +{ +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_38 = lean_ctor_get(x_29, 1); +x_39 = lean_ctor_get(x_29, 0); lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_35); -lean_dec(x_17); -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_2); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_7); -lean_ctor_set(x_42, 1, x_14); -return x_42; -} -else -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_21); +x_40 = lean_ctor_get(x_30, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_30, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_30, 2); +lean_inc(x_42); +x_43 = lean_nat_dec_lt(x_41, x_42); if (x_43 == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_44 = lean_ctor_get(x_21, 2); -lean_dec(x_44); -x_45 = lean_ctor_get(x_21, 1); -lean_dec(x_45); -x_46 = lean_ctor_get(x_21, 0); +lean_object* x_44; +lean_dec(x_42); +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_18); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_8); +x_19 = x_44; +x_20 = x_15; +goto block_27; +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_30); +if (x_45 == 0) +{ +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; +x_46 = lean_ctor_get(x_30, 2); lean_dec(x_46); -x_47 = lean_array_fget(x_38, x_39); -x_48 = lean_nat_add(x_39, x_36); -lean_dec(x_39); -lean_ctor_set(x_21, 1, x_48); -x_49 = lean_ctor_get(x_35, 1); -lean_inc(x_49); -lean_inc(x_2); -x_50 = l_Lean_Expr_beta(x_49, x_2); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_51 = lean_infer_type(x_50, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; -x_52 = lean_ctor_get(x_51, 0); +x_47 = lean_ctor_get(x_30, 1); +lean_dec(x_47); +x_48 = lean_ctor_get(x_30, 0); +lean_dec(x_48); +x_49 = lean_array_fget(x_40, x_41); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_41, x_50); +lean_dec(x_41); +lean_ctor_set(x_30, 1, x_51); +x_52 = lean_ctor_get(x_35, 0); lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); +x_53 = lean_ctor_get(x_35, 1); lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_47); -lean_inc(x_52); -x_55 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___boxed), 12, 3); -lean_closure_set(x_55, 0, x_35); -lean_closure_set(x_55, 1, x_17); -lean_closure_set(x_55, 2, x_52); -x_56 = 0; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_57 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_52, x_54, x_55, x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_53); -if (lean_obj_tag(x_57) == 0) +x_54 = lean_ctor_get(x_35, 2); +lean_inc(x_54); +x_55 = lean_nat_dec_lt(x_53, x_54); +if (x_55 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; size_t x_61; size_t x_62; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_array_push(x_24, x_58); -lean_ctor_set(x_18, 1, x_60); -x_61 = 1; -x_62 = lean_usize_add(x_6, x_61); -x_6 = x_62; -x_14 = x_59; -goto _start; +lean_object* x_56; +lean_dec(x_54); +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_49); +lean_dec(x_18); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_8); +x_19 = x_56; +x_20 = x_15; +goto block_27; } else { -uint8_t x_64; -lean_dec(x_21); -lean_dec(x_19); -lean_free_object(x_18); -lean_dec(x_24); -lean_free_object(x_7); -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_2); -x_64 = !lean_is_exclusive(x_57); -if (x_64 == 0) +uint8_t x_57; +x_57 = !lean_is_exclusive(x_35); +if (x_57 == 0) { -return x_57; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_57, 0); -x_66 = lean_ctor_get(x_57, 1); -lean_inc(x_66); +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; uint8_t x_66; +x_58 = lean_ctor_get(x_35, 2); +lean_dec(x_58); +x_59 = lean_ctor_get(x_35, 1); +lean_dec(x_59); +x_60 = lean_ctor_get(x_35, 0); +lean_dec(x_60); +x_61 = lean_array_fget(x_52, x_53); +x_62 = lean_nat_add(x_53, x_50); +lean_dec(x_53); +lean_ctor_set(x_35, 1, x_62); +x_63 = lean_ctor_get(x_32, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_32, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_32, 2); lean_inc(x_65); -lean_dec(x_57); -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; -} -} +x_66 = lean_nat_dec_lt(x_63, x_64); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_65); +lean_dec(x_64); +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_49); +lean_dec(x_18); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_8); +x_19 = x_67; +x_20 = x_15; +goto block_27; } else { uint8_t x_68; -lean_dec(x_21); -lean_dec(x_47); -lean_dec(x_19); -lean_dec(x_35); -lean_free_object(x_18); -lean_dec(x_24); -lean_free_object(x_7); -lean_dec(x_17); -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_2); -x_68 = !lean_is_exclusive(x_51); +x_68 = !lean_is_exclusive(x_32); if (x_68 == 0) { -return x_51; -} -else +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get(x_32, 2); +lean_dec(x_69); +x_70 = lean_ctor_get(x_32, 1); +lean_dec(x_70); +x_71 = lean_ctor_get(x_32, 0); +lean_dec(x_71); +x_72 = lean_nat_add(x_63, x_65); +lean_ctor_set(x_32, 0, x_72); +x_73 = lean_ctor_get(x_49, 1); +lean_inc(x_73); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_74 = lean_infer_type(x_73, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_51, 0); -x_70 = lean_ctor_get(x_51, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_51); -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; -} -} -} -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; -lean_dec(x_21); -x_72 = lean_array_fget(x_38, x_39); -x_73 = lean_nat_add(x_39, x_36); -lean_dec(x_39); -x_74 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_74, 0, x_38); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set(x_74, 2, x_40); -x_75 = lean_ctor_get(x_35, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_inc(x_2); -x_76 = l_Lean_Expr_beta(x_75, x_2); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_ctor_get(x_2, 1); +x_78 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_79 = lean_array_get(x_78, x_77, x_63); +lean_dec(x_63); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_77 = lean_infer_type(x_76, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_77) == 0) +lean_inc(x_3); +x_80 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_79, x_75, x_3, x_11, x_12, x_13, x_14, x_76); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_72); -lean_inc(x_78); -x_81 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___boxed), 12, 3); -lean_closure_set(x_81, 0, x_35); -lean_closure_set(x_81, 1, x_17); -lean_closure_set(x_81, 2, x_78); -x_82 = 0; +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; +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_61); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_61); +lean_inc(x_81); +x_84 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed), 13, 4); +lean_closure_set(x_84, 0, x_61); +lean_closure_set(x_84, 1, x_49); +lean_closure_set(x_84, 2, x_18); +lean_closure_set(x_84, 3, x_81); +x_85 = 0; +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_83 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_78, x_80, x_81, x_82, x_8, x_9, x_10, x_11, x_12, x_13, x_79); -if (lean_obj_tag(x_83) == 0) +x_86 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_81, x_83, x_84, x_85, x_9, x_10, x_11, x_12, x_13, x_14, x_82); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; size_t x_87; size_t x_88; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_array_push(x_24, x_84); -lean_ctor_set(x_18, 1, x_86); -lean_ctor_set(x_7, 0, x_74); -x_87 = 1; -x_88 = lean_usize_add(x_6, x_87); -x_6 = x_88; -x_14 = x_85; -goto _start; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_array_push(x_38, x_87); +lean_ctor_set(x_29, 1, x_89); +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_8); +x_19 = x_90; +x_20 = x_88; +goto block_27; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_74); -lean_dec(x_19); -lean_free_object(x_18); -lean_dec(x_24); -lean_free_object(x_7); -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_2); -x_90 = lean_ctor_get(x_83, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_83, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_92 = x_83; -} else { - lean_dec_ref(x_83); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; -} -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_74); -lean_dec(x_72); -lean_dec(x_19); +uint8_t x_91; +lean_dec(x_32); lean_dec(x_35); -lean_free_object(x_18); -lean_dec(x_24); -lean_free_object(x_7); -lean_dec(x_17); +lean_dec(x_30); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_94 = lean_ctor_get(x_77, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_77, 1); -lean_inc(x_95); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_96 = x_77; -} else { - lean_dec_ref(x_77); - 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_dec(x_3); +x_91 = !lean_is_exclusive(x_86); +if (x_91 == 0) +{ +return x_86; } +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_86, 0); +x_93 = lean_ctor_get(x_86, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_86); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; -lean_dec(x_19); -x_98 = lean_array_fget(x_26, x_27); -x_99 = lean_unsigned_to_nat(1u); -x_100 = lean_nat_add(x_27, x_99); -lean_dec(x_27); -x_101 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_101, 0, x_26); -lean_ctor_set(x_101, 1, x_100); -lean_ctor_set(x_101, 2, x_28); -x_102 = lean_ctor_get(x_21, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_21, 1); -lean_inc(x_103); -x_104 = lean_ctor_get(x_21, 2); -lean_inc(x_104); -x_105 = lean_nat_dec_lt(x_103, x_104); -if (x_105 == 0) -{ -lean_object* x_106; -lean_dec(x_104); -lean_dec(x_103); -lean_dec(x_102); -lean_dec(x_98); -lean_dec(x_17); +uint8_t x_95; +lean_dec(x_32); +lean_dec(x_35); +lean_dec(x_61); +lean_dec(x_30); +lean_dec(x_49); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_ctor_set(x_18, 0, x_101); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_7); -lean_ctor_set(x_106, 1, x_14); -return x_106; +lean_dec(x_3); +x_95 = !lean_is_exclusive(x_80); +if (x_95 == 0) +{ +return x_80; } else { -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; -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - lean_ctor_release(x_21, 2); - x_107 = x_21; -} else { - lean_dec_ref(x_21); - x_107 = lean_box(0); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_80, 0); +x_97 = lean_ctor_get(x_80, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_80); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } -x_108 = lean_array_fget(x_102, x_103); -x_109 = lean_nat_add(x_103, x_99); -lean_dec(x_103); -if (lean_is_scalar(x_107)) { - x_110 = lean_alloc_ctor(0, 3, 0); -} else { - x_110 = x_107; } -lean_ctor_set(x_110, 0, x_102); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_104); -x_111 = lean_ctor_get(x_98, 1); -lean_inc(x_111); -lean_inc(x_2); -x_112 = l_Lean_Expr_beta(x_111, x_2); +} +else +{ +uint8_t x_99; +lean_dec(x_32); +lean_dec(x_63); +lean_dec(x_35); +lean_dec(x_61); +lean_dec(x_30); +lean_dec(x_49); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_99 = !lean_is_exclusive(x_74); +if (x_99 == 0) +{ +return x_74; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_74, 0); +x_101 = lean_ctor_get(x_74, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_74); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} +} +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_32); +x_103 = lean_nat_add(x_63, x_65); +x_104 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_64); +lean_ctor_set(x_104, 2, x_65); +x_105 = lean_ctor_get(x_49, 1); +lean_inc(x_105); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_113 = lean_infer_type(x_112, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_113) == 0) +x_106 = lean_infer_type(x_105, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_106) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; -x_114 = lean_ctor_get(x_113, 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; +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 = lean_ctor_get(x_2, 1); +x_110 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_111 = lean_array_get(x_110, x_109, x_63); +lean_dec(x_63); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_3); +x_112 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_111, x_107, x_3, x_11, x_12, x_13, x_14, x_108); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_116, 0, x_108); -lean_inc(x_114); -x_117 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___boxed), 12, 3); -lean_closure_set(x_117, 0, x_98); -lean_closure_set(x_117, 1, x_17); -lean_closure_set(x_117, 2, x_114); -x_118 = 0; +lean_dec(x_112); +lean_inc(x_61); +x_115 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_115, 0, x_61); +lean_inc(x_113); +x_116 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed), 13, 4); +lean_closure_set(x_116, 0, x_61); +lean_closure_set(x_116, 1, x_49); +lean_closure_set(x_116, 2, x_18); +lean_closure_set(x_116, 3, x_113); +x_117 = 0; +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_119 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_114, x_116, x_117, x_118, x_8, x_9, x_10, x_11, x_12, x_13, x_115); -if (lean_obj_tag(x_119) == 0) +x_118 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_113, x_115, x_116, x_117, x_9, x_10, x_11, x_12, x_13, x_14, x_114); +if (lean_obj_tag(x_118) == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; size_t x_123; size_t x_124; -x_120 = lean_ctor_get(x_119, 0); +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_array_push(x_24, x_120); -lean_ctor_set(x_18, 1, x_122); -lean_ctor_set(x_18, 0, x_101); -lean_ctor_set(x_7, 0, x_110); -x_123 = 1; -x_124 = lean_usize_add(x_6, x_123); -x_6 = x_124; -x_14 = x_121; -goto _start; +lean_dec(x_118); +x_121 = lean_array_push(x_38, x_119); +lean_ctor_set(x_29, 1, x_121); +lean_ctor_set(x_8, 0, x_104); +x_122 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_122, 0, x_8); +x_19 = x_122; +x_20 = x_120; +goto block_27; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -lean_dec(x_110); -lean_dec(x_101); -lean_free_object(x_18); -lean_dec(x_24); -lean_free_object(x_7); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_104); +lean_dec(x_35); +lean_dec(x_30); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_126 = lean_ctor_get(x_119, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_119, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_128 = x_119; +lean_dec(x_3); +x_123 = lean_ctor_get(x_118, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_118, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_125 = x_118; } else { - lean_dec_ref(x_119); - x_128 = lean_box(0); + lean_dec_ref(x_118); + x_125 = lean_box(0); } -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); } else { - x_129 = x_128; + x_126 = x_125; } -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_127); -return x_129; +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +return x_126; } } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -lean_dec(x_110); -lean_dec(x_108); -lean_dec(x_101); -lean_dec(x_98); -lean_free_object(x_18); -lean_dec(x_24); -lean_free_object(x_7); -lean_dec(x_17); -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_2); -x_130 = lean_ctor_get(x_113, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_113, 1); -lean_inc(x_131); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_132 = x_113; -} else { - lean_dec_ref(x_113); - x_132 = lean_box(0); -} -if (lean_is_scalar(x_132)) { - x_133 = lean_alloc_ctor(1, 2, 0); -} else { - x_133 = x_132; -} -lean_ctor_set(x_133, 0, x_130); -lean_ctor_set(x_133, 1, x_131); -return x_133; -} -} -} -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_134 = lean_ctor_get(x_18, 1); -lean_inc(x_134); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_104); +lean_dec(x_35); +lean_dec(x_61); +lean_dec(x_30); +lean_dec(x_49); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); lean_dec(x_18); -x_135 = lean_ctor_get(x_19, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_19, 1); -lean_inc(x_136); -x_137 = lean_ctor_get(x_19, 2); -lean_inc(x_137); -x_138 = lean_nat_dec_lt(x_136, x_137); -if (x_138 == 0) -{ -lean_object* x_139; lean_object* x_140; -lean_dec(x_137); -lean_dec(x_136); -lean_dec(x_135); -lean_dec(x_17); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_19); -lean_ctor_set(x_139, 1, x_134); -lean_ctor_set(x_7, 1, x_139); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_7); -lean_ctor_set(x_140, 1, x_14); -return x_140; +lean_dec(x_3); +x_127 = lean_ctor_get(x_112, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_112, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_129 = x_112; +} else { + lean_dec_ref(x_112); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; +} +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - lean_ctor_release(x_19, 2); - x_141 = x_19; +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_104); +lean_dec(x_63); +lean_dec(x_35); +lean_dec(x_61); +lean_dec(x_30); +lean_dec(x_49); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_131 = lean_ctor_get(x_106, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_106, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_133 = x_106; } else { - lean_dec_ref(x_19); - x_141 = lean_box(0); + lean_dec_ref(x_106); + x_133 = lean_box(0); } -x_142 = lean_array_fget(x_135, x_136); -x_143 = lean_unsigned_to_nat(1u); -x_144 = lean_nat_add(x_136, x_143); -lean_dec(x_136); -if (lean_is_scalar(x_141)) { +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_35); +x_135 = lean_array_fget(x_52, x_53); +x_136 = lean_nat_add(x_53, x_50); +lean_dec(x_53); +x_137 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_137, 0, x_52); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set(x_137, 2, x_54); +x_138 = lean_ctor_get(x_32, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_32, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_32, 2); +lean_inc(x_140); +x_141 = lean_nat_dec_lt(x_138, x_139); +if (x_141 == 0) +{ +lean_object* x_142; +lean_dec(x_140); +lean_dec(x_139); +lean_dec(x_138); +lean_dec(x_135); +lean_dec(x_49); +lean_dec(x_18); +lean_ctor_set(x_28, 0, x_137); +x_142 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_142, 0, x_8); +x_19 = x_142; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + lean_ctor_release(x_32, 2); + x_143 = x_32; +} else { + lean_dec_ref(x_32); + x_143 = lean_box(0); +} +x_144 = lean_nat_add(x_138, x_140); +if (lean_is_scalar(x_143)) { x_145 = lean_alloc_ctor(0, 3, 0); } else { - x_145 = x_141; + x_145 = x_143; } -lean_ctor_set(x_145, 0, x_135); -lean_ctor_set(x_145, 1, x_144); -lean_ctor_set(x_145, 2, x_137); -x_146 = lean_ctor_get(x_21, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_139); +lean_ctor_set(x_145, 2, x_140); +x_146 = lean_ctor_get(x_49, 1); lean_inc(x_146); -x_147 = lean_ctor_get(x_21, 1); -lean_inc(x_147); -x_148 = lean_ctor_get(x_21, 2); -lean_inc(x_148); -x_149 = lean_nat_dec_lt(x_147, x_148); -if (x_149 == 0) -{ -lean_object* x_150; lean_object* x_151; -lean_dec(x_148); -lean_dec(x_147); -lean_dec(x_146); -lean_dec(x_142); -lean_dec(x_17); -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_2); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_145); -lean_ctor_set(x_150, 1, x_134); -lean_ctor_set(x_7, 1, x_150); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_7); -lean_ctor_set(x_151, 1, x_14); -return x_151; -} -else -{ -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; -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - lean_ctor_release(x_21, 2); - x_152 = x_21; -} else { - lean_dec_ref(x_21); - x_152 = lean_box(0); -} -x_153 = lean_array_fget(x_146, x_147); -x_154 = lean_nat_add(x_147, x_143); -lean_dec(x_147); -if (lean_is_scalar(x_152)) { - x_155 = lean_alloc_ctor(0, 3, 0); -} else { - x_155 = x_152; -} -lean_ctor_set(x_155, 0, x_146); -lean_ctor_set(x_155, 1, x_154); -lean_ctor_set(x_155, 2, x_148); -x_156 = lean_ctor_get(x_142, 1); -lean_inc(x_156); -lean_inc(x_2); -x_157 = l_Lean_Expr_beta(x_156, x_2); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_158 = lean_infer_type(x_157, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_158) == 0) +x_147 = lean_infer_type(x_146, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_147) == 0) { -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; -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_161 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_161, 0, x_153); -lean_inc(x_159); -x_162 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___boxed), 12, 3); -lean_closure_set(x_162, 0, x_142); -lean_closure_set(x_162, 1, x_17); -lean_closure_set(x_162, 2, x_159); -x_163 = 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; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_ctor_get(x_2, 1); +x_151 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_152 = lean_array_get(x_151, x_150, x_138); +lean_dec(x_138); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_3); +x_153 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_152, x_148, x_3, x_11, x_12, x_13, x_14, x_149); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; lean_object* x_159; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +lean_inc(x_135); +x_156 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_156, 0, x_135); +lean_inc(x_154); +x_157 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed), 13, 4); +lean_closure_set(x_157, 0, x_135); +lean_closure_set(x_157, 1, x_49); +lean_closure_set(x_157, 2, x_18); +lean_closure_set(x_157, 3, x_154); +x_158 = 0; +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_164 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_159, x_161, x_162, x_163, x_8, x_9, x_10, x_11, x_12, x_13, x_160); -if (lean_obj_tag(x_164) == 0) +x_159 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_154, x_156, x_157, x_158, x_9, x_10, x_11, x_12, x_13, x_14, x_155); +if (lean_obj_tag(x_159) == 0) { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; size_t x_169; size_t x_170; -x_165 = lean_ctor_get(x_164, 0); +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = lean_array_push(x_38, x_160); +lean_ctor_set(x_29, 1, x_162); +lean_ctor_set(x_28, 0, x_137); +lean_ctor_set(x_8, 0, x_145); +x_163 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_163, 0, x_8); +x_19 = x_163; +x_20 = x_161; +goto block_27; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_145); +lean_dec(x_137); +lean_dec(x_30); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_164 = lean_ctor_get(x_159, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_159, 1); lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -x_167 = lean_array_push(x_134, x_165); -x_168 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_168, 0, x_145); -lean_ctor_set(x_168, 1, x_167); -lean_ctor_set(x_7, 1, x_168); -lean_ctor_set(x_7, 0, x_155); -x_169 = 1; -x_170 = lean_usize_add(x_6, x_169); -x_6 = x_170; -x_14 = x_166; -goto _start; +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_166 = x_159; +} else { + lean_dec_ref(x_159); + x_166 = lean_box(0); +} +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(1, 2, 0); +} else { + x_167 = x_166; +} +lean_ctor_set(x_167, 0, x_164); +lean_ctor_set(x_167, 1, x_165); +return x_167; +} +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_dec(x_145); +lean_dec(x_137); +lean_dec(x_135); +lean_dec(x_30); +lean_dec(x_49); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_168 = lean_ctor_get(x_153, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_153, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_170 = x_153; +} else { + lean_dec_ref(x_153); + x_170 = lean_box(0); +} +if (lean_is_scalar(x_170)) { + x_171 = lean_alloc_ctor(1, 2, 0); +} else { + x_171 = x_170; +} +lean_ctor_set(x_171, 0, x_168); +lean_ctor_set(x_171, 1, x_169); +return x_171; +} } else { lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -lean_dec(x_155); lean_dec(x_145); -lean_dec(x_134); -lean_free_object(x_7); +lean_dec(x_138); +lean_dec(x_137); +lean_dec(x_135); +lean_dec(x_30); +lean_dec(x_49); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_172 = lean_ctor_get(x_164, 0); +lean_dec(x_3); +x_172 = lean_ctor_get(x_147, 0); lean_inc(x_172); -x_173 = lean_ctor_get(x_164, 1); +x_173 = lean_ctor_get(x_147, 1); lean_inc(x_173); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_174 = x_164; +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_174 = x_147; } else { - lean_dec_ref(x_164); + lean_dec_ref(x_147); x_174 = lean_box(0); } if (lean_is_scalar(x_174)) { @@ -1216,266 +1353,292 @@ lean_ctor_set(x_175, 1, x_173); return x_175; } } -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -lean_dec(x_155); -lean_dec(x_153); -lean_dec(x_145); -lean_dec(x_142); -lean_dec(x_134); -lean_free_object(x_7); -lean_dec(x_17); -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_2); -x_176 = lean_ctor_get(x_158, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_158, 1); -lean_inc(x_177); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_178 = x_158; -} else { - lean_dec_ref(x_158); - x_178 = lean_box(0); -} -if (lean_is_scalar(x_178)) { - x_179 = lean_alloc_ctor(1, 2, 0); -} else { - x_179 = x_178; -} -lean_ctor_set(x_179, 0, x_176); -lean_ctor_set(x_179, 1, x_177); -return x_179; -} -} } } } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; -x_180 = lean_ctor_get(x_7, 0); +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +lean_dec(x_30); +x_176 = lean_array_fget(x_40, x_41); +x_177 = lean_unsigned_to_nat(1u); +x_178 = lean_nat_add(x_41, x_177); +lean_dec(x_41); +x_179 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_179, 0, x_40); +lean_ctor_set(x_179, 1, x_178); +lean_ctor_set(x_179, 2, x_42); +x_180 = lean_ctor_get(x_35, 0); lean_inc(x_180); -lean_dec(x_7); -x_181 = lean_ctor_get(x_18, 1); +x_181 = lean_ctor_get(x_35, 1); lean_inc(x_181); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_182 = x_18; -} else { - lean_dec_ref(x_18); - x_182 = lean_box(0); -} -x_183 = lean_ctor_get(x_19, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_19, 1); -lean_inc(x_184); -x_185 = lean_ctor_get(x_19, 2); -lean_inc(x_185); -x_186 = lean_nat_dec_lt(x_184, x_185); -if (x_186 == 0) +x_182 = lean_ctor_get(x_35, 2); +lean_inc(x_182); +x_183 = lean_nat_dec_lt(x_181, x_182); +if (x_183 == 0) { -lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_185); -lean_dec(x_184); -lean_dec(x_183); -lean_dec(x_17); -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_2); -if (lean_is_scalar(x_182)) { - x_187 = lean_alloc_ctor(0, 2, 0); -} else { - x_187 = x_182; +lean_object* x_184; +lean_dec(x_182); +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_176); +lean_dec(x_18); +lean_ctor_set(x_29, 0, x_179); +x_184 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_184, 0, x_8); +x_19 = x_184; +x_20 = x_15; +goto block_27; +} +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; uint8_t x_192; +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + lean_ctor_release(x_35, 2); + x_185 = x_35; +} else { + lean_dec_ref(x_35); + x_185 = lean_box(0); +} +x_186 = lean_array_fget(x_180, x_181); +x_187 = lean_nat_add(x_181, x_177); +lean_dec(x_181); +if (lean_is_scalar(x_185)) { + x_188 = lean_alloc_ctor(0, 3, 0); +} else { + x_188 = x_185; } -lean_ctor_set(x_187, 0, x_19); -lean_ctor_set(x_187, 1, x_181); -x_188 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_188, 0, x_180); lean_ctor_set(x_188, 1, x_187); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_14); -return x_189; -} -else +lean_ctor_set(x_188, 2, x_182); +x_189 = lean_ctor_get(x_32, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_32, 1); +lean_inc(x_190); +x_191 = lean_ctor_get(x_32, 2); +lean_inc(x_191); +x_192 = lean_nat_dec_lt(x_189, x_190); +if (x_192 == 0) { -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - lean_ctor_release(x_19, 2); - x_190 = x_19; -} else { - lean_dec_ref(x_19); - x_190 = lean_box(0); -} -x_191 = lean_array_fget(x_183, x_184); -x_192 = lean_unsigned_to_nat(1u); -x_193 = lean_nat_add(x_184, x_192); -lean_dec(x_184); -if (lean_is_scalar(x_190)) { - x_194 = lean_alloc_ctor(0, 3, 0); -} else { - x_194 = x_190; -} -lean_ctor_set(x_194, 0, x_183); -lean_ctor_set(x_194, 1, x_193); -lean_ctor_set(x_194, 2, x_185); -x_195 = lean_ctor_get(x_180, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_180, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_180, 2); -lean_inc(x_197); -x_198 = lean_nat_dec_lt(x_196, x_197); -if (x_198 == 0) -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -lean_dec(x_197); -lean_dec(x_196); -lean_dec(x_195); +lean_object* x_193; lean_dec(x_191); -lean_dec(x_17); -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_2); -if (lean_is_scalar(x_182)) { - x_199 = lean_alloc_ctor(0, 2, 0); -} else { - x_199 = x_182; -} -lean_ctor_set(x_199, 0, x_194); -lean_ctor_set(x_199, 1, x_181); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_180); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_14); -return x_201; +lean_dec(x_190); +lean_dec(x_189); +lean_dec(x_186); +lean_dec(x_176); +lean_dec(x_18); +lean_ctor_set(x_29, 0, x_179); +lean_ctor_set(x_28, 0, x_188); +x_193 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_193, 0, x_8); +x_19 = x_193; +x_20 = x_15; +goto block_27; } else { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - lean_ctor_release(x_180, 2); - x_202 = x_180; +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + lean_ctor_release(x_32, 2); + x_194 = x_32; } else { - lean_dec_ref(x_180); - x_202 = lean_box(0); + lean_dec_ref(x_32); + x_194 = lean_box(0); } -x_203 = lean_array_fget(x_195, x_196); -x_204 = lean_nat_add(x_196, x_192); -lean_dec(x_196); -if (lean_is_scalar(x_202)) { - x_205 = lean_alloc_ctor(0, 3, 0); +x_195 = lean_nat_add(x_189, x_191); +if (lean_is_scalar(x_194)) { + x_196 = lean_alloc_ctor(0, 3, 0); } else { - x_205 = x_202; + x_196 = x_194; } -lean_ctor_set(x_205, 0, x_195); -lean_ctor_set(x_205, 1, x_204); -lean_ctor_set(x_205, 2, x_197); -x_206 = lean_ctor_get(x_191, 1); -lean_inc(x_206); -lean_inc(x_2); -x_207 = l_Lean_Expr_beta(x_206, x_2); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_190); +lean_ctor_set(x_196, 2, x_191); +x_197 = lean_ctor_get(x_176, 1); +lean_inc(x_197); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_208 = lean_infer_type(x_207, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_208) == 0) +x_198 = lean_infer_type(x_197, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_198) == 0) { -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -lean_dec(x_208); -x_211 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_211, 0, x_203); -lean_inc(x_209); -x_212 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___boxed), 12, 3); -lean_closure_set(x_212, 0, x_191); -lean_closure_set(x_212, 1, x_17); -lean_closure_set(x_212, 2, x_209); -x_213 = 0; +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_199 = lean_ctor_get(x_198, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_198, 1); +lean_inc(x_200); +lean_dec(x_198); +x_201 = lean_ctor_get(x_2, 1); +x_202 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_203 = lean_array_get(x_202, x_201, x_189); +lean_dec(x_189); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_3); +x_204 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_203, x_199, x_3, x_11, x_12, x_13, x_14, x_200); +if (lean_obj_tag(x_204) == 0) +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; lean_object* x_210; +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +lean_inc(x_186); +x_207 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_207, 0, x_186); +lean_inc(x_205); +x_208 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed), 13, 4); +lean_closure_set(x_208, 0, x_186); +lean_closure_set(x_208, 1, x_176); +lean_closure_set(x_208, 2, x_18); +lean_closure_set(x_208, 3, x_205); +x_209 = 0; +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_214 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_209, x_211, x_212, x_213, x_8, x_9, x_10, x_11, x_12, x_13, x_210); -if (lean_obj_tag(x_214) == 0) +x_210 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_205, x_207, x_208, x_209, x_9, x_10, x_11, x_12, x_13, x_14, x_206); +if (lean_obj_tag(x_210) == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; size_t x_220; size_t x_221; -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_array_push(x_181, x_215); -if (lean_is_scalar(x_182)) { - x_218 = lean_alloc_ctor(0, 2, 0); -} else { - x_218 = x_182; -} -lean_ctor_set(x_218, 0, x_194); -lean_ctor_set(x_218, 1, x_217); -x_219 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_219, 0, x_205); -lean_ctor_set(x_219, 1, x_218); -x_220 = 1; -x_221 = lean_usize_add(x_6, x_220); -x_6 = x_221; -x_7 = x_219; -x_14 = x_216; -goto _start; +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_210, 1); +lean_inc(x_212); +lean_dec(x_210); +x_213 = lean_array_push(x_38, x_211); +lean_ctor_set(x_29, 1, x_213); +lean_ctor_set(x_29, 0, x_179); +lean_ctor_set(x_28, 0, x_188); +lean_ctor_set(x_8, 0, x_196); +x_214 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_214, 0, x_8); +x_19 = x_214; +x_20 = x_212; +goto block_27; } else { -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -lean_dec(x_205); -lean_dec(x_194); -lean_dec(x_182); -lean_dec(x_181); +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +lean_dec(x_196); +lean_dec(x_188); +lean_dec(x_179); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_223 = lean_ctor_get(x_214, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_214, 1); -lean_inc(x_224); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_225 = x_214; +lean_dec(x_3); +x_215 = lean_ctor_get(x_210, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_210, 1); +lean_inc(x_216); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + x_217 = x_210; } else { - lean_dec_ref(x_214); + lean_dec_ref(x_210); + x_217 = lean_box(0); +} +if (lean_is_scalar(x_217)) { + x_218 = lean_alloc_ctor(1, 2, 0); +} else { + x_218 = x_217; +} +lean_ctor_set(x_218, 0, x_215); +lean_ctor_set(x_218, 1, x_216); +return x_218; +} +} +else +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_dec(x_196); +lean_dec(x_188); +lean_dec(x_186); +lean_dec(x_179); +lean_dec(x_176); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_219 = lean_ctor_get(x_204, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_204, 1); +lean_inc(x_220); +if (lean_is_exclusive(x_204)) { + lean_ctor_release(x_204, 0); + lean_ctor_release(x_204, 1); + x_221 = x_204; +} else { + lean_dec_ref(x_204); + x_221 = lean_box(0); +} +if (lean_is_scalar(x_221)) { + x_222 = lean_alloc_ctor(1, 2, 0); +} else { + x_222 = x_221; +} +lean_ctor_set(x_222, 0, x_219); +lean_ctor_set(x_222, 1, x_220); +return x_222; +} +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +lean_dec(x_196); +lean_dec(x_189); +lean_dec(x_188); +lean_dec(x_186); +lean_dec(x_179); +lean_dec(x_176); +lean_free_object(x_29); +lean_dec(x_38); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_223 = lean_ctor_get(x_198, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_198, 1); +lean_inc(x_224); +if (lean_is_exclusive(x_198)) { + lean_ctor_release(x_198, 0); + lean_ctor_release(x_198, 1); + x_225 = x_198; +} else { + lean_dec_ref(x_198); x_225 = lean_box(0); } if (lean_is_scalar(x_225)) { @@ -1488,51 +1651,1190 @@ lean_ctor_set(x_226, 1, x_224); return x_226; } } +} +} +} +} else { -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_205); -lean_dec(x_203); -lean_dec(x_194); -lean_dec(x_191); -lean_dec(x_182); -lean_dec(x_181); -lean_dec(x_17); +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; +x_227 = lean_ctor_get(x_29, 1); +lean_inc(x_227); +lean_dec(x_29); +x_228 = lean_ctor_get(x_30, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_30, 1); +lean_inc(x_229); +x_230 = lean_ctor_get(x_30, 2); +lean_inc(x_230); +x_231 = lean_nat_dec_lt(x_229, x_230); +if (x_231 == 0) +{ +lean_object* x_232; lean_object* x_233; +lean_dec(x_230); +lean_dec(x_229); +lean_dec(x_228); +lean_dec(x_18); +x_232 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_232, 0, x_30); +lean_ctor_set(x_232, 1, x_227); +lean_ctor_set(x_28, 1, x_232); +x_233 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_233, 0, x_8); +x_19 = x_233; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + lean_ctor_release(x_30, 2); + x_234 = x_30; +} else { + lean_dec_ref(x_30); + x_234 = lean_box(0); +} +x_235 = lean_array_fget(x_228, x_229); +x_236 = lean_unsigned_to_nat(1u); +x_237 = lean_nat_add(x_229, x_236); +lean_dec(x_229); +if (lean_is_scalar(x_234)) { + x_238 = lean_alloc_ctor(0, 3, 0); +} else { + x_238 = x_234; +} +lean_ctor_set(x_238, 0, x_228); +lean_ctor_set(x_238, 1, x_237); +lean_ctor_set(x_238, 2, x_230); +x_239 = lean_ctor_get(x_35, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_35, 1); +lean_inc(x_240); +x_241 = lean_ctor_get(x_35, 2); +lean_inc(x_241); +x_242 = lean_nat_dec_lt(x_240, x_241); +if (x_242 == 0) +{ +lean_object* x_243; lean_object* x_244; +lean_dec(x_241); +lean_dec(x_240); +lean_dec(x_239); +lean_dec(x_235); +lean_dec(x_18); +x_243 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_243, 0, x_238); +lean_ctor_set(x_243, 1, x_227); +lean_ctor_set(x_28, 1, x_243); +x_244 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_244, 0, x_8); +x_19 = x_244; +x_20 = x_15; +goto block_27; +} +else +{ +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; +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + lean_ctor_release(x_35, 2); + x_245 = x_35; +} else { + lean_dec_ref(x_35); + x_245 = lean_box(0); +} +x_246 = lean_array_fget(x_239, x_240); +x_247 = lean_nat_add(x_240, x_236); +lean_dec(x_240); +if (lean_is_scalar(x_245)) { + x_248 = lean_alloc_ctor(0, 3, 0); +} else { + x_248 = x_245; +} +lean_ctor_set(x_248, 0, x_239); +lean_ctor_set(x_248, 1, x_247); +lean_ctor_set(x_248, 2, x_241); +x_249 = lean_ctor_get(x_32, 0); +lean_inc(x_249); +x_250 = lean_ctor_get(x_32, 1); +lean_inc(x_250); +x_251 = lean_ctor_get(x_32, 2); +lean_inc(x_251); +x_252 = lean_nat_dec_lt(x_249, x_250); +if (x_252 == 0) +{ +lean_object* x_253; lean_object* x_254; +lean_dec(x_251); +lean_dec(x_250); +lean_dec(x_249); +lean_dec(x_246); +lean_dec(x_235); +lean_dec(x_18); +x_253 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_253, 0, x_238); +lean_ctor_set(x_253, 1, x_227); +lean_ctor_set(x_28, 1, x_253); +lean_ctor_set(x_28, 0, x_248); +x_254 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_254, 0, x_8); +x_19 = x_254; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + lean_ctor_release(x_32, 2); + x_255 = x_32; +} else { + lean_dec_ref(x_32); + x_255 = lean_box(0); +} +x_256 = lean_nat_add(x_249, x_251); +if (lean_is_scalar(x_255)) { + x_257 = lean_alloc_ctor(0, 3, 0); +} else { + x_257 = x_255; +} +lean_ctor_set(x_257, 0, x_256); +lean_ctor_set(x_257, 1, x_250); +lean_ctor_set(x_257, 2, x_251); +x_258 = lean_ctor_get(x_235, 1); +lean_inc(x_258); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_259 = lean_infer_type(x_258, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_259) == 0) +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_260 = lean_ctor_get(x_259, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_259, 1); +lean_inc(x_261); +lean_dec(x_259); +x_262 = lean_ctor_get(x_2, 1); +x_263 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_264 = lean_array_get(x_263, x_262, x_249); +lean_dec(x_249); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_3); +x_265 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_264, x_260, x_3, x_11, x_12, x_13, x_14, x_261); +if (lean_obj_tag(x_265) == 0) +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; lean_object* x_271; +x_266 = lean_ctor_get(x_265, 0); +lean_inc(x_266); +x_267 = lean_ctor_get(x_265, 1); +lean_inc(x_267); +lean_dec(x_265); +lean_inc(x_246); +x_268 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_268, 0, x_246); +lean_inc(x_266); +x_269 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed), 13, 4); +lean_closure_set(x_269, 0, x_246); +lean_closure_set(x_269, 1, x_235); +lean_closure_set(x_269, 2, x_18); +lean_closure_set(x_269, 3, x_266); +x_270 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_271 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_266, x_268, x_269, x_270, x_9, x_10, x_11, x_12, x_13, x_14, x_267); +if (lean_obj_tag(x_271) == 0) +{ +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_272 = lean_ctor_get(x_271, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_271, 1); +lean_inc(x_273); +lean_dec(x_271); +x_274 = lean_array_push(x_227, x_272); +x_275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_275, 0, x_238); +lean_ctor_set(x_275, 1, x_274); +lean_ctor_set(x_28, 1, x_275); +lean_ctor_set(x_28, 0, x_248); +lean_ctor_set(x_8, 0, x_257); +x_276 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_276, 0, x_8); +x_19 = x_276; +x_20 = x_273; +goto block_27; +} +else +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +lean_dec(x_257); +lean_dec(x_248); +lean_dec(x_238); +lean_dec(x_227); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_3); +x_277 = lean_ctor_get(x_271, 0); +lean_inc(x_277); +x_278 = lean_ctor_get(x_271, 1); +lean_inc(x_278); +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + x_279 = x_271; +} else { + lean_dec_ref(x_271); + x_279 = lean_box(0); +} +if (lean_is_scalar(x_279)) { + x_280 = lean_alloc_ctor(1, 2, 0); +} else { + x_280 = x_279; +} +lean_ctor_set(x_280, 0, x_277); +lean_ctor_set(x_280, 1, x_278); +return x_280; +} +} +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +lean_dec(x_257); +lean_dec(x_248); +lean_dec(x_246); +lean_dec(x_238); +lean_dec(x_235); +lean_dec(x_227); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_281 = lean_ctor_get(x_265, 0); +lean_inc(x_281); +x_282 = lean_ctor_get(x_265, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_283 = x_265; +} else { + lean_dec_ref(x_265); + x_283 = lean_box(0); +} +if (lean_is_scalar(x_283)) { + x_284 = lean_alloc_ctor(1, 2, 0); +} else { + x_284 = x_283; +} +lean_ctor_set(x_284, 0, x_281); +lean_ctor_set(x_284, 1, x_282); +return x_284; +} +} +else +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +lean_dec(x_257); +lean_dec(x_249); +lean_dec(x_248); +lean_dec(x_246); +lean_dec(x_238); +lean_dec(x_235); +lean_dec(x_227); +lean_free_object(x_28); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_285 = lean_ctor_get(x_259, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_259, 1); +lean_inc(x_286); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_287 = x_259; +} else { + lean_dec_ref(x_259); + x_287 = lean_box(0); +} +if (lean_is_scalar(x_287)) { + x_288 = lean_alloc_ctor(1, 2, 0); +} else { + x_288 = x_287; +} +lean_ctor_set(x_288, 0, x_285); +lean_ctor_set(x_288, 1, x_286); +return x_288; +} +} +} +} +} +} +else +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; +x_289 = lean_ctor_get(x_28, 0); +lean_inc(x_289); +lean_dec(x_28); +x_290 = lean_ctor_get(x_29, 1); +lean_inc(x_290); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_291 = x_29; +} else { + lean_dec_ref(x_29); + x_291 = lean_box(0); +} +x_292 = lean_ctor_get(x_30, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_30, 1); +lean_inc(x_293); +x_294 = lean_ctor_get(x_30, 2); +lean_inc(x_294); +x_295 = lean_nat_dec_lt(x_293, x_294); +if (x_295 == 0) +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; +lean_dec(x_294); +lean_dec(x_293); +lean_dec(x_292); +lean_dec(x_18); +if (lean_is_scalar(x_291)) { + x_296 = lean_alloc_ctor(0, 2, 0); +} else { + x_296 = x_291; +} +lean_ctor_set(x_296, 0, x_30); +lean_ctor_set(x_296, 1, x_290); +x_297 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_297, 0, x_289); +lean_ctor_set(x_297, 1, x_296); +lean_ctor_set(x_8, 1, x_297); +x_298 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_298, 0, x_8); +x_19 = x_298; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + lean_ctor_release(x_30, 2); + x_299 = x_30; +} else { + lean_dec_ref(x_30); + x_299 = lean_box(0); +} +x_300 = lean_array_fget(x_292, x_293); +x_301 = lean_unsigned_to_nat(1u); +x_302 = lean_nat_add(x_293, x_301); +lean_dec(x_293); +if (lean_is_scalar(x_299)) { + x_303 = lean_alloc_ctor(0, 3, 0); +} else { + x_303 = x_299; +} +lean_ctor_set(x_303, 0, x_292); +lean_ctor_set(x_303, 1, x_302); +lean_ctor_set(x_303, 2, x_294); +x_304 = lean_ctor_get(x_289, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_289, 1); +lean_inc(x_305); +x_306 = lean_ctor_get(x_289, 2); +lean_inc(x_306); +x_307 = lean_nat_dec_lt(x_305, x_306); +if (x_307 == 0) +{ +lean_object* x_308; lean_object* x_309; lean_object* x_310; +lean_dec(x_306); +lean_dec(x_305); +lean_dec(x_304); +lean_dec(x_300); +lean_dec(x_18); +if (lean_is_scalar(x_291)) { + x_308 = lean_alloc_ctor(0, 2, 0); +} else { + x_308 = x_291; +} +lean_ctor_set(x_308, 0, x_303); +lean_ctor_set(x_308, 1, x_290); +x_309 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_309, 0, x_289); +lean_ctor_set(x_309, 1, x_308); +lean_ctor_set(x_8, 1, x_309); +x_310 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_310, 0, x_8); +x_19 = x_310; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; +if (lean_is_exclusive(x_289)) { + lean_ctor_release(x_289, 0); + lean_ctor_release(x_289, 1); + lean_ctor_release(x_289, 2); + x_311 = x_289; +} else { + lean_dec_ref(x_289); + x_311 = lean_box(0); +} +x_312 = lean_array_fget(x_304, x_305); +x_313 = lean_nat_add(x_305, x_301); +lean_dec(x_305); +if (lean_is_scalar(x_311)) { + x_314 = lean_alloc_ctor(0, 3, 0); +} else { + x_314 = x_311; +} +lean_ctor_set(x_314, 0, x_304); +lean_ctor_set(x_314, 1, x_313); +lean_ctor_set(x_314, 2, x_306); +x_315 = lean_ctor_get(x_32, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_32, 1); +lean_inc(x_316); +x_317 = lean_ctor_get(x_32, 2); +lean_inc(x_317); +x_318 = lean_nat_dec_lt(x_315, x_316); +if (x_318 == 0) +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; +lean_dec(x_317); +lean_dec(x_316); +lean_dec(x_315); +lean_dec(x_312); +lean_dec(x_300); +lean_dec(x_18); +if (lean_is_scalar(x_291)) { + x_319 = lean_alloc_ctor(0, 2, 0); +} else { + x_319 = x_291; +} +lean_ctor_set(x_319, 0, x_303); +lean_ctor_set(x_319, 1, x_290); +x_320 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_320, 0, x_314); +lean_ctor_set(x_320, 1, x_319); +lean_ctor_set(x_8, 1, x_320); +x_321 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_321, 0, x_8); +x_19 = x_321; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + lean_ctor_release(x_32, 2); + x_322 = x_32; +} else { + lean_dec_ref(x_32); + x_322 = lean_box(0); +} +x_323 = lean_nat_add(x_315, x_317); +if (lean_is_scalar(x_322)) { + x_324 = lean_alloc_ctor(0, 3, 0); +} else { + x_324 = x_322; +} +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_316); +lean_ctor_set(x_324, 2, x_317); +x_325 = lean_ctor_get(x_300, 1); +lean_inc(x_325); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_326 = lean_infer_type(x_325, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_326) == 0) +{ +lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_327 = lean_ctor_get(x_326, 0); +lean_inc(x_327); +x_328 = lean_ctor_get(x_326, 1); +lean_inc(x_328); +lean_dec(x_326); +x_329 = lean_ctor_get(x_2, 1); +x_330 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_331 = lean_array_get(x_330, x_329, x_315); +lean_dec(x_315); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_3); +x_332 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_331, x_327, x_3, x_11, x_12, x_13, x_14, x_328); +if (lean_obj_tag(x_332) == 0) +{ +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; lean_object* x_338; +x_333 = lean_ctor_get(x_332, 0); +lean_inc(x_333); +x_334 = lean_ctor_get(x_332, 1); +lean_inc(x_334); +lean_dec(x_332); +lean_inc(x_312); +x_335 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_335, 0, x_312); +lean_inc(x_333); +x_336 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed), 13, 4); +lean_closure_set(x_336, 0, x_312); +lean_closure_set(x_336, 1, x_300); +lean_closure_set(x_336, 2, x_18); +lean_closure_set(x_336, 3, x_333); +x_337 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_338 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_333, x_335, x_336, x_337, x_9, x_10, x_11, x_12, x_13, x_14, x_334); +if (lean_obj_tag(x_338) == 0) +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; +x_339 = lean_ctor_get(x_338, 0); +lean_inc(x_339); +x_340 = lean_ctor_get(x_338, 1); +lean_inc(x_340); +lean_dec(x_338); +x_341 = lean_array_push(x_290, x_339); +if (lean_is_scalar(x_291)) { + x_342 = lean_alloc_ctor(0, 2, 0); +} else { + x_342 = x_291; +} +lean_ctor_set(x_342, 0, x_303); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_343, 0, x_314); +lean_ctor_set(x_343, 1, x_342); +lean_ctor_set(x_8, 1, x_343); +lean_ctor_set(x_8, 0, x_324); +x_344 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_344, 0, x_8); +x_19 = x_344; +x_20 = x_340; +goto block_27; +} +else +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +lean_dec(x_324); +lean_dec(x_314); +lean_dec(x_303); +lean_dec(x_291); +lean_dec(x_290); +lean_free_object(x_8); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_345 = lean_ctor_get(x_338, 0); +lean_inc(x_345); +x_346 = lean_ctor_get(x_338, 1); +lean_inc(x_346); +if (lean_is_exclusive(x_338)) { + lean_ctor_release(x_338, 0); + lean_ctor_release(x_338, 1); + x_347 = x_338; +} else { + lean_dec_ref(x_338); + x_347 = lean_box(0); +} +if (lean_is_scalar(x_347)) { + x_348 = lean_alloc_ctor(1, 2, 0); +} else { + x_348 = x_347; +} +lean_ctor_set(x_348, 0, x_345); +lean_ctor_set(x_348, 1, x_346); +return x_348; +} +} +else +{ +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; +lean_dec(x_324); +lean_dec(x_314); +lean_dec(x_312); +lean_dec(x_303); +lean_dec(x_300); +lean_dec(x_291); +lean_dec(x_290); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_349 = lean_ctor_get(x_332, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_332, 1); +lean_inc(x_350); +if (lean_is_exclusive(x_332)) { + lean_ctor_release(x_332, 0); + lean_ctor_release(x_332, 1); + x_351 = x_332; +} else { + lean_dec_ref(x_332); + x_351 = lean_box(0); +} +if (lean_is_scalar(x_351)) { + x_352 = lean_alloc_ctor(1, 2, 0); +} else { + x_352 = x_351; +} +lean_ctor_set(x_352, 0, x_349); +lean_ctor_set(x_352, 1, x_350); +return x_352; +} +} +else +{ +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +lean_dec(x_324); +lean_dec(x_315); +lean_dec(x_314); +lean_dec(x_312); +lean_dec(x_303); +lean_dec(x_300); +lean_dec(x_291); +lean_dec(x_290); +lean_free_object(x_8); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_353 = lean_ctor_get(x_326, 0); +lean_inc(x_353); +x_354 = lean_ctor_get(x_326, 1); +lean_inc(x_354); +if (lean_is_exclusive(x_326)) { + lean_ctor_release(x_326, 0); + lean_ctor_release(x_326, 1); + x_355 = x_326; +} else { + lean_dec_ref(x_326); + x_355 = lean_box(0); +} +if (lean_is_scalar(x_355)) { + x_356 = lean_alloc_ctor(1, 2, 0); +} else { + x_356 = x_355; +} +lean_ctor_set(x_356, 0, x_353); +lean_ctor_set(x_356, 1, x_354); +return x_356; +} +} +} +} +} +} +else +{ +lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; +x_357 = lean_ctor_get(x_8, 0); +lean_inc(x_357); lean_dec(x_8); -lean_dec(x_2); -x_227 = lean_ctor_get(x_208, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_208, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - lean_ctor_release(x_208, 1); - x_229 = x_208; +x_358 = lean_ctor_get(x_28, 0); +lean_inc(x_358); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_359 = x_28; } else { - lean_dec_ref(x_208); - x_229 = lean_box(0); + lean_dec_ref(x_28); + x_359 = lean_box(0); } -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(1, 2, 0); +x_360 = lean_ctor_get(x_29, 1); +lean_inc(x_360); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_361 = x_29; } else { - x_230 = x_229; + lean_dec_ref(x_29); + x_361 = lean_box(0); } -lean_ctor_set(x_230, 0, x_227); -lean_ctor_set(x_230, 1, x_228); -return x_230; +x_362 = lean_ctor_get(x_30, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_30, 1); +lean_inc(x_363); +x_364 = lean_ctor_get(x_30, 2); +lean_inc(x_364); +x_365 = lean_nat_dec_lt(x_363, x_364); +if (x_365 == 0) +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; +lean_dec(x_364); +lean_dec(x_363); +lean_dec(x_362); +lean_dec(x_18); +if (lean_is_scalar(x_361)) { + x_366 = lean_alloc_ctor(0, 2, 0); +} else { + x_366 = x_361; +} +lean_ctor_set(x_366, 0, x_30); +lean_ctor_set(x_366, 1, x_360); +if (lean_is_scalar(x_359)) { + x_367 = lean_alloc_ctor(0, 2, 0); +} else { + x_367 = x_359; +} +lean_ctor_set(x_367, 0, x_358); +lean_ctor_set(x_367, 1, x_366); +x_368 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_368, 0, x_357); +lean_ctor_set(x_368, 1, x_367); +x_369 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_369, 0, x_368); +x_19 = x_369; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + lean_ctor_release(x_30, 2); + x_370 = x_30; +} else { + lean_dec_ref(x_30); + x_370 = lean_box(0); +} +x_371 = lean_array_fget(x_362, x_363); +x_372 = lean_unsigned_to_nat(1u); +x_373 = lean_nat_add(x_363, x_372); +lean_dec(x_363); +if (lean_is_scalar(x_370)) { + x_374 = lean_alloc_ctor(0, 3, 0); +} else { + x_374 = x_370; +} +lean_ctor_set(x_374, 0, x_362); +lean_ctor_set(x_374, 1, x_373); +lean_ctor_set(x_374, 2, x_364); +x_375 = lean_ctor_get(x_358, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_358, 1); +lean_inc(x_376); +x_377 = lean_ctor_get(x_358, 2); +lean_inc(x_377); +x_378 = lean_nat_dec_lt(x_376, x_377); +if (x_378 == 0) +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; +lean_dec(x_377); +lean_dec(x_376); +lean_dec(x_375); +lean_dec(x_371); +lean_dec(x_18); +if (lean_is_scalar(x_361)) { + x_379 = lean_alloc_ctor(0, 2, 0); +} else { + x_379 = x_361; +} +lean_ctor_set(x_379, 0, x_374); +lean_ctor_set(x_379, 1, x_360); +if (lean_is_scalar(x_359)) { + x_380 = lean_alloc_ctor(0, 2, 0); +} else { + x_380 = x_359; +} +lean_ctor_set(x_380, 0, x_358); +lean_ctor_set(x_380, 1, x_379); +x_381 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_381, 0, x_357); +lean_ctor_set(x_381, 1, x_380); +x_382 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_382, 0, x_381); +x_19 = x_382; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; uint8_t x_390; +if (lean_is_exclusive(x_358)) { + lean_ctor_release(x_358, 0); + lean_ctor_release(x_358, 1); + lean_ctor_release(x_358, 2); + x_383 = x_358; +} else { + lean_dec_ref(x_358); + x_383 = lean_box(0); +} +x_384 = lean_array_fget(x_375, x_376); +x_385 = lean_nat_add(x_376, x_372); +lean_dec(x_376); +if (lean_is_scalar(x_383)) { + x_386 = lean_alloc_ctor(0, 3, 0); +} else { + x_386 = x_383; +} +lean_ctor_set(x_386, 0, x_375); +lean_ctor_set(x_386, 1, x_385); +lean_ctor_set(x_386, 2, x_377); +x_387 = lean_ctor_get(x_357, 0); +lean_inc(x_387); +x_388 = lean_ctor_get(x_357, 1); +lean_inc(x_388); +x_389 = lean_ctor_get(x_357, 2); +lean_inc(x_389); +x_390 = lean_nat_dec_lt(x_387, x_388); +if (x_390 == 0) +{ +lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; +lean_dec(x_389); +lean_dec(x_388); +lean_dec(x_387); +lean_dec(x_384); +lean_dec(x_371); +lean_dec(x_18); +if (lean_is_scalar(x_361)) { + x_391 = lean_alloc_ctor(0, 2, 0); +} else { + x_391 = x_361; +} +lean_ctor_set(x_391, 0, x_374); +lean_ctor_set(x_391, 1, x_360); +if (lean_is_scalar(x_359)) { + x_392 = lean_alloc_ctor(0, 2, 0); +} else { + x_392 = x_359; +} +lean_ctor_set(x_392, 0, x_386); +lean_ctor_set(x_392, 1, x_391); +x_393 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_393, 0, x_357); +lean_ctor_set(x_393, 1, x_392); +x_394 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_394, 0, x_393); +x_19 = x_394; +x_20 = x_15; +goto block_27; +} +else +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + lean_ctor_release(x_357, 1); + lean_ctor_release(x_357, 2); + x_395 = x_357; +} else { + lean_dec_ref(x_357); + x_395 = lean_box(0); +} +x_396 = lean_nat_add(x_387, x_389); +if (lean_is_scalar(x_395)) { + x_397 = lean_alloc_ctor(0, 3, 0); +} else { + x_397 = x_395; +} +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_388); +lean_ctor_set(x_397, 2, x_389); +x_398 = lean_ctor_get(x_371, 1); +lean_inc(x_398); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_399 = lean_infer_type(x_398, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_399) == 0) +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; +x_400 = lean_ctor_get(x_399, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +lean_dec(x_399); +x_402 = lean_ctor_get(x_2, 1); +x_403 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_404 = lean_array_get(x_403, x_402, x_387); +lean_dec(x_387); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_3); +x_405 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_404, x_400, x_3, x_11, x_12, x_13, x_14, x_401); +if (lean_obj_tag(x_405) == 0) +{ +lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; lean_object* x_411; +x_406 = lean_ctor_get(x_405, 0); +lean_inc(x_406); +x_407 = lean_ctor_get(x_405, 1); +lean_inc(x_407); +lean_dec(x_405); +lean_inc(x_384); +x_408 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_408, 0, x_384); +lean_inc(x_406); +x_409 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed), 13, 4); +lean_closure_set(x_409, 0, x_384); +lean_closure_set(x_409, 1, x_371); +lean_closure_set(x_409, 2, x_18); +lean_closure_set(x_409, 3, x_406); +x_410 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_411 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_406, x_408, x_409, x_410, x_9, x_10, x_11, x_12, x_13, x_14, x_407); +if (lean_obj_tag(x_411) == 0) +{ +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; +x_412 = lean_ctor_get(x_411, 0); +lean_inc(x_412); +x_413 = lean_ctor_get(x_411, 1); +lean_inc(x_413); +lean_dec(x_411); +x_414 = lean_array_push(x_360, x_412); +if (lean_is_scalar(x_361)) { + x_415 = lean_alloc_ctor(0, 2, 0); +} else { + x_415 = x_361; +} +lean_ctor_set(x_415, 0, x_374); +lean_ctor_set(x_415, 1, x_414); +if (lean_is_scalar(x_359)) { + x_416 = lean_alloc_ctor(0, 2, 0); +} else { + x_416 = x_359; +} +lean_ctor_set(x_416, 0, x_386); +lean_ctor_set(x_416, 1, x_415); +x_417 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_417, 0, x_397); +lean_ctor_set(x_417, 1, x_416); +x_418 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_418, 0, x_417); +x_19 = x_418; +x_20 = x_413; +goto block_27; +} +else +{ +lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; +lean_dec(x_397); +lean_dec(x_386); +lean_dec(x_374); +lean_dec(x_361); +lean_dec(x_360); +lean_dec(x_359); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_419 = lean_ctor_get(x_411, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_411, 1); +lean_inc(x_420); +if (lean_is_exclusive(x_411)) { + lean_ctor_release(x_411, 0); + lean_ctor_release(x_411, 1); + x_421 = x_411; +} else { + lean_dec_ref(x_411); + x_421 = lean_box(0); +} +if (lean_is_scalar(x_421)) { + x_422 = lean_alloc_ctor(1, 2, 0); +} else { + x_422 = x_421; +} +lean_ctor_set(x_422, 0, x_419); +lean_ctor_set(x_422, 1, x_420); +return x_422; +} +} +else +{ +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; +lean_dec(x_397); +lean_dec(x_386); +lean_dec(x_384); +lean_dec(x_374); +lean_dec(x_371); +lean_dec(x_361); +lean_dec(x_360); +lean_dec(x_359); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_423 = lean_ctor_get(x_405, 0); +lean_inc(x_423); +x_424 = lean_ctor_get(x_405, 1); +lean_inc(x_424); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + x_425 = x_405; +} else { + lean_dec_ref(x_405); + x_425 = lean_box(0); +} +if (lean_is_scalar(x_425)) { + x_426 = lean_alloc_ctor(1, 2, 0); +} else { + x_426 = x_425; +} +lean_ctor_set(x_426, 0, x_423); +lean_ctor_set(x_426, 1, x_424); +return x_426; +} +} +else +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; +lean_dec(x_397); +lean_dec(x_387); +lean_dec(x_386); +lean_dec(x_384); +lean_dec(x_374); +lean_dec(x_371); +lean_dec(x_361); +lean_dec(x_360); +lean_dec(x_359); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_427 = lean_ctor_get(x_399, 0); +lean_inc(x_427); +x_428 = lean_ctor_get(x_399, 1); +lean_inc(x_428); +if (lean_is_exclusive(x_399)) { + lean_ctor_release(x_399, 0); + lean_ctor_release(x_399, 1); + x_429 = x_399; +} else { + lean_dec_ref(x_399); + x_429 = lean_box(0); +} +if (lean_is_scalar(x_429)) { + x_430 = lean_alloc_ctor(1, 2, 0); +} else { + x_430 = x_429; +} +lean_ctor_set(x_430, 0, x_427); +lean_ctor_set(x_430, 1, x_428); +return x_430; } } } } } +block_27: +{ +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +else +{ +lean_object* x_23; size_t x_24; size_t x_25; +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +lean_dec(x_19); +x_24 = 1; +x_25 = lean_usize_add(x_7, x_24); +x_7 = x_25; +x_8 = x_23; +x_15 = x_20; +goto _start; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1() { +} +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__1() { _start: { lean_object* x_1; @@ -1540,16 +2842,16 @@ x_1 = lean_mk_string_unchecked("The termination measures of mutually recursive f return x_1; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__2() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__3() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__3() { _start: { lean_object* x_1; @@ -1557,16 +2859,16 @@ x_1 = lean_mk_string_unchecked("must have the same return type, but the terminat return x_1; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__4() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__3; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__5() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__5() { _start: { lean_object* x_1; @@ -1574,16 +2876,16 @@ x_1 = lean_mk_string_unchecked(" has type", 9, 9); return x_1; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__6() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__5; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__7() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__7() { _start: { lean_object* x_1; @@ -1591,16 +2893,16 @@ x_1 = lean_mk_string_unchecked("", 0, 0); return x_1; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__8() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__7; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__9() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__9() { _start: { lean_object* x_1; @@ -1608,16 +2910,16 @@ x_1 = lean_mk_string_unchecked("while the termination measure of ", 33, 33); return x_1; } } -static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__10() { +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__9; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___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, 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; uint8_t x_18; @@ -1672,24 +2974,24 @@ x_28 = l_Lean_instInhabitedName; x_29 = lean_unsigned_to_nat(0u); x_30 = lean_array_get(x_28, x_1, x_29); x_31 = l_Lean_MessageData_ofName(x_30); -x_32 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__4; +x_32 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__4; x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); -x_34 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__6; +x_34 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__6; x_35 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__2; +x_36 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__2; x_37 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = l_Lean_indentExpr(x_4); -x_39 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__8; +x_39 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__8; x_40 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); -x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__8; +x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__14; x_42 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); @@ -1699,7 +3001,7 @@ lean_ctor_set(x_43, 1, x_42); x_44 = lean_array_get(x_28, x_1, x_7); lean_dec(x_7); x_45 = l_Lean_MessageData_ofName(x_44); -x_46 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__10; +x_46 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__10; x_47 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); @@ -1716,7 +3018,7 @@ lean_ctor_set(x_51, 1, x_41); x_52 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_52, 0, x_43); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__11; +x_53 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__17; x_54 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); @@ -1805,142 +3107,153 @@ x_2 = lean_array_mk(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_checkCodomains(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_WF_checkCodomains(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_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; size_t x_21; size_t x_22; lean_object* x_23; -x_12 = lean_array_get_size(x_3); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_toSubarray___rarg(x_3, x_13, x_12); -x_15 = lean_array_get_size(x_4); -lean_inc(x_4); -x_16 = l_Array_toSubarray___rarg(x_4, x_13, x_15); -x_17 = lean_box(0); -x_18 = l_Lean_Elab_WF_checkCodomains___closed__1; -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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_14); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_array_size(x_1); -x_22 = 0; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_13 = lean_array_get_size(x_1); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_13); +lean_ctor_set(x_16, 2, x_15); +x_17 = lean_array_get_size(x_4); +x_18 = l_Array_toSubarray___rarg(x_4, x_14, x_17); +x_19 = lean_array_get_size(x_5); +lean_inc(x_5); +x_20 = l_Array_toSubarray___rarg(x_5, x_14, x_19); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_WF_checkCodomains___closed__1; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_array_size(x_1); +x_27 = 0; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3(x_1, x_2, x_17, x_1, x_21, x_22, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_23) == 0) +x_28 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4(x_1, x_2, x_3, x_21, x_1, x_26, x_27, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_28) == 0) { -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_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_instInhabitedExpr; -x_29 = lean_array_get(x_28, x_27, x_13); -x_30 = lean_array_get_size(x_27); -x_31 = lean_unsigned_to_nat(1u); -x_32 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -lean_ctor_set(x_32, 2, x_31); -x_33 = lean_box(0); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -x_34 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4(x_1, x_4, x_27, x_29, x_32, x_33, x_31, lean_box(0), lean_box(0), x_5, x_6, x_7, x_8, x_9, x_10, x_26); -lean_dec(x_6); -lean_dec(x_32); -lean_dec(x_27); -lean_dec(x_4); -if (lean_obj_tag(x_34) == 0) -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -lean_ctor_set(x_34, 0, x_29); -return x_34; -} -else -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -lean_dec(x_34); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_29); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -else -{ -uint8_t x_39; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); lean_dec(x_29); -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_32); +lean_dec(x_28); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_instInhabitedExpr; +x_35 = lean_array_get(x_34, x_33, x_14); +x_36 = lean_array_get_size(x_33); +x_37 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_37, 0, x_15); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_15); +x_38 = lean_box(0); +lean_inc(x_35); +x_39 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5(x_1, x_5, x_33, x_35, x_37, x_38, x_15, lean_box(0), lean_box(0), x_6, x_7, x_8, x_9, x_10, x_11, x_32); +lean_dec(x_7); +lean_dec(x_37); +lean_dec(x_33); +lean_dec(x_5); +if (lean_obj_tag(x_39) == 0) { -return x_34; +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_39, 0); +lean_dec(x_41); +lean_ctor_set(x_39, 0, x_35); +return x_39; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_34, 0); -x_41 = lean_ctor_get(x_34, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_34); -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_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = lean_alloc_ctor(0, 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; +lean_dec(x_35); +x_44 = !lean_is_exclusive(x_39); +if (x_44 == 0) +{ +return x_39; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_39, 0); +x_46 = lean_ctor_get(x_39, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_39); +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; } } } else { -uint8_t x_43; +uint8_t x_48; +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); -x_43 = !lean_is_exclusive(x_23); -if (x_43 == 0) +x_48 = !lean_is_exclusive(x_28); +if (x_48 == 0) { -return x_23; +return x_28; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_23, 0); -x_45 = lean_ctor_get(x_23, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_23); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_28, 0); +x_50 = lean_ctor_get(x_28, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_28); +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; } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___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; @@ -1948,26 +3261,26 @@ 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_WF_checkCodomains___spec__1(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_checkCodomains___spec__2(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__2(x_1, x_2); +x_3 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_checkCodomains___spec__3(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_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___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) { _start: { lean_object* x_10; -x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__1(x_1, 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); @@ -1978,39 +3291,37 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_14; +x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_2); lean_dec(x_1); -return x_13; +return x_14; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_5); -lean_dec(x_5); +size_t x_16; size_t x_17; lean_object* x_18; x_16 = lean_unbox_usize(x_6); lean_dec(x_6); -x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_17; +return x_18; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___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, 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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_17 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_11); lean_dec(x_5); lean_dec(x_3); @@ -2019,42 +3330,104 @@ lean_dec(x_1); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_checkCodomains___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_WF_checkCodomains___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_Elab_WF_checkCodomains(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; +x_13 = l_Lean_Elab_WF_checkCodomains(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_2); lean_dec(x_1); -return x_12; +return x_13; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_elabWFRel___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) +lean_object* x_16; uint8_t x_17; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_5, x_16); +if (x_17 == 0) { -lean_dec(x_1); -return x_4; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_5, x_18); +lean_dec(x_5); +x_20 = lean_array_fget(x_4, x_6); +x_21 = lean_ctor_get(x_1, 1); +x_22 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1; +x_23 = lean_array_get(x_22, x_21, x_6); +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_2); +x_25 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_23, x_24, x_2, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +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 = lean_nat_add(x_6, x_18); +lean_dec(x_6); +x_29 = lean_array_push(x_8, x_26); +x_5 = x_19; +x_6 = x_28; +x_7 = lean_box(0); +x_8 = x_29; +x_15 = x_27; +goto _start; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; -x_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 = lean_ctor_get(x_6, 1); -lean_inc(x_9); +uint8_t x_31; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); lean_dec(x_6); -lean_inc(x_1); -x_10 = l_Lean_Expr_beta(x_9, x_1); -x_11 = 1; -x_12 = lean_usize_add(x_3, x_11); -x_13 = lean_array_uset(x_8, x_3, x_10); -x_3 = x_12; -x_4 = x_13; -goto _start; +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +return x_25; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_25); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_8); +lean_ctor_set(x_35, 1, x_15); +return x_35; } } } @@ -2094,175 +3467,155 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; +lean_object* x_15; +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); lean_inc(x_1); -x_14 = l_Lean_Meta_getLevel(x_1, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Meta_getLevel(x_1, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +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); -lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); lean_inc(x_2); -x_17 = l_Lean_Meta_ArgsPacker_arities(x_2); +x_18 = l_Lean_Meta_ArgsPacker_arities(x_2); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_18 = l_Lean_Elab_WF_checkCodomains(x_3, x_4, x_17, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -if (lean_obj_tag(x_18) == 0) +x_19 = l_Lean_Elab_WF_checkCodomains(x_3, x_4, x_5, x_18, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_19); -x_21 = l_Lean_Meta_getLevel(x_19, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; -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_array_size(x_5); -x_25 = 0; -x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel___spec__1(x_4, x_24, x_25, x_5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_27 = l_Lean_Meta_ArgsPacker_uncurryND(x_2, x_26, x_9, x_10, x_11, x_12, x_23); -lean_dec(x_26); -lean_dec(x_2); -if (lean_obj_tag(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; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_box(0); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__2; -lean_inc(x_31); -x_33 = l_Lean_Expr_const___override(x_32, x_31); -lean_inc(x_19); -x_34 = l_Lean_Expr_app___override(x_33, x_19); -x_35 = lean_box(0); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_36 = l_Lean_Meta_synthInstance(x_34, x_35, x_9, x_10, x_11, x_12, x_29); -if (lean_obj_tag(x_36) == 0) -{ -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_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_15); -lean_ctor_set(x_39, 1, x_31); -x_40 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__4; -x_41 = l_Lean_Expr_const___override(x_40, x_39); -x_42 = l_Lean_mkApp4(x_41, x_1, x_19, x_28, x_37); -x_43 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_42, x_7, x_8, x_9, x_10, x_11, x_12, x_38); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_apply_8(x_6, x_44, x_7, x_8, x_9, x_10, x_11, x_12, x_45); -return x_46; -} -else -{ -uint8_t x_47; -lean_dec(x_31); -lean_dec(x_28); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); lean_dec(x_19); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_20); +x_22 = l_Lean_Meta_getLevel(x_20, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_array_get_size(x_6); +x_26 = lean_mk_empty_array_with_capacity(x_25); +x_27 = lean_unsigned_to_nat(0u); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_28 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_elabWFRel___spec__1(x_4, x_5, x_6, x_6, x_25, x_27, lean_box(0), x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_24); lean_dec(x_6); -lean_dec(x_1); -x_47 = !lean_is_exclusive(x_36); -if (x_47 == 0) +if (lean_obj_tag(x_28) == 0) { -return x_36; -} -else +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_31 = l_Lean_Meta_ArgsPacker_uncurryND(x_2, x_29, x_10, x_11, x_12, x_13, x_30); +lean_dec(x_29); +lean_dec(x_2); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_36, 0); -x_49 = lean_ctor_get(x_36, 1); -lean_inc(x_49); +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_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_23); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__2; +lean_inc(x_35); +x_37 = l_Lean_Expr_const___override(x_36, x_35); +lean_inc(x_20); +x_38 = l_Lean_Expr_app___override(x_37, x_20); +x_39 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_40 = l_Lean_Meta_synthInstance(x_38, x_39, x_10, x_11, x_12, x_13, x_33); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_16); +lean_ctor_set(x_43, 1, x_35); +x_44 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__4; +x_45 = l_Lean_Expr_const___override(x_44, x_43); +x_46 = l_Lean_mkApp4(x_45, x_1, x_20, x_32, x_41); +x_47 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_46, x_8, x_9, x_10, x_11, x_12, x_13, x_42); +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_dec(x_36); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_apply_8(x_7, x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_49); return x_50; } -} -} else { uint8_t x_51; -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_15); +lean_dec(x_35); +lean_dec(x_32); +lean_dec(x_20); +lean_dec(x_16); +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_1); -x_51 = !lean_is_exclusive(x_27); +x_51 = !lean_is_exclusive(x_40); if (x_51 == 0) { -return x_27; +return x_40; } else { lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_27, 0); -x_53 = lean_ctor_get(x_27, 1); +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_dec(x_27); +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); @@ -2273,32 +3626,30 @@ return x_54; else { uint8_t x_55; -lean_dec(x_19); -lean_dec(x_15); +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_16); +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_2); lean_dec(x_1); -x_55 = !lean_is_exclusive(x_21); +x_55 = !lean_is_exclusive(x_31); if (x_55 == 0) { -return x_21; +return x_31; } else { lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_21, 0); -x_57 = lean_ctor_get(x_21, 1); +x_56 = lean_ctor_get(x_31, 0); +x_57 = lean_ctor_get(x_31, 1); lean_inc(x_57); lean_inc(x_56); -lean_dec(x_21); +lean_dec(x_31); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); @@ -2309,31 +3660,31 @@ return x_58; else { uint8_t x_59; -lean_dec(x_15); +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_16); +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_2); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_18); +x_59 = !lean_is_exclusive(x_28); if (x_59 == 0) { -return x_18; +return x_28; } else { lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_18, 0); -x_61 = lean_ctor_get(x_18, 1); +x_60 = lean_ctor_get(x_28, 0); +x_61 = lean_ctor_get(x_28, 1); lean_inc(x_61); lean_inc(x_60); -lean_dec(x_18); +lean_dec(x_28); x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_60); lean_ctor_set(x_62, 1, x_61); @@ -2344,6 +3695,9 @@ return x_62; else { uint8_t x_63; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -2352,22 +3706,21 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_63 = !lean_is_exclusive(x_14); +x_63 = !lean_is_exclusive(x_22); if (x_63 == 0) { -return x_14; +return x_22; } else { lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_14, 0); -x_65 = lean_ctor_get(x_14, 1); +x_64 = lean_ctor_get(x_22, 0); +x_65 = lean_ctor_get(x_22, 1); lean_inc(x_65); lean_inc(x_64); -lean_dec(x_14); +lean_dec(x_22); x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); @@ -2375,49 +3728,121 @@ return x_66; } } } +else +{ +uint8_t x_67; +lean_dec(x_16); +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_2); +lean_dec(x_1); +x_67 = !lean_is_exclusive(x_19); +if (x_67 == 0) +{ +return x_19; } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___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, 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) { +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_19, 0); +x_69 = lean_ctor_get(x_19, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_19); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; +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_2); +lean_dec(x_1); +x_71 = !lean_is_exclusive(x_15); +if (x_71 == 0) +{ +return x_15; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_15, 0); +x_73 = lean_ctor_get(x_15, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_15); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___boxed), 13, 6); -lean_closure_set(x_15, 0, x_5); -lean_closure_set(x_15, 1, x_4); -lean_closure_set(x_15, 2, x_1); -lean_closure_set(x_15, 3, x_3); -lean_closure_set(x_15, 4, x_6); -lean_closure_set(x_15, 5, x_7); -x_16 = l_Lean_Elab_Term_withDeclName___rarg(x_2, x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +lean_object* x_16; lean_object* x_17; +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___boxed), 14, 7); +lean_closure_set(x_16, 0, x_6); +lean_closure_set(x_16, 1, x_5); +lean_closure_set(x_16, 2, x_1); +lean_closure_set(x_16, 3, x_3); +lean_closure_set(x_16, 4, x_4); +lean_closure_set(x_16, 5, x_7); +lean_closure_set(x_16, 6, x_8); +x_17 = l_Lean_Elab_Term_withDeclName___rarg(x_2, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg), 14, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg), 15, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_elabWFRel___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); +lean_object* x_16; +x_16 = l_Array_mapFinIdxM_map___at_Lean_Elab_WF_elabWFRel___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel___spec__1(x_1, x_5, x_6, x_4); -return x_7; +lean_dec(x_1); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___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_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_15; +x_15 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_4); lean_dec(x_3); -return x_14; +return x_15; } } lean_object* initialize_Lean_Meta_Tactic_Apply(uint8_t builtin, lean_object*); @@ -2426,6 +3851,7 @@ lean_object* initialize_Lean_Meta_Tactic_Rename(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_SyntheticMVars(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_TerminationMeasure(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_FixedParams(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_ArgsPacker(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_Rel(uint8_t builtin, lean_object* w) { @@ -2450,51 +3876,70 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_TerminationMeasure(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_FixedParams(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Meta_ArgsPacker(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__4); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__5(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__5); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__6 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__6(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__6); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__7 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__7(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__7); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__8 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__8(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__8); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__9 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__9(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__9); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__10 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__10(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__10); -l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__11 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__11(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__3___lambda__2___closed__11); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__2(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__2); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__3(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__3); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__4(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__4); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__5 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__5(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__5); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__6 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__6(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__6); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__7 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__7(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__7); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__8 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__8(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__8); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__9 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__9(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__9); -l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__10 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__10(); -lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__10); +l_panic___at_Lean_Elab_WF_checkCodomains___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_WF_checkCodomains___spec__1___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_WF_checkCodomains___spec__1___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__4); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__5(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__5); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__6 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__6(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__6); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__7 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__7(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__7); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__8 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__8(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__8); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__9 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__9(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__9); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__10 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__10(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__10); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__11 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__11(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__11); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__12 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__12(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__12); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__13 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__13(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__13); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__14 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__14(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__14); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__15 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__15(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__15); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__16 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__16(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__16); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__17 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__17(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___lambda__2___closed__17); +l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_checkCodomains___spec__4___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__4); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__5 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__5(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__5); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__6 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__6(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__6); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__7 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__7(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__7); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__8 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__8(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__8); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__9 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__9(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__9); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__10 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__10(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_checkCodomains___spec__5___closed__10); l_Lean_Elab_WF_checkCodomains___closed__1 = _init_l_Lean_Elab_WF_checkCodomains___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_checkCodomains___closed__1); l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__1___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 50d7b10462..ecf3112b9d 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -27,6 +27,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structu lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_85____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructureCommand___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___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* l_Lean_getStructureParentInfo(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__4(lean_object*, lean_object*, size_t, size_t); @@ -120,7 +121,6 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStr LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_elabStructureCommand___elambda__1___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*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_go___rarg___closed__6; lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___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_Elab_Command_checkValidFieldModifier___lambda__3(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_Structure___hyg_3____closed__15; @@ -128,6 +128,7 @@ static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_ extern lean_object* l_Lean_maxRecDepthErrorMessage; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__5___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_Structure_0__Lean_Elab_Command_expandCtor___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_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields___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* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addParentInstances___spec__28(lean_object*, lean_object*, size_t, size_t); @@ -156,7 +157,6 @@ size_t lean_uint64_to_usize(uint64_t); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__25___closed__8; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_setSourceInstImplicit___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___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_object*); lean_object* l_Lean_Expr_getAutoParamTactic_x3f(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResultingUniversesForFields___spec__1___closed__9; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); @@ -188,7 +188,6 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandC static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__25___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___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_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__3; static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3____closed__16; lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); @@ -305,7 +304,6 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDef LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents_go___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkSynthetic(lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__2; -static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__1; lean_object* l_Lean_CollectLevelMVars_main(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f_go_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -349,14 +347,12 @@ LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Elab_Structu static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__1; uint8_t l_Lean_Expr_hasSyntheticSorry(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents_go___rarg___lambda__8___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_findExistingField_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkDefaultFnOfProjFn(lean_object*); lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__16; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsedFVars___boxed__const__1; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_1002____closed__23; -static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__6(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -378,7 +374,6 @@ static lean_object* l_Lean_setStructureParents___at_Lean_Elab_Command_elabStruct static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldKind____x40_Lean_Elab_Structure___hyg_775____closed__10; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addParentInstances___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_1002____closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -429,6 +424,7 @@ lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_MVarErrorInfo_logError___s LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_go(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___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_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1(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_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerFailedToInferFieldType___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_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__7___rarg(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_foldlFromMAux___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -535,6 +531,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structu LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2___closed__4; +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents_go___rarg___lambda__11___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructureCommand___elambda__1___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_Command_initFn____x40_Lean_Elab_Structure___hyg_3____closed__14; @@ -576,6 +573,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structu static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3____closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__1(lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___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*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldKind____x40_Lean_Elab_Structure___hyg_775____closed__19; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__4___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -591,6 +589,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_computeStructureResolutionOrder___ lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructureCommand___elambda__1___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructureCommand___elambda__1___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___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*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType___lambda__5___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1___boxed(lean_object*); @@ -598,7 +597,6 @@ lean_object* l_Lean_LocalContext_mkLetDecl(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2___closed__7; static size_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___lambda__1___closed__4; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___rarg___lambda__5___closed__7; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__20___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addParentInstances___spec__19(lean_object*, size_t, size_t, lean_object*); @@ -612,6 +610,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_ static lean_object* l_Lean_Elab_Command_elabStructureCommand___elambda__1___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__9(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___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_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Command_elabStructureCommand___elambda__1___spec__5(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___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedStructParentInfo___closed__4; @@ -661,7 +660,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_wi static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents_go___rarg___lambda__9___closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__24___closed__7; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -703,6 +701,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabStructureCommand___elambda__1___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1; lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__5(lean_object*, lean_object*, size_t, size_t); @@ -710,7 +709,6 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0_ LEAN_EXPORT lean_object* l___private_Lean_Structure_0__Lean_setStructureResolutionOrder___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___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_EXPORT lean_object* l_Lean_Elab_Command_instReprStructFieldKind; static lean_object* l_Lean_Linter_logLint___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__2; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_processDefDeriving___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -798,7 +796,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Structure_0__Lean_setStructureResoluti static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_1002____closed__25; lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instReprStructFieldInfo; -lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__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_Command_initFn____x40_Lean_Elab_Structure___hyg_3____closed__4; lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Term_expandDeclId___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -847,7 +844,6 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_Structure_0 lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Lean_Meta_getStructureName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_instInhabitedCtorView; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___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*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructureCommand___elambda__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* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -936,6 +932,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_S uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVarsFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addParentInstances___spec__11(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___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_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addParentInstances___spec__23___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_Structure_0__Lean_Elab_Command_withFields_go___rarg___lambda__3___boxed(lean_object**); lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withDeclName___spec__3___rarg(lean_object*, lean_object*); @@ -1028,6 +1025,7 @@ lean_object* l_Repr_addAppParen(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getStructureResolutionOrder___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addParentInstances___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__1; static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___spec__2___closed__2; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsedFVars___closed__1; @@ -1056,10 +1054,12 @@ lean_object* l_Lean_Meta_addInstance(lean_object*, uint8_t, lean_object*, lean_o LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabStructureCommand___elambda__1___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkRemainingProjections___closed__1; lean_object* lean_nat_mul(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__2; lean_object* l_Lean_Elab_Term_registerLevelMVarErrorExprInfo(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_addDeclarationRangesFromSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResultingUniversesForFields___spec__1___closed__8; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2; +lean_object* l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f_failed___closed__2; lean_object* l_Lean_logWarning___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); @@ -1171,7 +1171,6 @@ LEAN_EXPORT lean_object* l_Lean_computeStructureResolutionOrder_selectParent___a LEAN_EXPORT lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromSubobject___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___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_Structure_0__Lean_Elab_Command_mkToParentName(lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents_go___rarg___lambda__9___closed__1; size_t lean_usize_shift_left(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1217,7 +1216,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructureCommand___elambda__1__ extern lean_object* l_Lean_structureExt; static lean_object* l_Lean_Elab_Command_instReprStructFieldKind___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2(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_array_get_size(lean_object*); static lean_object* l_Lean_Elab_Command_structureSyntaxToView___closed__3; LEAN_EXPORT lean_object* l_Lean_computeStructureResolutionOrder___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResolutionOrder___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1236,6 +1234,7 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__1; static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3____closed__11; +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkResultingUniversesForFields___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*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; LEAN_EXPORT lean_object* l_Lean_Elab_Command_structureSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1256,7 +1255,6 @@ static lean_object* l_Lean_Linter_logLint___at___private_Lean_Elab_Structure_0__ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_StructView_ctor___boxed(lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__15; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addParentInstances___spec__9(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields(lean_object*); @@ -34087,26 +34085,7 @@ return x_30; } } } -static lean_object* _init_l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); -lean_closure_set(x_1, 0, lean_box(0)); -return x_1; -} -} -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1; -x_8 = lean_panic_fn(x_7, x_1); -x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -34168,7 +34147,7 @@ return x_26; } } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -34176,16 +34155,16 @@ x_1 = lean_mk_string_unchecked("failed to build coercion to parent structure, un return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__1; +x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___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_11; @@ -34224,7 +34203,7 @@ lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); x_18 = l_Lean_indentExpr(x_15); -x_19 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__2; +x_19 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__2; x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); @@ -34260,7 +34239,7 @@ else { lean_object* x_28; lean_object* x_29; x_28 = lean_box(0); -x_29 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__1(x_15, x_1, x_2, x_3, x_4, x_28, x_6, x_7, x_8, x_9, x_16); +x_29 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__1(x_15, x_1, x_2, x_3, x_4, x_28, x_6, x_7, x_8, x_9, x_16); lean_dec(x_15); return x_29; } @@ -34326,7 +34305,7 @@ return x_37; } } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1() { _start: { lean_object* x_1; @@ -34334,12 +34313,12 @@ x_1 = lean_mk_string_unchecked("_private.Lean.Elab.Structure.0.Lean.Elab.Command return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1; +x_2 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1; x_3 = lean_unsigned_to_nat(946u); x_4 = lean_unsigned_to_nat(77u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; @@ -34347,7 +34326,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__3() { _start: { lean_object* x_1; @@ -34355,16 +34334,16 @@ x_1 = lean_mk_string_unchecked("failed to build coercion to parent structure", 4 return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__4() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__3; +x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___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, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; @@ -34398,12 +34377,12 @@ x_29 = l_Lean_getFieldInfo_x3f(x_2, x_4, x_18); if (lean_obj_tag(x_29) == 0) { lean_object* x_30; lean_object* x_31; -x_30 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__2; +x_30 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__2; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_31 = l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1(x_30, x_11, x_12, x_13, x_14, x_15); +x_31 = l_panic___at_Lean_Elab_getFixedParamsInfo___spec__2(x_30, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; lean_object* x_33; @@ -34463,7 +34442,7 @@ lean_dec(x_10); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_40 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__4; +x_40 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__4; x_41 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_40, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); @@ -34499,7 +34478,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_2); lean_inc(x_1); -x_47 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2(x_1, x_2, x_3, x_10, x_46, x_11, x_12, x_13, x_14, x_15); +x_47 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2(x_1, x_2, x_3, x_10, x_46, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_47) == 0) { lean_object* x_48; lean_object* x_49; @@ -34641,7 +34620,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1; +x_2 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1; x_3 = lean_unsigned_to_nat(937u); x_4 = lean_unsigned_to_nat(68u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; @@ -34689,7 +34668,7 @@ lean_inc(x_2); x_26 = l_Lean_getStructureFields(x_2, x_11); x_27 = lean_array_size(x_26); x_28 = 0; -x_29 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2(x_1, x_2, x_3, x_11, x_25, x_26, x_26, x_27, x_28, x_24, x_5, x_6, x_7, x_8, x_9); +x_29 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1(x_1, x_2, x_3, x_11, x_25, x_26, x_26, x_27, x_28, x_24, x_5, x_6, x_7, x_8, x_9); lean_dec(x_26); if (lean_obj_tag(x_29) == 0) { @@ -34749,28 +34728,28 @@ return x_39; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___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: { lean_object* x_11; -x_11 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___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_5); lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { size_t x_16; size_t x_17; lean_object* x_18; @@ -34778,7 +34757,7 @@ x_16 = lean_unbox_usize(x_8); lean_dec(x_8); x_17 = lean_unbox_usize(x_9); lean_dec(x_9); -x_18 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -54062,20 +54041,18 @@ l___private_Lean_Elab_Structure_0__Lean_Elab_Command_setSourceInstImplicit___clo lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_setSourceInstImplicit___closed__1); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_setSourceInstImplicit___closed__2 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_setSourceInstImplicit___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_setSourceInstImplicit___closed__2); -l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1 = _init_l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1(); -lean_mark_persistent(l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1); -l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___lambda__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__3); -l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__4); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__1); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__2___closed__2); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__2); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__3); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__4); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___closed__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___closed__1); l_Std_Range_forIn_x27_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkRemainingProjections___spec__3___closed__1 = _init_l_Std_Range_forIn_x27_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkRemainingProjections___spec__3___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/Normalize/Enums.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/Normalize/Enums.c index 56e3a40ca8..88712c39c0 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/Normalize/Enums.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/Normalize/Enums.c @@ -16,18 +16,20 @@ extern "C" { static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__2___closed__1; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__7; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__5; lean_object* l_Lean_registerReservedNameAction(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__11; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___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_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumToBitVecLeSuffix___closed__1; lean_object* l_Lean_mkNatLit(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__16; +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__13; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isPerm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass; +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__12; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__6; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumToBitVecLeSuffix; @@ -37,35 +39,35 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPas LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_eqIffEnumToBitVecEqSuffix___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getBitVecSize(lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__13; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); -static uint64_t l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__2; size_t lean_uint64_to_usize(uint64_t); +LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__2___closed__2; -LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____closed__1; uint8_t l_Lean_Expr_isApp(lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__3; uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_CollectFVars_visit___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__12; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__2; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Meta_simpGoal(lean_object*, lean_object*, lean_object*, 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_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__15; +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__11; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____closed__1; LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__7___lambda__1(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___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_Meta_withLocalDecl___at_Lean_Meta_Simp_Arith_withAbstractAtoms_go___spec__1___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_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__1___closed__1; -LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__2; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__4___closed__3; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumToBitVecSuffix___closed__1; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__6; extern lean_object* l_Lean_ForEachExprWhere_initCache; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__10; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___closed__3; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__2___closed__2; lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*); @@ -74,41 +76,37 @@ static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumT static lean_object* l_Nat_foldTR_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___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___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__6; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__6___closed__2; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__7___closed__2; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__3___closed__2; -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__12; lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___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_getConstInfo___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__16; lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_CollectFVars_visit___spec__2(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____lambda__1(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*); lean_object* l_Lean_InductiveVal_numTypeFormers(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visited___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getBitVecSize___boxed(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__2; extern lean_object* l_instInhabitedPUnit; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__7___lambda__2___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__8; size_t lean_ptr_addr(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__17; size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__8; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488_(lean_object*); lean_object* l_List_findIdx_x3f_go___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Simp_builtinSimprocsRef; @@ -119,15 +117,13 @@ lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_InlineAttrs_0__Lea LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getMaxHeight(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__6___rarg(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_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____closed__1; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__3; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6(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*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__9; +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___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*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__3___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -135,48 +131,42 @@ static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitV LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__1; LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_checked___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__9; LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____lambda__1___boxed(lean_object*, lean_object*); lean_object* l_BitVec_ofNat(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__1___closed__3; lean_object* l_Lean_Expr_appArg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__1; static lean_object* l_List_foldlM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___spec__1___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__13; LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__2___closed__3; lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__9; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__7___closed__1; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkDecideProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__10; lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__10; lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__15; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__10; LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__9(lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__6___closed__1; -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__7; static lean_object* l_Nat_foldTR_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___spec__3___closed__2; -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__3___closed__1; uint64_t l_Lean_Expr_hash(lean_object*); lean_object* l_Lean_FVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__5; lean_object* l_Lean_Meta_getPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___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_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__2___closed__2; lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__11; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___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_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__1___closed__1; lean_object* l_BitVec_add(lean_object*, lean_object*, lean_object*); @@ -186,19 +176,24 @@ static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Tactic_BVDecide_Frontend_ lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___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_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___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_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__7___lambda__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse(lean_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_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__3___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__14; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___spec__1___closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490_(lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__4___boxed(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_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerReservedNamePredicate(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___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_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___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*); size_t lean_usize_mod(size_t, size_t); @@ -206,10 +201,10 @@ extern lean_object* l_Lean_recOnSuffix; lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__3___lambda__1(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* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__11; lean_object* l_Lean_Meta_realizeConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__1___closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__14; LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visited___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_simpGlobalConfig; lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,11 +212,14 @@ static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___e LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__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_Elab_Tactic_BVDecide_Frontend_Normalize_enumToBitVecSuffix; LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__6(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__6; static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__2___closed__2; +LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4; static lean_object* l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__1___closed__1; static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__2___closed__3; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__4; +static uint64_t l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__2___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_Tactic_BVDecide_Frontend_Normalize_enumsPass___closed__1; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__2___closed__4; @@ -233,14 +231,15 @@ lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); lean_object* lean_nat_pow(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_registerBuiltinSimproc(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__2; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__1___closed__1; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_eqIffEnumToBitVecEqSuffix; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__1; LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_checked___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__2; @@ -251,8 +250,10 @@ LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_Elab_Tactic_BVDecide_Fronte static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__9; lean_object* l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611_(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__11; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__2___closed__1; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__1___closed__6; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); @@ -262,30 +263,26 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_Fronte static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__1___closed__4; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__7; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____lambda__1___boxed(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__2___boxed(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_isProp(lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__7; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__4___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651_(lean_object*); 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*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530_(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__4___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__8; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__7___lambda__2___closed__2; -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); static lean_object* l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__1___closed__2; lean_object* lean_array_mk(lean_object*); @@ -298,26 +295,25 @@ static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitV LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___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*); extern lean_object* l_Lean_instInhabitedName; lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__14; size_t lean_array_size(lean_object*); lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___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___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__5; lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_PreProcessM_getTypeAnalysis___boxed(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__12; uint32_t lean_uint32_add(uint32_t, uint32_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__9; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___closed__1; static lean_object* l_Nat_foldTR_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___spec__3___closed__1; static lean_object* l_List_foldlM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___spec__1___closed__2; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__1; static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__2___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__6; lean_object* l_panic___at_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___lambda__2___closed__3; @@ -327,8 +323,8 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__4; uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__17; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___closed__4; -LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__2(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*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -338,14 +334,19 @@ lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object* lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assertHypotheses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__4(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_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__14; static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__1___closed__7; +static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____closed__1; lean_object* l_Lean_Meta_SimpTheoremsArray_addTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(lean_object*); LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor___spec__3(lean_object*, lean_object*, lean_object*, 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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); size_t lean_usize_land(size_t, size_t); @@ -1820,235 +1821,76 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___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_Frontend_Normalize_getEnumToBitVecFor___lambda__1___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; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__10; +x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__11; +x_3 = l_Lean_Expr_const___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse(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: { if (lean_obj_tag(x_5) == 0) { -lean_object* x_13; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_7); -lean_ctor_set(x_13, 1, x_12); -return x_13; +return x_7; } else { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_5); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_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_15 = lean_ctor_get(x_5, 0); -x_16 = lean_ctor_get(x_5, 1); -x_17 = lean_box(0); -lean_inc(x_1); -x_18 = l_Lean_mkNatLit(x_1); -x_19 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__7; -lean_inc(x_18); -x_20 = l_Lean_Expr_app___override(x_19, x_18); -lean_inc(x_6); -x_21 = l_Lean_mkNatLit(x_6); -x_22 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__8; -x_23 = l_Lean_mkAppB(x_22, x_18, x_21); -x_24 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__6; -lean_inc(x_2); -lean_inc(x_4); -x_25 = l_Lean_mkApp4(x_24, x_20, x_4, x_2, x_23); -lean_inc(x_3); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_3); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_25); -x_28 = l_Lean_Expr_const___override(x_15, x_17); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_7); -lean_ctor_set(x_5, 1, x_17); -lean_ctor_set(x_5, 0, x_30); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_5); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_27); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_26); -lean_ctor_set(x_33, 1, x_32); -x_34 = lean_array_mk(x_33); -x_35 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__10; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_8 = lean_ctor_get(x_5, 0); lean_inc(x_8); -x_36 = l_Lean_Meta_mkAppOptM(x_35, x_34, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_unsigned_to_nat(1u); -x_40 = l_BitVec_ofNat(x_1, x_39); -x_41 = l_BitVec_add(x_1, x_6, x_40); -lean_dec(x_40); -lean_dec(x_6); -x_5 = x_16; -x_6 = x_41; -x_7 = x_37; -x_12 = x_38; -goto _start; -} -else -{ -uint8_t x_43; -lean_dec(x_16); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_43 = !lean_is_exclusive(x_36); -if (x_43 == 0) -{ -return x_36; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_36, 0); -x_45 = lean_ctor_get(x_36, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_36); -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; -} -} -} -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; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_47 = lean_ctor_get(x_5, 0); -x_48 = lean_ctor_get(x_5, 1); -lean_inc(x_48); -lean_inc(x_47); +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_9); lean_dec(x_5); -x_49 = lean_box(0); +x_10 = lean_box(0); lean_inc(x_1); -x_50 = l_Lean_mkNatLit(x_1); -x_51 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__7; -lean_inc(x_50); -x_52 = l_Lean_Expr_app___override(x_51, x_50); +x_11 = l_Lean_mkNatLit(x_1); +x_12 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__7; +lean_inc(x_11); +x_13 = l_Lean_Expr_app___override(x_12, x_11); lean_inc(x_6); -x_53 = l_Lean_mkNatLit(x_6); -x_54 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__8; -x_55 = l_Lean_mkAppB(x_54, x_50, x_53); -x_56 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__6; +x_14 = l_Lean_mkNatLit(x_6); +x_15 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__8; +x_16 = l_Lean_mkAppB(x_15, x_11, x_14); +x_17 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__6; lean_inc(x_2); lean_inc(x_4); -x_57 = l_Lean_mkApp4(x_56, x_52, x_4, x_2, x_55); +x_18 = l_Lean_mkApp4(x_17, x_13, x_4, x_2, x_16); +x_19 = l_Lean_Expr_const___override(x_8, x_10); +x_20 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__12; lean_inc(x_3); -x_58 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_58, 0, x_3); -x_59 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_59, 0, x_57); -x_60 = l_Lean_Expr_const___override(x_47, x_49); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_62 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_62, 0, x_7); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_49); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_58); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_array_mk(x_66); -x_68 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__10; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_69 = l_Lean_Meta_mkAppOptM(x_68, x_67, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_unsigned_to_nat(1u); -x_73 = l_BitVec_ofNat(x_1, x_72); -x_74 = l_BitVec_add(x_1, x_6, x_73); -lean_dec(x_73); +x_21 = l_Lean_mkApp4(x_20, x_3, x_18, x_19, x_7); +x_22 = lean_unsigned_to_nat(1u); +x_23 = l_BitVec_ofNat(x_1, x_22); +x_24 = l_BitVec_add(x_1, x_6, x_23); +lean_dec(x_23); lean_dec(x_6); -x_5 = x_48; -x_6 = x_74; -x_7 = x_70; -x_12 = x_71; +x_5 = x_9; +x_6 = x_24; +x_7 = x_21; goto _start; } -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -lean_dec(x_48); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_76 = lean_ctor_get(x_69, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_69, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_78 = x_69; -} else { - lean_dec_ref(x_69); - x_78 = lean_box(0); -} -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(1, 2, 0); -} else { - x_79 = x_78; -} -lean_ctor_set(x_79, 0, x_76); -lean_ctor_set(x_79, 1, x_77); -return x_79; -} -} -} } } static lean_object* _init_l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__1___closed__1() { @@ -2300,7 +2142,7 @@ lean_inc(x_7); x_18 = l_Lean_Meta_synthInstance(x_16, x_17, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -2312,67 +2154,26 @@ x_23 = l_Lean_instInhabitedName; x_24 = l_List_head_x21___rarg(x_23, x_4); lean_inc(x_1); x_25 = l_Lean_Expr_const___override(x_24, x_1); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); lean_inc(x_6); -x_26 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse(x_3, x_6, x_5, x_19, x_4, x_22, x_25, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_6); -lean_ctor_set(x_29, 1, x_1); -x_30 = lean_array_mk(x_29); -x_31 = 0; -x_32 = 1; -x_33 = 1; -x_34 = l_Lean_Meta_mkLambdaFVars(x_30, x_27, x_31, x_32, x_31, x_33, x_7, x_8, x_9, x_10, x_28); +x_26 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse(x_3, x_6, x_5, x_19, x_4, x_22, x_25); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_6); +lean_ctor_set(x_27, 1, x_1); +x_28 = lean_array_mk(x_27); +x_29 = 0; +x_30 = 1; +x_31 = 1; +x_32 = l_Lean_Meta_mkLambdaFVars(x_28, x_26, x_29, x_30, x_29, x_31, x_7, x_8, x_9, x_10, x_20); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_30); -return x_34; +lean_dec(x_28); +return x_32; } else { -uint8_t x_35; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_26); -if (x_35 == 0) -{ -return x_26; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_26, 0); -x_37 = lean_ctor_get(x_26, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_26); -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 -{ -uint8_t x_39; +uint8_t x_33; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -2382,23 +2183,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_39 = !lean_is_exclusive(x_18); -if (x_39 == 0) +x_33 = !lean_is_exclusive(x_18); +if (x_33 == 0) { return x_18; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_18, 0); -x_41 = lean_ctor_get(x_18, 1); -lean_inc(x_41); -lean_inc(x_40); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_18, 0); +x_35 = lean_ctor_get(x_18, 1); +lean_inc(x_35); +lean_inc(x_34); lean_dec(x_18); -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; +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; } } } @@ -3711,7 +3512,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__1; x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__1; -x_3 = lean_unsigned_to_nat(173u); +x_3 = lean_unsigned_to_nat(170u); x_4 = lean_unsigned_to_nat(60u); x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4460,7 +4261,7 @@ lean_dec(x_8); return x_13; } } -LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____lambda__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 1) @@ -4503,35 +4304,35 @@ return x_12; } } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____lambda__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____lambda__1___boxed), 2, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____closed__1; +x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____closed__1; x_3 = l_Lean_registerReservedNamePredicate(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____lambda__1___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_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____lambda__1(x_1, x_2); +x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____lambda__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_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____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) @@ -4650,7 +4451,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -4748,7 +4549,7 @@ if (x_31 == 0) { lean_object* x_32; lean_free_object(x_5); -x_32 = l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__2(x_28, x_2, x_3, x_8); +x_32 = l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__2(x_28, x_2, x_3, x_8); return x_32; } else @@ -4885,7 +4686,7 @@ lean_dec(x_42); if (x_66 == 0) { lean_object* x_67; -x_67 = l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__2(x_63, x_2, x_3, x_41); +x_67 = l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__2(x_63, x_2, x_3, x_41); return x_67; } else @@ -4996,7 +4797,7 @@ return x_91; } } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__1() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -5027,16 +4828,16 @@ lean_ctor_set_uint8(x_6, 17, x_2); return x_6; } } -static uint64_t _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__2() { +static uint64_t _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__2() { _start: { lean_object* x_1; uint64_t x_2; -x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__1; +x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__1; x_2 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__3() { _start: { lean_object* x_1; @@ -5044,17 +4845,17 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__3; +x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___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_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__5() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -5063,23 +4864,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__6() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__5; +x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___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_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__7() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___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_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__6; -x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__5; +x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__6; +x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___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); @@ -5090,13 +4891,13 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__8() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4; -x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__7; +x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4; +x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__7; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -5104,7 +4905,7 @@ lean_ctor_set(x_4, 2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__9() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -5113,17 +4914,17 @@ x_2 = lean_array_mk(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__10() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint64_t x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_1 = lean_box(0); x_2 = lean_box(0); -x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__1; -x_4 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__2; +x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__1; +x_4 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__2; x_5 = 0; -x_6 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__8; -x_7 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__9; +x_6 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__8; +x_7 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__9; x_8 = lean_unsigned_to_nat(0u); x_9 = lean_alloc_ctor(0, 7, 11); lean_ctor_set(x_9, 0, x_3); @@ -5140,12 +4941,12 @@ lean_ctor_set_uint8(x_9, sizeof(void*)*7 + 10, x_5); return x_9; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__11() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__11() { _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_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___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); @@ -5159,11 +4960,11 @@ lean_ctor_set(x_3, 8, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__12() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4; +x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4; x_2 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -5174,11 +4975,11 @@ lean_ctor_set(x_2, 5, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__13() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4; +x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___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); @@ -5187,15 +4988,15 @@ lean_ctor_set(x_2, 3, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__14() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___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_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__11; -x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__12; -x_4 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__7; -x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__13; +x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__11; +x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__12; +x_4 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__7; +x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___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); @@ -5205,7 +5006,7 @@ lean_ctor_set(x_6, 4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____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_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -5237,14 +5038,14 @@ return x_15; 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; -x_16 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__14; +x_16 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__14; x_17 = lean_st_mk_ref(x_16, x_6); 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_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__10; +x_20 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__10; lean_inc(x_18); x_21 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor(x_2, x_20, x_18, x_4, x_5, x_19); if (lean_obj_tag(x_21) == 0) @@ -5308,14 +5109,14 @@ return x_35; else { 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_36 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__14; +x_36 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__14; x_37 = lean_st_mk_ref(x_36, x_6); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__10; +x_40 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__10; lean_inc(x_38); x_41 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor(x_2, x_40, x_38, x_4, x_5, x_39); if (lean_obj_tag(x_41) == 0) @@ -5379,14 +5180,14 @@ return x_55; 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; -x_56 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__14; +x_56 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__14; x_57 = lean_st_mk_ref(x_56, x_6); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); x_59 = lean_ctor_get(x_57, 1); lean_inc(x_59); lean_dec(x_57); -x_60 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__10; +x_60 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__10; lean_inc(x_58); x_61 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecFor(x_2, x_60, x_58, x_4, x_5, x_59); if (lean_obj_tag(x_61) == 0) @@ -5448,7 +5249,7 @@ return x_75; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 1) @@ -5460,7 +5261,7 @@ x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); lean_dec(x_1); lean_inc(x_5); -x_7 = l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__1(x_5, x_2, x_3, x_4); +x_7 = l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__1(x_5, x_2, x_3, x_4); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; uint8_t x_9; @@ -5507,7 +5308,7 @@ x_18 = lean_ctor_get(x_7, 1); lean_inc(x_18); lean_dec(x_7); x_19 = lean_box(0); -x_20 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1(x_6, x_5, x_19, x_2, x_3, x_18); +x_20 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1(x_6, x_5, x_19, x_2, x_3, x_18); lean_dec(x_6); return x_20; } @@ -5554,48 +5355,48 @@ return x_27; } } } -static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__2), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__2), 4, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____closed__1; +x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____closed__1; x_3 = l_Lean_registerReservedNameAction(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____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_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__2(x_1, x_2, x_3, x_4); +x_5 = l_List_allM___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____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_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____spec__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_isEnumType___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____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_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____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_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_1); return x_7; @@ -5623,7 +5424,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__1; x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__2___closed__1; -x_3 = lean_unsigned_to_nat(236u); +x_3 = lean_unsigned_to_nat(233u); x_4 = lean_unsigned_to_nat(53u); x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -6659,7 +6460,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__1() { _start: { lean_object* x_1; @@ -6667,7 +6468,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__2() { _start: { lean_object* x_1; @@ -6675,7 +6476,7 @@ x_1 = lean_mk_string_unchecked("Elab", 4, 4); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__3() { _start: { lean_object* x_1; @@ -6683,7 +6484,7 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__4() { _start: { lean_object* x_1; @@ -6691,7 +6492,7 @@ x_1 = lean_mk_string_unchecked("BVDecide", 8, 8); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__5() { _start: { lean_object* x_1; @@ -6699,7 +6500,7 @@ x_1 = lean_mk_string_unchecked("Frontend", 8, 8); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__6() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__6() { _start: { lean_object* x_1; @@ -6707,7 +6508,7 @@ x_1 = lean_mk_string_unchecked("Normalize", 9, 9); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__7() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__7() { _start: { lean_object* x_1; @@ -6715,22 +6516,22 @@ x_1 = lean_mk_string_unchecked("enumsPassPost", 13, 13); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__8() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____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___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__1; -x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__2; -x_3 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__5; -x_6 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__6; -x_7 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__7; +x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__1; +x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__3; +x_4 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__5; +x_6 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__6; +x_7 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____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___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__9() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6742,7 +6543,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__10() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6754,7 +6555,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__11() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6766,64 +6567,64 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__12() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(3); -x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__11; 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___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__13() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(3); -x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__12; +x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__12; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__14() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__10; -x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__13; +x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__10; +x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__13; 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___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__15() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__9; -x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__14; +x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__9; +x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__14; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__16() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__15; +x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__15; x_2 = lean_array_mk(x_1); return x_2; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__17() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__17() { _start: { lean_object* x_1; @@ -6831,28 +6632,28 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_ return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__8; -x_3 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__16; -x_4 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__17; +x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__8; +x_3 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__16; +x_4 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__17; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__17; +x_1 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__17; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__2() { _start: { lean_object* x_1; @@ -6860,14 +6661,14 @@ x_1 = l_Lean_Meta_Simp_builtinSimprocsRef; return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__2; -x_3 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__8; +x_2 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__8; x_4 = 1; -x_5 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__1; +x_5 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__1; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -8546,7 +8347,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__1; x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__6___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__7___lambda__2___closed__1; -x_3 = lean_unsigned_to_nat(289u); +x_3 = lean_unsigned_to_nat(286u); x_4 = lean_unsigned_to_nat(58u); x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___lambda__7___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9964,7 +9765,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4; +x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9976,8 +9777,8 @@ static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4; -x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__7; +x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__7; x_3 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_1); @@ -10021,7 +9822,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__9; +x_15 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__9; x_16 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass___elambda__1___lambda__1___closed__3; x_17 = l_Lean_Meta_simpGlobalConfig; lean_inc(x_9); @@ -10095,7 +9896,7 @@ lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__8; +x_40 = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__8; x_41 = l_Lean_Meta_Simp_SimprocsArray_add(x_15, x_40, x_34, x_8, x_9, x_39); if (lean_obj_tag(x_41) == 0) { @@ -10758,6 +10559,10 @@ l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInver lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__9); l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__10(); lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__10); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__11); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__12 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor_mkInverse___closed__12); l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__1___closed__1(); lean_mark_persistent(l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__1___closed__1); l_List_foldl___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__2___closed__1 = _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEqIffEnumToBitVecEqFor___spec__2___closed__1(); @@ -10810,41 +10615,41 @@ l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3_ lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__4); l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__5(); lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_getEnumToBitVecLeFor___lambda__3___closed__5); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576____closed__1); -if (builtin) {res = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1576_(lean_io_mk_world()); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536____closed__1); +if (builtin) {res = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1536_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__1); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__2(); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__3); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__4); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__5); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__6); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__7); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__8); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__9 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__9); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__10); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__11); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__12 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__12); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__13 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__13); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__14 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__14(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____lambda__1___closed__14); -l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651____closed__1); -if (builtin) {res = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1651_(lean_io_mk_world()); +}l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__1); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__2(); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__3); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__4); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__5); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__6); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__7); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__8); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__9 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__9); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__10); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__11); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__12 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__12); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__13 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__13); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__14 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____lambda__1___closed__14); +l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611____closed__1); +if (builtin) {res = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_initFn____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_1611_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___lambda__2___closed__1(); @@ -10863,48 +10668,48 @@ l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___closed__1 = _init lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___closed__1); l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost___closed__2); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__1); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__2); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__3); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__4); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__5); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__6(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__6); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__7(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__7); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__8 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__8(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__8); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__9 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__9(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__9); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__10 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__10(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__10); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__11 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__11(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__11); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__12 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__12(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__12); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__13 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__13(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__13); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__14 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__14(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__14); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__15 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__15(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__15); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__16 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__16(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__16); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__17 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__17(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528____closed__17); -if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2528_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__1); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__2); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__3); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__4); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__5); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__6); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__7); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__8 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__8(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__8); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__9 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__9(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__9); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__10 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__10(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__10); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__11 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__11(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__11); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__12 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__12(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__12); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__13 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__13(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__13); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__14 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__14(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__14); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__15 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__15(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__15); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__16 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__16(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__16); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__17 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__17(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488____closed__17); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2488_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__1); -l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530____closed__2); -if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2530_(lean_io_mk_world()); +}l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__1); +l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490____closed__2); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPassPost_declare__1____x40_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Enums___hyg_2490_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_enumsPass_postprocess___spec__1___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 7b9b90e322..ca9227f9c6 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -23,9 +23,11 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_synthesize lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_exposeLevelMVars___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__3; static lean_object* l_Lean_Elab_Term_hasNoImplicitLambdaAnnotation___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages(lean_object*, lean_object*); lean_object* l_StateRefT_x27_instMonadExceptOf___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__15; static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__38; static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -33,9 +35,7 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImp lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutSavingRecAppSyntax___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at_Lean_Elab_Term_isLocalIdent_x3f___spec__9(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__4; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___closed__4; lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); @@ -53,14 +53,12 @@ static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab LEAN_EXPORT lean_object* l_Lean_Elab_Term_setLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorryImp(lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__11; -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__14; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___spec__2___lambda__3___boxed(lean_object**); static lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__10___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Core_transform___at_Lean_Elab_Term_exposeLevelMVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(lean_object*); static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Term_expandDeclId___spec__10___closed__1; @@ -80,7 +78,6 @@ extern lean_object* l_Lean_instMonadExceptOfExceptionCoreM; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getInfoTreeWithContext_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_isAbortExceptionId(lean_object*); -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__4; static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,6 +85,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_T uint8_t l_Lean_MacroScopesView_isSuffixOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__44(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___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_withSaveParentDeclInfoContext___at_Lean_Elab_Term_withDeclName___spec__1___rarg___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___closed__1; @@ -97,29 +95,26 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_expandDeclI LEAN_EXPORT lean_object* l_Lean_Elab_Term_getInfoTreeWithContext_x3f___lambda__1(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*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___at_Lean_Elab_Term_exposeLevelMVars___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_collectUnassignedMVars___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_throwError___at_Lean_Elab_Term_mkConst___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__26___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDeclName___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_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo(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_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDeclName___spec__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*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_withExpectedType___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_exposeLevelMVars___spec__4(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*); static lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedTacticReuse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__10; static lean_object* l_Lean_Elab_Term_ensureType___lambda__1___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda___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_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__35(lean_object*, lean_object*, lean_object*); @@ -143,10 +138,9 @@ LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at_Lean_El LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__10___lambda__3___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM___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_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__6(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___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_private_to_user_name(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3(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_Term_addAutoBoundImplicitsInlayHint___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___rarg___closed__10; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__5; @@ -165,27 +159,26 @@ lean_object* l_Lean_PersistentArray_toArray___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__2; static lean_object* l_Lean_Elab_Term_mkSaveInfoAnnotation___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo___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_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4; lean_object* l_Lean_profileitIOUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__3; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedSyntheticMVarDecl; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__3; LEAN_EXPORT 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_object* l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instInhabitedTacticParsedSnapshot; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__3; static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__23; LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(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_Term_0__Lean_Elab_Term_elabTermAux___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_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withLevelNames(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__34___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__4; extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutHeedElabAsElim(lean_object*, lean_object*); @@ -216,11 +209,9 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImpli static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__4___closed__2; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorInfo___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_Term___hyg_20735____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___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_Core_withIncRecDepth___at_Lean_Elab_Term_exposeLevelMVars___spec__6___boxed(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_Term___hyg_20682_(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___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_withTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__10___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1___boxed(lean_object*, lean_object*); @@ -248,11 +239,13 @@ static lean_object* l_Lean_Elab_Term_mkCoe___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__3; uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_CollectLevelMVars_visitExpr___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName(lean_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_isIncrementalElab___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Term_mkCoe___spec__3___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_11160____closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245_(lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_isLetRecAuxMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,7 +298,6 @@ LEAN_EXPORT lean_object* l_liftExcept___at___private_Lean_Elab_Term_0__Lean_Elab LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__36___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveId_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*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__1; static lean_object* l_Lean_Elab_Term_ensureType___lambda__1___closed__1; lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -345,11 +337,12 @@ lean_object* l_Lean_Level_isMVar___boxed(lean_object*); static lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedTacticReuse___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__31; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__3; static lean_object* l_Lean_Elab_Term_mkAuxName___closed__2; lean_object* l_Lean_Meta_getMVarsAtDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__15; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMVarDecl(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_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -368,6 +361,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___rarg___l LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__52(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_Lean_Elab_Term_ensureType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__42___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__5; +static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_getDelayedMVarRoot___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__39(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___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*); @@ -394,7 +389,6 @@ lean_object* l_Lean_resolveLocalName_go(lean_object*, lean_object*, lean_object* LEAN_EXPORT lean_object* l_Lean_Elab_Term_adaptExpander(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_Term_0__Lean_Elab_Term_elabTermAux___lambda__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_Term_addAutoBoundImplicitsInlayHint___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_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__7; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__38___boxed(lean_object*, lean_object*); @@ -425,6 +419,7 @@ static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed LEAN_EXPORT lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_saveContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__3(lean_object*, lean_object*, size_t, size_t); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__13; static lean_object* l_Lean_Elab_Tactic_instInhabitedTacticParsedSnapshot___closed__2; lean_object* l_Lean_MessageData_hasSyntheticSorry(lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); @@ -432,8 +427,8 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens_ static lean_object* l_Lean_Elab_Term_extraMsgToMsg___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutHeedElabAsElim___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__3; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__8; uint8_t l_Lean_Linter_getLinterValue(lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__37; lean_object* l_Lean_instAddMessageContextOfMonadLift___rarg(lean_object*, lean_object*, lean_object*); @@ -473,13 +468,15 @@ LEAN_EXPORT uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole(lean_obj LEAN_EXPORT lean_object* l_Lean_Elab_throwPostpone___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7___rarg(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__1(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_Term___hyg_20324____lambda__1___closed__1; lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withTermInfoContext_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__25; -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedArgTacticReuse___rarg___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__3; static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__16; LEAN_EXPORT lean_object* l_ReaderT_pure___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutHeedElabAsElim___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -539,9 +536,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__5(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_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_isIncrementalElab___rarg___lambda__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__19___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__28(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo(lean_object*); @@ -550,7 +545,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLam LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_11160_(lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__3; static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__3; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addBuiltinIncrementalElab___closed__1; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3976____closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -560,7 +554,6 @@ lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_exposeLevelMVars___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -604,8 +597,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___cl static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__1___closed__2; static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorKind___closed__2; lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__5; -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); @@ -641,7 +632,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___at_Lean_Elab_Term_exposeLevelMVars___spec__2___lambda__2(size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__3___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_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__3___closed__4; -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__12; static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__4(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_instMonadTermElabM___closed__4; @@ -654,7 +644,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__3(lean_object*, static lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___rarg___closed__1; lean_object* lean_task_pure(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__7; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__6; LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Term_exceptionToSorry___spec__2(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_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_11160____closed__6; @@ -667,9 +657,9 @@ static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__8(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_List_elem___at_Lean_addAliasEntry___spec__16(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__13(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_applyResult___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_withoutHeedElabAsElim___rarg___closed__1; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20988____closed__1; static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__2; lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -686,6 +676,7 @@ static lean_object* l_Lean_Elab_Term_extraMsgToMsg___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at_Lean_Elab_Term_isLocalIdent_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__1___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_getLetRecsToLift(lean_object*); lean_object* l_Lean_Meta_withRestoreOrSaveFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_saveContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -703,22 +694,19 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg___lambda__1(lean LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__14___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutCheckDeprecated(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__2; LEAN_EXPORT lean_object* l_Lean_profileitM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___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_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l_Lean_declareBuiltin(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__14; lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_exposeLevelMVars___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars_x3f___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___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__2; lean_object* l_ReaderT_instMonadFunctor(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__29; @@ -733,7 +721,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_exposeLevelMVars___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___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 uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__40(lean_object*, lean_object*, size_t, size_t); uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); @@ -742,7 +729,9 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___spec__ lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process(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_addAutoBoundImplicitsInlayHint___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___spec__2___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__4; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__28___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__9(lean_object*, lean_object*, size_t, size_t); @@ -762,6 +751,7 @@ lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(le static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1___rarg(lean_object*); LEAN_EXPORT 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_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__1; LEAN_EXPORT 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_PersistentArray_mapMAux___at_Lean_Elab_Term_withDeclName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -779,6 +769,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instToSnapshotTreeTacticFinishedSnap LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda___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_log___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__9(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_Term_withTermInfoContext_x27___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_exprToSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwTypeMismatchError___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_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_toIO(lean_object*); @@ -807,6 +798,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedTacticReuse___rarg___lambd LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef___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_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__29___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr___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_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_Term_exposeLevelMVars___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_collectUnassignedMVars_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -821,21 +813,22 @@ LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId static lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop___rarg___closed__1; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__7(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withDeclName(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Term_expandDeclId___spec__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_Elab_Term_exposeLevelMVars___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits___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_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__7; static lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___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_findSomeRevM_x3f_find___at_Lean_Elab_Term_isLocalIdent_x3f___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_addTermInfo___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_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -846,12 +839,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerLevelMVarErrorInfo___boxed(lea LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___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_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__1___closed__14; -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502_(lean_object*); -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__11; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withReuseContext___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__1___closed__16; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__3; +static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -859,17 +850,14 @@ lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*) LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda___lambda__2(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_Term___hyg_20502____closed__5; static lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__7___closed__2; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6(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_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__3; LEAN_EXPORT uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Tactic_beqCacheKey____x40_Lean_Elab_Term___hyg_874_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__37___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___closed__3; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withPushMacroExpansionStack(lean_object*); @@ -883,9 +871,9 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg(lean_object*, LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar___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_resolveLocalName_loop___at_Lean_Elab_Term_isLocalIdent_x3f___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___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_initFn____x40_Lean_Elab_Term___hyg_20656____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static double l_Lean_withTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__10___lambda__4___closed__5; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_addBuiltinIncrementalElab(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___closed__1; @@ -943,15 +931,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_extraMsgToMsg___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__3; lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_coerceToSort_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedTacticReuse___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_liftLevelM___rarg___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_Term___hyg_20502____closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__4; lean_object* l_Lean_RBNode_insert___at_Lean_MVarIdMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__13; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___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_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__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_wrapAsyncAsSnapshot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -967,11 +953,13 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Term_0 LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___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_Term_instTypeNameBodyInfo; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens(lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__9; static lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___rarg___closed__12; lean_object* lean_io_mono_nanos_now(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_LevelMVarErrorInfo_logError___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_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__5; lean_object* l_Lean_Elab_isAutoBoundImplicitLocalException_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withDeclName___spec__3___rarg___boxed(lean_object*, lean_object*); @@ -994,12 +982,13 @@ static lean_object* l_Lean_addDocString___at_Lean_Elab_Term_expandDeclId___spec_ LEAN_EXPORT lean_object* l_Lean_Elab_Term_LVal_isFieldName___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_withNarrowedArgTacticReuse___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(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_Term___hyg_20735____lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(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_Term___hyg_20324____closed__6; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Elab_Term_mkCoe___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*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__8; uint64_t l_Lean_Expr_hash(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___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_Term_mkExplicitBinder___closed__3; @@ -1032,7 +1021,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfNoErrors_x3f___rarg(lean_objec LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__3; static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorKind___closed__8; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__1; static lean_object* l_Lean_Elab_Tactic_instInhabitedTacticFinishedSnapshot___closed__5; lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___lambda__1___closed__5; @@ -1064,6 +1052,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Term_expandDecl LEAN_EXPORT lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveParentDeclInfoContext___at_Lean_Elab_Term_withDeclName___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_addTermInfo_x27___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_mkPatternWithRef(lean_object*, lean_object*); extern lean_object* l_Lean_warningAsError; @@ -1083,6 +1072,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttri uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_docStringExt; LEAN_EXPORT lean_object* l_Lean_Elab_Term_applyResult___rarg(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_Term___hyg_20245____closed__1; static lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift___closed__1; static lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1090,7 +1080,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_T LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2___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_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__48(lean_object*, lean_object*, size_t, size_t); extern lean_object* l_Lean_trace_profiler_threshold; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__12; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_Elab_Term_expandDeclId___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___closed__2; @@ -1113,8 +1102,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___rarg___l LEAN_EXPORT lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg(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_MVarErrorInfo_logError___closed__5; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(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_Term___hyg_20656____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_getLetRecsToLift___boxed(lean_object*); @@ -1145,25 +1134,25 @@ static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_exposeLevelMVa uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* l_Lean_Elab_InlayHint_toCustomInfo(lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_11160____closed__1; -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__10; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__6___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_liftLevelM(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324_(lean_object*); uint64_t l___private_Lean_Expr_0__Lean_hashMVarId____x40_Lean_Expr___hyg_1984_(lean_object*); lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandDeclId___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___auto____x40_Lean_Elab_Term___hyg_3144____closed__14; extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2(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_throwError___at_Lean_Elab_Term_mkCoe___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_Term_getSyntheticMVarDecl_x3f___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_Term___hyg_20324____lambda__1___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(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_addTermInfo___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicitForbiddenPred___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind(lean_object*); extern lean_object* l_Std_Format_defWidth; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withTermInfoContext_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens___closed__2; static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorInfo___closed__1; static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorKind___closed__1; @@ -1184,6 +1173,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_containsPendingMVar___boxed(lean_objec static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__1___closed__6; uint8_t l_Lean_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withTermInfoContext_x27___lambda__1(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_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go___spec__1___closed__1; static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__13; static lean_object* l_Lean_Elab_Term_resolveName_process___closed__3; @@ -1193,6 +1183,7 @@ LEAN_EXPORT lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Term_expandDeclI static lean_object* l_Lean_Elab_Term_resolveName_process___closed__1; LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__37(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkAuxName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__10; lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1212,7 +1203,6 @@ static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_go(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_Term_0__Lean_Elab_Term_isTypeAscription___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addTraceNode___spec__1(size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadQuotationCoreM; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_exposeLevelMVars___spec__7___rarg___closed__1; @@ -1220,32 +1210,28 @@ static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__26; LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_isLocalIdent_x3f___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__35___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__15; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__10; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_withAutoBoundImplicit_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_tail_x21___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(lean_object*, uint8_t, 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_Term_getDeclName_x3f___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_Term___hyg_20577____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutCheckDeprecated___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735_(lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDeclName___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureHasTypeWithErrorMsgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__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_Term_addAutoBoundImplicitsInlayHint___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_Term_MVarErrorInfo_logError___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatchError___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__3(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*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor___lambda__1(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_Term___hyg_20988_(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1255,8 +1241,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_addTermInfo___lambda__1(lean_object*, static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__7; lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__5; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___closed__4; LEAN_EXPORT lean_object* l_Lean_log___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___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_Lean_Elab_Term_registerMVarErrorHoleInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1264,6 +1250,7 @@ size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_exposeLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instInhabitedTacticFinishedSnapshot___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__2(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__2; @@ -1282,11 +1269,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1___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_Term_0__Lean_Elab_Term_applyAttributesCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___spec__2___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__9; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___closed__5; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___lambda__1___closed__1; static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__1___closed__9; LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_isLocalIdent_x3f___spec__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedTacticReuse___rarg___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_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwTypeMismatchError(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkCoe___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_Elab_Term_mkFreshIdent___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*); @@ -1298,15 +1287,12 @@ static lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__1; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___lambda__1___closed__4; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___lambda__1___closed__5; static double l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2___closed__1; -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__16; LEAN_EXPORT lean_object* l_Lean_Elab_Term_universeConstraintsCheckpoint___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedTacticReuse___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___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*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__9; lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_instImpl____x40_Lean_Elab_Term___hyg_11947____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1314,6 +1300,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_exposeLev LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_saveState(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Elab_Term_getSyntheticMVarDecl_x3f___spec__1___boxed(lean_object*, lean_object*); @@ -1359,7 +1346,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_isLocalIdent_x3f___spec__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Elab_Term_getSyntheticMVarDecl_x3f___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__3; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_Elab_Term_expandDeclId___spec__9___boxed(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_Elab_Term_getFVarLocalDecl_x21___spec__1___closed__1; @@ -1370,7 +1356,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVa LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___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* l_Lean_Language_SnapshotTask_cancelRec___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withDeclName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(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_mkCoe___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1379,6 +1364,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImpli uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit(lean_object*); static lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__7___closed__1; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_mainModule(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1401,7 +1387,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed LEAN_EXPORT lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___rarg(lean_object*); lean_object* l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_wrapAsyncAsSnapshot___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_Term___hyg_20502____closed__3; LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_Elab_Term_expandDeclId___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___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_CommandContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1416,12 +1401,13 @@ static lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__1; static lean_object* l_Lean_Elab_Term_exposeLevelMVars___closed__2; static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_exposeLevelMVars___spec__7___rarg___closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__24; LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_saveState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__14; uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__4___closed__1; static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__2; @@ -1501,6 +1487,7 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Term_logUnassigned LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1(lean_object*, size_t, size_t); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_setOption___at_Lean_Expr_setPPExplicit___spec__1(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_applyAttributes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1513,13 +1500,13 @@ static lean_object* l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_exposeLevelMVars___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_CollectLevelMVars_visitExpr___spec__2(lean_object*); static lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Term_getInfoTreeWithContext_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureType___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_initFn____x40_Lean_Elab_Term___hyg_20502____closed__7; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__3; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1547,7 +1534,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_exposeLevelMVars___lambda__1___boxed(l LEAN_EXPORT lean_object* l_Lean_logWarning___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__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_withoutTacticIncrementality___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__27(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__1; static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__1; static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__19; static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__1; @@ -1575,16 +1561,18 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___rarg___l LEAN_EXPORT lean_object* l_Lean_Elab_Term_wrapAsyncAsSnapshot___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_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__18(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_x27___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_initFn____x40_Lean_Elab_Term___hyg_20271_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ensureType___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___boxed__const__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkConst(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_Term___hyg_20735____lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Term_withDeclName___spec__9(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_withRestoreOrSaveFull___rarg___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkTypeMismatchError(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_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___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_initFn____x40_Lean_Elab_Term___hyg_20324____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__42(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Linter_linter_deprecated; @@ -1602,14 +1590,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__4___boxed(lean_o static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__2; static lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___rarg___closed__1; extern lean_object* l_Lean_Elab_postponeExceptionId; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg___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_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__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*); extern lean_object* l_Lean_protectedExt; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkCoe(lean_object*, 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_Term___hyg_20656____closed__1; -lean_object* l_List_intercalateTR___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__6; lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwPostpone___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1639,6 +1625,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadParentDeclTermElabM; static lean_object* l_Lean_Elab_Term_extraMsgToMsg___closed__1; size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__8; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__47(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); @@ -1656,13 +1643,12 @@ static lean_object* l_Lean_Elab_Term_LevelMVarErrorInfo_logError___lambda__1___c LEAN_EXPORT lean_object* l_Lean_logWarning___at___private_Lean_Elab_Term_0__Lean_Elab_Term_checkDeprecatedCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticReuse___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___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*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveParentDeclInfoContext___at_Lean_Elab_Term_withDeclName___spec__1(lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); uint8_t l_Lean_Syntax_hasMissing(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__4; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__4; static lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkTermInfo___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_Term_addTermInfo___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*); @@ -1675,12 +1661,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift; size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___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_Term___hyg_20091____closed__8; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___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_throwError___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__9; uint8_t l_Lean_Expr_hasFVar(lean_object*); static lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___rarg___closed__8; static lean_object* l_Lean_Elab_isIncrementalElab___rarg___lambda__3___closed__1; @@ -1696,7 +1682,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_go___lambda__1(l LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__51___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___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_initFn____x40_Lean_Elab_Term___hyg_20502____closed__2; uint8_t l_Lean_Level_isMVar(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___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_EXPORT lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1728,6 +1713,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_go___lambda__1__ lean_object* lean_io_error_to_string(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticReuse___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27___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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__3; extern lean_object* l_Lean_instInhabitedSyntax; @@ -1743,15 +1729,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_MVarErrorInfo_ LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_observing___rarg___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_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__1; static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__21; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___at_Lean_Elab_Term_exposeLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__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_addAutoBoundImplicitsInlayHint___lambda__2___closed__13; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__32___boxed(lean_object*, lean_object*, lean_object*, 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_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1782,13 +1767,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1(lean_object*, lean_object*); lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry(lean_object*, lean_object*); static lean_object* l_List_foldl___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__2___closed__3; static lean_object* l_Lean_Elab_Term_LevelMVarErrorInfo_logError___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveLocalName_loop___at_Lean_Elab_Term_isLocalIdent_x3f___spec__12___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_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorKind___closed__3; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__5; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -1807,6 +1792,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureTy LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__1; static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__3___closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDeclName___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___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_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1840,6 +1826,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorKind; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_withAutoBoundImplicit_loop___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20577_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_observing(lean_object*); static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__35; static lean_object* l___auto____x40_Lean_Elab_Term___hyg_3144____closed__4; @@ -1856,6 +1843,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__2___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_Term_0__Lean_Elab_Term_mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedArgTacticReuse___rarg(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_Term___hyg_20324____lambda__3___closed__1; static lean_object* l_Lean_Elab_Term_instImpl____x40_Lean_Elab_Term___hyg_11947____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1867,6 +1855,7 @@ uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_exprToSyntax___lambda__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_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_withDeclName___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_SavedState_restore___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_Term___hyg_20091____closed__5; static lean_object* l_Lean_Elab_Term_expandDeclId___closed__2; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__1; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__1; @@ -1879,7 +1868,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_withInfoContext_x27___spec__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_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at_Lean_Elab_Term_isLocalIdent_x3f___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__6; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1897,7 +1885,6 @@ static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_ lean_object* l_String_toSubstring_x27(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName_loop___at_Lean_Elab_Term_isLocalIdent_x3f___spec__12(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_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__6; static lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1906,7 +1893,6 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___rarg___closed__15; LEAN_EXPORT lean_object* l_Lean_Elab_logException___at_Lean_Elab_Term_exceptionToSorry___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_Elab_Term_exposeLevelMVars___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*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__1; lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1949,7 +1935,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_x27(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__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_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLevelMVar(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__5; LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Term_resolveName_x27___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_Lean_Elab_Term_debug_byAsSorry; static lean_object* l_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go___closed__1; @@ -1961,17 +1946,18 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatch LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Term_logUnassignedLevelMVarsUsingErrorInfos___spec__1(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at_Lean_Elab_Term_isLocalIdent_x3f___spec__7(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticReuse___rarg___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___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*); double lean_float_sub(double, double); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__11; LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at_Lean_Elab_Term_isLocalIdent_x3f___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__9; uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Tactic_beqCacheKey____x40_Lean_Elab_Term___hyg_874____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -65300,605 +65286,147 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_2, x_1); -if (x_11 == 0) +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) { -lean_object* x_12; +lean_object* x_10; +lean_dec(x_7); lean_dec(x_6); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_3); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_array_uget(x_3, x_2); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_3, x_2, x_14); -x_16 = l_Lean_Expr_fvarId_x21(x_13); -lean_inc(x_6); -x_17 = l_Lean_FVarId_getUserName(x_16, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; -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 = 1; -x_21 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; -x_22 = l_Lean_Name_toString(x_18, x_20, x_21); -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -lean_ctor_set(x_24, 2, x_23); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_13); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = 1; -x_28 = lean_usize_add(x_2, x_27); -x_29 = lean_array_uset(x_15, x_2, x_26); -x_2 = x_28; -x_3 = x_29; -x_10 = x_19; -goto _start; -} -else -{ -uint8_t x_31; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_6); -x_31 = !lean_is_exclusive(x_17); -if (x_31 == 0) -{ -return x_17; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_17, 0); -x_33 = lean_ctor_get(x_17, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_17); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4(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_1); -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; -x_6 = lean_ctor_get(x_2, 1); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_1); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_2); -lean_ctor_set(x_7, 1, x_3); -x_2 = x_6; -x_3 = x_7; -goto _start; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* 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); -lean_inc(x_1); -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_1); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_3); -x_2 = x_10; -x_3 = x_12; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___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, 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; uint8_t x_14; -x_13 = lean_ctor_get(x_3, 1); -x_14 = lean_nat_dec_lt(x_5, x_13); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_5); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_4); -lean_ctor_set(x_15, 1, x_12); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_11); +lean_inc(x_4); +x_15 = l_Lean_FVarId_getUserName(x_14, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(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; +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 = 1; +x_19 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; +x_20 = l_Lean_Name_toString(x_16, x_18, x_19); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_21 = lean_infer_type(x_11, x_4, x_5, x_6, x_7, 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; 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; size_t x_38; size_t x_39; lean_object* x_40; +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 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_22, x_4, x_5, x_6, x_7, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Meta_ppExpr(x_25, x_4, x_5, x_6, x_7, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Std_Format_defWidth; +x_31 = lean_format_pretty(x_28, x_30, x_12, x_12); +x_32 = l_Lean_Elab_Term_extraMsgToMsg___closed__3; +x_33 = lean_string_append(x_32, x_20); +lean_dec(x_20); +x_34 = l_Lean_Elab_Term_mkCoe___lambda__1___closed__3; +x_35 = lean_string_append(x_33, x_34); +x_36 = lean_string_append(x_35, x_31); +lean_dec(x_31); +x_37 = lean_string_append(x_36, x_32); +x_38 = 1; +x_39 = lean_usize_add(x_2, x_38); +x_40 = lean_array_uset(x_13, x_2, x_37); +x_2 = x_39; +x_3 = x_40; +x_8 = x_29; +goto _start; +} +else +{ +uint8_t x_42; +lean_dec(x_20); +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_42 = !lean_is_exclusive(x_21); +if (x_42 == 0) +{ +return x_21; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_21, 0); +x_44 = lean_ctor_get(x_21, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_21); +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; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_46 = !lean_is_exclusive(x_15); +if (x_46 == 0) +{ return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_array_fget(x_2, x_5); -x_24 = lean_array_get_size(x_1); -x_25 = lean_nat_dec_lt(x_5, x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_array_push(x_4, x_23); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_16 = x_27; -x_17 = x_12; -goto block_22; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_array_fget(x_1, x_5); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_28); -x_30 = lean_array_push(x_4, x_23); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_16 = x_31; -x_17 = x_12; -goto block_22; -} -else -{ -lean_object* x_32; uint8_t x_33; -x_32 = lean_ctor_get(x_28, 0); -lean_inc(x_32); -lean_dec(x_28); -x_33 = !lean_is_exclusive(x_29); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_35 = lean_infer_type(x_34, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 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; uint8_t x_54; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_36, x_8, x_9, x_10, x_11, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Meta_ppExpr(x_39, x_8, x_9, x_10, x_11, x_40); -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_Std_Format_defWidth; -x_45 = lean_unsigned_to_nat(0u); -x_46 = lean_format_pretty(x_42, x_44, x_45, x_45); -x_47 = lean_ctor_get(x_32, 0); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_15, 0); +x_48 = lean_ctor_get(x_15, 1); +lean_inc(x_48); lean_inc(x_47); -lean_dec(x_32); -x_48 = l_Lean_Elab_Term_extraMsgToMsg___closed__3; -x_49 = lean_string_append(x_48, x_47); -lean_dec(x_47); -x_50 = l_Lean_Elab_Term_mkCoe___lambda__1___closed__3; -x_51 = lean_string_append(x_49, x_50); -x_52 = lean_string_append(x_51, x_46); -lean_dec(x_46); -x_53 = lean_string_append(x_52, x_48); -x_54 = !lean_is_exclusive(x_23); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_55 = lean_ctor_get(x_23, 1); -lean_dec(x_55); -lean_ctor_set(x_29, 0, x_53); -lean_inc(x_29); -lean_ctor_set(x_23, 1, x_29); -x_56 = lean_array_push(x_4, x_23); -x_57 = lean_array_get_size(x_56); -x_58 = lean_unsigned_to_nat(2u); -x_59 = lean_nat_sub(x_57, x_58); -x_60 = lean_nat_dec_lt(x_59, x_57); -lean_dec(x_57); -if (x_60 == 0) -{ -lean_object* x_61; -lean_dec(x_59); -lean_dec(x_29); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_56); -x_16 = x_61; -x_17 = x_43; -goto block_22; -} -else -{ -lean_object* x_62; uint8_t x_63; -x_62 = lean_array_fget(x_56, x_59); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_62, 1); -lean_dec(x_64); -lean_ctor_set(x_62, 1, x_29); -x_65 = lean_array_set(x_56, x_59, x_62); -lean_dec(x_59); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_65); -x_16 = x_66; -x_17 = x_43; -goto block_22; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_62, 0); -x_68 = lean_ctor_get(x_62, 2); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_62); -x_69 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_29); -lean_ctor_set(x_69, 2, x_68); -x_70 = lean_array_set(x_56, x_59, x_69); -lean_dec(x_59); -x_71 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_16 = x_71; -x_17 = x_43; -goto block_22; -} -} -} -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; lean_object* x_78; uint8_t x_79; -x_72 = lean_ctor_get(x_23, 0); -x_73 = lean_ctor_get(x_23, 2); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_23); -lean_ctor_set(x_29, 0, x_53); -lean_inc(x_29); -x_74 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_29); -lean_ctor_set(x_74, 2, x_73); -x_75 = lean_array_push(x_4, x_74); -x_76 = lean_array_get_size(x_75); -x_77 = lean_unsigned_to_nat(2u); -x_78 = lean_nat_sub(x_76, x_77); -x_79 = lean_nat_dec_lt(x_78, x_76); -lean_dec(x_76); -if (x_79 == 0) -{ -lean_object* x_80; -lean_dec(x_78); -lean_dec(x_29); -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_75); -x_16 = x_80; -x_17 = x_43; -goto block_22; -} -else -{ -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_81 = lean_array_fget(x_75, x_78); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 2); -lean_inc(x_83); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - lean_ctor_release(x_81, 2); - x_84 = x_81; -} else { - lean_dec_ref(x_81); - x_84 = lean_box(0); -} -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(0, 3, 0); -} else { - x_85 = x_84; -} -lean_ctor_set(x_85, 0, x_82); -lean_ctor_set(x_85, 1, x_29); -lean_ctor_set(x_85, 2, x_83); -x_86 = lean_array_set(x_75, x_78, x_85); -lean_dec(x_78); -x_87 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_87, 0, x_86); -x_16 = x_87; -x_17 = x_43; -goto block_22; -} -} -} -else -{ -uint8_t x_88; -lean_free_object(x_29); -lean_dec(x_32); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -x_88 = !lean_is_exclusive(x_35); -if (x_88 == 0) -{ -return x_35; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_35, 0); -x_90 = lean_ctor_get(x_35, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_35); -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; -} -} -} -else -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_29, 0); -lean_inc(x_92); -lean_dec(x_29); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_93 = lean_infer_type(x_92, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_93) == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_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; uint8_t x_121; -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_94, x_8, x_9, x_10, x_11, x_95); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = l_Lean_Meta_ppExpr(x_97, x_8, x_9, x_10, x_11, x_98); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = l_Std_Format_defWidth; -x_103 = lean_unsigned_to_nat(0u); -x_104 = lean_format_pretty(x_100, x_102, x_103, x_103); -x_105 = lean_ctor_get(x_32, 0); -lean_inc(x_105); -lean_dec(x_32); -x_106 = l_Lean_Elab_Term_extraMsgToMsg___closed__3; -x_107 = lean_string_append(x_106, x_105); -lean_dec(x_105); -x_108 = l_Lean_Elab_Term_mkCoe___lambda__1___closed__3; -x_109 = lean_string_append(x_107, x_108); -x_110 = lean_string_append(x_109, x_104); -lean_dec(x_104); -x_111 = lean_string_append(x_110, x_106); -x_112 = lean_ctor_get(x_23, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_23, 2); -lean_inc(x_113); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - lean_ctor_release(x_23, 2); - x_114 = x_23; -} else { - lean_dec_ref(x_23); - x_114 = lean_box(0); -} -x_115 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_115, 0, x_111); -lean_inc(x_115); -if (lean_is_scalar(x_114)) { - x_116 = lean_alloc_ctor(0, 3, 0); -} else { - x_116 = x_114; -} -lean_ctor_set(x_116, 0, x_112); -lean_ctor_set(x_116, 1, x_115); -lean_ctor_set(x_116, 2, x_113); -x_117 = lean_array_push(x_4, x_116); -x_118 = lean_array_get_size(x_117); -x_119 = lean_unsigned_to_nat(2u); -x_120 = lean_nat_sub(x_118, x_119); -x_121 = lean_nat_dec_lt(x_120, x_118); -lean_dec(x_118); -if (x_121 == 0) -{ -lean_object* x_122; -lean_dec(x_120); -lean_dec(x_115); -x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_117); -x_16 = x_122; -x_17 = x_101; -goto block_22; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = lean_array_fget(x_117, x_120); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 2); -lean_inc(x_125); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - lean_ctor_release(x_123, 2); - x_126 = x_123; -} else { - lean_dec_ref(x_123); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(0, 3, 0); -} else { - x_127 = x_126; -} -lean_ctor_set(x_127, 0, x_124); -lean_ctor_set(x_127, 1, x_115); -lean_ctor_set(x_127, 2, x_125); -x_128 = lean_array_set(x_117, x_120, x_127); -lean_dec(x_120); -x_129 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_129, 0, x_128); -x_16 = x_129; -x_17 = x_101; -goto block_22; -} -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -lean_dec(x_32); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -x_130 = lean_ctor_get(x_93, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_93, 1); -lean_inc(x_131); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_132 = x_93; -} else { - lean_dec_ref(x_93); - x_132 = lean_box(0); -} -if (lean_is_scalar(x_132)) { - x_133 = lean_alloc_ctor(1, 2, 0); -} else { - x_133 = x_132; -} -lean_ctor_set(x_133, 0, x_130); -lean_ctor_set(x_133, 1, x_131); -return x_133; +lean_dec(x_15); +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; } } } } -block_22: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ctor_get(x_3, 2); -x_20 = lean_nat_add(x_5, x_19); -lean_dec(x_5); -x_4 = x_18; -x_5 = x_20; -x_6 = lean_box(0); -x_7 = lean_box(0); -x_12 = x_17; -goto _start; } -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__6(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; -} -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -65930,287 +65458,191 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___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) { +static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__1() { _start: { -lean_object* x_9; -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 0) +lean_object* x_1; +x_1 = lean_mk_string_unchecked("```lean", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Automatically-inserted implicit parameters:", 43, 43); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("```", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___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_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__3; +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_Term_addAutoBoundImplicitsInlayHint___lambda__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: { lean_object* x_10; -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_3); -lean_ctor_set(x_10, 1, x_8); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3(x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9); +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; 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; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_array_to_list(x_12); +x_14 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__1; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__2; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__4; +x_19 = l_List_appendTR___rarg(x_17, x_18); +x_20 = l_Lean_Elab_Term_extraMsgToMsg___closed__1; +x_21 = l_String_intercalate(x_20, x_19); +x_22 = !lean_is_exclusive(x_4); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_4, 4); +lean_dec(x_23); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_4, 4, x_24); +lean_ctor_set(x_10, 0, x_4); return x_10; } else { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_3); -if (x_11 == 0) -{ -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, 2); -x_14 = lean_ctor_get(x_3, 3); -x_15 = lean_ctor_get(x_3, 4); -x_16 = lean_ctor_get(x_3, 1); -lean_dec(x_16); -x_17 = !lean_is_exclusive(x_9); -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_ctor_get(x_9, 0); -x_19 = lean_array_mk(x_1); -x_20 = lean_array_get_size(x_18); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_20); -lean_ctor_set(x_23, 2, x_22); -x_24 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__5(x_2, x_18, x_23, x_19, x_21, lean_box(0), lean_box(0), x_4, x_5, x_6, x_7, x_8); -lean_dec(x_23); -lean_dec(x_18); -if (lean_obj_tag(x_24) == 0) -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_ctor_set(x_9, 0, x_26); -lean_ctor_set(x_24, 0, x_3); -return x_24; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_24, 0); -x_28 = lean_ctor_get(x_24, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; +x_25 = lean_ctor_get(x_4, 0); +x_26 = lean_ctor_get(x_4, 1); +x_27 = lean_ctor_get(x_4, 2); +x_28 = lean_ctor_get(x_4, 3); +x_29 = lean_ctor_get_uint8(x_4, sizeof(void*)*5); +x_30 = lean_ctor_get_uint8(x_4, sizeof(void*)*5 + 1); lean_inc(x_28); lean_inc(x_27); -lean_dec(x_24); -lean_ctor_set(x_9, 0, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_3); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_4); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_21); +x_32 = lean_alloc_ctor(0, 5, 2); +lean_ctor_set(x_32, 0, x_25); +lean_ctor_set(x_32, 1, x_26); +lean_ctor_set(x_32, 2, x_27); +lean_ctor_set(x_32, 3, x_28); +lean_ctor_set(x_32, 4, x_31); +lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_29); +lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 1, x_30); +lean_ctor_set(x_10, 0, x_32); +return x_10; } } else { -uint8_t x_30; -lean_free_object(x_9); -lean_free_object(x_3); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_30 = !lean_is_exclusive(x_24); -if (x_30 == 0) -{ -return x_24; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_24, 0); -x_32 = lean_ctor_get(x_24, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_24); -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 -{ -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_34 = lean_ctor_get(x_9, 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; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_33 = lean_ctor_get(x_10, 0); +x_34 = lean_ctor_get(x_10, 1); lean_inc(x_34); -lean_dec(x_9); -x_35 = lean_array_mk(x_1); -x_36 = lean_array_get_size(x_34); -x_37 = lean_unsigned_to_nat(0u); -x_38 = lean_unsigned_to_nat(1u); -x_39 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 2, x_38); -x_40 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__5(x_2, x_34, x_39, x_35, x_37, lean_box(0), lean_box(0), x_4, x_5, x_6, x_7, x_8); -lean_dec(x_39); -lean_dec(x_34); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_43 = x_40; -} else { - lean_dec_ref(x_40); - x_43 = lean_box(0); -} -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_41); -lean_ctor_set(x_3, 1, x_44); -if (lean_is_scalar(x_43)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_43; -} -lean_ctor_set(x_45, 0, x_3); -lean_ctor_set(x_45, 1, x_42); -return x_45; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_free_object(x_3); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_46 = lean_ctor_get(x_40, 0); +lean_inc(x_33); +lean_dec(x_10); +x_35 = lean_array_to_list(x_33); +x_36 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__1; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__2; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__4; +x_41 = l_List_appendTR___rarg(x_39, x_40); +x_42 = l_Lean_Elab_Term_extraMsgToMsg___closed__1; +x_43 = l_String_intercalate(x_42, x_41); +x_44 = lean_ctor_get(x_4, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_4, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_4, 2); lean_inc(x_46); -x_47 = lean_ctor_get(x_40, 1); +x_47 = lean_ctor_get(x_4, 3); lean_inc(x_47); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_48 = x_40; +x_48 = lean_ctor_get_uint8(x_4, sizeof(void*)*5); +x_49 = lean_ctor_get_uint8(x_4, sizeof(void*)*5 + 1); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + lean_ctor_release(x_4, 3); + lean_ctor_release(x_4, 4); + x_50 = x_4; } else { - lean_dec_ref(x_40); - x_48 = lean_box(0); + lean_dec_ref(x_4); + x_50 = lean_box(0); } -if (lean_is_scalar(x_48)) { - x_49 = lean_alloc_ctor(1, 2, 0); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_43); +if (lean_is_scalar(x_50)) { + x_52 = lean_alloc_ctor(0, 5, 2); } else { - x_49 = x_48; -} -lean_ctor_set(x_49, 0, x_46); -lean_ctor_set(x_49, 1, x_47); -return x_49; + x_52 = x_50; } +lean_ctor_set(x_52, 0, x_44); +lean_ctor_set(x_52, 1, x_45); +lean_ctor_set(x_52, 2, x_46); +lean_ctor_set(x_52, 3, x_47); +lean_ctor_set(x_52, 4, x_51); +lean_ctor_set_uint8(x_52, sizeof(void*)*5, x_48); +lean_ctor_set_uint8(x_52, sizeof(void*)*5 + 1, x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_34); +return x_53; } } else { -lean_object* x_50; lean_object* 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; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_50 = lean_ctor_get(x_3, 0); -x_51 = lean_ctor_get(x_3, 2); -x_52 = lean_ctor_get(x_3, 3); -x_53 = lean_ctor_get(x_3, 4); -x_54 = lean_ctor_get_uint8(x_3, sizeof(void*)*5); -x_55 = lean_ctor_get_uint8(x_3, sizeof(void*)*5 + 1); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_3); -x_56 = lean_ctor_get(x_9, 0); +uint8_t x_54; +lean_dec(x_4); +x_54 = !lean_is_exclusive(x_10); +if (x_54 == 0) +{ +return x_10; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_10, 0); +x_56 = lean_ctor_get(x_10, 1); lean_inc(x_56); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - x_57 = x_9; -} else { - lean_dec_ref(x_9); - x_57 = lean_box(0); -} -x_58 = lean_array_mk(x_1); -x_59 = lean_array_get_size(x_56); -x_60 = lean_unsigned_to_nat(0u); -x_61 = lean_unsigned_to_nat(1u); -x_62 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_59); -lean_ctor_set(x_62, 2, x_61); -x_63 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__5(x_2, x_56, x_62, x_58, x_60, lean_box(0), lean_box(0), x_4, x_5, x_6, x_7, x_8); -lean_dec(x_62); -lean_dec(x_56); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -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); -} -if (lean_is_scalar(x_57)) { - x_67 = lean_alloc_ctor(1, 1, 0); -} else { - x_67 = x_57; -} -lean_ctor_set(x_67, 0, x_64); -x_68 = lean_alloc_ctor(0, 5, 2); -lean_ctor_set(x_68, 0, x_50); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_51); -lean_ctor_set(x_68, 3, x_52); -lean_ctor_set(x_68, 4, x_53); -lean_ctor_set_uint8(x_68, sizeof(void*)*5, x_54); -lean_ctor_set_uint8(x_68, sizeof(void*)*5 + 1, x_55); -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_68); -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_dec(x_57); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_50); -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); -} -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(1, 2, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_71); -return x_73; -} +lean_inc(x_55); +lean_dec(x_10); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } @@ -66234,137 +65666,6 @@ return x_1; static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___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_Term_mkTypeMismatchError___closed__3; -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -lean_ctor_set(x_3, 2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___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_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__3; -x_3 = lean_alloc_ctor(0, 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_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("{", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__5; -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -lean_ctor_set(x_3, 2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__6; -x_3 = lean_alloc_ctor(0, 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_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___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_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__4; -x_2 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__8; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___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_Term_addAutoBoundImplicitsInlayHint___lambda__2___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_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___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_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__2; -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -lean_ctor_set(x_3, 2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___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_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__11; -x_3 = lean_alloc_ctor(0, 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_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__12; -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_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__14() { -_start: -{ uint8_t x_1; lean_object* x_2; lean_object* x_3; x_1 = 1; x_2 = lean_box(x_1); @@ -66373,21 +65674,12 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__15() { +static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___boxed__const__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Automatically-inserted implicit parameters", 42, 42); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__15; -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); return x_2; } } @@ -66402,7 +65694,7 @@ lean_inc(x_1); x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__1(x_11, x_12, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; size_t 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_14; lean_object* x_15; size_t 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; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -66418,118 +65710,74 @@ x_22 = lean_string_append(x_21, x_20); lean_dec(x_20); x_23 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__2; x_24 = lean_string_append(x_22, x_23); -lean_inc(x_6); -x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3(x_11, x_12, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_15); -if (lean_obj_tag(x_25) == 0) -{ -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; size_t 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; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -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 = lean_array_to_list(x_26); -x_29 = lean_box(0); -x_30 = l_List_mapTR_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4(x_29, x_28, x_29); -x_31 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__10; -x_32 = l_List_intercalateTR___rarg(x_31, x_30); -x_33 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__9; -x_34 = l_List_appendTR___rarg(x_33, x_32); -x_35 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__13; -x_36 = l_List_appendTR___rarg(x_34, x_35); -x_37 = lean_array_mk(x_36); -lean_inc(x_37); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___boxed), 8, 2); -lean_closure_set(x_38, 0, x_29); -lean_closure_set(x_38, 1, x_37); -x_39 = lean_ctor_get(x_6, 2); -lean_inc(x_39); -x_40 = lean_array_size(x_37); -x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__6(x_40, x_12, x_37); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); +x_25 = lean_box_usize(x_11); +x_26 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___boxed__const__1; +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___boxed), 9, 3); +lean_closure_set(x_27, 0, x_25); +lean_closure_set(x_27, 1, x_26); +lean_closure_set(x_27, 2, x_1); +x_28 = lean_ctor_get(x_6, 2); +lean_inc(x_28); +lean_inc(x_24); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_24); lean_inc_n(x_2, 2); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_2); -lean_ctor_set(x_43, 1, x_2); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_24); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_29); -x_46 = lean_array_mk(x_45); -x_47 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__14; -x_48 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__16; -x_49 = 0; -x_50 = lean_alloc_ctor(0, 5, 2); -lean_ctor_set(x_50, 0, x_2); -lean_ctor_set(x_50, 1, x_42); -lean_ctor_set(x_50, 2, x_47); -lean_ctor_set(x_50, 3, x_46); -lean_ctor_set(x_50, 4, x_48); -lean_ctor_set_uint8(x_50, sizeof(void*)*5, x_49); -lean_ctor_set_uint8(x_50, sizeof(void*)*5 + 1, 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_39); -lean_ctor_set(x_51, 2, x_38); -x_52 = l_Lean_Elab_InlayHint_toCustomInfo(x_51); -x_53 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_53, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_2); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_24); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_array_mk(x_33); +x_35 = lean_box(0); +x_36 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__3; +x_37 = 0; +x_38 = lean_alloc_ctor(0, 5, 2); +lean_ctor_set(x_38, 0, x_2); +lean_ctor_set(x_38, 1, x_29); +lean_ctor_set(x_38, 2, x_36); +lean_ctor_set(x_38, 3, x_34); +lean_ctor_set(x_38, 4, x_35); +lean_ctor_set_uint8(x_38, sizeof(void*)*5, x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*5 + 1, x_37); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_28); +lean_ctor_set(x_39, 2, x_27); +x_40 = l_Lean_Elab_InlayHint_toCustomInfo(x_39); +x_41 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_41, x_4, x_5, x_6, x_7, x_8, x_9, x_15); lean_dec(x_6); -return x_54; +return x_42; } else { -uint8_t x_55; -lean_dec(x_24); -lean_dec(x_6); -lean_dec(x_2); -x_55 = !lean_is_exclusive(x_25); -if (x_55 == 0) -{ -return x_25; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_25, 0); -x_57 = lean_ctor_get(x_25, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_25); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -uint8_t x_59; +uint8_t x_43; lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_13); -if (x_59 == 0) +x_43 = !lean_is_exclusive(x_13); +if (x_43 == 0) { return x_13; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_13, 0); -x_61 = lean_ctor_get(x_13, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_13, 0); +x_45 = lean_ctor_get(x_13, 1); +lean_inc(x_45); +lean_inc(x_44); lean_dec(x_13); -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; +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; } } } @@ -66568,7 +65816,7 @@ x_23 = 0; x_24 = lean_usize_of_nat(x_17); lean_dec(x_17); x_25 = l_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go___closed__2; -x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__7(x_1, x_23, x_24, x_25); +x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4(x_1, x_23, x_24, x_25); x_10 = x_26; goto block_16; } @@ -66628,47 +65876,19 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint_ return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___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) { _start: { -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_1); +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); lean_dec(x_1); -x_12 = lean_unbox_usize(x_2); +x_10 = lean_unbox_usize(x_2); lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -return x_13; +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__3(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__6___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_Term_addAutoBoundImplicitsInlayHint___spec__6(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4___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; @@ -66676,18 +65896,21 @@ 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_Term_addAutoBoundImplicitsInlayHint___spec__7(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___spec__4(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___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_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___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) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_11 = lean_unbox_usize(x_2); lean_dec(x_2); -return x_9; +x_12 = l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___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) { @@ -73425,7 +72648,7 @@ lean_dec(x_3); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__1() { _start: { lean_object* x_1; @@ -73433,17 +72656,17 @@ x_1 = lean_mk_string_unchecked("letrec", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__3___closed__2; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73453,27 +72676,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__3; x_2 = l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__3___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__4; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__4; x_2 = l___auto____x40_Lean_Elab_Term___hyg_3144____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__6() { _start: { lean_object* x_1; @@ -73481,17 +72704,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__6; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__8() { _start: { lean_object* x_1; @@ -73499,47 +72722,47 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__7; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__8; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__7; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__9; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__9; x_2 = l___auto____x40_Lean_Elab_Term___hyg_3144____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__10; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__10; x_2 = l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__3___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__11; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__11; x_2 = l___auto____x40_Lean_Elab_Term___hyg_3144____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__13() { _start: { lean_object* x_1; @@ -73547,33 +72770,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__12; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__13; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__12; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__15() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__14; -x_2 = lean_unsigned_to_nat(18126u); +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__14; +x_2 = lean_unsigned_to_nat(17715u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715_(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_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__15; +x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__15; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -73980,7 +73203,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object* x_1, lean _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__2; +x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__2; x_10 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); @@ -84019,77 +83242,77 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_withoutModifyingStateWithInfoAndMes return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__6; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____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_Term___hyg_20502____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__8; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__8; 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_Term___hyg_20502____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__2; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__2; x_2 = l___auto____x40_Lean_Elab_Term___hyg_3144____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_Term___hyg_20502____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__3; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__3; x_2 = l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__3___closed__2; 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_Term___hyg_20502____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__4; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__4; x_2 = l___auto____x40_Lean_Elab_Term___hyg_3144____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_Term___hyg_20502____closed__6() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__13; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__13; 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_Term___hyg_20502____closed__7() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__6; -x_2 = lean_unsigned_to_nat(20502u); +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__6; +x_2 = lean_unsigned_to_nat(20091u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__8() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -84099,7 +83322,7 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__9() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -84109,13 +83332,13 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__2; x_3 = 0; -x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__7; +x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__7; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -84131,7 +83354,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__8; +x_10 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__8; x_11 = l_Lean_registerTraceClass(x_10, x_3, x_4, x_9); if (lean_obj_tag(x_11) == 0) { @@ -84139,7 +83362,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); -x_13 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__9; +x_13 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__9; x_14 = l_Lean_registerTraceClass(x_13, x_3, x_4, x_12); return x_14; } @@ -84213,7 +83436,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____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; @@ -84224,7 +83447,7 @@ lean_ctor_set(x_6, 1, x_4); return x_6; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__1() { _start: { lean_object* x_1; @@ -84232,17 +83455,17 @@ x_1 = lean_mk_string_unchecked("incremental", 11, 11); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____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_Term___hyg_20656____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____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_Term___hyg_20656____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__3() { _start: { lean_object* x_1; @@ -84250,18 +83473,18 @@ x_1 = lean_mk_string_unchecked("incrementalAttr", 15, 15); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___auto____x40_Lean_Elab_Term___hyg_3144____closed__1; x_2 = l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__3___closed__2; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__3; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__5() { _start: { lean_object* x_1; @@ -84269,39 +83492,39 @@ x_1 = lean_mk_string_unchecked("Marks an elaborator (tactic or command, currentl return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__6() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____lambda__1___boxed), 4, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245_(lean_object* x_1) { _start: { 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_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__2; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__5; -x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__6; -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__4; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__2; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__5; +x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__6; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__4; x_6 = 0; x_7 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_5, x_6, x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____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_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____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; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20682_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20271_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -84369,7 +83592,7 @@ return x_13; } } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -84377,40 +83600,40 @@ x_1 = lean_mk_string_unchecked("addBuiltinIncrementalElab", 25, 25); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___auto____x40_Lean_Elab_Term___hyg_3144____closed__1; x_2 = l_Lean_Elab_Term_withoutTacticIncrementality___rarg___lambda__3___closed__2; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__1; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___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_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__2; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____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; lean_object* x_8; lean_object* x_9; lean_inc(x_1); x_6 = l___private_Lean_ToExpr_0__Lean_Name_toExprAux(x_1); -x_7 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__3; +x_7 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__3; x_8 = l_Lean_Expr_app___override(x_7, x_6); x_9 = l_Lean_declareBuiltin(x_1, x_8, x_3, x_4, x_5); return x_9; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -84418,16 +83641,16 @@ x_1 = lean_mk_string_unchecked("invalid attribute 'builtin_incremental', must be return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____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_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____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) { _start: { lean_object* x_7; @@ -84445,7 +83668,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_dec(x_1); -x_11 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__2; +x_11 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__2; x_12 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_11, x_4, x_5, x_8); lean_dec(x_5); lean_dec(x_4); @@ -84472,7 +83695,7 @@ else { lean_object* x_17; lean_object* x_18; x_17 = lean_box(0); -x_18 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1(x_1, x_17, x_4, x_5, x_8); +x_18 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1(x_1, x_17, x_4, x_5, x_8); return x_18; } } @@ -84503,7 +83726,7 @@ return x_22; } } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__1() { _start: { lean_object* x_1; @@ -84511,35 +83734,35 @@ x_1 = lean_mk_string_unchecked("attribute cannot be erased", 26, 26); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__2; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__2; x_6 = l_Lean_throwError___at_Lean_Attribute_Builtin_ensureNoArgs___spec__2(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__6; -x_2 = lean_unsigned_to_nat(20735u); +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__6; +x_2 = lean_unsigned_to_nat(20324u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__2() { _start: { lean_object* x_1; @@ -84547,17 +83770,17 @@ x_1 = lean_mk_string_unchecked("builtin_incremental", 19, 19); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____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_initFn____x40_Lean_Elab_Term___hyg_20735____closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__2; 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_Term___hyg_20735____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__4() { _start: { lean_object* x_1; @@ -84565,7 +83788,7 @@ x_1 = lean_mk_string_unchecked("(builtin) ", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____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; @@ -84578,29 +83801,29 @@ lean_dec(x_2); x_4 = lean_ctor_get(x_3, 2); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__4; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__4; x_6 = lean_string_append(x_5, x_4); lean_dec(x_4); return x_6; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__6() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__5; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__5; x_2 = l_Lean_Elab_Term_extraMsgToMsg___closed__3; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__7() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__1; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__3; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__6; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__3; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__6; x_4 = 1; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_1); @@ -84610,29 +83833,29 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__8() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__8() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__9() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__9() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__10() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__7; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__8; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__9; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__7; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__8; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__9; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -84640,39 +83863,39 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__10; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__10; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____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_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____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_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2(x_1, x_2, x_7, x_4, x_5, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___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_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -84849,23 +84072,23 @@ x_7 = l_Lean_Elab_isIncrementalElab___rarg___lambda__4(x_1, x_2, x_3, x_4, x_6); return x_7; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20988____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20577____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__6; -x_2 = lean_unsigned_to_nat(20988u); +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__6; +x_2 = lean_unsigned_to_nat(20577u); 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_Term___hyg_20988_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20577_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2; x_3 = 0; -x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20988____closed__1; +x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20577____closed__1; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -85706,38 +84929,22 @@ lean_mark_persistent(l_Lean_Elab_Term_withAutoBoundImplicit___rarg___closed__1); l_Lean_Elab_Term_collectUnassignedMVars_go___closed__1 = _init_l_Lean_Elab_Term_collectUnassignedMVars_go___closed__1(); l_Lean_Elab_Term_collectUnassignedMVars_go___closed__2 = _init_l_Lean_Elab_Term_collectUnassignedMVars_go___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_collectUnassignedMVars_go___closed__2); +l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__1 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__1); +l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__2 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__2); +l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__3 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__3); +l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__4 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1___closed__4); l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__1 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__1); l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__2 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__2); l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__3 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__3); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__4 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__4); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__5 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__5); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__6 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__6); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__7 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__7); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__8 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__8); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__9 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__9); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__10 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__10); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__11 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__11); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__12 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__12); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__13 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__13); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__14 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__14); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__15 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__15); -l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__16 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___closed__16); +l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___boxed__const__1 = _init_l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__2___boxed__const__1); l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__51___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__51___closed__1(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__51___closed__1); l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__51___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__51___closed__2(); @@ -85750,37 +84957,37 @@ l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__5); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__6); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__7); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__8); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__9); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__10); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__11); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__12); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__13); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__14); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__15 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126____closed__15); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_18126_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__6); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__7); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__8); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__9); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__10); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__11); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__12); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__13); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__14); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__15 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715____closed__15); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_17715_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Elab_Term_isLetRecAuxMVar___lambda__3___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__3___closed__1(); @@ -85951,95 +85158,95 @@ l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__3 = _init_l_Lean_Elab_Term_e lean_mark_persistent(l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__3); l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4 = _init_l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4(); lean_mark_persistent(l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__6(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__6); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__7(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__7); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__8(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__8); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__9(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502____closed__9); -if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20502_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__5); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__6(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__6); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__7(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__7); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__8(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__8); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__9(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091____closed__9); +if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20091_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__6(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656____closed__6); -if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20656_(lean_io_mk_world()); +}l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__5); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__6(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245____closed__6); +if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20245_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_incrementalAttr = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_incrementalAttr); lean_dec_ref(res); -}if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20682_(lean_io_mk_world()); +}if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20271_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_builtinIncrementalElabs = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_builtinIncrementalElabs); lean_dec_ref(res); }l_Lean_Elab_addBuiltinIncrementalElab___closed__1 = _init_l_Lean_Elab_addBuiltinIncrementalElab___closed__1(); lean_mark_persistent(l_Lean_Elab_addBuiltinIncrementalElab___closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__1___closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__2___closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____lambda__3___closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__6(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__6); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__7(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__7); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__8(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__8); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__9(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__9); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__10 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__10(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735____closed__10); -if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20735_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__1___closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__2___closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____lambda__3___closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__5); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__6(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__6); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__7(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__7); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__8(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__8); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__9(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__9); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__10 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__10(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324____closed__10); +if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20324_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Elab_isIncrementalElab___rarg___lambda__3___closed__1 = _init_l_Lean_Elab_isIncrementalElab___rarg___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Elab_isIncrementalElab___rarg___lambda__3___closed__1); l_Lean_Elab_isIncrementalElab___rarg___closed__1 = _init_l_Lean_Elab_isIncrementalElab___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_isIncrementalElab___rarg___closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20988____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20988____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20988____closed__1); -if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20988_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20577____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20577____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20577____closed__1); +if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_20577_(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/Environment.c b/stage0/stdlib/Lean/Environment.c index 4f6c7bda55..59a6eb29bf 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -7992,7 +7992,7 @@ lean_dec(x_19); x_21 = lean_string_append(x_20, x_14); x_22 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_23 = l_Lean_Environment_enableRealizationsForConst___lambda__3___closed__2; -x_24 = lean_unsigned_to_nat(683u); +x_24 = lean_unsigned_to_nat(686u); x_25 = lean_unsigned_to_nat(6u); x_26 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_22, x_23, x_24, x_25, x_21); lean_dec(x_21); @@ -8093,7 +8093,7 @@ x_11 = l_Lean_Environment_enableRealizationsForConst___closed__2; x_12 = lean_string_append(x_10, x_11); x_13 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_14 = l_Lean_Environment_enableRealizationsForConst___lambda__3___closed__2; -x_15 = lean_unsigned_to_nat(679u); +x_15 = lean_unsigned_to_nat(682u); x_16 = lean_unsigned_to_nat(4u); x_17 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_13, x_14, x_15, x_16, x_12); lean_dec(x_12); @@ -11086,7 +11086,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_2 = l_Lean_Environment_PromiseCheckedResult_commitChecked___closed__4; -x_3 = lean_unsigned_to_nat(765u); +x_3 = lean_unsigned_to_nat(768u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Environment_PromiseCheckedResult_commitChecked___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11367,7 +11367,7 @@ x_26 = l_Lean_instToStringImport___closed__2; x_27 = lean_string_append(x_25, x_26); x_28 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_29 = l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__16; -x_30 = lean_unsigned_to_nat(812u); +x_30 = lean_unsigned_to_nat(815u); x_31 = lean_unsigned_to_nat(11u); x_32 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_28, x_29, x_30, x_31, x_27); lean_dec(x_27); @@ -13065,7 +13065,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_2 = l_Lean_Environment_setMainModule___closed__1; -x_3 = lean_unsigned_to_nat(928u); +x_3 = lean_unsigned_to_nat(931u); x_4 = lean_unsigned_to_nat(11u); x_5 = l_Lean_Environment_setMainModule___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13771,7 +13771,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_2 = l___private_Lean_Environment_0__Lean_EnvExtension_setStateImpl___rarg___closed__1; -x_3 = lean_unsigned_to_nat(1076u); +x_3 = lean_unsigned_to_nat(1079u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtension_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13841,7 +13841,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_2 = l___private_Lean_Environment_0__Lean_EnvExtension_modifyStateImpl___rarg___closed__1; -x_3 = lean_unsigned_to_nat(1087u); +x_3 = lean_unsigned_to_nat(1090u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtension_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13907,7 +13907,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_2 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateImpl___rarg___closed__1; -x_3 = lean_unsigned_to_nat(1093u); +x_3 = lean_unsigned_to_nat(1096u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtension_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -14435,7 +14435,7 @@ x_19 = l___private_Lean_Environment_0__Lean_Kernel_Exception_toRawString___close x_20 = lean_string_append(x_18, x_19); x_21 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_22 = l_Lean_EnvExtension_modifyState___rarg___closed__2; -x_23 = lean_unsigned_to_nat(1121u); +x_23 = lean_unsigned_to_nat(1124u); x_24 = lean_unsigned_to_nat(15u); x_25 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_21, x_22, x_23, x_24, x_20); lean_dec(x_20); @@ -14611,7 +14611,7 @@ x_72 = l___private_Lean_Environment_0__Lean_Kernel_Exception_toRawString___close x_73 = lean_string_append(x_71, x_72); x_74 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_75 = l_Lean_EnvExtension_modifyState___rarg___closed__2; -x_76 = lean_unsigned_to_nat(1113u); +x_76 = lean_unsigned_to_nat(1116u); x_77 = lean_unsigned_to_nat(13u); x_78 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_74, x_75, x_76, x_77, x_73); lean_dec(x_73); @@ -14628,7 +14628,7 @@ x_82 = l___private_Lean_Environment_0__Lean_Kernel_Exception_toRawString___close x_83 = lean_string_append(x_81, x_82); x_84 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_85 = l_Lean_EnvExtension_modifyState___rarg___closed__2; -x_86 = lean_unsigned_to_nat(1113u); +x_86 = lean_unsigned_to_nat(1116u); x_87 = lean_unsigned_to_nat(13u); x_88 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_84, x_85, x_86, x_87, x_83); lean_dec(x_83); @@ -14687,7 +14687,7 @@ x_104 = l___private_Lean_Environment_0__Lean_Kernel_Exception_toRawString___clos x_105 = lean_string_append(x_103, x_104); x_106 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_107 = l_Lean_EnvExtension_modifyState___rarg___closed__2; -x_108 = lean_unsigned_to_nat(1121u); +x_108 = lean_unsigned_to_nat(1124u); x_109 = lean_unsigned_to_nat(15u); x_110 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_106, x_107, x_108, x_109, x_105); lean_dec(x_105); @@ -14841,7 +14841,7 @@ x_20 = l___private_Lean_Environment_0__Lean_Kernel_Exception_toRawString___close x_21 = lean_string_append(x_19, x_20); x_22 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_23 = l_Lean_EnvExtension_modifyState___rarg___closed__2; -x_24 = lean_unsigned_to_nat(1121u); +x_24 = lean_unsigned_to_nat(1124u); x_25 = lean_unsigned_to_nat(15u); x_26 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_22, x_23, x_24, x_25, x_21); lean_dec(x_21); @@ -15017,7 +15017,7 @@ x_73 = l___private_Lean_Environment_0__Lean_Kernel_Exception_toRawString___close x_74 = lean_string_append(x_72, x_73); x_75 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_76 = l_Lean_EnvExtension_modifyState___rarg___closed__2; -x_77 = lean_unsigned_to_nat(1113u); +x_77 = lean_unsigned_to_nat(1116u); x_78 = lean_unsigned_to_nat(13u); x_79 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_75, x_76, x_77, x_78, x_74); lean_dec(x_74); @@ -15034,7 +15034,7 @@ x_83 = l___private_Lean_Environment_0__Lean_Kernel_Exception_toRawString___close x_84 = lean_string_append(x_82, x_83); x_85 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_86 = l_Lean_EnvExtension_modifyState___rarg___closed__2; -x_87 = lean_unsigned_to_nat(1113u); +x_87 = lean_unsigned_to_nat(1116u); x_88 = lean_unsigned_to_nat(13u); x_89 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_85, x_86, x_87, x_88, x_84); lean_dec(x_84); @@ -15093,7 +15093,7 @@ x_105 = l___private_Lean_Environment_0__Lean_Kernel_Exception_toRawString___clos x_106 = lean_string_append(x_104, x_105); x_107 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_108 = l_Lean_EnvExtension_modifyState___rarg___closed__2; -x_109 = lean_unsigned_to_nat(1121u); +x_109 = lean_unsigned_to_nat(1124u); x_110 = lean_unsigned_to_nat(15u); x_111 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_107, x_108, x_109, x_110, x_106); lean_dec(x_106); @@ -15154,7 +15154,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_2 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___rarg___closed__1; -x_3 = lean_unsigned_to_nat(1139u); +x_3 = lean_unsigned_to_nat(1142u); x_4 = lean_unsigned_to_nat(17u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -17899,7 +17899,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_2 = l_Lean_TagDeclarationExtension_tag___closed__3; -x_3 = lean_unsigned_to_nat(1446u); +x_3 = lean_unsigned_to_nat(1449u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_TagDeclarationExtension_tag___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -18332,7 +18332,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_2 = l_Lean_MapDeclarationExtension_insert___rarg___closed__3; -x_3 = lean_unsigned_to_nat(1477u); +x_3 = lean_unsigned_to_nat(1480u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_MapDeclarationExtension_insert___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28902,7 +28902,7 @@ x_21 = l_Lean_instToStringImport___closed__2; x_22 = lean_string_append(x_20, x_21); x_23 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_24 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_25 = lean_unsigned_to_nat(1972u); +x_25 = lean_unsigned_to_nat(1975u); x_26 = lean_unsigned_to_nat(15u); x_27 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_23, x_24, x_25, x_26, x_22); lean_dec(x_22); @@ -28940,7 +28940,7 @@ x_42 = l_Lean_instToStringImport___closed__2; x_43 = lean_string_append(x_41, x_42); x_44 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_45 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_46 = lean_unsigned_to_nat(1972u); +x_46 = lean_unsigned_to_nat(1975u); x_47 = lean_unsigned_to_nat(15u); x_48 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_44, x_45, x_46, x_47, x_43); lean_dec(x_43); @@ -29023,7 +29023,7 @@ x_14 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernel x_15 = lean_string_append(x_13, x_14); x_16 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_17 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_18 = lean_unsigned_to_nat(1966u); +x_18 = lean_unsigned_to_nat(1969u); x_19 = lean_unsigned_to_nat(17u); x_20 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_16, x_17, x_18, x_19, x_15); lean_dec(x_15); @@ -29055,7 +29055,7 @@ x_30 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernel x_31 = lean_string_append(x_29, x_30); x_32 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_33 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_34 = lean_unsigned_to_nat(1966u); +x_34 = lean_unsigned_to_nat(1969u); x_35 = lean_unsigned_to_nat(17u); x_36 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_32, x_33, x_34, x_35, x_31); lean_dec(x_31); @@ -29146,7 +29146,7 @@ x_59 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernel x_60 = lean_string_append(x_58, x_59); x_61 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_62 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_63 = lean_unsigned_to_nat(1966u); +x_63 = lean_unsigned_to_nat(1969u); x_64 = lean_unsigned_to_nat(17u); x_65 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_61, x_62, x_63, x_64, x_60); lean_dec(x_60); @@ -29178,7 +29178,7 @@ x_75 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernel x_76 = lean_string_append(x_74, x_75); x_77 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_78 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_79 = lean_unsigned_to_nat(1966u); +x_79 = lean_unsigned_to_nat(1969u); x_80 = lean_unsigned_to_nat(17u); x_81 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_77, x_78, x_79, x_80, x_76); lean_dec(x_76); @@ -29217,7 +29217,7 @@ x_94 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernel x_95 = lean_string_append(x_93, x_94); x_96 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_97 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_98 = lean_unsigned_to_nat(1966u); +x_98 = lean_unsigned_to_nat(1969u); x_99 = lean_unsigned_to_nat(17u); x_100 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_96, x_97, x_98, x_99, x_95); lean_dec(x_95); @@ -29249,7 +29249,7 @@ x_110 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKerne x_111 = lean_string_append(x_109, x_110); x_112 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_113 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_114 = lean_unsigned_to_nat(1966u); +x_114 = lean_unsigned_to_nat(1969u); x_115 = lean_unsigned_to_nat(17u); x_116 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_112, x_113, x_114, x_115, x_111); lean_dec(x_111); @@ -29288,7 +29288,7 @@ x_129 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKerne x_130 = lean_string_append(x_128, x_129); x_131 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_132 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_133 = lean_unsigned_to_nat(1966u); +x_133 = lean_unsigned_to_nat(1969u); x_134 = lean_unsigned_to_nat(17u); x_135 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_131, x_132, x_133, x_134, x_130); lean_dec(x_130); @@ -29320,7 +29320,7 @@ x_145 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKerne x_146 = lean_string_append(x_144, x_145); x_147 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_148 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_149 = lean_unsigned_to_nat(1966u); +x_149 = lean_unsigned_to_nat(1969u); x_150 = lean_unsigned_to_nat(17u); x_151 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_147, x_148, x_149, x_150, x_146); lean_dec(x_146); @@ -29359,7 +29359,7 @@ x_164 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKerne x_165 = lean_string_append(x_163, x_164); x_166 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_167 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_168 = lean_unsigned_to_nat(1966u); +x_168 = lean_unsigned_to_nat(1969u); x_169 = lean_unsigned_to_nat(17u); x_170 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_166, x_167, x_168, x_169, x_165); lean_dec(x_165); @@ -29391,7 +29391,7 @@ x_180 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKerne x_181 = lean_string_append(x_179, x_180); x_182 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_183 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_184 = lean_unsigned_to_nat(1966u); +x_184 = lean_unsigned_to_nat(1969u); x_185 = lean_unsigned_to_nat(17u); x_186 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_182, x_183, x_184, x_185, x_181); lean_dec(x_181); @@ -29430,7 +29430,7 @@ x_199 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKerne x_200 = lean_string_append(x_198, x_199); x_201 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_202 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_203 = lean_unsigned_to_nat(1966u); +x_203 = lean_unsigned_to_nat(1969u); x_204 = lean_unsigned_to_nat(17u); x_205 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_201, x_202, x_203, x_204, x_200); lean_dec(x_200); @@ -29462,7 +29462,7 @@ x_215 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKerne x_216 = lean_string_append(x_214, x_215); x_217 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; x_218 = l_List_forIn_x27_loop___at_Lean_Environment_realizeConst_maybeAddToKernelEnv___spec__8___lambda__1___closed__3; -x_219 = lean_unsigned_to_nat(1966u); +x_219 = lean_unsigned_to_nat(1969u); x_220 = lean_unsigned_to_nat(17u); x_221 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_217, x_218, x_219, x_220, x_216); lean_dec(x_216); diff --git a/stage0/stdlib/Lean/Meta/ArgsPacker.c b/stage0/stdlib/Lean/Meta/ArgsPacker.c index 1f03741ea6..feb4b27072 100644 --- a/stage0/stdlib/Lean/Meta/ArgsPacker.c +++ b/stage0/stdlib/Lean/Meta/ArgsPacker.c @@ -206,6 +206,7 @@ lean_object* l_panic___at_Lean_Expr_appFn_x21___spec__1(lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ArgsPacker_curryParam(lean_object*); static lean_object* l_Lean_Meta_ArgsPacker_Unary_uncurryType___lambda__2___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_ArgsPacker_Mutual_uncurryType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ArgsPacker_0__Lean_Meta_ArgsPacker_Unary_curry_go___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ArgsPacker_numFuncs___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ArgsPacker_0__Lean_Meta_ArgsPacker_Unary_mkTupleElems(lean_object*, lean_object*); @@ -342,6 +343,7 @@ static lean_object* l_Lean_Meta_ArgsPacker_Mutual_uncurryWithType___lambda__1___ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_ArgsPacker_Mutual_uncurry___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); static lean_object* l_Lean_Meta_ArgsPacker_Mutual_uncurryND___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_ArgsPacker_Mutual_uncurryType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ArgsPacker_Mutual_uncurryType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ArgsPacker_0__Lean_Meta_ArgsPacker_Unary_curryType___closed__2; @@ -5352,176 +5354,209 @@ return x_21; } } } +LEAN_EXPORT lean_object* l_Lean_Meta_ArgsPacker_Mutual_uncurryType___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) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_array_size(x_1); +x_9 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Meta_ArgsPacker_Mutual_uncurryType___spec__1(x_8, x_9, x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(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; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_array_get_size(x_11); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_lt(x_14, x_13); +if (x_15 == 0) +{ +lean_dec(x_13); +x_16 = x_12; +goto block_34; +} +else +{ +uint8_t x_35; +x_35 = lean_nat_dec_le(x_13, x_13); +if (x_35 == 0) +{ +lean_dec(x_13); +x_16 = x_12; +goto block_34; +} +else +{ +size_t x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_37 = lean_box(0); +x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ArgsPacker_Mutual_uncurryType___spec__3(x_11, x_9, x_36, x_37, x_3, x_4, x_5, x_6, x_12); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_16 = x_39; +goto block_34; +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_38); +if (x_40 == 0) +{ +return x_38; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_38, 0); +x_42 = lean_ctor_get(x_38, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_38); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +block_34: +{ +size_t x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_array_size(x_11); +lean_inc(x_11); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Meta_ArgsPacker_Mutual_uncurryType___spec__2(x_17, x_9, x_11); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_19 = l_Lean_Meta_ArgsPacker_Mutual_packType(x_18, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; +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_ArgsPacker_Unary_uncurry___closed__3; +x_23 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_22, x_5, x_6, x_21); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_closure((void*)(l_Lean_Meta_ArgsPacker_Mutual_uncurryType___lambda__1), 7, 1); +lean_closure_set(x_26, 0, x_11); +x_27 = 0; +x_28 = 0; +x_29 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__4___rarg(x_24, x_27, x_20, x_26, x_28, x_3, x_4, x_5, x_6, x_25); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_30 = !lean_is_exclusive(x_19); +if (x_30 == 0) +{ +return x_19; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_19, 0); +x_32 = lean_ctor_get(x_19, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_19); +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_44; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_44 = !lean_is_exclusive(x_10); +if (x_44 == 0) +{ +return x_10; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_10, 0); +x_46 = lean_ctor_get(x_10, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_10); +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; +} +} +} +} LEAN_EXPORT lean_object* l_Lean_Meta_ArgsPacker_Mutual_uncurryType(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_array_size(x_1); -x_8 = 0; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_9 = l_Array_mapMUnsafe_map___at_Lean_Meta_ArgsPacker_Mutual_uncurryType___spec__1(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_9) == 0) +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_get_size(x_1); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_dec_eq(x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; -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_array_get_size(x_10); +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l_Lean_Meta_ArgsPacker_Mutual_uncurryType___lambda__2(x_1, x_10, x_2, x_3, x_4, x_5, x_6); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_12 = l_Lean_instInhabitedExpr; x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_12); -if (x_14 == 0) -{ -lean_dec(x_12); -x_15 = x_11; -goto block_33; -} -else -{ -uint8_t x_34; -x_34 = lean_nat_dec_le(x_12, x_12); -if (x_34 == 0) -{ -lean_dec(x_12); -x_15 = x_11; -goto block_33; -} -else -{ -size_t x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_36 = lean_box(0); -x_37 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ArgsPacker_Mutual_uncurryType___spec__3(x_10, x_8, x_35, x_36, x_2, x_3, x_4, x_5, x_11); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_15 = x_38; -goto block_33; -} -else -{ -uint8_t x_39; -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_39 = !lean_is_exclusive(x_37); -if (x_39 == 0) -{ -return x_37; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_37, 0); -x_41 = lean_ctor_get(x_37, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_37); -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; -} -} -} -} -block_33: -{ -size_t x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_array_size(x_10); -lean_inc(x_10); -x_17 = l_Array_mapMUnsafe_map___at_Lean_Meta_ArgsPacker_Mutual_uncurryType___spec__2(x_16, x_8, x_10); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_18 = l_Lean_Meta_ArgsPacker_Mutual_packType(x_17, x_2, x_3, x_4, x_5, x_15); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Meta_ArgsPacker_Unary_uncurry___closed__3; -x_22 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_21, x_4, x_5, x_20); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_alloc_closure((void*)(l_Lean_Meta_ArgsPacker_Mutual_uncurryType___lambda__1), 7, 1); -lean_closure_set(x_25, 0, x_10); -x_26 = 0; -x_27 = 0; -x_28 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__4___rarg(x_23, x_26, x_19, x_25, x_27, x_2, x_3, x_4, x_5, x_24); -return x_28; -} -else -{ -uint8_t x_29; -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_29 = !lean_is_exclusive(x_18); -if (x_29 == 0) -{ -return x_18; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_18, 0); -x_31 = lean_ctor_get(x_18, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_18); -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 -{ -uint8_t x_43; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_43 = !lean_is_exclusive(x_9); -if (x_43 == 0) -{ -return x_9; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_9, 0); -x_45 = lean_ctor_get(x_9, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_9); -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_14 = lean_array_get(x_12, x_1, x_13); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_6); +return x_15; } } } @@ -5566,6 +5601,15 @@ lean_dec(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Meta_ArgsPacker_Mutual_uncurryType___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_ArgsPacker_Mutual_uncurryType___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_ArgsPacker_Mutual_uncurryTypeND___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { @@ -6813,7 +6857,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_ArgsPacker_Unary_pack_go___closed__4; x_2 = l_Lean_Meta_ArgsPacker_Mutual_uncurryWithType___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(396u); +x_3 = lean_unsigned_to_nat(398u); x_4 = lean_unsigned_to_nat(21u); x_5 = l_Lean_Meta_ArgsPacker_Unary_uncurry___lambda__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -7117,7 +7161,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_ArgsPacker_Unary_pack_go___closed__4; x_2 = l_Lean_Meta_ArgsPacker_Mutual_uncurryND___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(416u); +x_3 = lean_unsigned_to_nat(418u); x_4 = lean_unsigned_to_nat(21u); x_5 = l_Lean_Meta_ArgsPacker_Unary_uncurry___lambda__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -7613,7 +7657,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_ArgsPacker_Unary_pack_go___closed__4; x_2 = l_Lean_Meta_ArgsPacker_pack___closed__3; -x_3 = lean_unsigned_to_nat(448u); +x_3 = lean_unsigned_to_nat(450u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Meta_ArgsPacker_pack___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -7644,7 +7688,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_ArgsPacker_Unary_pack_go___closed__4; x_2 = l_Lean_Meta_ArgsPacker_pack___closed__3; -x_3 = lean_unsigned_to_nat(449u); +x_3 = lean_unsigned_to_nat(451u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Meta_ArgsPacker_pack___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8589,7 +8633,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_ArgsPacker_Unary_pack_go___closed__4; x_2 = l_Lean_Meta_ArgsPacker_curryProj___closed__1; -x_3 = lean_unsigned_to_nat(514u); +x_3 = lean_unsigned_to_nat(516u); x_4 = lean_unsigned_to_nat(4u); x_5 = l_Lean_Meta_ArgsPacker_curryProj___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index fdb865135e..adebe7d369 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -218,6 +218,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at___private_Lean_Meta_Basic_0 LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_FVarId_hasForwardDeps___spec__46___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_instMonadLCtxMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_FVarId_hasForwardDeps___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); @@ -452,7 +453,6 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_L LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__5; uint8_t lean_string_validate_utf8(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_FVarId_hasForwardDeps___spec__35___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_findDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -465,7 +465,6 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__48(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_recordSynthPendingFailure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__2; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__56; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__2; @@ -497,7 +496,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshExprMVarWithId___boxed(lean_object*, LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__8(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__36___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_getParamNames___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__41; LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Basic_0__Lean_Meta_withExistingLocalDeclsImp___spec__1(lean_object*, lean_object*); @@ -507,6 +505,7 @@ lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__63; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImpAux(lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__52; +LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___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_Lean_throwError___at_Lean_Meta_realizeConst_realizeAndReport___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate(lean_object*); lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); @@ -557,6 +556,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescop static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__22; lean_object* lean_checked_assign(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_hashSynthInstanceCacheKey____x40_Lean_Meta_Basic___hyg_1496_(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_resetZetaDeltaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_localDeclDependsOn___at_Lean_FVarId_hasForwardDeps___spec__1___closed__3; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__57; @@ -709,6 +709,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensi LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__41(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_liftMetaM(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDelta(lean_object*); +extern lean_object* l_Lean_Elab_async; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__1; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_isLevelDefEqAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -722,6 +723,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope___rarg(lean_object*, lea lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_FVarId_hasForwardDeps___spec__52___closed__1; LEAN_EXPORT lean_object* l_Lean_mkFreshMVarId___at_Lean_Meta_mkFreshExprMVarAt___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getNumPostponed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__44(lean_object*, lean_object*, lean_object*); @@ -816,6 +818,7 @@ static lean_object* l_Lean_Meta_instAlternativeMetaM___closed__2; LEAN_EXPORT lean_object* l_Lean_MVarId_setType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__12___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_realizeConst___lambda__6___closed__1; static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalInstances_erase(lean_object*, lean_object*); @@ -844,7 +847,6 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_L LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getValue_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__5___closed__1; -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_shouldReduceAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Task_Priority_default; LEAN_EXPORT lean_object* l_Lean_Meta_mapError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -891,6 +893,7 @@ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3508____clos LEAN_EXPORT lean_object* l_Lean_Meta_getParamNames___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDeltaSet(lean_object*); extern lean_object* l_Lean_trace_profiler_threshold; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__3; lean_object* l_Lean_MetavarContext_getExprAssignmentCore_x3f(lean_object*, 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_Meta_SavedState_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1015,6 +1018,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___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_EXPORT lean_object* l_Lean_Meta_withAtLeastTransparency___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process(lean_object*); @@ -1101,7 +1105,6 @@ lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_FVarId_hasForwardDeps___spec__52(lean_object*, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_recordSynthPendingFailure___spec__5___closed__1; LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__6; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__2; static lean_object* l_Lean_Meta_setInlineAttribute___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1142,7 +1145,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___s LEAN_EXPORT lean_object* l_Lean_Meta_instOrElseMetaM(lean_object*); LEAN_EXPORT 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_object* l_Lean_MessageData_ofLevel(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_FVarId_hasForwardDeps___spec__53___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_abstractRangeM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedConfigWithKey; @@ -1259,6 +1261,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___rarg___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_MVarId_checkedAssign___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3508____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_processPostponed_loop___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__26(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); @@ -1311,6 +1314,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVar LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__28(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2; static lean_object* l_Lean_Meta_instInhabitedParamInfo___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__6___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_instAlternativeMetaM; uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); LEAN_EXPORT uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__1(lean_object*, lean_object*); @@ -1429,6 +1433,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Lean_Meta_sortFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__42(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_useEtaStruct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__6; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__48; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensive_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_map2MetaM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1512,7 +1517,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps_ lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_withNewLocalInstance___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_getFVarLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1521,7 +1525,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambda(lean_object*, lean_object lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_throwUnknown___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg___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_initFn____x40_Lean_Meta_Basic___hyg_20800_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___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_Lean_Meta_realizeConst_realizeAndReport___closed__2; uint8_t l_Lean_Exception_isRuntime(lean_object*); @@ -1607,6 +1610,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withReducible(lean_object*); static lean_object* l_Lean_Meta_instBEqInfoCacheKey___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withDefault___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__4; lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); lean_object* l_Lean_LocalContext_replaceFVarId(lean_object*, lean_object*, lean_object*); @@ -66433,6 +66437,88 @@ x_16 = l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec__1(x_13, x_11, x_ return x_16; } } +static lean_object* _init_l_Lean_Meta_realizeConst___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_async; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___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; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_8, 2); +lean_inc(x_11); +x_12 = l_Lean_Meta_realizeConst___lambda__6___closed__1; +x_13 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_14 = lean_apply_5(x_2, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +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; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = l_Lean_Meta_realizeConst___lambda__5(x_1, x_2, x_3, x_4, x_25, x_6, x_7, x_8, x_9, x_10); +return x_26; +} +} +} LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst(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: { @@ -66454,7 +66540,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_free_object(x_9); x_15 = lean_box(0); -x_16 = l_Lean_Meta_realizeConst___lambda__5(x_2, x_3, x_13, x_1, x_15, x_4, x_5, x_6, x_7, x_12); +x_16 = l_Lean_Meta_realizeConst___lambda__6(x_2, x_3, x_13, x_1, x_15, x_4, x_5, x_6, x_7, x_12); return x_16; } else @@ -66490,7 +66576,7 @@ if (x_21 == 0) { lean_object* x_22; lean_object* x_23; x_22 = lean_box(0); -x_23 = l_Lean_Meta_realizeConst___lambda__5(x_2, x_3, x_20, x_1, x_22, x_4, x_5, x_6, x_7, x_19); +x_23 = l_Lean_Meta_realizeConst___lambda__6(x_2, x_3, x_20, x_1, x_22, x_4, x_5, x_6, x_7, x_19); return x_23; } else @@ -66645,7 +66731,16 @@ lean_dec(x_5); return x_11; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__1() { +LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_realizeConst___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +return x_11; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -66655,73 +66750,73 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__1; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__1; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3508____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__2; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__2; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__3; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__3; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__4; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__4; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3508____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__5; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__5; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3508____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__7() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__6; -x_2 = lean_unsigned_to_nat(20800u); +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__6; +x_2 = lean_unsigned_to_nat(20879u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879_(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_Meta_processPostponed_loop___closed__3; x_3 = 0; -x_4 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__7; +x_4 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__7; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -67486,21 +67581,23 @@ l_Lean_Meta_realizeConst___lambda__4___closed__1 = _init_l_Lean_Meta_realizeCons lean_mark_persistent(l_Lean_Meta_realizeConst___lambda__4___closed__1); l_Lean_Meta_realizeConst___lambda__5___closed__1 = _init_l_Lean_Meta_realizeConst___lambda__5___closed__1(); lean_mark_persistent(l_Lean_Meta_realizeConst___lambda__5___closed__1); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__1); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__2); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__3); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__4); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__5); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__6); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__7(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800____closed__7); -if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20800_(lean_io_mk_world()); +l_Lean_Meta_realizeConst___lambda__6___closed__1 = _init_l_Lean_Meta_realizeConst___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Meta_realizeConst___lambda__6___closed__1); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__1); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__2); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__3); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__4); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__5); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__6); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__7(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879____closed__7); +if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20879_(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/Match/MatcherApp/Transform.c b/stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c index 59944b8d20..a455959ecb 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c +++ b/stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c @@ -58,13 +58,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__14(le LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_withUserNames___at_Lean_Meta_MatcherApp_inferMatchType___spec__10___rarg(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_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___lambda__3(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_Meta_MatcherApp_inferMatchType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__1; lean_object* l_Lean_Expr_sort___override(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__14___rarg___lambda__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__16___boxed(lean_object**); lean_object* l_Lean_Meta_mkLambdaFVars___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_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__1___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); @@ -74,6 +75,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_Match LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, uint8_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_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__14___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__3; lean_object* l_Lean_log___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); 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_object* lean_array_fset(lean_object*, lean_object*, lean_object*); @@ -91,6 +93,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lea LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_inferMatchType___spec__6___boxed(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*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__15___boxed(lean_object**); +static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__1___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Meta_reduceMatcher_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -98,7 +101,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Meta_MatcherApp_transform___spec__13(lean_object*); lean_object* l_Lean_Meta_mkEqMPR(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__28___closed__2; -static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4___lambda__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_arrowDomainsN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -128,14 +130,14 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrou LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__14___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*); static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__10___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___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_Lean_Meta_MatcherApp_addArg___lambda__4(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_addArg___lambda__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_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__11___lambda__1___boxed(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_Meta_MatcherApp_transform___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); @@ -176,7 +178,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_transform___spec__4___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_inferMatchType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2; +static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__7(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* l_Lean_Meta_Match_getEquationsFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__11___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,6 +193,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__6___b LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__3___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__11___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_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_inferMatchType___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_replaceFVar(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__1___boxed(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_Meta_MatcherApp_inferMatchType___spec__4___lambda__6___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4___lambda__5___boxed(lean_object**); @@ -213,7 +216,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_Match static lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__23___closed__1; static lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___closed__2; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3(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_MatcherApp_addArg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__25(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, size_t, 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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__14___rarg___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__8___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -227,7 +230,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__4(lea LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Meta_MatcherApp_inferMatchType___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___lambda__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Meta_MatcherApp_inferMatchType___spec__13(lean_object*); -LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___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___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___rarg___boxed(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*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Meta_MatcherApp_inferMatchType___spec__13___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*); @@ -259,7 +261,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_inferMatchType___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___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___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_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1; lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__27___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_transform___spec__2(lean_object*); @@ -275,17 +276,17 @@ lean_object* l_Lean_Meta_Split_simpMatchTarget(lean_object*, lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__3___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__14___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__28___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_inferMatchType___spec__12(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_MatcherApp_transform___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__19___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__9(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_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__12___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_inferMatchType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_inferMatchType___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__22___boxed(lean_object**); @@ -331,7 +332,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_ LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Meta_MatcherApp_inferMatchType___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_MatcherApp_transform___spec__7(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_inferMatchType___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__8___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_object*); lean_object* l_Lean_FVarId_getUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2___lambda__2___closed__2; @@ -353,11 +353,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lea LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___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_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_Meta_MatcherApp_addArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__1; lean_object* l_Array_ofSubarray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__25___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__8(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_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_Meta_MatcherApp_addArg___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_Lean_Meta_MatcherApp_transform___rarg___lambda__28___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__14___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_MatcherApp_transform___spec__6___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -377,8 +378,9 @@ size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_transform___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRev___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_Meta_MatcherApp_addArg___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_Meta_MatcherApp_withUserNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Meta_MatcherApp_transform___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -399,6 +401,7 @@ static lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__2 static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__2___closed__4; static lean_object* l_Lean_Meta_MatcherApp_inferMatchType___closed__1; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); static lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__17___closed__1; @@ -417,6 +420,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__3___boxe LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__14___rarg___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*); static lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__12___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___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*); +uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -424,7 +428,6 @@ lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2___boxed(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_Meta_MatcherApp_transform___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__17___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -447,7 +450,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_Matcher LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_transform___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_MatcherApp_transform___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__11___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_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__14___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___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) { @@ -1240,89 +1242,30 @@ x_13 = l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_ return x_13; } } -LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_13; uint8_t x_14; -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_eq(x_5, x_13); -if (x_14 == 0) +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_fget(x_1, x_3); +x_7 = l_Lean_Expr_isFVar(x_6); +if (x_7 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_sub(x_5, x_15); -lean_dec(x_5); -x_17 = l_Lean_instInhabitedExpr; -x_18 = lean_array_get(x_17, x_2, x_16); -x_19 = lean_array_fget(x_3, x_16); -x_20 = lean_box(0); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_21 = l_Lean_Meta_kabstract(x_7, x_19, x_20, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -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_expr_instantiate1(x_22, x_18); -lean_dec(x_18); -lean_dec(x_22); -x_5 = x_16; -x_6 = lean_box(0); -x_7 = x_24; -x_12 = x_23; -goto _start; +lean_dec(x_6); +lean_inc(x_5); +return x_5; } else { -uint8_t x_26; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_11); -lean_dec(x_10); +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = l_Lean_instInhabitedExpr; +x_9 = lean_array_get(x_8, x_2, x_3); +x_10 = l_Lean_Expr_replaceFVar(x_5, x_6, x_9); lean_dec(x_9); -lean_dec(x_8); -x_26 = !lean_is_exclusive(x_21); -if (x_26 == 0) -{ -return x_21; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_21, 0); -x_28 = lean_ctor_get(x_21, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_21); -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; +return x_10; } } } -else -{ -lean_object* x_30; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_7); -lean_ctor_set(x_30, 1, x_12); -return x_30; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; @@ -1547,7 +1490,7 @@ return x_67; } } } -static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -1555,16 +1498,16 @@ x_1 = lean_mk_string_unchecked("failed to add argument to matcher application, t return x_1; } } -static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1; +x_1 = l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; @@ -1620,7 +1563,7 @@ lean_dec(x_3); x_29 = lean_ctor_get(x_26, 1); lean_inc(x_29); lean_dec(x_26); -x_30 = l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2; +x_30 = l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__2; x_31 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_30, x_8, x_9, x_10, x_11, x_29); lean_dec(x_11); lean_dec(x_10); @@ -1652,7 +1595,7 @@ x_36 = lean_ctor_get(x_26, 1); lean_inc(x_36); lean_dec(x_26); x_37 = lean_box(0); -x_38 = l_Lean_Meta_MatcherApp_addArg___lambda__1(x_25, x_3, x_5, x_6, x_19, x_7, x_22, x_17, x_4, x_37, x_8, x_9, x_10, x_11, x_36); +x_38 = l_Lean_Meta_MatcherApp_addArg___lambda__2(x_25, x_3, x_5, x_6, x_19, x_7, x_22, x_17, x_4, x_37, x_8, x_9, x_10, x_11, x_36); return x_38; } } @@ -1725,7 +1668,7 @@ return x_46; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_11; @@ -1737,7 +1680,7 @@ lean_inc(x_1); x_11 = lean_infer_type(x_1, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -1746,168 +1689,131 @@ lean_dec(x_11); x_14 = lean_ctor_get(x_2, 6); lean_inc(x_14); x_15 = lean_array_get_size(x_14); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_14); +x_16 = lean_alloc_closure((void*)(l_Lean_Meta_MatcherApp_addArg___lambda__1___boxed), 5, 2); +lean_closure_set(x_16, 0, x_14); +lean_closure_set(x_16, 1, x_3); lean_inc(x_12); -lean_inc(x_15); -x_16 = l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__1(x_2, x_3, x_14, x_15, x_15, lean_box(0), x_12, x_6, x_7, x_8, x_9, x_13); -lean_dec(x_15); -if (lean_obj_tag(x_16) == 0) +x_17 = l_Nat_foldRev___rarg(x_15, x_16, x_12); +x_18 = l_Lean_mkArrow(x_17, x_4, x_8, x_9, x_13); +x_19 = lean_ctor_get(x_2, 2); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_mkArrow(x_17, x_4, x_8, x_9, x_18); -x_20 = lean_ctor_get(x_2, 2); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_19, 0); +x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); -x_22 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_22 = lean_ctor_get(x_2, 1); lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_ctor_get(x_2, 1); -lean_inc(x_23); -x_24 = l_Lean_Meta_MatcherApp_addArg___lambda__2(x_3, x_21, x_2, x_14, x_12, x_1, x_23, x_6, x_7, x_8, x_9, x_22); -return x_24; +x_23 = l_Lean_Meta_MatcherApp_addArg___lambda__3(x_3, x_20, x_2, x_14, x_12, x_1, x_22, x_6, x_7, x_8, x_9, x_21); +lean_dec(x_3); +return x_23; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_19, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_18, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_18, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_26 = lean_ctor_get(x_19, 0); lean_inc(x_26); lean_dec(x_19); -x_27 = lean_ctor_get(x_20, 0); -lean_inc(x_27); -lean_dec(x_20); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_25); -x_28 = l_Lean_Meta_getLevel(x_25, x_6, x_7, x_8, x_9, x_26); -if (lean_obj_tag(x_28) == 0) +lean_inc(x_24); +x_27 = l_Lean_Meta_getLevel(x_24, x_6, x_7, x_8, x_9, x_25); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_28, 0); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_dec(x_27); +x_30 = lean_ctor_get(x_2, 1); lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_ctor_get(x_2, 1); -lean_inc(x_31); -x_32 = lean_array_set(x_31, x_27, x_29); -lean_dec(x_27); -x_33 = l_Lean_Meta_MatcherApp_addArg___lambda__2(x_3, x_25, x_2, x_14, x_12, x_1, x_32, x_6, x_7, x_8, x_9, x_30); -return x_33; +x_31 = lean_array_set(x_30, x_26, x_28); +lean_dec(x_26); +x_32 = l_Lean_Meta_MatcherApp_addArg___lambda__3(x_3, x_24, x_2, x_14, x_12, x_1, x_31, x_6, x_7, x_8, x_9, x_29); +lean_dec(x_3); +return x_32; } else { -uint8_t x_34; -lean_dec(x_27); -lean_dec(x_25); +uint8_t x_33; +lean_dec(x_26); +lean_dec(x_24); lean_dec(x_14); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_28); -if (x_34 == 0) +x_33 = !lean_is_exclusive(x_27); +if (x_33 == 0) { -return x_28; +return x_27; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_28, 0); -x_36 = lean_ctor_get(x_28, 1); -lean_inc(x_36); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_27, 0); +x_35 = lean_ctor_get(x_27, 1); lean_inc(x_35); -lean_dec(x_28); -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_27); +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_14); -lean_dec(x_12); +uint8_t x_37; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_16); -if (x_38 == 0) -{ -return x_16; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_16, 0); -x_40 = lean_ctor_get(x_16, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_16); -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; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_42 = !lean_is_exclusive(x_11); -if (x_42 == 0) +x_37 = !lean_is_exclusive(x_11); +if (x_37 == 0) { return x_11; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_11, 0); -x_44 = lean_ctor_get(x_11, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_11, 0); +x_39 = lean_ctor_get(x_11, 1); +lean_inc(x_39); +lean_inc(x_38); lean_dec(x_11); -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; +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 lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -1915,16 +1821,16 @@ x_1 = lean_mk_string_unchecked("unexpected matcher application, motive must be l return x_1; } } -static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2() { +static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1; +x_1 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3() { +static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__3() { _start: { lean_object* x_1; @@ -1932,16 +1838,16 @@ x_1 = lean_mk_string_unchecked(" arguments", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4() { +static lean_object* _init_l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3; +x_1 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1956,17 +1862,18 @@ 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; uint8_t x_22; lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_14 = l___private_Init_Data_Repr_0__Nat_reprFast(x_12); x_15 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_15, 0, x_14); x_16 = l_Lean_MessageData_ofFormat(x_15); -x_17 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2; +x_17 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__2; x_18 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; +x_19 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4; x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); @@ -1999,7 +1906,7 @@ else lean_object* x_26; lean_object* x_27; lean_dec(x_12); x_26 = lean_box(0); -x_27 = l_Lean_Meta_MatcherApp_addArg___lambda__3(x_1, x_2, x_3, x_4, x_26, x_5, x_6, x_7, x_8, x_9); +x_27 = l_Lean_Meta_MatcherApp_addArg___lambda__4(x_1, x_2, x_3, x_4, x_26, x_5, x_6, x_7, x_8, x_9); return x_27; } } @@ -2010,7 +1917,7 @@ _start: lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; x_8 = lean_ctor_get(x_1, 5); lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l_Lean_Meta_MatcherApp_addArg___lambda__4___boxed), 9, 2); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_MatcherApp_addArg___lambda__5), 9, 2); lean_closure_set(x_9, 0, x_2); lean_closure_set(x_9, 1, x_1); x_10 = 0; @@ -2018,55 +1925,45 @@ x_11 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi return x_11; } } -LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_13; -x_13 = l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_4); +lean_object* x_6; +x_6 = l_Lean_Meta_MatcherApp_addArg___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_13; +return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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) { _start: { lean_object* x_16; -x_16 = l_Lean_Meta_MatcherApp_addArg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Lean_Meta_MatcherApp_addArg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_10); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Meta_MatcherApp_addArg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Meta_MatcherApp_addArg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___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: { lean_object* x_11; -x_11 = l_Lean_Meta_MatcherApp_addArg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_MatcherApp_addArg___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_5); -lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Meta_MatcherApp_addArg___lambda__4(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_Meta_MatcherApp_addArg_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -2314,7 +2211,7 @@ x_14 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2_ x_15 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; +x_16 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4; x_17 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -2866,7 +2763,7 @@ x_17 = l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__2; x_18 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; +x_19 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4; x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); @@ -9678,11 +9575,11 @@ x_19 = l___private_Init_Data_Repr_0__Nat_reprFast(x_17); x_20 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_20, 0, x_19); x_21 = l_Lean_MessageData_ofFormat(x_20); -x_22 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2; +x_22 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__2; x_23 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; +x_24 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4; x_25 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -19324,11 +19221,11 @@ x_17 = l___private_Init_Data_Repr_0__Nat_reprFast(x_15); x_18 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_18, 0, x_17); x_19 = l_Lean_MessageData_ofFormat(x_18); -x_20 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2; +x_20 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__2; x_21 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_19); -x_22 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; +x_22 = l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4; x_23 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -22438,18 +22335,18 @@ l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateA lean_mark_persistent(l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___closed__3); l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___closed__4 = _init_l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___closed__4(); lean_mark_persistent(l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___closed__4); -l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1); -l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2); -l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1); -l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2); -l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3); -l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4(); -lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4); +l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__1 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__1); +l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__2 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__3___closed__2); +l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__1 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__1); +l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__2 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__2); +l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__3 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__3(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__3); +l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__5___closed__4); l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2___lambda__2___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2___lambda__2___closed__1); l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/FunInd.c b/stage0/stdlib/Lean/Meta/Tactic/FunInd.c index f2ddc421dc..8f1fcaae22 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/FunInd.c +++ b/stage0/stdlib/Lean/Meta/Tactic/FunInd.c @@ -20,36 +20,34 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstract LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__7___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_lambdaTelescope1___at_Lean_Tactic_FunInd_buildInductionBody___spec__33___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x3f(lean_object*); static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__1___closed__1; static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Tactic_FunInd_buildInductionBody___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*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13___closed__5; +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_log___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqHEq(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_18709____closed__4; lean_object* l_StateRefT_x27_instMonadExceptOf___rarg(lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___closed__2; lean_object* l_Lean_registerReservedNameAction(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__1; static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__6___closed__1; lean_object* l_Lean_Meta_inferArgumentTypesN(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__13___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__1(lean_object*); LEAN_EXPORT uint8_t l_Lean_Tactic_FunInd_isFunCasesName___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__15(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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__7___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__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural(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_deriveInductionStructural___spec__16(lean_object*, lean_object*, lean_object*, size_t, size_t, 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_18442____lambda__2___closed__6; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__17___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_Tactic_FunInd_deriveInductionStructural___lambda__20(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_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___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_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___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*); @@ -65,65 +63,72 @@ static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualI 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_cleanPackedArgs___lambda__5___closed__5; -static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___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_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__6; lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isPerm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__3(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_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5; static lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Tactic_FunInd_lambdaTelescope1___spec__1(lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13___closed__4; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo; +static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__6; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction(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__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__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*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__31___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__6; static lean_object* l_Lean_Tactic_FunInd_isFunCasesName___closed__1; +static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__1; 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*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__8; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___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*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Tactic_FunInd_buildInductionBody___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*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__7; 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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___boxed(lean_object**); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__26___closed__2; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Tactic_FunInd_buildInductionCase___spec__3___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_deriveInductionStructural___lambda__14___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___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_Tactic_FunInd_deriveInductionStructural___closed__5; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_go___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_deriveInductionStructural___lambda__18(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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18(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*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8___closed__1; -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*, lean_object*, lean_object*, lean_object*, lean_object*); +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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__14(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_19055____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Tactic_FunInd_lambdaTelescope1___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___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*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___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_18709____closed__5; lean_object* l_Lean_PersistentArray_toArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__3___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_deriveInductionStructural___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__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*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___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*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__2; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16(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*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__16___closed__6; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12___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_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__2; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___lambda__4(lean_object*, 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_panic___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___closed__1; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__3(lean_object*, lean_object*, uint8_t, 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___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_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFunIndInfoForInduct_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__7; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); lean_object* l_Lean_indentD(lean_object*); double lean_float_div(double, double); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__2; 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_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___lambda__1(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_buildInductionBody___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -139,44 +144,44 @@ lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Meta_congrArg_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_foldAndCollect___spec__15___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_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8; +static lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__7; static lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__3; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__9___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_foldAndCollect___lambda__20(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_deriveInductionStructural___lambda__13___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___boxed(lean_object**); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateT_pure___at_Lean_Tactic_FunInd_buildInductionBody___spec__11(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_lor(uint64_t, uint64_t); 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_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_buildInductionBody___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__4; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__9; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__3; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___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* l_Lean_Meta_MatcherApp_withUserNames___at_Lean_Meta_MatcherApp_inferMatchType___spec__10___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_buildInductionBody___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*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__6___closed__4; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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_EXPORT lean_object* l_Lean_Meta_withLocalDecl___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*); uint8_t l_Lean_Expr_isApp(lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__2; static lean_object* l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__4; LEAN_EXPORT lean_object* l_StateT_lift___at_Lean_Tactic_FunInd_buildInductionCase___spec__1(lean_object*); static lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__2; +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__4(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__11___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_deriveInductionStructural___spec__11(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__34___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_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__4(lean_object*, lean_object*, uint8_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_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Tactic_FunInd_lambdaTelescope1___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); @@ -185,32 +190,28 @@ lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_projectMutualInduct___spec__1(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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_StateT_pure___at_Lean_Tactic_FunInd_foldAndCollect___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__3; static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__3___closed__1; -static uint64_t l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveCases___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___closed__3; lean_object* l___private_Init_GetElem_0__List_get_x21Internal___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4(lean_object*, lean_object*, lean_object*, size_t, 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*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11; +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4(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_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Tactic_FunInd_buildInductionCase___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_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___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*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__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_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__4___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_StateT_pure___at_Lean_Tactic_FunInd_foldAndCollect___spec__16(lean_object*); 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*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*, size_t, 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; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_localMapM(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__2___lambda__1(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__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__3; +static lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__6; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveCases___closed__1; static lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__3___closed__1; @@ -219,6 +220,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M2_run___rarg(lean_object*, lean_o extern lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__26(lean_object*, lean_object*, lean_object*, 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___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___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* l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_assertIHs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -238,21 +240,23 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__3(lean_ob LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__32(lean_object*, lean_object*, lean_object*, lean_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_Tactic_FunInd_deriveInductionStructural___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11___boxed(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_19055____closed__12; lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Tactic_FunInd_deriveInduction___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Tactic_FunInd_buildInductionBody___spec__24(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__13(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_deriveCases___lambda__7(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_19055____closed__5; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_eval___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___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* 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*); static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__6___closed__3; static lean_object* l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__2; extern lean_object* l_Lean_casesOnSuffix; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_foldAndCollect___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_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__10; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___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*); @@ -261,23 +265,23 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda static lean_object* l_panic___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___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_buildInductionBody___lambda__28(lean_object*, 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_deriveCases___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___closed__3; static double l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___lambda__2___closed__1; 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; +LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1(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__12___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Tactic_FunInd_buildInductionCase___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__3___closed__2; lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*); uint8_t lean_float_decLt(double, double); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___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_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_withLetDecls___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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__3(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__3___boxed(lean_object*, lean_object*, lean_object*); @@ -287,11 +291,9 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveCa LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__3(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_pure___at_Lean_Tactic_FunInd_buildInductionBody___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__3___closed__5; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__4; 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*); static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__9___closed__2; static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__8___closed__1; -static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInduction___lambda__2(lean_object*); static lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -312,14 +314,12 @@ lean_object* l_Lean_Meta_PProdN_projM(lean_object*, lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInduction___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__2(lean_object*, lean_object*, lean_object*, uint8_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_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17(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_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter(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_18442____lambda__2___closed__1; +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__10___rarg___lambda__1___closed__1; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__3; static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__7; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -330,7 +330,6 @@ lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar___boxed(lean_object*, le LEAN_EXPORT lean_object* l_StateT_lift___at_Lean_Tactic_FunInd_buildInductionCase___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_isFunCasesName___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Tactic_FunInd_foldAndCollect___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1; 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*); lean_object* l_Lean_Meta_elimOptParam___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_get_num_heartbeats(lean_object*); @@ -340,16 +339,20 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); extern lean_object* l_Lean_trace_profiler_useHeartbeats; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__1; lean_object* l_List_mapTR_loop___at_Lean_Elab_goalsToMessageData___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_buildArgs___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_panic___at_Lean_Tactic_FunInd_buildInductionBody___spec__7___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___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_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___closed__1; lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4(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_deriveInductionStructural___lambda__11(lean_object*, lean_object*, lean_object*, size_t, 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_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_buildInductionBody___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*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__31___closed__1; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern uint8_t l_Lean_Meta_instInhabitedFunIndParamKind; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___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*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -366,7 +369,6 @@ static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__3___clos static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__32___closed__1; static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__2; 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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__7; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___closed__2; lean_object* l_Lean_InductiveVal_numTypeFormers(lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__5; @@ -375,26 +377,24 @@ static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__14___closed__1 LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__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_deriveUnaryInduction___lambda__12___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__1___boxed(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_setNaryFunIndInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__6; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__7___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_buildInductionCase___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__8; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___rarg___closed__1; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13___closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_ofNat(lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__6; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___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_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; lean_object* l_Lean_Expr_appArg_x21(lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___closed__4; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__4; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M2_run(lean_object*); lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*, uint8_t); @@ -409,7 +409,6 @@ lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_o LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___lambda__2___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_withUserNames___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_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); -lean_object* l_Lean_Meta_ArgsPacker_arities(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_foldAndCollect___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_maskArray(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -420,6 +419,7 @@ static lean_object* l_Lean_Tactic_FunInd_isFunInductName___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateT_lift___at_Lean_Tactic_FunInd_buildInductionCase___spec__2(lean_object*); +static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__4; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__5(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_object* l_Lean_Elab_Structural_IndGroupInst_brecOn(lean_object*, uint8_t, lean_object*, lean_object*); @@ -429,6 +429,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveIn LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_withLetDecls_go___rarg(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_cleanPackedArgs___lambda__5___closed__3; +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; 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_Lean_addTrace___at_Lean_Tactic_FunInd_buildInductionCase___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_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___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*); @@ -436,22 +437,17 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Tactic_FunInd LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___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_withLocalDecls_loop___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__10___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_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3; -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*, 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Tactic_FunInd_buildInductionBody___spec__1(lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__17___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_18709____closed__2; size_t lean_ptr_addr(lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_instantiateLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___lambda__2(lean_object*); lean_object* l_panic___at_Lean_Elab_Structural_Positions_groupAndSort___spec__3(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25___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_deriveInductionStructural___lambda__12(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_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__10; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(lean_object*, 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*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Structural_eqnInfoExt; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__21___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_Array_range___lambda__1___boxed(lean_object*); @@ -462,8 +458,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4___closed__2; static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__6___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__24(lean_object*, lean_object*, lean_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_Tactic_FunInd_deriveInductionStructural___spec__25(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_isFunInductName(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__3; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__28(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__17___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -471,22 +467,19 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductio LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_buildInductionBody___spec__33___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__1___boxed(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_lambdaTelescopeImp___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_18442____lambda__2___closed__2; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___closed__3; static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Tactic_FunInd_buildInductionBody___spec__10(lean_object*); 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_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_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__9(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___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*); static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__5___closed__1; lean_object* l_Array_reverse___rarg(lean_object*); uint8_t l_instDecidableNot___rarg(uint8_t); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___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_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__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*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFunInductName(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -504,27 +497,27 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect(lean_object*, lean_ static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7___closed__2; 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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__2; lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___boxed(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__13___closed__1; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); 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*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_foldAndCollect___spec__15(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadFunctor(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1(lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__4___boxed(lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Tactic_FunInd_foldAndCollect___spec__12(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_eval(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_buildInductionCase___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__21___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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__21(lean_object*); -static lean_object* l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14___closed__1; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___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* l_Lean_MVarId_getType(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__12___lambda__5___boxed(lean_object**); @@ -534,11 +527,9 @@ lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(le LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___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_buildInductionCase___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__30(lean_object*, lean_object*, lean_object*, lean_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_Tactic_FunInd_deriveInductionStructural___spec__12___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_Tactic_FunInd_setNaryFunIndInfo___closed__4; lean_object* l_Lean_Elab_Structural_Positions_numIndices(lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__21(lean_object*, lean_object*, lean_object*, lean_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_Lean_Tactic_FunInd_isFunCasesName(lean_object*, lean_object*); lean_object* l_Array_ofFn___rarg(lean_object*, lean_object*); @@ -547,22 +538,21 @@ static lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___sp static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__3; static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__2; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__9; 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_Tactic_FunInd_buildInductionCase___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* l_Lean_Meta_mkHEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___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* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__3(lean_object*, size_t, size_t, 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*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___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_Lean_Tactic_FunInd_deriveCases___lambda__8___closed__2; -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___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*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___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_Name_getPrefix(lean_object*); static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_branch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__4; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__27(lean_object*, lean_object*, lean_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_lambdaBoundedTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__34(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_Lean_Tactic_FunInd_buildInductionCase___spec__8(lean_object*); @@ -576,6 +566,7 @@ lean_object* l_Lean_MessageData_ofFormat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___boxed__const__1; lean_object* l_ReaderT_instMonadLift(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_append___rarg(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___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__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -602,17 +593,19 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__21___boxe static lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___lambda__3___closed__2; static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___closed__4; static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__3___closed__4; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19(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*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern uint8_t l_Lean_instInhabitedBinderInfo; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__26(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___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*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo___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_Tactic_FunInd_deriveInductionStructural___spec__24(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__9; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__1(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__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__25___boxed(lean_object**); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__3___closed__1; static lean_object* l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__1; @@ -620,9 +613,10 @@ static lean_object* l_Lean_Tactic_FunInd_deduplicateIHs___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_exec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__23___closed__2; static lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___boxed(lean_object**); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__17___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__2___closed__1; @@ -640,7 +634,6 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_MVarId_tryClearMany_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__2; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8___closed__2; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__20___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_to_list(lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -653,7 +646,6 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_foldAndCollect___spec__ 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*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___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* l_Lean_Name_num___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12___lambda__2___boxed(lean_object**); @@ -661,6 +653,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__17(lean_o LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__5; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__16(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_Tactic_FunInd_foldAndCollect___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -675,12 +668,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Tactic_Fun lean_object* l_Lean_Meta_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp___boxed(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(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_setNaryFunIndInfo___closed__11; extern lean_object* l_Lean_levelZero; -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(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_deriveInductionStructural___lambda__16(lean_object*, 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*); lean_object* l_Lean_MVarId_revert(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_mono_nanos_now(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_FixedParamPerm_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_foldAndCollect___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -697,18 +692,17 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_exec(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deduplicateIHs(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___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_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___lambda__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Tactic_FunInd_buildInductionBody___spec__26___rarg(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_cleanPackedArgs___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__8___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_Tactic_FunInd_deriveInductionStructural___spec__4___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_Tactic_FunInd_setNaryFunIndInfo___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__3___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_FVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__10___rarg___closed__3; +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__8; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Tactic_FunInd_buildInductionCase___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_appFn_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); @@ -716,26 +710,23 @@ LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Tactic_FunInd_buildInductionCas LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_buildInductionBody___spec__33___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*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__6; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__19(uint8_t, lean_object*, 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_Lean_Tactic_FunInd_foldAndCollect___lambda__16___boxed(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__12___lambda__6(lean_object*, lean_object*, size_t, 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_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__23(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__8___boxed(lean_object*, lean_object*, lean_object*); 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*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__5; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__16___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___lambda__3(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*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__1; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__20(lean_object*, lean_object*, lean_object*, lean_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_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___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* 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_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___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_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -743,8 +734,10 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__3; lean_object* l_Lean_MVarId_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___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_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788_(lean_object*); lean_object* l_Lean_Meta_ArgsPacker_curry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Lean_log___at_Lean_Tactic_FunInd_buildInductionBody___spec__24___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_unpackMutualInduction___lambda__6___closed__3; @@ -752,13 +745,15 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_der lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1(lean_object*); extern lean_object* l_Lean_warningAsError; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__18(lean_object*, lean_object*, lean_object*, lean_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_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___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_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__4(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_18788____closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___lambda__2___closed__4; -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(lean_object*, lean_object*, lean_object*, size_t, 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*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_branch___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___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*, lean_object*); @@ -769,19 +764,20 @@ static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__21___close LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___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*); extern lean_object* l_Lean_trace_profiler_threshold; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4___closed__10; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__4; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(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_18442____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__7___closed__3; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_PProdN_packLambdas(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkNot(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__3; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___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_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; uint8_t l_Lean_LocalDecl_isLet(lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4___closed__3; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__2___closed__3; -LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__2(lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__4___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -793,16 +789,17 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveIn LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_buildInductionCase___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Pi_instInhabited___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__5(lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__23___closed__1; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__7___closed__2; lean_object* l_Lean_Expr_appFn_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_Lean_Tactic_FunInd_buildInductionCase___spec__8___rarg(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_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_Array_mapMUnsafe_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_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint64_t l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -816,7 +813,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__25(le LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_ask___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__17___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__29___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_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__7; +static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assert(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__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -831,9 +828,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Tactic_FunInd_bui LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__1(lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_projectMutualInduct___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*); -uint8_t l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_beqFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_10_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Tactic_FunInd_buildInductionBody___spec__31___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___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*, 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*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -850,26 +845,27 @@ static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Tactic_FunInd_lambdaTelescope1___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__20___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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_foldAndCollect___spec__15___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__8; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___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*, 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_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__7; +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9(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_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_LMVarId_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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__26___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_object*); -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; lean_object* l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(lean_object*); +static lean_object* l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__7___boxed(lean_object**); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__9; LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Tactic_FunInd_buildInductionBody___spec__31(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13(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_forallTelescopeReducingAuxAux___rarg(uint8_t, 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_buildInductionBody___lambda__12___boxed(lean_object**); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addTraceNode___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadQuotationCoreM; lean_object* l_Lean_LocalContext_foldlM___at_Lean_MVarId_revertAfter___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___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*); @@ -882,44 +878,48 @@ LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__7___closed__3; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__3; -static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__5; static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__7___closed__5; LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Tactic_FunInd_foldAndCollect___spec__9(lean_object*, lean_object*); static lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___lambda__4___closed__2; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__3; lean_object* l_Lean_Meta_getFunCasesName(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13(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_abstractIndependentMVars___lambda__4___closed__1; +lean_object* l_Lean_Expr_eta(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___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_instantiateLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Tactic_FunInd_foldAndCollect___spec__5___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_buildInductionCase___spec__11___boxed(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_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055_(lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__4; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___closed__4; -LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___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_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__8___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_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__3___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVarOf(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__21___closed__1; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__3___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 uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__2(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Tactic_FunInd_foldAndCollect___spec__5___closed__2; static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_foldAndCollect___spec__19___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(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_deriveInductionStructural___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_inferMatchType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1___boxed(lean_object*); lean_object* l_Array_qsort_sort___at_Lean_Elab_Structural_Positions_groupAndSort___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(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__4___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_mkLetFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__1; static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___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*); lean_object* l_StateT_instMonad___rarg(lean_object*); @@ -944,7 +944,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_M_localM static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___closed__1; uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constLevels_x21(lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); @@ -960,19 +959,19 @@ LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Tactic_FunInd_buildInd LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__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_Tactic_FunInd_deriveInductionStructural___lambda__15___closed__1; lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___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_StateT_bind___at_Lean_Tactic_FunInd_buildInductionCase___spec__6___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_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Tactic_FunInd_foldAndCollect___spec__10___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___lambda__4(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*); +static lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__3; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4___closed__8; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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_EXPORT lean_object* l_Lean_Tactic_FunInd_M2_branch(lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__6; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___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*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_mkLambdaFVarsMasked(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_18788____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_Tactic_FunInd_deriveInductionStructural___lambda__13___closed__2; @@ -980,34 +979,35 @@ static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13___clo LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___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_EXPORT lean_object* l_Lean_Tactic_FunInd_M_branch___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__6; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Tactic_FunInd_buildInductionBody___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__3___closed__1; -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__12; +lean_object* l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(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__11___closed__2; extern lean_object* l_Lean_brecOnSuffix; +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___boxed(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_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__11___closed__1; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Tactic_FunInd_mkLambdaFVarsMasked___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_Tactic_FunInd_foldAndCollect___lambda__12___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__21___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__7___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__1___closed__2; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___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_foldAndCollect___lambda__27___closed__1; +static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___closed__3; lean_object* l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__7(lean_object*); @@ -1018,6 +1018,7 @@ lean_object* l_Lean_observing_x3f___at_Lean_MVarId_iffOfEq___spec__1(lean_object static lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3___closed__1; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__19(lean_object*, lean_object*, lean_object*, lean_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_Tactic_FunInd_deriveInductionStructural___spec__14(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__3(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*); @@ -1029,7 +1030,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd uint8_t l_Lean_Expr_isHEq(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17(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__16___closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___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_foldAndCollect___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_Tactic_FunInd_deriveInductionStructural___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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__9(lean_object*); @@ -1062,12 +1062,13 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_maskArray___rarg(lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__2; +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__4; uint8_t l_Array_contains___at_Lean_registerInternalExceptionId___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_toExpr(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__3___boxed(lean_object**); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Tactic_FunInd_foldAndCollect___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__10; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12___lambda__3___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1079,7 +1080,11 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_as LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInduction___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24___boxed(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_Tactic_FunInd_foldAndCollect___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(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_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___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_EXPORT lean_object* l_Lean_Tactic_FunInd_M_localM(lean_object*); @@ -1087,25 +1092,25 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__12( lean_object* lean_get_match_equations_for(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deduplicateIHs___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_buildInductionCase___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___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_Meta_withLocalDecls_loop___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__10___rarg___lambda__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15(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*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__1___closed__3; static lean_object* l_panic___at_Lean_Tactic_FunInd_buildInductionBody___spec__7___closed__1; +static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__3; static lean_object* l_Lean_Tactic_FunInd_M_branch___rarg___closed__1; 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_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__4; 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*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___closed__3; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_buildInductionCase___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12(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_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_buildInductionBody___spec__5___boxed(lean_object*, 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_18709_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__19(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__16___closed__8; uint64_t lean_uint64_shift_left(uint64_t, uint64_t); @@ -1115,12 +1120,18 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMu LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__15(lean_object*, lean_object*, lean_object*, lean_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_foldAndCollect___spec__13(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_deriveInductionStructural___spec__11___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_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__3; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_buildInductionBody___spec__33___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___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*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___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_Tactic_FunInd_deriveInductionStructural___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back_x21___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__1; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___lambda__2___closed__1; @@ -1132,13 +1143,12 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe___at_Lean_Tactic_FunInd_M_localMapM_ static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20___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_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__2; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4; 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17(lean_object*, 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*); static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__5; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___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_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__3; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_getElimExprInfo___spec__6(lean_object*, size_t, size_t); static lean_object* l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__3; static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__23___closed__3; @@ -1147,23 +1157,23 @@ LEAN_EXPORT uint8_t l_Lean_Tactic_FunInd_isFunCasesName___lambda__1(lean_object* LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_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*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__5; -static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__2; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__23(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_mk(lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__16___closed__4; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__6___closed__1; static lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__3; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___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_Lean_Tactic_FunInd_buildInductionBody___lambda__4___closed__5; static lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__2___boxed(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__2; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__10; +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfoDefn___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_unfoldThmType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__5(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*); @@ -1173,16 +1183,16 @@ static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualI lean_object* l_Lean_isTracingEnabledForCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_elimOptParam___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__12___closed__3; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___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*); 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_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__7; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__1; static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__6___closed__2; 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*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__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_PersistentArray_forInAux___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_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*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_maskArray___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__6___boxed(lean_object**); @@ -1211,18 +1221,18 @@ lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_buildInductionBody___spec__33(lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__1___closed__4; lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMutualInductName(lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(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*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_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__32___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___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_buildInductionCase___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___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_deriveInductionStructural___spec__26___boxed(lean_object*, lean_object*, lean_object*, 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_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*, 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_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_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__8(size_t, size_t, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__3___closed__2; @@ -1230,6 +1240,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__21(lean_o LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__3___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_deriveUnaryInduction___lambda__8___closed__1; static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__4___closed__4; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__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_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___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_StateT_bind___at_Lean_Tactic_FunInd_foldAndCollect___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1243,7 +1254,6 @@ lean_object* l_Lean_Meta_ArgsPacker_unpack(lean_object*, 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_Tactic_FunInd_deriveInductionStructural___lambda__7___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2___boxed(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_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); uint8_t l_Array_contains___at_Lean_Meta_addImplicitTargets_collect___spec__1(lean_object*, lean_object*); @@ -1256,21 +1266,20 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__2___boxed lean_object* l_Lean_Expr_headBeta(lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___boxed(lean_object**); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__10; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isAuxRecursorWithSuffix(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__4(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_18442____lambda__2___closed__11; +static uint64_t l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__9___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__31(lean_object*, lean_object*, lean_object*, lean_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_foldAndCollect___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* l_Lean_Meta_Match_forallAltTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMData(lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__1(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_18709____closed__11; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___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*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__14___closed__2; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1291,14 +1300,14 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriv uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Tactic_FunInd_buildInductionCase___spec__4(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__14(lean_object*, lean_object*, lean_object*, 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_18709____closed__8; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___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_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__5; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__16(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(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__20(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_Tactic_FunInd_deriveInductionStructural___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_letFun_x3f(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__7___rarg(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*); @@ -1306,13 +1315,14 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__10___ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); static lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__7___closed__6; -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__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*, 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_deriveInductionStructural___lambda__10(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*, 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*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_buildInductionCase___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_buildInductionBody___spec__33___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_Tactic_FunInd_unpackMutualInduction___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___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_buildInductionBody___lambda__21___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25(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_Lean_Tactic_FunInd_buildInductionBody___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__26___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_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___closed__1; @@ -1324,25 +1334,31 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__20___boxe lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__6; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__6; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_maskArray___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_lambdaTelescope1___at_Lean_Tactic_FunInd_foldAndCollect___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mdataExpr_x21(lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__5; +static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__2; lean_object* l_ReaderT_instMonadExceptOf___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___boxed(lean_object**); +LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13(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__12___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*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkPProdSndM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__4; static lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__10___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___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*); uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_ask(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_18788____lambda__2___closed__4; +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__11; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveCases___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__2___closed__1; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__21___closed__2; lean_object* l_Lean_InductiveVal_numCtors(lean_object*); +static lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__9; uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_withUserNames___at_Lean_Tactic_FunInd_buildInductionBody___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(size_t, size_t, lean_object*); @@ -1350,6 +1366,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_buildInductionCase___spec__7___boxed(lean_object*, lean_object*, lean_object*, 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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__1___boxed(lean_object*, lean_object*, lean_object*, 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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__22(lean_object*, size_t, 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*); @@ -1358,6 +1375,7 @@ lean_object* lean_array_uset(lean_object*, 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__26___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__3(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* l_Lean_MessageData_ofName(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___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_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody(lean_object*, lean_object*, 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_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___lambda__2___closed__5; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___closed__2; @@ -1366,26 +1384,24 @@ lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___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_Meta_lambdaBoundedTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__34___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___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__12___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___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*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_buildInductionBody___spec__30(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__2___closed__2; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20(size_t, 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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_buildInductionBody___spec__32(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___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_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___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_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__4; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4___boxed(lean_object**); static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__9; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_buildInductionBody___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__2___closed__2; lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__12___closed__2; @@ -1399,10 +1415,12 @@ static double l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12(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_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__32___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); double lean_float_sub(double, double); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__12___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M2_branch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__1; +static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___closed__4; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__2; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_Meta_substVar_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -56330,7 +56348,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_inc(x_1); x_7 = l_Lean_Meta_getFunInductName(x_1); lean_inc(x_7); -x_8 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__3(x_7, x_2, x_3, x_4, x_5, x_6); x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_unbox(x_9); @@ -56694,7 +56712,7 @@ x_36 = lean_nat_add(x_27, x_29); lean_ctor_set(x_9, 0, x_36); x_37 = l_Lean_Meta_getFunInductName(x_17); lean_inc(x_37); -x_38 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_37, x_10, x_11, x_12, x_13, x_14); +x_38 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__3(x_37, x_10, x_11, x_12, x_13, x_14); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); x_40 = lean_unbox(x_39); @@ -57078,7 +57096,7 @@ lean_ctor_set(x_105, 1, x_28); lean_ctor_set(x_105, 2, x_29); x_106 = l_Lean_Meta_getFunInductName(x_17); lean_inc(x_106); -x_107 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_106, x_10, x_11, x_12, x_13, x_14); +x_107 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__3(x_106, x_10, x_11, x_12, x_13, x_14); x_108 = lean_ctor_get(x_107, 0); lean_inc(x_108); x_109 = lean_unbox(x_108); @@ -57465,39 +57483,401 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +static lean_object* _init_l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___closed__1() { _start: { -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_2, x_3); -if (x_5 == 0) +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); +lean_closure_set(x_1, 0, lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___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_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; size_t x_10; size_t x_11; -x_6 = lean_array_uget(x_1, x_2); -x_7 = lean_unbox(x_6); +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("j + 1 < unaryFunIndInfo.params.size\n ", 44, 44); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__4; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Tactic.FunInd.setNaryFunIndInfo", 36, 36); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___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_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__3; +x_3 = lean_unsigned_to_nat(801u); +x_4 = lean_unsigned_to_nat(8u); +x_5 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__2; +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_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_4, 1); +x_15 = lean_nat_dec_lt(x_6, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_6); -x_8 = 2; -x_9 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_beqFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_10_(x_7, x_8); -x_10 = 1; -x_11 = lean_usize_add(x_2, x_10); -if (x_9 == 0) +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +else { -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(x_7); -x_13 = lean_array_push(x_4, x_12); -x_2 = x_11; -x_4 = x_13; +uint8_t x_17; +x_17 = !lean_is_exclusive(x_5); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_5, 0); +x_19 = lean_ctor_get(x_5, 1); +x_20 = lean_array_fget(x_3, x_6); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = 2; +x_22 = lean_box(x_21); +x_23 = lean_array_push(x_19, x_22); +lean_ctor_set(x_5, 1, x_23); +x_24 = lean_ctor_get(x_4, 2); +x_25 = lean_nat_add(x_6, x_24); +lean_dec(x_6); +x_6 = x_25; +x_7 = lean_box(0); +x_8 = lean_box(0); goto _start; } else { -x_2 = x_11; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_20); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_18, x_27); +x_29 = lean_ctor_get(x_2, 2); +x_30 = lean_array_get_size(x_29); +x_31 = lean_nat_dec_lt(x_28, x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_28); +lean_free_object(x_5); +lean_dec(x_19); +lean_dec(x_18); +x_32 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__4; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_33 = l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1(x_32, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 0); +lean_dec(x_36); +x_37 = lean_ctor_get(x_34, 0); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_33, 0, x_37); +return x_33; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_33, 1); +lean_inc(x_38); +lean_dec(x_33); +x_39 = lean_ctor_get(x_34, 0); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +return x_40; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_33, 1); +lean_inc(x_41); +lean_dec(x_33); +x_42 = lean_ctor_get(x_34, 0); +lean_inc(x_42); +lean_dec(x_34); +x_43 = lean_ctor_get(x_4, 2); +x_44 = lean_nat_add(x_6, x_43); +lean_dec(x_6); +x_5 = x_42; +x_6 = x_44; +x_7 = lean_box(0); +x_8 = lean_box(0); +x_13 = x_41; goto _start; } } else { -return x_4; +uint8_t x_46; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +x_46 = !lean_is_exclusive(x_33); +if (x_46 == 0) +{ +return x_33; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_33, 0); +x_48 = lean_ctor_get(x_33, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_33); +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; +} +} +} +else +{ +uint8_t x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_50 = l_Lean_Meta_instInhabitedFunIndParamKind; +x_51 = lean_box(x_50); +x_52 = lean_array_get(x_51, x_29, x_18); +lean_dec(x_18); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +x_54 = lean_box(x_53); +x_55 = lean_array_push(x_19, x_54); +lean_ctor_set(x_5, 1, x_55); +lean_ctor_set(x_5, 0, x_28); +x_56 = lean_ctor_get(x_4, 2); +x_57 = lean_nat_add(x_6, x_56); +lean_dec(x_6); +x_6 = x_57; +x_7 = lean_box(0); +x_8 = lean_box(0); +goto _start; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_5, 0); +x_60 = lean_ctor_get(x_5, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_5); +x_61 = lean_array_fget(x_3, x_6); +if (lean_obj_tag(x_61) == 0) +{ +uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_62 = 2; +x_63 = lean_box(x_62); +x_64 = lean_array_push(x_60, x_63); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_59); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_ctor_get(x_4, 2); +x_67 = lean_nat_add(x_6, x_66); +lean_dec(x_6); +x_5 = x_65; +x_6 = x_67; +x_7 = lean_box(0); +x_8 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_dec(x_61); +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_add(x_59, x_69); +x_71 = lean_ctor_get(x_2, 2); +x_72 = lean_array_get_size(x_71); +x_73 = lean_nat_dec_lt(x_70, x_72); +lean_dec(x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_70); +lean_dec(x_60); +lean_dec(x_59); +x_74 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__4; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_75 = l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1(x_74, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +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); +lean_dec(x_76); +if (lean_is_scalar(x_78)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_78; +} +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_75, 1); +lean_inc(x_81); +lean_dec(x_75); +x_82 = lean_ctor_get(x_76, 0); +lean_inc(x_82); +lean_dec(x_76); +x_83 = lean_ctor_get(x_4, 2); +x_84 = lean_nat_add(x_6, x_83); +lean_dec(x_6); +x_5 = x_82; +x_6 = x_84; +x_7 = lean_box(0); +x_8 = lean_box(0); +x_13 = x_81; +goto _start; +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +x_86 = lean_ctor_get(x_75, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_75, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_88 = x_75; +} else { + lean_dec_ref(x_75); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +else +{ +uint8_t x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_90 = l_Lean_Meta_instInhabitedFunIndParamKind; +x_91 = lean_box(x_90); +x_92 = lean_array_get(x_91, x_71, x_59); +lean_dec(x_59); +x_93 = lean_unbox(x_92); +lean_dec(x_92); +x_94 = lean_box(x_93); +x_95 = lean_array_push(x_60, x_94); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_70); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_ctor_get(x_4, 2); +x_98 = lean_nat_add(x_6, x_97); +lean_dec(x_6); +x_5 = x_96; +x_6 = x_98; +x_7 = lean_box(0); +x_8 = lean_box(0); +goto _start; +} +} +} } } } @@ -57505,20 +57885,51 @@ static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Expected ", 9, 9); +x_1 = lean_mk_string_unchecked("fixedParamPerms.perms.size = 1 -- only non-mutual for now\n ", 60, 60); return x_1; } } static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__4; +x_2 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__3() { +_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_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__3; +x_3 = lean_unsigned_to_nat(791u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected ", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__1; +x_1 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__3() { +static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__6() { _start: { lean_object* x_1; @@ -57526,243 +57937,306 @@ x_1 = lean_mk_string_unchecked(" to have FunIndInfo", 19, 19); return x_1; } } -static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__4() { +static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__3; +x_1 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__6; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8() { +_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_Tactic_FunInd_setNaryFunIndInfo___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("j + 1 = unaryFunIndInfo.params.size\n\n ", 41, 41); +return x_1; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__4; +x_2 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__9; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__11() { +_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_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__3; +x_3 = lean_unsigned_to_nat(806u); +x_4 = lean_unsigned_to_nat(4u); +x_5 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__10; +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_Tactic_FunInd_setNaryFunIndInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_Meta_getFunInductName(x_1); -x_10 = lean_name_eq(x_9, x_3); -if (x_10 == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_1, 1); +x_10 = lean_array_get_size(x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) { -lean_object* x_11; lean_object* x_12; -lean_inc(x_3); -x_11 = l_Lean_Meta_getFunIndInfoForInduct_x3f(x_3, x_6, x_7, x_8); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -lean_dec(x_9); -lean_dec(x_2); -x_13 = !lean_is_exclusive(x_11); -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; -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_11, 0); -lean_dec(x_15); -x_16 = l_Lean_MessageData_ofName(x_3); -x_17 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__2; -lean_ctor_set_tag(x_11, 7); -lean_ctor_set(x_11, 1, x_16); -lean_ctor_set(x_11, 0, x_17); -x_18 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__4; -x_19 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_19, 0, x_11); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_19, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_7); -lean_dec(x_6); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); -lean_dec(x_11); -x_22 = l_Lean_MessageData_ofName(x_3); -x_23 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__2; -x_24 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__4; -x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_26, x_4, x_5, x_6, x_7, x_21); -lean_dec(x_7); -lean_dec(x_6); -return x_27; -} -} -else -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_object* x_13; lean_object* x_14; lean_dec(x_3); -x_28 = lean_ctor_get(x_12, 0); -lean_inc(x_28); -lean_dec(x_12); -x_29 = lean_ctor_get(x_11, 1); -lean_inc(x_29); -lean_dec(x_11); -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_31 = lean_ctor_get(x_28, 2); -x_32 = lean_ctor_get(x_28, 0); -lean_dec(x_32); -x_33 = lean_array_get_size(x_31); -x_34 = lean_unsigned_to_nat(0u); -x_35 = lean_nat_dec_lt(x_34, x_33); -x_36 = 2; -x_37 = lean_box(x_36); -x_38 = lean_mk_array(x_2, x_37); -if (x_35 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_33); -lean_dec(x_31); -x_39 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_40 = l_Array_append___rarg(x_39, x_38); -lean_dec(x_38); -lean_ctor_set(x_28, 2, x_40); -lean_ctor_set(x_28, 0, x_9); -x_41 = l_Lean_Meta_setFunIndInfo(x_28, x_6, x_7, x_29); -return x_41; +lean_dec(x_2); +x_13 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__3; +x_14 = l_panic___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1(x_13, x_4, x_5, x_6, x_7, x_8); +return x_14; } else { -uint8_t x_42; -x_42 = lean_nat_dec_le(x_33, x_33); -if (x_42 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Meta_getFunInductName(x_2); +x_16 = lean_name_eq(x_15, x_3); +if (x_16 == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_33); -lean_dec(x_31); -x_43 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_44 = l_Array_append___rarg(x_43, x_38); -lean_dec(x_38); -lean_ctor_set(x_28, 2, x_44); -lean_ctor_set(x_28, 0, x_9); -x_45 = l_Lean_Meta_setFunIndInfo(x_28, x_6, x_7, x_29); -return x_45; +lean_object* x_17; lean_object* x_18; +lean_inc(x_3); +x_17 = l_Lean_Meta_getFunIndInfoForInduct_x3f(x_3, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +lean_dec(x_15); +x_19 = !lean_is_exclusive(x_17); +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; +x_20 = lean_ctor_get(x_17, 1); +x_21 = lean_ctor_get(x_17, 0); +lean_dec(x_21); +x_22 = l_Lean_MessageData_ofName(x_3); +x_23 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__5; +lean_ctor_set_tag(x_17, 7); +lean_ctor_set(x_17, 1, x_22); +lean_ctor_set(x_17, 0, x_23); +x_24 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__7; +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_25, x_4, x_5, x_6, x_7, x_20); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_26; } else { -size_t x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_46 = 0; -x_47 = lean_usize_of_nat(x_33); -lean_dec(x_33); -x_48 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_49 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1(x_31, x_46, x_47, x_48); -lean_dec(x_31); -x_50 = l_Array_append___rarg(x_49, x_38); -lean_dec(x_38); -lean_ctor_set(x_28, 2, x_50); -lean_ctor_set(x_28, 0, x_9); -x_51 = l_Lean_Meta_setFunIndInfo(x_28, x_6, x_7, x_29); -return x_51; -} +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_27 = lean_ctor_get(x_17, 1); +lean_inc(x_27); +lean_dec(x_17); +x_28 = l_Lean_MessageData_ofName(x_3); +x_29 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__5; +x_30 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__7; +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_32, x_4, x_5, x_6, x_7, x_27); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_33; } } else { -lean_object* x_52; lean_object* 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_52 = lean_ctor_get(x_28, 1); -x_53 = lean_ctor_get(x_28, 2); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_28); -x_54 = lean_array_get_size(x_53); -x_55 = lean_unsigned_to_nat(0u); -x_56 = lean_nat_dec_lt(x_55, x_54); -x_57 = 2; -x_58 = lean_box(x_57); -x_59 = lean_mk_array(x_2, x_58); -if (x_56 == 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; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_3); +x_34 = lean_ctor_get(x_17, 1); +lean_inc(x_34); +lean_dec(x_17); +x_35 = lean_ctor_get(x_18, 0); +lean_inc(x_35); +lean_dec(x_18); +x_36 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8; +x_37 = lean_unsigned_to_nat(0u); +x_38 = lean_array_get(x_36, x_9, x_37); +x_39 = lean_array_get_size(x_38); +x_40 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_11); +x_41 = l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___lambda__6___closed__1; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_42 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2(x_1, x_35, x_38, x_40, x_41, x_37, lean_box(0), lean_box(0), x_4, x_5, x_6, x_7, x_34); +lean_dec(x_40); +lean_dec(x_38); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -lean_dec(x_54); -lean_dec(x_53); -x_60 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_61 = l_Array_append___rarg(x_60, x_59); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = lean_nat_add(x_45, x_11); +lean_dec(x_45); +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_35, 1); +x_50 = lean_ctor_get(x_35, 2); +x_51 = lean_ctor_get(x_35, 0); +lean_dec(x_51); +x_52 = lean_array_get_size(x_50); +lean_dec(x_50); +x_53 = lean_nat_dec_eq(x_47, x_52); +lean_dec(x_52); +lean_dec(x_47); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; +lean_free_object(x_35); +lean_dec(x_49); +lean_dec(x_46); +lean_dec(x_15); +x_54 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__11; +x_55 = l_panic___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1(x_54, x_4, x_5, x_6, x_7, x_44); +return x_55; +} +else +{ +lean_object* x_56; +lean_dec(x_5); +lean_dec(x_4); +lean_ctor_set(x_35, 2, x_46); +lean_ctor_set(x_35, 0, x_15); +x_56 = l_Lean_Meta_setFunIndInfo(x_35, x_6, x_7, x_44); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = lean_ctor_get(x_35, 1); +x_58 = lean_ctor_get(x_35, 2); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_35); +x_59 = lean_array_get_size(x_58); +lean_dec(x_58); +x_60 = lean_nat_dec_eq(x_47, x_59); lean_dec(x_59); -x_62 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_62, 0, x_9); -lean_ctor_set(x_62, 1, x_52); -lean_ctor_set(x_62, 2, x_61); -x_63 = l_Lean_Meta_setFunIndInfo(x_62, x_6, x_7, x_29); -return x_63; +lean_dec(x_47); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_57); +lean_dec(x_46); +lean_dec(x_15); +x_61 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__11; +x_62 = l_panic___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1(x_61, x_4, x_5, x_6, x_7, x_44); +return x_62; } else { -uint8_t x_64; -x_64 = lean_nat_dec_le(x_54, x_54); -if (x_64 == 0) +lean_object* x_63; lean_object* x_64; +lean_dec(x_5); +lean_dec(x_4); +x_63 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_63, 0, x_15); +lean_ctor_set(x_63, 1, x_57); +lean_ctor_set(x_63, 2, x_46); +x_64 = l_Lean_Meta_setFunIndInfo(x_63, x_6, x_7, x_44); +return x_64; +} +} +} +else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_54); -lean_dec(x_53); -x_65 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_66 = l_Array_append___rarg(x_65, x_59); -lean_dec(x_59); -x_67 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_67, 0, x_9); -lean_ctor_set(x_67, 1, x_52); -lean_ctor_set(x_67, 2, x_66); -x_68 = l_Lean_Meta_setFunIndInfo(x_67, x_6, x_7, x_29); +uint8_t x_65; +lean_dec(x_35); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_65 = !lean_is_exclusive(x_42); +if (x_65 == 0) +{ +return x_42; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_42, 0); +x_67 = lean_ctor_get(x_42, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_42); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); return x_68; } -else -{ -size_t x_69; size_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_69 = 0; -x_70 = lean_usize_of_nat(x_54); -lean_dec(x_54); -x_71 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_72 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1(x_53, x_69, x_70, x_71); -lean_dec(x_53); -x_73 = l_Array_append___rarg(x_72, x_59); -lean_dec(x_59); -x_74 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_74, 0, x_9); -lean_ctor_set(x_74, 1, x_52); -lean_ctor_set(x_74, 2, x_73); -x_75 = l_Lean_Meta_setFunIndInfo(x_74, x_6, x_7, x_29); -return x_75; -} -} } } } else { -lean_object* x_76; lean_object* x_77; -lean_dec(x_9); +lean_object* x_69; lean_object* x_70; +lean_dec(x_15); 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_76 = lean_box(0); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_8); -return x_77; +x_69 = lean_box(0); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_8); +return x_70; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); +lean_object* x_14; +x_14 = l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_2); lean_dec(x_1); -return x_7; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_setNaryFunIndInfo___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) { @@ -57770,8 +58244,7 @@ _start: { lean_object* x_9; x_9 = l_Lean_Tactic_FunInd_setNaryFunIndInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_5); -lean_dec(x_4); +lean_dec(x_1); return x_9; } } @@ -58284,7 +58757,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; x_2 = l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__5___closed__4; -x_3 = lean_unsigned_to_nat(824u); +x_3 = lean_unsigned_to_nat(833u); x_4 = lean_unsigned_to_nat(50u); x_5 = l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -61014,7 +61487,7 @@ block_19: { lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_inc(x_8); -x_9 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_8, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__3(x_8, x_3, x_4, x_5, x_6, x_7); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_unbox(x_10); @@ -61240,20 +61713,11 @@ lean_dec(x_1); return x_13; } } -static lean_object* _init_l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); -lean_closure_set(x_1, 0, lean_box(0)); -return x_1; -} -} LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___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; lean_object* x_9; -x_7 = l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___rarg___closed__1; +x_7 = l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___closed__1; x_8 = lean_panic_fn(x_7, x_1); x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); return x_9; @@ -61299,7 +61763,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; x_2 = l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__3; -x_3 = lean_unsigned_to_nat(908u); +x_3 = lean_unsigned_to_nat(917u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -61448,25 +61912,27 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_deriveInductionStructur _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___rarg___closed__1; +x_7 = l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___closed__1; x_8 = lean_panic_fn(x_7, x_1); x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l_Array_append___rarg(x_1, x_5); -x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_12 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_1, x_2, x_5); +x_13 = lean_ctor_get(x_3, 1); lean_inc(x_13); -lean_dec(x_2); -x_14 = l_Lean_Elab_Structural_getRecArgInfo(x_3, x_4, x_12, x_13, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +x_14 = l_Lean_Elab_Structural_getRecArgInfo(x_4, x_1, x_12, x_13, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_12); return x_14; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1() { _start: { lean_object* x_1; @@ -61474,7 +61940,7 @@ x_1 = l_Lean_Elab_Structural_eqnInfoExt; return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2() { _start: { lean_object* x_1; @@ -61482,16 +61948,16 @@ x_1 = lean_mk_string_unchecked(" missing eqnInfo", 16, 16); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4() { _start: { lean_object* x_1; @@ -61499,237 +61965,238 @@ x_1 = lean_mk_string_unchecked("Structural.argsInGroup did not return a recArgIn return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4; +x_1 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_12; -x_12 = lean_usize_dec_lt(x_5, x_4); -if (x_12 == 0) +lean_object* x_16; uint8_t x_17; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_7, x_16); +if (x_17 == 0) { -lean_object* x_13; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_7, x_18); lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_6); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else +x_20 = lean_array_fget(x_6, x_8); +x_21 = lean_st_ref_get(x_14, x_15); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_24; uint8_t x_25; -x_14 = lean_array_uget(x_6, x_5); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_array_uset(x_6, x_5, x_15); -x_24 = lean_st_ref_get(x_10, x_11); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -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_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -x_28 = lean_ctor_get(x_26, 0); -lean_inc(x_28); +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_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_20, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); lean_dec(x_26); -x_29 = lean_ctor_get(x_14, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -lean_dec(x_29); -x_31 = l_Lean_Elab_Structural_instInhabitedEqnInfo; -x_32 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; -lean_inc(x_30); -x_33 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_31, x_32, x_28, x_30); -if (lean_obj_tag(x_33) == 0) +x_28 = l_Lean_Elab_Structural_instInhabitedEqnInfo; +x_29 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; +lean_inc(x_27); +x_30 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_28, x_29, x_25, x_27); +if (lean_obj_tag(x_30) == 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; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_34 = l_Lean_MessageData_ofName(x_30); -x_35 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; -lean_ctor_set_tag(x_24, 7); -lean_ctor_set(x_24, 1, x_34); -lean_ctor_set(x_24, 0, x_35); -x_36 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3; -x_37 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_37, 0, x_24); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_37, x_7, x_8, x_9, x_10, x_27); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -return x_38; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_38, 0); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_38); -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; -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_33, 0); -lean_inc(x_43); -lean_dec(x_33); -x_44 = lean_ctor_get(x_14, 1); -lean_inc(x_44); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_31 = l_Lean_MessageData_ofName(x_27); +x_32 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_31); +lean_ctor_set(x_21, 0, x_32); +x_33 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3; +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_21); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_34, x_11, x_12, x_13, x_14, x_24); lean_dec(x_14); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_45 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_2, x_15, x_44, x_7, x_8, x_9, x_10, x_27); -if (lean_obj_tag(x_45) == 0) +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -lean_inc(x_1); -lean_inc(x_2); -x_48 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___lambda__1___boxed), 11, 4); -lean_closure_set(x_48, 0, x_2); -lean_closure_set(x_48, 1, x_43); -lean_closure_set(x_48, 2, x_30); -lean_closure_set(x_48, 3, x_1); -x_49 = 0; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_46); -x_50 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_46, x_48, x_49, x_7, x_8, x_9, x_10, x_47); -if (lean_obj_tag(x_50) == 0) +return x_35; +} +else { -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_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_box(0); -lean_ctor_set_tag(x_24, 1); -lean_ctor_set(x_24, 1, x_53); -lean_ctor_set(x_24, 0, x_51); -x_54 = lean_array_mk(x_24); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_35); +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_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_30, 0); +lean_inc(x_40); +lean_dec(x_30); lean_inc(x_2); -lean_inc(x_3); -x_55 = l_Lean_Elab_Structural_argsInGroup(x_3, x_2, x_46, x_54, x_7, x_8, x_9, x_10, x_52); +x_41 = lean_array_get(x_2, x_3, x_8); +x_42 = lean_ctor_get(x_20, 1); +lean_inc(x_42); +lean_dec(x_20); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); +lean_inc(x_41); +x_43 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_41, x_42, x_4, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +lean_inc(x_4); +x_46 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___lambda__1___boxed), 11, 4); +lean_closure_set(x_46, 0, x_41); +lean_closure_set(x_46, 1, x_4); +lean_closure_set(x_46, 2, x_40); +lean_closure_set(x_46, 3, x_27); +x_47 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_44); +x_48 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_44, x_46, x_47, x_11, x_12, x_13, x_14, x_45); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +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 = lean_box(0); +lean_ctor_set_tag(x_21, 1); +lean_ctor_set(x_21, 1, x_51); +lean_ctor_set(x_21, 0, x_49); +x_52 = lean_array_mk(x_21); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); +lean_inc(x_5); +x_53 = l_Lean_Elab_Structural_argsInGroup(x_5, x_4, x_44, x_52, x_11, x_12, x_13, x_14, x_50); +lean_dec(x_52); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_54 = lean_ctor_get(x_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_array_get_size(x_54); +x_57 = lean_nat_dec_eq(x_56, x_18); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_dec(x_54); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_array_get_size(x_56); -x_59 = lean_unsigned_to_nat(1u); -x_60 = lean_nat_dec_eq(x_58, x_59); -lean_dec(x_58); +lean_dec(x_19); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_58 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5; +x_59 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_58, x_11, x_12, x_13, x_14, x_55); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_60 = !lean_is_exclusive(x_59); if (x_60 == 0) { -lean_object* x_61; lean_object* x_62; uint8_t x_63; -lean_dec(x_56); -lean_dec(x_16); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_61 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5; -x_62 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_61, x_7, x_8, x_9, x_10, x_57); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) +return x_59; +} +else { -return x_62; +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_59, 0); +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_59); +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 { lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_62); -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; -} -} -else -{ -lean_object* x_67; -x_67 = lean_array_fget(x_56, x_15); -lean_dec(x_56); -x_17 = x_67; -x_18 = x_57; -goto block_23; +x_64 = lean_array_fget(x_54, x_16); +lean_dec(x_54); +x_65 = lean_nat_add(x_8, x_18); +lean_dec(x_8); +x_66 = lean_array_push(x_10, x_64); +x_7 = x_19; +x_8 = x_65; +x_9 = lean_box(0); +x_10 = x_66; +x_15 = x_55; +goto _start; } } else { uint8_t x_68; -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); -x_68 = !lean_is_exclusive(x_55); +x_68 = !lean_is_exclusive(x_53); if (x_68 == 0) { -return x_55; +return x_53; } else { lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_55, 0); -x_70 = lean_ctor_get(x_55, 1); +x_69 = lean_ctor_get(x_53, 0); +x_70 = lean_ctor_get(x_53, 1); lean_inc(x_70); lean_inc(x_69); -lean_dec(x_55); +lean_dec(x_53); x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); @@ -61740,29 +62207,31 @@ return x_71; else { uint8_t x_72; -lean_dec(x_46); -lean_free_object(x_24); -lean_dec(x_16); +lean_dec(x_44); +lean_free_object(x_21); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); -x_72 = !lean_is_exclusive(x_50); +x_72 = !lean_is_exclusive(x_48); if (x_72 == 0) { -return x_50; +return x_48; } else { lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_50, 0); -x_74 = lean_ctor_get(x_50, 1); +x_73 = lean_ctor_get(x_48, 0); +x_74 = lean_ctor_get(x_48, 1); lean_inc(x_74); lean_inc(x_73); -lean_dec(x_50); +lean_dec(x_48); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); @@ -61773,30 +62242,33 @@ return x_75; else { uint8_t x_76; -lean_dec(x_43); -lean_dec(x_30); -lean_free_object(x_24); -lean_dec(x_16); +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_27); +lean_free_object(x_21); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); -x_76 = !lean_is_exclusive(x_45); +x_76 = !lean_is_exclusive(x_43); if (x_76 == 0) { -return x_45; +return x_43; } else { lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_45, 0); -x_78 = lean_ctor_get(x_45, 1); +x_77 = lean_ctor_get(x_43, 0); +x_78 = lean_ctor_get(x_43, 1); lean_inc(x_78); lean_inc(x_77); -lean_dec(x_45); +lean_dec(x_43); x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); @@ -61808,45 +62280,47 @@ 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; lean_object* x_87; -x_80 = lean_ctor_get(x_24, 0); -x_81 = lean_ctor_get(x_24, 1); +x_80 = lean_ctor_get(x_21, 0); +x_81 = lean_ctor_get(x_21, 1); lean_inc(x_81); lean_inc(x_80); -lean_dec(x_24); +lean_dec(x_21); x_82 = lean_ctor_get(x_80, 0); lean_inc(x_82); lean_dec(x_80); -x_83 = lean_ctor_get(x_14, 0); +x_83 = lean_ctor_get(x_20, 0); lean_inc(x_83); x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); lean_dec(x_83); x_85 = l_Lean_Elab_Structural_instInhabitedEqnInfo; -x_86 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; +x_86 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; lean_inc(x_84); x_87 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_85, x_86, x_82, x_84); if (lean_obj_tag(x_87) == 0) { lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_3); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_88 = l_Lean_MessageData_ofName(x_84); x_89 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; x_90 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); -x_91 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3; +x_91 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3; x_92 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_92, 0, x_90); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_92, x_7, x_8, x_9, x_10, x_81); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +x_93 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_92, x_11, x_12, x_13, x_14, x_81); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); x_95 = lean_ctor_get(x_93, 1); @@ -61870,87 +62344,91 @@ return x_97; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; x_98 = lean_ctor_get(x_87, 0); lean_inc(x_98); lean_dec(x_87); -x_99 = lean_ctor_get(x_14, 1); +lean_inc(x_2); +x_99 = lean_array_get(x_2, x_3, x_8); +x_100 = lean_ctor_get(x_20, 1); +lean_inc(x_100); +lean_dec(x_20); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); lean_inc(x_99); -lean_dec(x_14); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_100 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_2, x_15, x_99, x_7, x_8, x_9, x_10, x_81); -if (lean_obj_tag(x_100) == 0) +x_101 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_99, x_100, x_4, x_11, x_12, x_13, x_14, x_81); +if (lean_obj_tag(x_101) == 0) { -lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; +x_102 = lean_ctor_get(x_101, 0); lean_inc(x_102); -lean_dec(x_100); -lean_inc(x_1); -lean_inc(x_2); -x_103 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___lambda__1___boxed), 11, 4); -lean_closure_set(x_103, 0, x_2); -lean_closure_set(x_103, 1, x_98); -lean_closure_set(x_103, 2, x_84); -lean_closure_set(x_103, 3, x_1); -x_104 = 0; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_101); -x_105 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_101, x_103, x_104, x_7, x_8, x_9, x_10, x_102); -if (lean_obj_tag(x_105) == 0) +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +lean_inc(x_4); +x_104 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___lambda__1___boxed), 11, 4); +lean_closure_set(x_104, 0, x_99); +lean_closure_set(x_104, 1, x_4); +lean_closure_set(x_104, 2, x_98); +lean_closure_set(x_104, 3, x_84); +x_105 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_102); +x_106 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_102, x_104, x_105, x_11, x_12, x_13, x_14, x_103); +if (lean_obj_tag(x_106) == 0) { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_107 = lean_ctor_get(x_106, 0); lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_box(0); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_106); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_array_mk(x_109); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_2); -lean_inc(x_3); -x_111 = l_Lean_Elab_Structural_argsInGroup(x_3, x_2, x_101, x_110, x_7, x_8, x_9, x_10, x_107); -lean_dec(x_110); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_box(0); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_107); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_array_mk(x_110); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); +lean_inc(x_5); +x_112 = l_Lean_Elab_Structural_argsInGroup(x_5, x_4, x_102, x_111, x_11, x_12, x_13, x_14, x_108); lean_dec(x_111); -x_114 = lean_array_get_size(x_112); -x_115 = lean_unsigned_to_nat(1u); -x_116 = lean_nat_dec_eq(x_114, x_115); -lean_dec(x_114); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = lean_array_get_size(x_113); +x_116 = lean_nat_dec_eq(x_115, x_18); +lean_dec(x_115); if (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_dec(x_112); -lean_dec(x_16); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_117 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5; -x_118 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(x_117, x_7, x_8, x_9, x_10, x_113); +lean_dec(x_113); +lean_dec(x_19); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_117 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5; +x_118 = l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__2(x_117, x_11, x_12, x_13, x_14, x_114); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); x_119 = lean_ctor_get(x_118, 0); lean_inc(x_119); x_120 = lean_ctor_get(x_118, 1); @@ -61974,129 +62452,148 @@ return x_122; } else { -lean_object* x_123; -x_123 = lean_array_fget(x_112, x_15); -lean_dec(x_112); -x_17 = x_123; -x_18 = x_113; -goto block_23; -} -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_16); -lean_dec(x_10); -lean_dec(x_9); +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_array_fget(x_113, x_16); +lean_dec(x_113); +x_124 = lean_nat_add(x_8, x_18); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_124 = lean_ctor_get(x_111, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_111, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_126 = x_111; -} else { - lean_dec_ref(x_111); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(1, 2, 0); -} else { - x_127 = x_126; -} -lean_ctor_set(x_127, 0, x_124); -lean_ctor_set(x_127, 1, x_125); -return x_127; -} -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -lean_dec(x_101); -lean_dec(x_16); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_128 = lean_ctor_get(x_105, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_105, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_130 = x_105; -} else { - lean_dec_ref(x_105); - x_130 = lean_box(0); -} -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); -} else { - x_131 = x_130; -} -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_129); -return x_131; -} -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_98); -lean_dec(x_84); -lean_dec(x_16); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_132 = lean_ctor_get(x_100, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_100, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_134 = x_100; -} else { - lean_dec_ref(x_100); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_133); -return x_135; -} -} -} -block_23: -{ -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = 1; -x_20 = lean_usize_add(x_5, x_19); -x_21 = lean_array_uset(x_16, x_5, x_17); -x_5 = x_20; -x_6 = x_21; -x_11 = x_18; +x_125 = lean_array_push(x_10, x_123); +x_7 = x_19; +x_8 = x_124; +x_9 = lean_box(0); +x_10 = x_125; +x_15 = x_114; goto _start; } } +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_127 = lean_ctor_get(x_112, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_112, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_129 = x_112; +} else { + lean_dec_ref(x_112); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; +} +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_102); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_131 = lean_ctor_get(x_106, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_106, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_133 = x_106; +} else { + lean_dec_ref(x_106); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_99); +lean_dec(x_98); +lean_dec(x_84); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_135 = lean_ctor_get(x_101, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_101, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_137 = x_101; +} else { + lean_dec_ref(x_101); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +else +{ +lean_object* x_139; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_10); +lean_ctor_set(x_139, 1, x_15); +return x_139; +} } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__6(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) { @@ -62265,31 +62762,22 @@ return x_17; static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___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; -} -} -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__2() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_unchecked("Array.range xs.size == positions.flatten.qsort Nat.blt\n ", 57, 57); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__3() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__4; -x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__2; +x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__4() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__3() { _start: { lean_object* x_1; @@ -62297,7 +62785,7 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.PreDefinition.Structural.Basic", 40, 4 return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__5() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__4() { _start: { lean_object* x_1; @@ -62305,15 +62793,15 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.Structural.Positions.groupAndSort", 43 return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__6() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___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; -x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__4; -x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__5; +x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__3; +x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__4; x_3 = lean_unsigned_to_nat(86u); x_4 = lean_unsigned_to_nat(2u); -x_5 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__3; +x_5 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -62337,7 +62825,7 @@ if (x_13 == 0) { lean_object* x_33; lean_dec(x_11); -x_33 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1; +x_33 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8; x_24 = x_33; goto block_32; } @@ -62349,7 +62837,7 @@ if (x_34 == 0) { lean_object* x_35; lean_dec(x_11); -x_35 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1; +x_35 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8; x_24 = x_35; goto block_32; } @@ -62358,7 +62846,7 @@ else size_t x_36; lean_object* x_37; lean_object* x_38; x_36 = lean_usize_of_nat(x_11); lean_dec(x_11); -x_37 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1; +x_37 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8; x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_Positions_groupAndSort___spec__6(x_7, x_6, x_36, x_37); x_24 = x_38; goto block_32; @@ -62377,7 +62865,7 @@ lean_dec(x_15); lean_dec(x_14); lean_dec(x_10); lean_dec(x_7); -x_18 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__6; +x_18 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__5; x_19 = l_panic___at_Lean_Elab_Structural_Positions_groupAndSort___spec__3(x_18); return x_19; } @@ -62391,7 +62879,7 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; lean_dec(x_7); -x_21 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__6; +x_21 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__5; x_22 = l_panic___at_Lean_Elab_Structural_Positions_groupAndSort___spec__3(x_21); return x_22; } @@ -62442,7 +62930,7 @@ goto block_23; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___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) { _start: { uint8_t x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; @@ -62453,132 +62941,151 @@ x_12 = l_Lean_Meta_mkForallFVars(x_2, x_1, x_9, x_10, x_11, x_4, x_5, x_6, x_7, return x_12; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_4, x_3); -if (x_11 == 0) +lean_object* x_16; uint8_t x_17; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_7, x_16); +if (x_17 == 0) { -lean_object* x_12; -lean_dec(x_9); -lean_dec(x_8); +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_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_7, x_18); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_5); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_array_uget(x_5, x_4); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_5, x_4, x_14); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_1, x_14, x_16, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -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_fget(x_6, x_8); lean_inc(x_2); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___lambda__1___boxed), 8, 1); -lean_closure_set(x_20, 0, x_2); -x_21 = 0; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_22 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_18, x_20, x_21, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_22) == 0) +x_21 = lean_array_get(x_2, x_3, x_8); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); +x_23 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_21, x_22, x_4, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = 1; -x_26 = lean_usize_add(x_4, x_25); -x_27 = lean_array_uset(x_15, x_4, x_23); -x_4 = x_26; -x_5 = x_27; -x_10 = x_24; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +lean_inc(x_5); +x_26 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___lambda__1___boxed), 8, 1); +lean_closure_set(x_26, 0, x_5); +x_27 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_28 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_24, x_26, x_27, x_11, x_12, x_13, x_14, x_25); +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_nat_add(x_8, x_18); +lean_dec(x_8); +x_32 = lean_array_push(x_10, x_29); +x_7 = x_19; +x_8 = x_31; +x_9 = lean_box(0); +x_10 = x_32; +x_15 = x_30; goto _start; } else { -uint8_t x_29; -lean_dec(x_15); -lean_dec(x_9); +uint8_t x_34; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); -x_29 = !lean_is_exclusive(x_22); -if (x_29 == 0) +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) { -return x_22; +return x_28; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_22); -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 -{ -uint8_t x_33; -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -x_33 = !lean_is_exclusive(x_17); -if (x_33 == 0) -{ -return x_17; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_17, 0); -x_35 = lean_ctor_get(x_17, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_17); -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_dec(x_28); +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_38; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) +{ +return x_23; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_23); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___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) { +} +else +{ +lean_object* x_42; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_10); +lean_ctor_set(x_42, 1, x_15); +return x_42; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___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) { _start: { lean_object* x_8; lean_object* x_9; @@ -62589,174 +63096,158 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1() { +static lean_object* _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___lambda__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___lambda__1___boxed), 7, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_10; -x_10 = lean_usize_dec_lt(x_3, x_2); -if (x_10 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_6, x_15); +if (x_16 == 0) { -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); +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_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_6, x_17); lean_dec(x_6); -lean_dec(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_4); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_array_uget(x_4, x_3); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_4, x_3, x_13); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_16 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_1, x_13, x_15, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; -x_20 = 0; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_21 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_17, x_19, x_20, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; -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 = 1; -x_25 = lean_usize_add(x_3, x_24); -x_26 = lean_array_uset(x_14, x_3, x_22); -x_3 = x_25; -x_4 = x_26; -x_9 = x_23; -goto _start; -} -else -{ -uint8_t x_28; -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) -{ -return x_21; -} -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; -} -} -} -else -{ -uint8_t x_32; -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_32 = !lean_is_exclusive(x_16); -if (x_32 == 0) -{ -return x_16; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_16, 0); -x_34 = lean_ctor_get(x_16, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_16); -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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11(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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -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 = lean_ctor_get(x_6, 0); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); +x_19 = lean_array_fget(x_5, x_7); +lean_inc(x_2); +x_20 = lean_array_get(x_2, x_3, x_7); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_13); +lean_inc(x_12); lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_box(0); -x_13 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_11, x_12); -x_14 = l_Lean_Expr_const___override(x_10, x_13); -x_15 = l_Lean_mkAppN(x_14, x_1); -x_16 = 1; -x_17 = lean_usize_add(x_3, x_16); -x_18 = lean_array_uset(x_8, x_3, x_15); -x_3 = x_17; -x_4 = x_18; +lean_inc(x_10); +lean_inc(x_4); +x_22 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_20, x_21, x_4, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +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_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; +x_26 = 0; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_27 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_23, x_25, x_26, x_10, x_11, x_12, x_13, x_24); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_nat_add(x_7, x_17); +lean_dec(x_7); +x_31 = lean_array_push(x_9, x_28); +x_6 = x_18; +x_7 = x_30; +x_8 = lean_box(0); +x_9 = x_31; +x_14 = x_29; goto _start; } +else +{ +uint8_t x_33; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +x_33 = !lean_is_exclusive(x_27); +if (x_33 == 0) +{ +return x_27; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_27, 0); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_27); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___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) { +} +else +{ +uint8_t x_37; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_22); +if (x_37 == 0) +{ +return x_22; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_ctor_get(x_22, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_22); +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_41; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_9); +lean_ctor_set(x_41, 1, x_14); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11___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; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; +lean_inc(x_3); x_10 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_1, x_3); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); @@ -62764,6 +63255,7 @@ x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); x_13 = l_Lean_mkAppN(x_2, x_3); +lean_dec(x_3); x_14 = 0; x_15 = 1; x_16 = 1; @@ -62806,7 +63298,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -62848,7 +63340,7 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); -x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___lambda__1___boxed), 9, 2); +x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11___lambda__1___boxed), 9, 2); lean_closure_set(x_19, 0, x_15); lean_closure_set(x_19, 1, x_14); x_20 = 0; @@ -62933,27 +63425,27 @@ return x_35; } } } -static lean_object* _init_l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14___closed__1() { +static lean_object* _init_l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_instMonadMetaM; -x_2 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1; +x_2 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8; x_3 = l_instInhabitedOfMonad___rarg(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14(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_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14___closed__1; +x_7 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1; x_8 = lean_panic_fn(x_7, x_1); x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14(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; @@ -62981,7 +63473,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16(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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15(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) { _start: { uint8_t x_12; @@ -63014,7 +63506,7 @@ lean_dec(x_14); x_19 = lean_array_size(x_18); x_20 = 0; lean_inc(x_1); -x_21 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15(x_1, x_3, x_19, x_20, x_18); +x_21 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14(x_1, x_3, x_19, x_20, x_18); lean_inc(x_2); lean_inc(x_10); lean_inc(x_9); @@ -63069,7 +63561,7 @@ return x_32; } } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__1() { _start: { lean_object* x_1; @@ -63077,17 +63569,17 @@ x_1 = lean_mk_string_unchecked("positions.size = ys.size\n ", 27, 27); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__2() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__4; -x_2 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1; +x_2 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__3() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__3() { _start: { lean_object* x_1; @@ -63095,20 +63587,20 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.Structural.Positions.mapMwith", 39, 39 return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__4() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___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_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__4; -x_2 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__3; +x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__3; +x_2 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__3; x_3 = lean_unsigned_to_nat(96u); x_4 = lean_unsigned_to_nat(2u); -x_5 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__2; +x_5 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__5() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__5() { _start: { lean_object* x_1; @@ -63116,30 +63608,30 @@ x_1 = lean_mk_string_unchecked("positions.numIndices = xs.size\n ", 33, 33); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__6() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__4; -x_2 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__5; +x_2 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__5; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__7() { +static lean_object* _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__4; -x_2 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__3; +x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__3; +x_2 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__3; x_3 = lean_unsigned_to_nat(97u); x_4 = lean_unsigned_to_nat(2u); -x_5 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__6; +x_5 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__6; 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_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13(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_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12(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; lean_object* x_12; uint8_t x_13; @@ -63153,8 +63645,8 @@ if (x_13 == 0) lean_object* x_14; lean_object* x_15; lean_dec(x_2); lean_dec(x_1); -x_14 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__4; -x_15 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14(x_14, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__4; +x_15 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13(x_14, x_6, x_7, x_8, x_9, x_10); return x_15; } else @@ -63170,8 +63662,8 @@ if (x_18 == 0) lean_object* x_19; lean_object* x_20; lean_dec(x_2); lean_dec(x_1); -x_19 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__7; -x_20 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14(x_19, x_6, x_7, x_8, x_9, x_10); +x_19 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__7; +x_20 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13(x_19, x_6, x_7, x_8, x_9, x_10); return x_20; } else @@ -63180,13 +63672,13 @@ lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; x_21 = l_Array_zip___rarg(x_4, x_3); x_22 = lean_array_size(x_21); x_23 = 0; -x_24 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16(x_1, x_2, x_5, x_22, x_23, x_21, x_6, x_7, x_8, x_9, x_10); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15(x_1, x_2, x_5, x_22, x_23, x_21, x_6, x_7, x_8, x_9, x_10); return x_24; } } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -63556,7 +64048,7 @@ return x_101; } } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -63564,16 +64056,16 @@ x_1 = lean_mk_string_unchecked("replacing ", 10, 10); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -63581,16 +64073,16 @@ x_1 = lean_mk_string_unchecked(" with ", 6, 6); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__3; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; @@ -63618,7 +64110,7 @@ x_23 = lean_ctor_get(x_18, 1); lean_inc(x_23); lean_dec(x_18); x_24 = lean_box(0); -x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_24, x_23, x_22, x_11, x_12, x_13, x_14, x_21); +x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_24, x_23, x_22, x_11, x_12, x_13, x_14, x_21); return x_25; } else @@ -63648,11 +64140,11 @@ lean_dec(x_34); lean_inc(x_7); x_35 = l_Lean_Expr_fvar___override(x_7); x_36 = l_Lean_MessageData_ofExpr(x_35); -x_37 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; +x_37 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2; lean_ctor_set_tag(x_18, 7); lean_ctor_set(x_18, 1, x_36); lean_ctor_set(x_18, 0, x_37); -x_38 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4; +x_38 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4; lean_ctor_set_tag(x_17, 7); lean_ctor_set(x_17, 1, x_38); lean_inc(x_3); @@ -63679,7 +64171,7 @@ lean_inc(x_47); x_48 = lean_ctor_get(x_44, 1); lean_inc(x_48); lean_dec(x_44); -x_49 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_47, x_48, x_46, x_11, x_12, x_13, x_14, x_45); +x_49 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_47, x_48, x_46, x_11, x_12, x_13, x_14, x_45); lean_dec(x_47); return x_49; } @@ -63692,11 +64184,11 @@ lean_dec(x_18); lean_inc(x_7); x_51 = l_Lean_Expr_fvar___override(x_7); x_52 = l_Lean_MessageData_ofExpr(x_51); -x_53 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; +x_53 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2; x_54 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); -x_55 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4; +x_55 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4; lean_ctor_set_tag(x_17, 7); lean_ctor_set(x_17, 1, x_55); lean_ctor_set(x_17, 0, x_54); @@ -63724,7 +64216,7 @@ lean_inc(x_64); x_65 = lean_ctor_get(x_61, 1); lean_inc(x_65); lean_dec(x_61); -x_66 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_64, x_65, x_63, x_11, x_12, x_13, x_14, x_62); +x_66 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_64, x_65, x_63, x_11, x_12, x_13, x_14, x_62); lean_dec(x_64); return x_66; } @@ -63748,7 +64240,7 @@ if (lean_is_exclusive(x_18)) { lean_inc(x_7); x_70 = l_Lean_Expr_fvar___override(x_7); x_71 = l_Lean_MessageData_ofExpr(x_70); -x_72 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; +x_72 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2; if (lean_is_scalar(x_69)) { x_73 = lean_alloc_ctor(7, 2, 0); } else { @@ -63757,7 +64249,7 @@ if (lean_is_scalar(x_69)) { } lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); -x_74 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4; +x_74 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4; x_75 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); @@ -63786,7 +64278,7 @@ lean_inc(x_84); x_85 = lean_ctor_get(x_81, 1); lean_inc(x_85); lean_dec(x_81); -x_86 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_84, x_85, x_83, x_11, x_12, x_13, x_14, x_82); +x_86 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_84, x_85, x_83, x_11, x_12, x_13, x_14, x_82); lean_dec(x_84); return x_86; } @@ -63820,7 +64312,7 @@ if (lean_is_exclusive(x_18)) { lean_inc(x_7); x_92 = l_Lean_Expr_fvar___override(x_7); x_93 = l_Lean_MessageData_ofExpr(x_92); -x_94 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; +x_94 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2; if (lean_is_scalar(x_91)) { x_95 = lean_alloc_ctor(7, 2, 0); } else { @@ -63829,7 +64321,7 @@ if (lean_is_scalar(x_91)) { } lean_ctor_set(x_95, 0, x_94); lean_ctor_set(x_95, 1, x_93); -x_96 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4; +x_96 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4; if (lean_is_scalar(x_89)) { x_97 = lean_alloc_ctor(7, 2, 0); } else { @@ -63863,14 +64355,14 @@ lean_inc(x_107); x_108 = lean_ctor_get(x_104, 1); lean_inc(x_108); lean_dec(x_104); -x_109 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_107, x_108, x_106, x_11, x_12, x_13, x_14, x_105); +x_109 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1(x_2, x_8, x_3, x_7, x_4, x_5, x_6, x_107, x_108, x_106, x_11, x_12, x_13, x_14, x_105); lean_dec(x_107); return x_109; } } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -63900,7 +64392,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___boxed), 15, 6); +x_27 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___boxed), 15, 6); lean_closure_set(x_27, 0, x_4); lean_closure_set(x_27, 1, x_23); lean_closure_set(x_27, 2, x_19); @@ -63946,7 +64438,7 @@ return x_32; } } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -63954,16 +64446,16 @@ x_1 = lean_mk_string_unchecked(".brecOn argument has too few parameters, expecte return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__1; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__3() { _start: { lean_object* x_1; @@ -63971,16 +64463,16 @@ x_1 = lean_mk_string_unchecked(": ", 2, 2); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__4() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__3; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; uint8_t x_15; @@ -63998,11 +64490,11 @@ x_16 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); x_17 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_17, 0, x_16); x_18 = l_Lean_MessageData_ofFormat(x_17); -x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__2; +x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__2; x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__4; +x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__4; x_22 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -64047,12 +64539,12 @@ else { lean_object* x_35; lean_object* x_36; x_35 = lean_box(0); -x_36 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__3(x_5, x_1, x_2, x_3, x_6, x_4, x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_36 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__3(x_5, x_1, x_2, x_3, x_6, x_4, x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_36; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; @@ -64189,7 +64681,7 @@ lean_dec(x_72); lean_ctor_set(x_52, 1, x_83); lean_inc(x_3); lean_inc(x_2); -x_84 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); +x_84 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); lean_closure_set(x_84, 0, x_68); lean_closure_set(x_84, 1, x_20); lean_closure_set(x_84, 2, x_2); @@ -64335,7 +64827,7 @@ lean_ctor_set(x_115, 1, x_114); lean_ctor_set(x_115, 2, x_73); lean_inc(x_3); lean_inc(x_2); -x_116 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); +x_116 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); lean_closure_set(x_116, 0, x_68); lean_closure_set(x_116, 1, x_20); lean_closure_set(x_116, 2, x_2); @@ -64504,7 +64996,7 @@ lean_ctor_set(x_149, 1, x_148); lean_ctor_set(x_149, 2, x_141); lean_inc(x_3); lean_inc(x_2); -x_150 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); +x_150 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); lean_closure_set(x_150, 0, x_135); lean_closure_set(x_150, 1, x_20); lean_closure_set(x_150, 2, x_2); @@ -64726,7 +65218,7 @@ lean_ctor_set(x_194, 1, x_193); lean_ctor_set(x_194, 2, x_185); lean_inc(x_3); lean_inc(x_2); -x_195 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); +x_195 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); lean_closure_set(x_195, 0, x_179); lean_closure_set(x_195, 1, x_20); lean_closure_set(x_195, 2, x_2); @@ -64971,7 +65463,7 @@ lean_ctor_set(x_244, 1, x_243); lean_ctor_set(x_244, 2, x_234); lean_inc(x_3); lean_inc(x_2); -x_245 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); +x_245 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); lean_closure_set(x_245, 0, x_228); lean_closure_set(x_245, 1, x_20); lean_closure_set(x_245, 2, x_2); @@ -65198,7 +65690,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; @@ -65206,1306 +65698,1362 @@ x_2 = lean_box(0); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__1___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__1; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1; x_2 = lean_box(0); x_3 = lean_apply_1(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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_6; lean_object* x_7; -x_6 = l_Lean_Expr_getAppFn(x_5); -x_7 = l_Array_idxOf_x3f___at_Lean_Meta_getElimExprInfo___spec__1(x_1, x_6); +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_Expr_getAppFn(x_8); +x_10 = l_Array_idxOf_x3f___at_Lean_Meta_getElimExprInfo___spec__1(x_1, x_9); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +lean_dec(x_8); lean_dec(x_6); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -lean_dec(x_5); lean_dec(x_4); -x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2; -return x_8; +x_11 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; +return x_11; } else { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) +uint8_t x_12; +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) { -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_10 = lean_ctor_get(x_7, 0); -x_11 = lean_unsigned_to_nat(0u); -x_12 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_5, x_11); -x_13 = l_instInhabitedNat; -x_14 = lean_array_get(x_13, x_2, x_10); -x_15 = lean_nat_dec_eq(x_12, x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_12); -lean_free_object(x_7); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_4); -x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2; -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = l_Lean_instInhabitedExpr; -x_18 = lean_array_get(x_17, x_3, x_10); -lean_dec(x_10); -lean_inc(x_12); -x_19 = lean_mk_array(x_12, x_4); -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_sub(x_12, x_20); -lean_dec(x_12); -x_22 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_5, x_19, x_21); -x_23 = l_Lean_mkAppN(x_18, x_22); -lean_dec(x_22); -lean_ctor_set(x_7, 0, x_23); -return x_7; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_24 = lean_ctor_get(x_7, 0); -lean_inc(x_24); -lean_dec(x_7); -x_25 = lean_unsigned_to_nat(0u); -x_26 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_5, x_25); -x_27 = l_instInhabitedNat; -x_28 = lean_array_get(x_27, x_2, x_24); -x_29 = lean_nat_dec_eq(x_26, x_28); -lean_dec(x_28); -if (x_29 == 0) -{ -lean_object* x_30; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_5); -lean_dec(x_4); -x_30 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2; -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; -x_31 = l_Lean_instInhabitedExpr; -x_32 = lean_array_get(x_31, x_3, x_24); -lean_dec(x_24); -lean_inc(x_26); -x_33 = lean_mk_array(x_26, x_4); -x_34 = lean_unsigned_to_nat(1u); -x_35 = lean_nat_sub(x_26, x_34); -lean_dec(x_26); -x_36 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_5, x_33, x_35); -x_37 = l_Lean_mkAppN(x_32, x_36); -lean_dec(x_36); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -return x_38; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18(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, size_t x_9, size_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) { -_start: -{ -lean_object* x_19; uint8_t x_20; -lean_inc(x_1); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_3); -x_19 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___boxed), 5, 4); -lean_closure_set(x_19, 0, x_3); -lean_closure_set(x_19, 1, x_2); -lean_closure_set(x_19, 2, x_4); -lean_closure_set(x_19, 3, x_1); -x_20 = lean_usize_dec_lt(x_10, x_9); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_19); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = lean_ctor_get(x_10, 0); +x_14 = lean_unsigned_to_nat(0u); +x_15 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_14); +x_16 = l_instInhabitedNat; +x_17 = lean_array_get(x_16, x_2, x_13); +x_18 = lean_nat_dec_eq(x_15, x_17); lean_dec(x_17); -lean_dec(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_dec(x_15); -lean_dec(x_14); +lean_free_object(x_10); +lean_dec(x_13); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); +x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; +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; 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_20 = l_Lean_instInhabitedDefinitionVal; +x_21 = lean_array_get(x_20, x_3, x_13); +x_22 = lean_array_get(x_4, x_5, x_13); +lean_dec(x_13); +lean_inc(x_15); +x_23 = lean_mk_array(x_15, x_6); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_sub(x_15, x_24); +lean_dec(x_15); +x_26 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_8, x_23, x_25); +x_27 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_22, x_7, x_26); +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +lean_dec(x_21); +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_box(0); +x_32 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_30, x_31); +x_33 = l_Lean_Expr_const___override(x_29, x_32); +x_34 = l_Lean_mkAppN(x_33, x_27); +lean_dec(x_27); +lean_ctor_set(x_10, 0, x_34); +return x_10; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_35 = lean_ctor_get(x_10, 0); +lean_inc(x_35); +lean_dec(x_10); +x_36 = lean_unsigned_to_nat(0u); +x_37 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_36); +x_38 = l_instInhabitedNat; +x_39 = lean_array_get(x_38, x_2, x_35); +x_40 = lean_nat_dec_eq(x_37, x_39); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; +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; +x_42 = l_Lean_instInhabitedDefinitionVal; +x_43 = lean_array_get(x_42, x_3, x_35); +x_44 = lean_array_get(x_4, x_5, x_35); +lean_dec(x_35); +lean_inc(x_37); +x_45 = lean_mk_array(x_37, x_6); +x_46 = lean_unsigned_to_nat(1u); +x_47 = lean_nat_sub(x_37, x_46); +lean_dec(x_37); +x_48 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_8, x_45, x_47); +x_49 = l_Lean_Elab_FixedParamPerm_buildArgs___rarg(x_44, x_7, x_48); +x_50 = lean_ctor_get(x_43, 0); +lean_inc(x_50); +lean_dec(x_43); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_box(0); +x_54 = l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(x_52, x_53); +x_55 = l_Lean_Expr_const___override(x_51, x_54); +x_56 = l_Lean_mkAppN(x_55, x_49); +lean_dec(x_49); +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17(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, size_t x_12, size_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) { +_start: +{ +lean_object* x_22; uint8_t x_23; +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_6); +lean_inc(x_7); +x_22 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___boxed), 8, 7); +lean_closure_set(x_22, 0, x_7); +lean_closure_set(x_22, 1, x_6); +lean_closure_set(x_22, 2, x_1); +lean_closure_set(x_22, 3, x_2); +lean_closure_set(x_22, 4, x_3); +lean_closure_set(x_22, 5, x_5); +lean_closure_set(x_22, 6, x_4); +x_23 = lean_usize_dec_lt(x_13, x_12); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_9); +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_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_12); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_13); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_18); -return x_23; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_15); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_16); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +return x_26; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_24 = lean_array_uget(x_8, x_10); -x_53 = lean_ctor_get(x_11, 1); -lean_inc(x_53); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = !lean_is_exclusive(x_11); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_56 = lean_ctor_get(x_11, 0); -x_57 = lean_ctor_get(x_11, 1); -lean_dec(x_57); -x_58 = !lean_is_exclusive(x_53); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_27 = lean_array_uget(x_11, x_13); +x_56 = lean_ctor_get(x_14, 1); +lean_inc(x_56); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = !lean_is_exclusive(x_14); if (x_58 == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_59 = lean_ctor_get(x_53, 1); -x_60 = lean_ctor_get(x_53, 0); +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = lean_ctor_get(x_14, 0); +x_60 = lean_ctor_get(x_14, 1); lean_dec(x_60); -x_61 = lean_ctor_get(x_54, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_54, 1); -lean_inc(x_62); -x_63 = lean_ctor_get(x_54, 2); -lean_inc(x_63); -x_64 = lean_nat_dec_lt(x_62, x_63); -if (x_64 == 0) +x_61 = !lean_is_exclusive(x_56); +if (x_61 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_62 = lean_ctor_get(x_56, 1); +x_63 = lean_ctor_get(x_56, 0); lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_61); -lean_dec(x_24); -lean_dec(x_19); -x_65 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_65, 0, x_11); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_12); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_13); -x_25 = x_67; -x_26 = x_18; -goto block_52; +x_64 = lean_ctor_get(x_57, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_57, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_57, 2); +lean_inc(x_66); +x_67 = lean_nat_dec_lt(x_65, x_66); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_64); +lean_dec(x_27); +lean_dec(x_22); +x_68 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_68, 0, x_14); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_15); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_16); +x_28 = x_70; +x_29 = x_21; +goto block_55; } else { -uint8_t x_68; -x_68 = !lean_is_exclusive(x_54); -if (x_68 == 0) +uint8_t x_71; +x_71 = !lean_is_exclusive(x_57); +if (x_71 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_69 = lean_ctor_get(x_54, 2); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 1); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 0); -lean_dec(x_71); -x_72 = lean_array_fget(x_61, x_62); -x_73 = lean_unsigned_to_nat(1u); -x_74 = lean_nat_add(x_62, x_73); -lean_dec(x_62); -lean_ctor_set(x_54, 1, x_74); -x_75 = lean_ctor_get(x_56, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_56, 1); -lean_inc(x_76); -x_77 = lean_ctor_get(x_56, 2); -lean_inc(x_77); -x_78 = lean_nat_dec_lt(x_76, x_77); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_77); -lean_dec(x_76); -lean_dec(x_75); +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; uint8_t x_81; +x_72 = lean_ctor_get(x_57, 2); lean_dec(x_72); -lean_dec(x_24); -lean_dec(x_19); -x_79 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_79, 0, x_11); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_12); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_13); -x_25 = x_81; -x_26 = x_18; -goto block_52; +x_73 = lean_ctor_get(x_57, 1); +lean_dec(x_73); +x_74 = lean_ctor_get(x_57, 0); +lean_dec(x_74); +x_75 = lean_array_fget(x_64, x_65); +x_76 = lean_unsigned_to_nat(1u); +x_77 = lean_nat_add(x_65, x_76); +lean_dec(x_65); +lean_ctor_set(x_57, 1, x_77); +x_78 = lean_ctor_get(x_59, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_59, 1); +lean_inc(x_79); +x_80 = lean_ctor_get(x_59, 2); +lean_inc(x_80); +x_81 = lean_nat_dec_lt(x_79, x_80); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_80); +lean_dec(x_79); +lean_dec(x_78); +lean_dec(x_75); +lean_dec(x_27); +lean_dec(x_22); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_14); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_15); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_16); +x_28 = x_84; +x_29 = x_21; +goto block_55; } else { -uint8_t x_82; -x_82 = !lean_is_exclusive(x_56); -if (x_82 == 0) +uint8_t x_85; +x_85 = !lean_is_exclusive(x_59); +if (x_85 == 0) { -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; -x_83 = lean_ctor_get(x_56, 2); -lean_dec(x_83); -x_84 = lean_ctor_get(x_56, 1); -lean_dec(x_84); -x_85 = lean_ctor_get(x_56, 0); -lean_dec(x_85); -x_86 = lean_array_fget(x_75, x_76); -x_87 = lean_nat_add(x_76, x_73); -lean_dec(x_76); -lean_ctor_set(x_56, 1, x_87); -lean_inc(x_6); -x_88 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); -lean_closure_set(x_88, 0, x_72); -lean_closure_set(x_88, 1, x_24); -lean_closure_set(x_88, 2, x_6); -lean_closure_set(x_88, 3, x_19); -x_89 = 0; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_86 = lean_ctor_get(x_59, 2); +lean_dec(x_86); +x_87 = lean_ctor_get(x_59, 1); +lean_dec(x_87); +x_88 = lean_ctor_get(x_59, 0); +lean_dec(x_88); +x_89 = lean_array_fget(x_78, x_79); +x_90 = lean_nat_add(x_79, x_76); +lean_dec(x_79); +lean_ctor_set(x_59, 1, x_90); +lean_inc(x_9); +x_91 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); +lean_closure_set(x_91, 0, x_75); +lean_closure_set(x_91, 1, x_27); +lean_closure_set(x_91, 2, x_9); +lean_closure_set(x_91, 3, x_22); +x_92 = 0; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -x_90 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_86, x_88, x_89, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_90) == 0) +x_93 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_89, x_91, x_92, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); -lean_dec(x_90); -x_94 = !lean_is_exclusive(x_91); -if (x_94 == 0) +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_96); +lean_dec(x_93); +x_97 = !lean_is_exclusive(x_94); +if (x_97 == 0) { -lean_object* x_95; uint8_t x_96; -x_95 = lean_ctor_get(x_91, 0); +lean_object* x_98; uint8_t x_99; +x_98 = lean_ctor_get(x_94, 0); +lean_dec(x_98); +x_99 = !lean_is_exclusive(x_95); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_95, 0); +x_101 = lean_array_push(x_62, x_100); +lean_ctor_set(x_56, 1, x_101); +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_14); +lean_ctor_set(x_95, 0, x_102); +x_28 = x_94; +x_29 = x_96; +goto block_55; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_103 = lean_ctor_get(x_95, 0); +x_104 = lean_ctor_get(x_95, 1); +lean_inc(x_104); +lean_inc(x_103); lean_dec(x_95); -x_96 = !lean_is_exclusive(x_92); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_92, 0); -x_98 = lean_array_push(x_59, x_97); -lean_ctor_set(x_53, 1, x_98); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_11); -lean_ctor_set(x_92, 0, x_99); -x_25 = x_91; -x_26 = x_93; -goto block_52; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_100 = lean_ctor_get(x_92, 0); -x_101 = lean_ctor_get(x_92, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_92); -x_102 = lean_array_push(x_59, x_100); -lean_ctor_set(x_53, 1, x_102); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_11); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_101); -lean_ctor_set(x_91, 0, x_104); -x_25 = x_91; -x_26 = x_93; -goto block_52; +x_105 = lean_array_push(x_62, x_103); +lean_ctor_set(x_56, 1, x_105); +x_106 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_106, 0, x_14); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_104); +lean_ctor_set(x_94, 0, x_107); +x_28 = x_94; +x_29 = x_96; +goto block_55; } } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_105 = lean_ctor_get(x_91, 1); -lean_inc(x_105); -lean_dec(x_91); -x_106 = lean_ctor_get(x_92, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_92, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - x_108 = x_92; +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_108 = lean_ctor_get(x_94, 1); +lean_inc(x_108); +lean_dec(x_94); +x_109 = lean_ctor_get(x_95, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_95, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_111 = x_95; } else { - lean_dec_ref(x_92); - x_108 = lean_box(0); + lean_dec_ref(x_95); + x_111 = lean_box(0); } -x_109 = lean_array_push(x_59, x_106); -lean_ctor_set(x_53, 1, x_109); -x_110 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_110, 0, x_11); -if (lean_is_scalar(x_108)) { - x_111 = lean_alloc_ctor(0, 2, 0); +x_112 = lean_array_push(x_62, x_109); +lean_ctor_set(x_56, 1, x_112); +x_113 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_113, 0, x_14); +if (lean_is_scalar(x_111)) { + x_114 = lean_alloc_ctor(0, 2, 0); } else { - x_111 = x_108; + x_114 = x_111; } -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_107); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_105); -x_25 = x_112; -x_26 = x_93; -goto block_52; +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_110); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_108); +x_28 = x_115; +x_29 = x_96; +goto block_55; } } else { -uint8_t x_113; -lean_dec(x_56); -lean_dec(x_54); -lean_free_object(x_53); +uint8_t x_116; lean_dec(x_59); -lean_free_object(x_11); +lean_dec(x_57); +lean_free_object(x_56); +lean_dec(x_62); +lean_free_object(x_14); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); +lean_dec(x_9); +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_113 = !lean_is_exclusive(x_90); -if (x_113 == 0) +x_116 = !lean_is_exclusive(x_93); +if (x_116 == 0) { -return x_90; +return x_93; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_90, 0); -x_115 = lean_ctor_get(x_90, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_90); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; -lean_dec(x_56); -x_117 = lean_array_fget(x_75, x_76); -x_118 = lean_nat_add(x_76, x_73); -lean_dec(x_76); -x_119 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_119, 0, x_75); +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_93, 0); +x_118 = lean_ctor_get(x_93, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_93); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); lean_ctor_set(x_119, 1, x_118); -lean_ctor_set(x_119, 2, x_77); -lean_inc(x_6); -x_120 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); -lean_closure_set(x_120, 0, x_72); -lean_closure_set(x_120, 1, x_24); -lean_closure_set(x_120, 2, x_6); -lean_closure_set(x_120, 3, x_19); -x_121 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -x_122 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_117, x_120, x_121, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_122) == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; 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_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_122, 1); -lean_inc(x_125); -lean_dec(x_122); -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_127 = x_123; -} else { - lean_dec_ref(x_123); - x_127 = lean_box(0); +return x_119; } -x_128 = lean_ctor_get(x_124, 0); +} +} +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_dec(x_59); +x_120 = lean_array_fget(x_78, x_79); +x_121 = lean_nat_add(x_79, x_76); +lean_dec(x_79); +x_122 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_122, 0, x_78); +lean_ctor_set(x_122, 1, x_121); +lean_ctor_set(x_122, 2, x_80); +lean_inc(x_9); +x_123 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); +lean_closure_set(x_123, 0, x_75); +lean_closure_set(x_123, 1, x_27); +lean_closure_set(x_123, 2, x_9); +lean_closure_set(x_123, 3, x_22); +x_124 = 0; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_125 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_120, x_123, x_124, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(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_object* x_137; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_125, 1); lean_inc(x_128); -x_129 = lean_ctor_get(x_124, 1); +lean_dec(x_125); +x_129 = lean_ctor_get(x_126, 1); lean_inc(x_129); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_130 = x_124; +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_130 = x_126; } else { - lean_dec_ref(x_124); + lean_dec_ref(x_126); x_130 = lean_box(0); } -x_131 = lean_array_push(x_59, x_128); -lean_ctor_set(x_53, 1, x_131); -lean_ctor_set(x_11, 0, x_119); -x_132 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_132, 0, x_11); +x_131 = lean_ctor_get(x_127, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_127, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_133 = x_127; +} else { + lean_dec_ref(x_127); + x_133 = lean_box(0); +} +x_134 = lean_array_push(x_62, x_131); +lean_ctor_set(x_56, 1, x_134); +lean_ctor_set(x_14, 0, x_122); +x_135 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_135, 0, x_14); +if (lean_is_scalar(x_133)) { + x_136 = lean_alloc_ctor(0, 2, 0); +} else { + x_136 = x_133; +} +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_132); if (lean_is_scalar(x_130)) { - x_133 = lean_alloc_ctor(0, 2, 0); + x_137 = lean_alloc_ctor(0, 2, 0); } else { - x_133 = x_130; + x_137 = x_130; } -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_129); -if (lean_is_scalar(x_127)) { - x_134 = lean_alloc_ctor(0, 2, 0); -} else { - x_134 = x_127; -} -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_126); -x_25 = x_134; -x_26 = x_125; -goto block_52; +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_129); +x_28 = x_137; +x_29 = x_128; +goto block_55; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -lean_dec(x_119); -lean_dec(x_54); -lean_free_object(x_53); -lean_dec(x_59); -lean_free_object(x_11); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_122); +lean_dec(x_57); +lean_free_object(x_56); +lean_dec(x_62); +lean_free_object(x_14); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); +lean_dec(x_9); +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_135 = lean_ctor_get(x_122, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_122, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_137 = x_122; +x_138 = lean_ctor_get(x_125, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_125, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_140 = x_125; } else { - lean_dec_ref(x_122); - x_137 = lean_box(0); + lean_dec_ref(x_125); + x_140 = lean_box(0); } -if (lean_is_scalar(x_137)) { - x_138 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(1, 2, 0); } else { - x_138 = x_137; + x_141 = x_140; } -lean_ctor_set(x_138, 0, x_135); -lean_ctor_set(x_138, 1, x_136); -return x_138; +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_139); +return x_141; } } } } else { -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; uint8_t x_146; -lean_dec(x_54); -x_139 = lean_array_fget(x_61, x_62); -x_140 = lean_unsigned_to_nat(1u); -x_141 = lean_nat_add(x_62, x_140); -lean_dec(x_62); -x_142 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_142, 0, x_61); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_142, 2, x_63); -x_143 = lean_ctor_get(x_56, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_56, 1); -lean_inc(x_144); -x_145 = lean_ctor_get(x_56, 2); -lean_inc(x_145); -x_146 = lean_nat_dec_lt(x_144, x_145); -if (x_146 == 0) +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; uint8_t x_149; +lean_dec(x_57); +x_142 = lean_array_fget(x_64, x_65); +x_143 = lean_unsigned_to_nat(1u); +x_144 = lean_nat_add(x_65, x_143); +lean_dec(x_65); +x_145 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_145, 0, x_64); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_145, 2, x_66); +x_146 = lean_ctor_get(x_59, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_59, 1); +lean_inc(x_147); +x_148 = lean_ctor_get(x_59, 2); +lean_inc(x_148); +x_149 = lean_nat_dec_lt(x_147, x_148); +if (x_149 == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -lean_dec(x_145); -lean_dec(x_144); -lean_dec(x_143); -lean_dec(x_139); -lean_dec(x_24); -lean_dec(x_19); -lean_ctor_set(x_53, 0, x_142); -x_147 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_147, 0, x_11); -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_12); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_13); -x_25 = x_149; -x_26 = x_18; -goto block_52; +lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_148); +lean_dec(x_147); +lean_dec(x_146); +lean_dec(x_142); +lean_dec(x_27); +lean_dec(x_22); +lean_ctor_set(x_56, 0, x_145); +x_150 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_150, 0, x_14); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_15); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_16); +x_28 = x_152; +x_29 = x_21; +goto block_55; } else { -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - lean_ctor_release(x_56, 2); - x_150 = x_56; +lean_object* 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; +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + lean_ctor_release(x_59, 2); + x_153 = x_59; } else { - lean_dec_ref(x_56); - x_150 = lean_box(0); + lean_dec_ref(x_59); + x_153 = lean_box(0); } -x_151 = lean_array_fget(x_143, x_144); -x_152 = lean_nat_add(x_144, x_140); -lean_dec(x_144); -if (lean_is_scalar(x_150)) { - x_153 = lean_alloc_ctor(0, 3, 0); +x_154 = lean_array_fget(x_146, x_147); +x_155 = lean_nat_add(x_147, x_143); +lean_dec(x_147); +if (lean_is_scalar(x_153)) { + x_156 = lean_alloc_ctor(0, 3, 0); } else { - x_153 = x_150; + x_156 = x_153; } -lean_ctor_set(x_153, 0, x_143); -lean_ctor_set(x_153, 1, x_152); -lean_ctor_set(x_153, 2, x_145); -lean_inc(x_6); -x_154 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); -lean_closure_set(x_154, 0, x_139); -lean_closure_set(x_154, 1, x_24); -lean_closure_set(x_154, 2, x_6); -lean_closure_set(x_154, 3, x_19); -x_155 = 0; +lean_ctor_set(x_156, 0, x_146); +lean_ctor_set(x_156, 1, x_155); +lean_ctor_set(x_156, 2, x_148); +lean_inc(x_9); +x_157 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); +lean_closure_set(x_157, 0, x_142); +lean_closure_set(x_157, 1, x_27); +lean_closure_set(x_157, 2, x_9); +lean_closure_set(x_157, 3, x_22); +x_158 = 0; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -x_156 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_151, x_154, x_155, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_156) == 0) +x_159 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_154, x_157, x_158, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_159) == 0) { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_156, 1); -lean_inc(x_159); -lean_dec(x_156); -x_160 = lean_ctor_get(x_157, 1); +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_160 = lean_ctor_get(x_159, 0); 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_ctor_get(x_158, 0); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_159, 1); lean_inc(x_162); -x_163 = lean_ctor_get(x_158, 1); +lean_dec(x_159); +x_163 = lean_ctor_get(x_160, 1); lean_inc(x_163); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_164 = x_158; +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_164 = x_160; } else { - lean_dec_ref(x_158); + lean_dec_ref(x_160); x_164 = lean_box(0); } -x_165 = lean_array_push(x_59, x_162); -lean_ctor_set(x_53, 1, x_165); -lean_ctor_set(x_53, 0, x_142); -lean_ctor_set(x_11, 0, x_153); -x_166 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_166, 0, x_11); +x_165 = lean_ctor_get(x_161, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_161, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_161)) { + lean_ctor_release(x_161, 0); + lean_ctor_release(x_161, 1); + x_167 = x_161; +} else { + lean_dec_ref(x_161); + x_167 = lean_box(0); +} +x_168 = lean_array_push(x_62, x_165); +lean_ctor_set(x_56, 1, x_168); +lean_ctor_set(x_56, 0, x_145); +lean_ctor_set(x_14, 0, x_156); +x_169 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_169, 0, x_14); +if (lean_is_scalar(x_167)) { + x_170 = lean_alloc_ctor(0, 2, 0); +} else { + x_170 = x_167; +} +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_166); if (lean_is_scalar(x_164)) { - x_167 = lean_alloc_ctor(0, 2, 0); + x_171 = lean_alloc_ctor(0, 2, 0); } else { - x_167 = x_164; + x_171 = x_164; } -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_163); -if (lean_is_scalar(x_161)) { - x_168 = lean_alloc_ctor(0, 2, 0); -} else { - x_168 = x_161; -} -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_160); -x_25 = x_168; -x_26 = x_159; -goto block_52; +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_163); +x_28 = x_171; +x_29 = x_162; +goto block_55; } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_153); -lean_dec(x_142); -lean_free_object(x_53); -lean_dec(x_59); -lean_free_object(x_11); +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_156); +lean_dec(x_145); +lean_free_object(x_56); +lean_dec(x_62); +lean_free_object(x_14); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); +lean_dec(x_9); +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_169 = lean_ctor_get(x_156, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_156, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_171 = x_156; -} else { - lean_dec_ref(x_156); - x_171 = lean_box(0); -} -if (lean_is_scalar(x_171)) { - x_172 = lean_alloc_ctor(1, 2, 0); -} else { - x_172 = x_171; -} -lean_ctor_set(x_172, 0, x_169); -lean_ctor_set(x_172, 1, x_170); -return x_172; -} -} -} -} -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_173 = lean_ctor_get(x_53, 1); +x_172 = lean_ctor_get(x_159, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_159, 1); lean_inc(x_173); -lean_dec(x_53); -x_174 = lean_ctor_get(x_54, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_54, 1); -lean_inc(x_175); -x_176 = lean_ctor_get(x_54, 2); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_174 = x_159; +} else { + lean_dec_ref(x_159); + x_174 = lean_box(0); +} +if (lean_is_scalar(x_174)) { + x_175 = lean_alloc_ctor(1, 2, 0); +} else { + x_175 = x_174; +} +lean_ctor_set(x_175, 0, x_172); +lean_ctor_set(x_175, 1, x_173); +return x_175; +} +} +} +} +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; +x_176 = lean_ctor_get(x_56, 1); lean_inc(x_176); -x_177 = lean_nat_dec_lt(x_175, x_176); -if (x_177 == 0) +lean_dec(x_56); +x_177 = lean_ctor_get(x_57, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_57, 1); +lean_inc(x_178); +x_179 = lean_ctor_get(x_57, 2); +lean_inc(x_179); +x_180 = lean_nat_dec_lt(x_178, x_179); +if (x_180 == 0) { -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -lean_dec(x_176); -lean_dec(x_175); -lean_dec(x_174); -lean_dec(x_24); -lean_dec(x_19); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_54); -lean_ctor_set(x_178, 1, x_173); -lean_ctor_set(x_11, 1, x_178); -x_179 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_179, 0, x_11); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_12); +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_179); +lean_dec(x_178); +lean_dec(x_177); +lean_dec(x_27); +lean_dec(x_22); x_181 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_13); -x_25 = x_181; -x_26 = x_18; -goto block_52; +lean_ctor_set(x_181, 0, x_57); +lean_ctor_set(x_181, 1, x_176); +lean_ctor_set(x_14, 1, x_181); +x_182 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_182, 0, x_14); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_15); +x_184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_16); +x_28 = x_184; +x_29 = x_21; +goto block_55; } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - lean_ctor_release(x_54, 2); - x_182 = x_54; +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + lean_ctor_release(x_57, 2); + x_185 = x_57; } else { - lean_dec_ref(x_54); - x_182 = lean_box(0); + lean_dec_ref(x_57); + x_185 = lean_box(0); } -x_183 = lean_array_fget(x_174, x_175); -x_184 = lean_unsigned_to_nat(1u); -x_185 = lean_nat_add(x_175, x_184); -lean_dec(x_175); -if (lean_is_scalar(x_182)) { - x_186 = lean_alloc_ctor(0, 3, 0); +x_186 = lean_array_fget(x_177, x_178); +x_187 = lean_unsigned_to_nat(1u); +x_188 = lean_nat_add(x_178, x_187); +lean_dec(x_178); +if (lean_is_scalar(x_185)) { + x_189 = lean_alloc_ctor(0, 3, 0); } else { - x_186 = x_182; + x_189 = x_185; } -lean_ctor_set(x_186, 0, x_174); -lean_ctor_set(x_186, 1, x_185); -lean_ctor_set(x_186, 2, x_176); -x_187 = lean_ctor_get(x_56, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_56, 1); -lean_inc(x_188); -x_189 = lean_ctor_get(x_56, 2); -lean_inc(x_189); -x_190 = lean_nat_dec_lt(x_188, x_189); -if (x_190 == 0) +lean_ctor_set(x_189, 0, x_177); +lean_ctor_set(x_189, 1, x_188); +lean_ctor_set(x_189, 2, x_179); +x_190 = lean_ctor_get(x_59, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_59, 1); +lean_inc(x_191); +x_192 = lean_ctor_get(x_59, 2); +lean_inc(x_192); +x_193 = lean_nat_dec_lt(x_191, x_192); +if (x_193 == 0) { -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_dec(x_189); -lean_dec(x_188); -lean_dec(x_187); -lean_dec(x_183); -lean_dec(x_24); -lean_dec(x_19); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_186); -lean_ctor_set(x_191, 1, x_173); -lean_ctor_set(x_11, 1, x_191); -x_192 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_192, 0, x_11); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_12); +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_186); +lean_dec(x_27); +lean_dec(x_22); x_194 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_13); -x_25 = x_194; -x_26 = x_18; -goto block_52; +lean_ctor_set(x_194, 0, x_189); +lean_ctor_set(x_194, 1, x_176); +lean_ctor_set(x_14, 1, x_194); +x_195 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_195, 0, x_14); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_15); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_16); +x_28 = x_197; +x_29 = x_21; +goto block_55; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; lean_object* x_201; +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; lean_object* x_204; +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + lean_ctor_release(x_59, 2); + x_198 = x_59; +} else { + lean_dec_ref(x_59); + x_198 = lean_box(0); +} +x_199 = lean_array_fget(x_190, x_191); +x_200 = lean_nat_add(x_191, x_187); +lean_dec(x_191); +if (lean_is_scalar(x_198)) { + x_201 = lean_alloc_ctor(0, 3, 0); +} else { + x_201 = x_198; +} +lean_ctor_set(x_201, 0, x_190); +lean_ctor_set(x_201, 1, x_200); +lean_ctor_set(x_201, 2, x_192); +lean_inc(x_9); +x_202 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); +lean_closure_set(x_202, 0, x_186); +lean_closure_set(x_202, 1, x_27); +lean_closure_set(x_202, 2, x_9); +lean_closure_set(x_202, 3, x_22); +x_203 = 0; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_204 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_199, x_202, x_203, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_204) == 0) +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_204, 1); +lean_inc(x_207); +lean_dec(x_204); +x_208 = lean_ctor_get(x_205, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_209 = x_205; +} else { + lean_dec_ref(x_205); + x_209 = lean_box(0); +} +x_210 = lean_ctor_get(x_206, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_206, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_206)) { + lean_ctor_release(x_206, 0); + lean_ctor_release(x_206, 1); + x_212 = x_206; +} else { + lean_dec_ref(x_206); + x_212 = lean_box(0); +} +x_213 = lean_array_push(x_176, x_210); +x_214 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_214, 0, x_189); +lean_ctor_set(x_214, 1, x_213); +lean_ctor_set(x_14, 1, x_214); +lean_ctor_set(x_14, 0, x_201); +x_215 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_215, 0, x_14); +if (lean_is_scalar(x_212)) { + x_216 = lean_alloc_ctor(0, 2, 0); +} else { + x_216 = x_212; +} +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_211); +if (lean_is_scalar(x_209)) { + x_217 = lean_alloc_ctor(0, 2, 0); +} else { + x_217 = x_209; +} +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_208); +x_28 = x_217; +x_29 = x_207; +goto block_55; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; +lean_dec(x_201); +lean_dec(x_189); +lean_dec(x_176); +lean_free_object(x_14); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_9); +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_218 = lean_ctor_get(x_204, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_204, 1); +lean_inc(x_219); +if (lean_is_exclusive(x_204)) { + lean_ctor_release(x_204, 0); + lean_ctor_release(x_204, 1); + x_220 = x_204; +} else { + lean_dec_ref(x_204); + x_220 = lean_box(0); +} +if (lean_is_scalar(x_220)) { + x_221 = lean_alloc_ctor(1, 2, 0); +} else { + x_221 = x_220; +} +lean_ctor_set(x_221, 0, x_218); +lean_ctor_set(x_221, 1, x_219); +return x_221; +} +} +} +} +} +else +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; +x_222 = lean_ctor_get(x_14, 0); +lean_inc(x_222); +lean_dec(x_14); +x_223 = lean_ctor_get(x_56, 1); +lean_inc(x_223); if (lean_is_exclusive(x_56)) { lean_ctor_release(x_56, 0); lean_ctor_release(x_56, 1); - lean_ctor_release(x_56, 2); - x_195 = x_56; + x_224 = x_56; } else { lean_dec_ref(x_56); - x_195 = lean_box(0); + x_224 = lean_box(0); } -x_196 = lean_array_fget(x_187, x_188); -x_197 = lean_nat_add(x_188, x_184); -lean_dec(x_188); -if (lean_is_scalar(x_195)) { - x_198 = lean_alloc_ctor(0, 3, 0); -} else { - x_198 = x_195; -} -lean_ctor_set(x_198, 0, x_187); -lean_ctor_set(x_198, 1, x_197); -lean_ctor_set(x_198, 2, x_189); -lean_inc(x_6); -x_199 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); -lean_closure_set(x_199, 0, x_183); -lean_closure_set(x_199, 1, x_24); -lean_closure_set(x_199, 2, x_6); -lean_closure_set(x_199, 3, x_19); -x_200 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -x_201 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_196, x_199, x_200, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_201) == 0) +x_225 = lean_ctor_get(x_57, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_57, 1); +lean_inc(x_226); +x_227 = lean_ctor_get(x_57, 2); +lean_inc(x_227); +x_228 = lean_nat_dec_lt(x_226, x_227); +if (x_228 == 0) { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_201, 1); -lean_inc(x_204); -lean_dec(x_201); -x_205 = lean_ctor_get(x_202, 1); -lean_inc(x_205); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_206 = x_202; +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +lean_dec(x_227); +lean_dec(x_226); +lean_dec(x_225); +lean_dec(x_27); +lean_dec(x_22); +if (lean_is_scalar(x_224)) { + x_229 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_202); - x_206 = lean_box(0); + x_229 = x_224; } -x_207 = lean_ctor_get(x_203, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_203, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_203)) { - lean_ctor_release(x_203, 0); - lean_ctor_release(x_203, 1); - x_209 = x_203; -} else { - lean_dec_ref(x_203); - x_209 = lean_box(0); -} -x_210 = lean_array_push(x_173, x_207); -x_211 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_211, 0, x_186); -lean_ctor_set(x_211, 1, x_210); -lean_ctor_set(x_11, 1, x_211); -lean_ctor_set(x_11, 0, x_198); -x_212 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_212, 0, x_11); -if (lean_is_scalar(x_209)) { - x_213 = lean_alloc_ctor(0, 2, 0); -} else { - x_213 = x_209; -} -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_208); -if (lean_is_scalar(x_206)) { - x_214 = lean_alloc_ctor(0, 2, 0); -} else { - x_214 = x_206; -} -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_205); -x_25 = x_214; -x_26 = x_204; -goto block_52; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -lean_dec(x_198); -lean_dec(x_186); -lean_dec(x_173); -lean_free_object(x_11); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_215 = lean_ctor_get(x_201, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_201, 1); -lean_inc(x_216); -if (lean_is_exclusive(x_201)) { - lean_ctor_release(x_201, 0); - lean_ctor_release(x_201, 1); - x_217 = x_201; -} else { - lean_dec_ref(x_201); - x_217 = lean_box(0); -} -if (lean_is_scalar(x_217)) { - x_218 = lean_alloc_ctor(1, 2, 0); -} else { - x_218 = x_217; -} -lean_ctor_set(x_218, 0, x_215); -lean_ctor_set(x_218, 1, x_216); -return x_218; -} -} -} -} -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; -x_219 = lean_ctor_get(x_11, 0); -lean_inc(x_219); -lean_dec(x_11); -x_220 = lean_ctor_get(x_53, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_221 = x_53; -} else { - lean_dec_ref(x_53); - x_221 = lean_box(0); -} -x_222 = lean_ctor_get(x_54, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_54, 1); -lean_inc(x_223); -x_224 = lean_ctor_get(x_54, 2); -lean_inc(x_224); -x_225 = lean_nat_dec_lt(x_223, x_224); -if (x_225 == 0) -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_224); -lean_dec(x_223); -lean_dec(x_222); -lean_dec(x_24); -lean_dec(x_19); -if (lean_is_scalar(x_221)) { - x_226 = lean_alloc_ctor(0, 2, 0); -} else { - x_226 = x_221; -} -lean_ctor_set(x_226, 0, x_54); -lean_ctor_set(x_226, 1, x_220); -x_227 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_227, 0, x_219); -lean_ctor_set(x_227, 1, x_226); -x_228 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_228, 0, x_227); -x_229 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_12); +lean_ctor_set(x_229, 0, x_57); +lean_ctor_set(x_229, 1, x_223); x_230 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_13); -x_25 = x_230; -x_26 = x_18; -goto block_52; +lean_ctor_set(x_230, 0, x_222); +lean_ctor_set(x_230, 1, x_229); +x_231 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_231, 0, x_230); +x_232 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_15); +x_233 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_16); +x_28 = x_233; +x_29 = x_21; +goto block_55; } else { -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - lean_ctor_release(x_54, 2); - x_231 = x_54; +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + lean_ctor_release(x_57, 2); + x_234 = x_57; } else { - lean_dec_ref(x_54); - x_231 = lean_box(0); + lean_dec_ref(x_57); + x_234 = lean_box(0); } -x_232 = lean_array_fget(x_222, x_223); -x_233 = lean_unsigned_to_nat(1u); -x_234 = lean_nat_add(x_223, x_233); -lean_dec(x_223); -if (lean_is_scalar(x_231)) { - x_235 = lean_alloc_ctor(0, 3, 0); +x_235 = lean_array_fget(x_225, x_226); +x_236 = lean_unsigned_to_nat(1u); +x_237 = lean_nat_add(x_226, x_236); +lean_dec(x_226); +if (lean_is_scalar(x_234)) { + x_238 = lean_alloc_ctor(0, 3, 0); } else { - x_235 = x_231; + x_238 = x_234; } -lean_ctor_set(x_235, 0, x_222); -lean_ctor_set(x_235, 1, x_234); -lean_ctor_set(x_235, 2, x_224); -x_236 = lean_ctor_get(x_219, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_219, 1); -lean_inc(x_237); -x_238 = lean_ctor_get(x_219, 2); -lean_inc(x_238); -x_239 = lean_nat_dec_lt(x_237, x_238); -if (x_239 == 0) +lean_ctor_set(x_238, 0, x_225); +lean_ctor_set(x_238, 1, x_237); +lean_ctor_set(x_238, 2, x_227); +x_239 = lean_ctor_get(x_222, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_222, 1); +lean_inc(x_240); +x_241 = lean_ctor_get(x_222, 2); +lean_inc(x_241); +x_242 = lean_nat_dec_lt(x_240, x_241); +if (x_242 == 0) { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -lean_dec(x_238); -lean_dec(x_237); -lean_dec(x_236); -lean_dec(x_232); -lean_dec(x_24); -lean_dec(x_19); -if (lean_is_scalar(x_221)) { - x_240 = lean_alloc_ctor(0, 2, 0); +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +lean_dec(x_241); +lean_dec(x_240); +lean_dec(x_239); +lean_dec(x_235); +lean_dec(x_27); +lean_dec(x_22); +if (lean_is_scalar(x_224)) { + x_243 = lean_alloc_ctor(0, 2, 0); } else { - x_240 = x_221; + x_243 = x_224; } -lean_ctor_set(x_240, 0, x_235); -lean_ctor_set(x_240, 1, x_220); -x_241 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_241, 0, x_219); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_242, 0, x_241); -x_243 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_12); +lean_ctor_set(x_243, 0, x_238); +lean_ctor_set(x_243, 1, x_223); x_244 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_244, 0, x_243); -lean_ctor_set(x_244, 1, x_13); -x_25 = x_244; -x_26 = x_18; -goto block_52; +lean_ctor_set(x_244, 0, x_222); +lean_ctor_set(x_244, 1, x_243); +x_245 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_245, 0, x_244); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_15); +x_247 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_16); +x_28 = x_247; +x_29 = x_21; +goto block_55; } else { -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; lean_object* x_251; -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - lean_ctor_release(x_219, 2); - x_245 = x_219; +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; lean_object* x_254; +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + lean_ctor_release(x_222, 2); + x_248 = x_222; } else { - lean_dec_ref(x_219); - x_245 = lean_box(0); + lean_dec_ref(x_222); + x_248 = lean_box(0); } -x_246 = lean_array_fget(x_236, x_237); -x_247 = lean_nat_add(x_237, x_233); -lean_dec(x_237); -if (lean_is_scalar(x_245)) { - x_248 = lean_alloc_ctor(0, 3, 0); +x_249 = lean_array_fget(x_239, x_240); +x_250 = lean_nat_add(x_240, x_236); +lean_dec(x_240); +if (lean_is_scalar(x_248)) { + x_251 = lean_alloc_ctor(0, 3, 0); } else { - x_248 = x_245; + x_251 = x_248; } -lean_ctor_set(x_248, 0, x_236); -lean_ctor_set(x_248, 1, x_247); -lean_ctor_set(x_248, 2, x_238); -lean_inc(x_6); -x_249 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4), 13, 4); -lean_closure_set(x_249, 0, x_232); -lean_closure_set(x_249, 1, x_24); -lean_closure_set(x_249, 2, x_6); -lean_closure_set(x_249, 3, x_19); -x_250 = 0; +lean_ctor_set(x_251, 0, x_239); +lean_ctor_set(x_251, 1, x_250); +lean_ctor_set(x_251, 2, x_241); +lean_inc(x_9); +x_252 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4), 13, 4); +lean_closure_set(x_252, 0, x_235); +lean_closure_set(x_252, 1, x_27); +lean_closure_set(x_252, 2, x_9); +lean_closure_set(x_252, 3, x_22); +x_253 = 0; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -x_251 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_246, x_249, x_250, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_251) == 0) +x_254 = l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___rarg(x_249, x_252, x_253, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_254) == 0) { -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_251, 1); -lean_inc(x_254); -lean_dec(x_251); -x_255 = lean_ctor_get(x_252, 1); +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_255 = lean_ctor_get(x_254, 0); lean_inc(x_255); -if (lean_is_exclusive(x_252)) { - lean_ctor_release(x_252, 0); - lean_ctor_release(x_252, 1); - x_256 = x_252; -} else { - lean_dec_ref(x_252); - x_256 = lean_box(0); -} -x_257 = lean_ctor_get(x_253, 0); +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_254, 1); lean_inc(x_257); -x_258 = lean_ctor_get(x_253, 1); +lean_dec(x_254); +x_258 = lean_ctor_get(x_255, 1); lean_inc(x_258); -if (lean_is_exclusive(x_253)) { - lean_ctor_release(x_253, 0); - lean_ctor_release(x_253, 1); - x_259 = x_253; +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + lean_ctor_release(x_255, 1); + x_259 = x_255; } else { - lean_dec_ref(x_253); + lean_dec_ref(x_255); x_259 = lean_box(0); } -x_260 = lean_array_push(x_220, x_257); -if (lean_is_scalar(x_221)) { - x_261 = lean_alloc_ctor(0, 2, 0); +x_260 = lean_ctor_get(x_256, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_256, 1); +lean_inc(x_261); +if (lean_is_exclusive(x_256)) { + lean_ctor_release(x_256, 0); + lean_ctor_release(x_256, 1); + x_262 = x_256; } else { - x_261 = x_221; + lean_dec_ref(x_256); + x_262 = lean_box(0); } -lean_ctor_set(x_261, 0, x_235); -lean_ctor_set(x_261, 1, x_260); -x_262 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_262, 0, x_248); -lean_ctor_set(x_262, 1, x_261); -x_263 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_263, 0, x_262); -if (lean_is_scalar(x_259)) { +x_263 = lean_array_push(x_223, x_260); +if (lean_is_scalar(x_224)) { x_264 = lean_alloc_ctor(0, 2, 0); } else { - x_264 = x_259; + x_264 = x_224; } -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_258); -if (lean_is_scalar(x_256)) { - x_265 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_238); +lean_ctor_set(x_264, 1, x_263); +x_265 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_265, 0, x_251); +lean_ctor_set(x_265, 1, x_264); +x_266 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_266, 0, x_265); +if (lean_is_scalar(x_262)) { + x_267 = lean_alloc_ctor(0, 2, 0); } else { - x_265 = x_256; + x_267 = x_262; } -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_255); -x_25 = x_265; -x_26 = x_254; -goto block_52; +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_261); +if (lean_is_scalar(x_259)) { + x_268 = lean_alloc_ctor(0, 2, 0); +} else { + x_268 = x_259; +} +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_258); +x_28 = x_268; +x_29 = x_257; +goto block_55; } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -lean_dec(x_248); -lean_dec(x_235); -lean_dec(x_221); -lean_dec(x_220); +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +lean_dec(x_251); +lean_dec(x_238); +lean_dec(x_224); +lean_dec(x_223); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); +lean_dec(x_9); +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_266 = lean_ctor_get(x_251, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_251, 1); -lean_inc(x_267); -if (lean_is_exclusive(x_251)) { - lean_ctor_release(x_251, 0); - lean_ctor_release(x_251, 1); - x_268 = x_251; +x_269 = lean_ctor_get(x_254, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_254, 1); +lean_inc(x_270); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + lean_ctor_release(x_254, 1); + x_271 = x_254; } else { - lean_dec_ref(x_251); - x_268 = lean_box(0); + lean_dec_ref(x_254); + x_271 = lean_box(0); } -if (lean_is_scalar(x_268)) { - x_269 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_271)) { + x_272 = lean_alloc_ctor(1, 2, 0); } else { - x_269 = x_268; + x_272 = x_271; } -lean_ctor_set(x_269, 0, x_266); -lean_ctor_set(x_269, 1, x_267); -return x_269; +lean_ctor_set(x_272, 0, x_269); +lean_ctor_set(x_272, 1, x_270); +return x_272; } } } } -block_52: +block_55: { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -if (lean_obj_tag(x_28) == 0) +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) { -uint8_t x_29; +uint8_t x_32; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); +lean_dec(x_9); +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_25); -if (x_29 == 0) +x_32 = !lean_is_exclusive(x_28); +if (x_32 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_25, 0); -lean_dec(x_30); -x_31 = !lean_is_exclusive(x_27); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 0); -lean_dec(x_32); +lean_object* x_33; uint8_t x_34; x_33 = lean_ctor_get(x_28, 0); -lean_inc(x_33); -lean_dec(x_28); -lean_ctor_set(x_27, 0, x_33); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_26); -return x_34; -} -else +lean_dec(x_33); +x_34 = !lean_is_exclusive(x_30); +if (x_34 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_27, 1); -lean_inc(x_35); -lean_dec(x_27); -x_36 = lean_ctor_get(x_28, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_30, 0); +lean_dec(x_35); +x_36 = lean_ctor_get(x_31, 0); lean_inc(x_36); -lean_dec(x_28); +lean_dec(x_31); +lean_ctor_set(x_30, 0, x_36); x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -lean_ctor_set(x_25, 0, x_37); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_25); -lean_ctor_set(x_38, 1, x_26); -return x_38; +lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 1, x_29); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_30, 1); +lean_inc(x_38); +lean_dec(x_30); +x_39 = lean_ctor_get(x_31, 0); +lean_inc(x_39); +lean_dec(x_31); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +lean_ctor_set(x_28, 0, x_40); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_28); +lean_ctor_set(x_41, 1, x_29); +return x_41; } } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_39 = lean_ctor_get(x_25, 1); -lean_inc(x_39); -lean_dec(x_25); -x_40 = lean_ctor_get(x_27, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_41 = x_27; -} else { - lean_dec_ref(x_27); - x_41 = lean_box(0); -} -x_42 = lean_ctor_get(x_28, 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; +x_42 = lean_ctor_get(x_28, 1); lean_inc(x_42); lean_dec(x_28); -if (lean_is_scalar(x_41)) { - x_43 = lean_alloc_ctor(0, 2, 0); +x_43 = lean_ctor_get(x_30, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_44 = x_30; } else { - x_43 = x_41; + lean_dec_ref(x_30); + x_44 = lean_box(0); } -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_40); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_39); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_26); -return x_45; +x_45 = lean_ctor_get(x_31, 0); +lean_inc(x_45); +lean_dec(x_31); +if (lean_is_scalar(x_44)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_44; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_42); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_29); +return x_48; } } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; -x_46 = lean_ctor_get(x_25, 1); -lean_inc(x_46); -lean_dec(x_25); -x_47 = lean_ctor_get(x_27, 1); -lean_inc(x_47); -lean_dec(x_27); -x_48 = lean_ctor_get(x_28, 0); -lean_inc(x_48); +lean_object* x_49; lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; +x_49 = lean_ctor_get(x_28, 1); +lean_inc(x_49); lean_dec(x_28); -x_49 = 1; -x_50 = lean_usize_add(x_10, x_49); -x_10 = x_50; -x_11 = x_48; -x_12 = x_47; -x_13 = x_46; -x_18 = x_26; +x_50 = lean_ctor_get(x_30, 1); +lean_inc(x_50); +lean_dec(x_30); +x_51 = lean_ctor_get(x_31, 0); +lean_inc(x_51); +lean_dec(x_31); +x_52 = 1; +x_53 = lean_usize_add(x_13, x_52); +x_13 = x_53; +x_14 = x_51; +x_15 = x_50; +x_16 = x_49; +x_21 = x_29; goto _start; } } } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18(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; @@ -66550,7 +67098,7 @@ return x_18; } } } -LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -66558,7 +67106,7 @@ x_3 = l_Array_contains___at_Lean_Meta_addImplicitTargets_collect___spec__1(x_2, return x_3; } } -LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__2(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -66566,7 +67114,7 @@ x_3 = lean_nat_dec_eq(x_2, x_1); return x_3; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -66574,7 +67122,7 @@ x_1 = lean_mk_string_unchecked("Lean.Tactic.FunInd.deriveInductionStructural", 4 return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__2() { _start: { lean_object* x_1; @@ -66582,33 +67130,33 @@ x_1 = lean_mk_string_unchecked("invalid positions", 17, 17); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__3() { _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_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1; -x_3 = lean_unsigned_to_nat(1069u); +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1; +x_3 = lean_unsigned_to_nat(1082u); x_4 = lean_unsigned_to_nat(73u); -x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__2; +x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__4() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___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_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1; -x_3 = lean_unsigned_to_nat(1071u); +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1; +x_3 = lean_unsigned_to_nat(1084u); x_4 = lean_unsigned_to_nat(62u); -x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__2; +x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__5() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__5() { _start: { lean_object* x_1; @@ -66616,32 +67164,33 @@ x_1 = lean_mk_string_unchecked("assembled call for ", 19, 19); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__6() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__5; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__7() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1; -x_3 = lean_unsigned_to_nat(1070u); +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1; +x_3 = lean_unsigned_to_nat(1083u); x_4 = lean_unsigned_to_nat(67u); -x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__2; +x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__2; 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_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___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, size_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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___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, size_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) { _start: { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_inc(x_11); x_18 = l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(x_1, x_11); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); @@ -66656,7 +67205,7 @@ if (lean_is_exclusive(x_18)) { x_21 = lean_box(0); } lean_inc(x_2); -x_22 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__1___boxed), 2, 1); +x_22 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__1___boxed), 2, 1); lean_closure_set(x_22, 0, x_2); x_23 = lean_unsigned_to_nat(0u); x_24 = l_Array_findIdx_x3f_loop___rarg(x_22, x_3, x_23); @@ -66666,12 +67215,13 @@ lean_object* x_25; lean_object* x_26; lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__3; +x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__3; x_26 = l_panic___at_Lean_Elab_Structural_IndGroupInst_nestedTypeFormers___spec__4(x_25, x_13, x_14, x_15, x_16, x_17); return x_26; } @@ -66684,14 +67234,14 @@ lean_dec(x_24); x_81 = lean_box(0); x_82 = lean_array_size(x_3); x_83 = l_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___lambda__1___closed__1; -x_84 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19(x_3, x_2, x_81, x_83, x_3, x_82, x_10, x_83); +x_84 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18(x_3, x_2, x_81, x_83, x_3, x_82, x_10, x_83); x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); lean_dec(x_84); if (lean_obj_tag(x_85) == 0) { lean_object* x_86; -x_86 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2; +x_86 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2; if (lean_obj_tag(x_86) == 0) { lean_object* x_87; lean_object* x_88; @@ -66699,12 +67249,13 @@ lean_dec(x_27); lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_87 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__7; +x_87 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__7; x_88 = l_panic___at_Lean_Elab_Structural_IndGroupInst_nestedTypeFormers___spec__4(x_87, x_13, x_14, x_15, x_16, x_17); return x_88; } @@ -66730,12 +67281,13 @@ lean_dec(x_27); lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_91 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__7; +x_91 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__7; x_92 = l_panic___at_Lean_Elab_Structural_IndGroupInst_nestedTypeFormers___spec__4(x_91, x_13, x_14, x_15, x_16, x_17); return x_92; } @@ -66752,7 +67304,7 @@ goto block_80; block_80: { lean_object* x_29; lean_object* x_30; -x_29 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__2___boxed), 2, 1); +x_29 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__2___boxed), 2, 1); lean_closure_set(x_29, 0, x_2); x_30 = l_Array_findIdx_x3f_loop___rarg(x_29, x_28, x_23); if (lean_obj_tag(x_30) == 0) @@ -66763,11 +67315,12 @@ lean_dec(x_27); lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); -x_31 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__4; +x_31 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__4; x_32 = l_panic___at_Lean_Elab_Structural_IndGroupInst_nestedTypeFormers___spec__4(x_31, x_13, x_14, x_15, x_16, x_17); return x_32; } @@ -66805,6 +67358,7 @@ lean_dec(x_20); x_44 = 0; x_45 = 1; x_46 = l_Lean_Meta_mkLambdaFVars(x_11, x_43, x_44, x_34, x_44, x_45, x_13, x_14, x_15, x_16, x_42); +lean_dec(x_11); if (lean_obj_tag(x_46) == 0) { lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; @@ -66860,7 +67414,7 @@ x_57 = lean_ctor_get(x_9, 0); lean_inc(x_57); lean_dec(x_9); x_58 = l_Lean_MessageData_ofName(x_57); -x_59 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__6; +x_59 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__6; if (lean_is_scalar(x_21)) { x_60 = lean_alloc_ctor(7, 2, 0); } else { @@ -66869,7 +67423,7 @@ if (lean_is_scalar(x_21)) { } lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); -x_61 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__4; +x_61 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__4; x_62 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_62, 0, x_60); lean_ctor_set(x_62, 1, x_61); @@ -66948,6 +67502,7 @@ lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); x_76 = !lean_is_exclusive(x_40); @@ -66974,1764 +67529,1876 @@ return x_79; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20(size_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, size_t x_12, size_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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19(size_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, lean_object* x_12, lean_object* x_13, size_t x_14, size_t x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { _start: { -uint8_t x_20; -x_20 = lean_usize_dec_lt(x_13, x_12); -if (x_20 == 0) +uint8_t x_22; +x_22 = lean_usize_dec_lt(x_15, x_14); +if (x_22 == 0) { -lean_object* x_21; +lean_object* x_23; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_14); -lean_ctor_set(x_21, 1, x_19); -return x_21; +lean_dec(x_3); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_21); +return x_23; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_22 = lean_array_uget(x_11, x_13); -x_32 = lean_ctor_get(x_14, 1); -lean_inc(x_32); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = !lean_is_exclusive(x_14); -if (x_34 == 0) +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_24 = lean_array_uget(x_13, x_15); +x_34 = lean_ctor_get(x_16, 1); +lean_inc(x_34); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = !lean_is_exclusive(x_16); +if (x_36 == 0) { -lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_35 = lean_ctor_get(x_14, 0); -x_36 = lean_ctor_get(x_14, 1); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_32); -if (x_37 == 0) +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_ctor_get(x_16, 0); +x_38 = lean_ctor_get(x_16, 1); +lean_dec(x_38); +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) { -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_38 = lean_ctor_get(x_32, 1); -x_39 = lean_ctor_get(x_32, 0); -lean_dec(x_39); -x_40 = lean_ctor_get(x_33, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_33, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_33, 2); -lean_inc(x_42); -x_43 = lean_nat_dec_lt(x_40, x_41); -if (x_43 == 0) -{ -lean_object* x_44; -lean_dec(x_42); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_40 = lean_ctor_get(x_34, 1); +x_41 = lean_ctor_get(x_34, 0); lean_dec(x_41); -lean_dec(x_40); -lean_dec(x_22); -x_44 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_44, 0, x_14); -x_23 = x_44; -x_24 = x_19; -goto block_31; -} -else -{ -uint8_t x_45; -x_45 = !lean_is_exclusive(x_33); +x_42 = lean_ctor_get(x_35, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_35, 1); +lean_inc(x_43); +x_44 = lean_ctor_get(x_35, 2); +lean_inc(x_44); +x_45 = lean_nat_dec_lt(x_42, x_43); if (x_45 == 0) { -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; uint8_t x_53; -x_46 = lean_ctor_get(x_33, 2); -lean_dec(x_46); -x_47 = lean_ctor_get(x_33, 1); -lean_dec(x_47); -x_48 = lean_ctor_get(x_33, 0); -lean_dec(x_48); -x_49 = lean_nat_add(x_40, x_42); -lean_ctor_set(x_33, 0, x_49); -x_50 = lean_ctor_get(x_35, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_35, 1); -lean_inc(x_51); -x_52 = lean_ctor_get(x_35, 2); -lean_inc(x_52); -x_53 = lean_nat_dec_lt(x_51, x_52); -if (x_53 == 0) -{ -lean_object* x_54; -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_50); -lean_dec(x_40); -lean_dec(x_22); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_14); -x_23 = x_54; -x_24 = x_19; -goto block_31; +lean_object* x_46; +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_42); +lean_dec(x_24); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_16); +x_25 = x_46; +x_26 = x_21; +goto block_33; } else { -uint8_t x_55; -x_55 = !lean_is_exclusive(x_35); +uint8_t x_47; +x_47 = !lean_is_exclusive(x_35); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_48 = lean_ctor_get(x_35, 2); +lean_dec(x_48); +x_49 = lean_ctor_get(x_35, 1); +lean_dec(x_49); +x_50 = lean_ctor_get(x_35, 0); +lean_dec(x_50); +x_51 = lean_nat_add(x_42, x_44); +lean_ctor_set(x_35, 0, x_51); +x_52 = lean_ctor_get(x_37, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_37, 1); +lean_inc(x_53); +x_54 = lean_ctor_get(x_37, 2); +lean_inc(x_54); +x_55 = lean_nat_dec_lt(x_53, x_54); 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; -x_56 = lean_ctor_get(x_35, 2); -lean_dec(x_56); -x_57 = lean_ctor_get(x_35, 1); -lean_dec(x_57); -x_58 = lean_ctor_get(x_35, 0); +lean_object* x_56; +lean_dec(x_54); +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_42); +lean_dec(x_24); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_16); +x_25 = x_56; +x_26 = x_21; +goto block_33; +} +else +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_37); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_58 = lean_ctor_get(x_37, 2); lean_dec(x_58); -x_59 = lean_array_fget(x_50, x_51); -x_60 = lean_unsigned_to_nat(1u); -x_61 = lean_nat_add(x_51, x_60); -lean_dec(x_51); -lean_ctor_set(x_35, 1, x_61); -x_62 = lean_ctor_get(x_22, 1); -lean_inc(x_62); -x_63 = lean_unsigned_to_nat(0u); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_64 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_3, x_63, x_62, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; -x_65 = lean_ctor_get(x_64, 0); +x_59 = lean_ctor_get(x_37, 1); +lean_dec(x_59); +x_60 = lean_ctor_get(x_37, 0); +lean_dec(x_60); +x_61 = lean_array_fget(x_52, x_53); +x_62 = lean_unsigned_to_nat(1u); +x_63 = lean_nat_add(x_53, x_62); +lean_dec(x_53); +lean_ctor_set(x_37, 1, x_63); +lean_inc(x_3); +x_64 = lean_array_get(x_3, x_4, x_42); +x_65 = lean_ctor_get(x_24, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; -x_68 = 0; +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_69 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_65, x_67, x_68, x_15, x_16, x_17, x_18, x_66); -if (lean_obj_tag(x_69) == 0) +lean_inc(x_5); +lean_inc(x_64); +x_66 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_64, x_65, x_5, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_66) == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_ctor_get(x_22, 0); +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; +x_70 = 0; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_71 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_67, x_69, x_70, x_17, x_18, x_19, x_20, x_68); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -lean_dec(x_22); -x_73 = lean_ctor_get(x_72, 2); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_74 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_3, x_63, x_73, x_15, x_16, x_17, x_18, x_71); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_75 = lean_ctor_get(x_74, 0); +lean_dec(x_71); +x_74 = lean_ctor_get(x_24, 0); +lean_inc(x_74); +lean_dec(x_24); +x_75 = lean_ctor_get(x_74, 2); lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_77, 0, x_70); -x_78 = lean_box_usize(x_1); -lean_inc(x_7); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_5); -lean_inc(x_6); -x_79 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___boxed), 17, 10); -lean_closure_set(x_79, 0, x_59); -lean_closure_set(x_79, 1, x_40); -lean_closure_set(x_79, 2, x_6); -lean_closure_set(x_79, 3, x_5); -lean_closure_set(x_79, 4, x_4); -lean_closure_set(x_79, 5, x_8); -lean_closure_set(x_79, 6, x_9); -lean_closure_set(x_79, 7, x_7); -lean_closure_set(x_79, 8, x_72); -lean_closure_set(x_79, 9, x_78); +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_80 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_75, x_77, x_79, x_68, x_15, x_16, x_17, x_18, x_76); -if (lean_obj_tag(x_80) == 0) +lean_inc(x_5); +x_76 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_64, x_75, x_5, x_17, x_18, x_19, x_20, x_73); +if (lean_obj_tag(x_76) == 0) { -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); -x_83 = lean_array_push(x_38, x_81); -lean_ctor_set(x_32, 1, x_83); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_14); -x_23 = x_84; -x_24 = x_82; -goto block_31; +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_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_72); +x_80 = lean_box_usize(x_1); +lean_inc(x_9); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_7); +lean_inc(x_8); +x_81 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___boxed), 17, 10); +lean_closure_set(x_81, 0, x_61); +lean_closure_set(x_81, 1, x_42); +lean_closure_set(x_81, 2, x_8); +lean_closure_set(x_81, 3, x_7); +lean_closure_set(x_81, 4, x_6); +lean_closure_set(x_81, 5, x_10); +lean_closure_set(x_81, 6, x_11); +lean_closure_set(x_81, 7, x_9); +lean_closure_set(x_81, 8, x_74); +lean_closure_set(x_81, 9, x_80); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_82 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_77, x_79, x_81, x_70, x_17, x_18, x_19, x_20, x_78); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_array_push(x_40, x_83); +lean_ctor_set(x_34, 1, x_85); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_16); +x_25 = x_86; +x_26 = x_84; +goto block_33; } else { -uint8_t x_85; +uint8_t x_87; +lean_dec(x_37); lean_dec(x_35); -lean_dec(x_33); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); +lean_free_object(x_34); +lean_dec(x_40); +lean_free_object(x_16); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_85 = !lean_is_exclusive(x_80); -if (x_85 == 0) +lean_dec(x_3); +x_87 = !lean_is_exclusive(x_82); +if (x_87 == 0) { -return x_80; +return x_82; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_80, 0); -x_87 = lean_ctor_get(x_80, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_80); -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; +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_82, 0); +x_89 = lean_ctor_get(x_82, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_82); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } } else { -uint8_t x_89; +uint8_t x_91; +lean_dec(x_74); lean_dec(x_72); -lean_dec(x_70); +lean_dec(x_37); +lean_dec(x_61); lean_dec(x_35); -lean_dec(x_59); -lean_dec(x_33); +lean_dec(x_42); +lean_free_object(x_34); lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); +lean_free_object(x_16); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_89 = !lean_is_exclusive(x_74); -if (x_89 == 0) +lean_dec(x_3); +x_91 = !lean_is_exclusive(x_76); +if (x_91 == 0) { -return x_74; +return x_76; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_74, 0); -x_91 = lean_ctor_get(x_74, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_74); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_76, 0); +x_93 = lean_ctor_get(x_76, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_76); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } else { -uint8_t x_93; -lean_dec(x_35); -lean_dec(x_59); -lean_dec(x_33); -lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_93 = !lean_is_exclusive(x_69); -if (x_93 == 0) -{ -return x_69; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_69, 0); -x_95 = lean_ctor_get(x_69, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_69); -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; -} -} -} -else -{ -uint8_t x_97; -lean_dec(x_35); -lean_dec(x_59); -lean_dec(x_33); -lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_97 = !lean_is_exclusive(x_64); -if (x_97 == 0) -{ -return x_64; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_64, 0); -x_99 = lean_ctor_get(x_64, 1); -lean_inc(x_99); -lean_inc(x_98); +uint8_t x_95; lean_dec(x_64); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; -} -} -} -else -{ -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_dec(x_37); +lean_dec(x_61); lean_dec(x_35); -x_101 = lean_array_fget(x_50, x_51); -x_102 = lean_unsigned_to_nat(1u); -x_103 = lean_nat_add(x_51, x_102); -lean_dec(x_51); -x_104 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_104, 0, x_50); -lean_ctor_set(x_104, 1, x_103); -lean_ctor_set(x_104, 2, x_52); -x_105 = lean_ctor_get(x_22, 1); -lean_inc(x_105); -x_106 = lean_unsigned_to_nat(0u); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_107 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_3, x_106, x_105, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_107) == 0) +lean_dec(x_42); +lean_free_object(x_34); +lean_dec(x_40); +lean_free_object(x_16); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_95 = !lean_is_exclusive(x_71); +if (x_95 == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; lean_object* x_112; -x_108 = lean_ctor_get(x_107, 0); +return x_71; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_71, 0); +x_97 = lean_ctor_get(x_71, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_71); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +} +} +else +{ +uint8_t x_99; +lean_dec(x_64); +lean_dec(x_37); +lean_dec(x_61); +lean_dec(x_35); +lean_dec(x_42); +lean_free_object(x_34); +lean_dec(x_40); +lean_free_object(x_16); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_99 = !lean_is_exclusive(x_66); +if (x_99 == 0) +{ +return x_66; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_66, 0); +x_101 = lean_ctor_get(x_66, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_66); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +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_dec(x_37); +x_103 = lean_array_fget(x_52, x_53); +x_104 = lean_unsigned_to_nat(1u); +x_105 = lean_nat_add(x_53, x_104); +lean_dec(x_53); +x_106 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_106, 0, x_52); +lean_ctor_set(x_106, 1, x_105); +lean_ctor_set(x_106, 2, x_54); +lean_inc(x_3); +x_107 = lean_array_get(x_3, x_4, x_42); +x_108 = lean_ctor_get(x_24, 1); lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; -x_111 = 0; +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_112 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_108, x_110, x_111, x_15, x_16, x_17, x_18, x_109); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_ctor_get(x_22, 0); -lean_inc(x_115); -lean_dec(x_22); -x_116 = lean_ctor_get(x_115, 2); -lean_inc(x_116); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_117 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_3, x_106, x_116, x_15, x_16, x_17, x_18, x_114); -if (lean_obj_tag(x_117) == 0) -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_120, 0, x_113); -x_121 = lean_box_usize(x_1); -lean_inc(x_7); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_4); lean_inc(x_5); -lean_inc(x_6); -x_122 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___boxed), 17, 10); -lean_closure_set(x_122, 0, x_101); -lean_closure_set(x_122, 1, x_40); -lean_closure_set(x_122, 2, x_6); -lean_closure_set(x_122, 3, x_5); -lean_closure_set(x_122, 4, x_4); -lean_closure_set(x_122, 5, x_8); -lean_closure_set(x_122, 6, x_9); -lean_closure_set(x_122, 7, x_7); -lean_closure_set(x_122, 8, x_115); -lean_closure_set(x_122, 9, x_121); +lean_inc(x_107); +x_109 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_107, x_108, x_5, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; +x_113 = 0; +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_123 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_118, x_120, x_122, x_111, x_15, x_16, x_17, x_18, x_119); -if (lean_obj_tag(x_123) == 0) +x_114 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_110, x_112, x_113, x_17, x_18, x_19, x_20, x_111); +if (lean_obj_tag(x_114) == 0) { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_array_push(x_38, x_124); -lean_ctor_set(x_32, 1, x_126); -lean_ctor_set(x_14, 0, x_104); -x_127 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_127, 0, x_14); -x_23 = x_127; -x_24 = x_125; -goto block_31; +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = lean_ctor_get(x_24, 0); +lean_inc(x_117); +lean_dec(x_24); +x_118 = lean_ctor_get(x_117, 2); +lean_inc(x_118); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_5); +x_119 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_107, x_118, x_5, x_17, x_18, x_19, x_20, x_116); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_122 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_122, 0, x_115); +x_123 = lean_box_usize(x_1); +lean_inc(x_9); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_7); +lean_inc(x_8); +x_124 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___boxed), 17, 10); +lean_closure_set(x_124, 0, x_103); +lean_closure_set(x_124, 1, x_42); +lean_closure_set(x_124, 2, x_8); +lean_closure_set(x_124, 3, x_7); +lean_closure_set(x_124, 4, x_6); +lean_closure_set(x_124, 5, x_10); +lean_closure_set(x_124, 6, x_11); +lean_closure_set(x_124, 7, x_9); +lean_closure_set(x_124, 8, x_117); +lean_closure_set(x_124, 9, x_123); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_125 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_120, x_122, x_124, x_113, x_17, x_18, x_19, x_20, x_121); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = lean_array_push(x_40, x_126); +lean_ctor_set(x_34, 1, x_128); +lean_ctor_set(x_16, 0, x_106); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_16); +x_25 = x_129; +x_26 = x_127; +goto block_33; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -lean_dec(x_104); -lean_dec(x_33); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_106); +lean_dec(x_35); +lean_free_object(x_34); +lean_dec(x_40); +lean_free_object(x_16); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_128 = lean_ctor_get(x_123, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_123, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_130 = x_123; +lean_dec(x_3); +x_130 = lean_ctor_get(x_125, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_125, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_132 = x_125; } else { - lean_dec_ref(x_123); - x_130 = lean_box(0); + lean_dec_ref(x_125); + x_132 = lean_box(0); } -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(1, 2, 0); } else { - x_131 = x_130; + x_133 = x_132; } -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_129); -return x_131; +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_131); +return x_133; } } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec(x_117); lean_dec(x_115); -lean_dec(x_113); -lean_dec(x_104); -lean_dec(x_101); -lean_dec(x_33); +lean_dec(x_106); +lean_dec(x_103); +lean_dec(x_35); +lean_dec(x_42); +lean_free_object(x_34); lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); +lean_free_object(x_16); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_132 = lean_ctor_get(x_117, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_117, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_134 = x_117; +lean_dec(x_3); +x_134 = lean_ctor_get(x_119, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_119, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_136 = x_119; } else { - lean_dec_ref(x_117); - x_134 = lean_box(0); + lean_dec_ref(x_119); + x_136 = lean_box(0); } -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(1, 2, 0); } else { - x_135 = x_134; + x_137 = x_136; } -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_133); -return x_135; +lean_ctor_set(x_137, 0, x_134); +lean_ctor_set(x_137, 1, x_135); +return x_137; } } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_dec(x_104); -lean_dec(x_101); -lean_dec(x_33); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_103); +lean_dec(x_35); +lean_dec(x_42); +lean_free_object(x_34); lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); -lean_dec(x_22); +lean_free_object(x_16); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_136 = lean_ctor_get(x_112, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_112, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_138 = x_112; +lean_dec(x_3); +x_138 = lean_ctor_get(x_114, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_114, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_140 = x_114; } else { - lean_dec_ref(x_112); - x_138 = lean_box(0); + lean_dec_ref(x_114); + x_140 = lean_box(0); } -if (lean_is_scalar(x_138)) { - x_139 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(1, 2, 0); } else { - x_139 = x_138; + x_141 = x_140; } -lean_ctor_set(x_139, 0, x_136); -lean_ctor_set(x_139, 1, x_137); -return x_139; +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_139); +return x_141; } } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_104); -lean_dec(x_101); -lean_dec(x_33); +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_103); +lean_dec(x_35); +lean_dec(x_42); +lean_free_object(x_34); lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); -lean_dec(x_22); +lean_free_object(x_16); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_140 = lean_ctor_get(x_107, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_107, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_142 = x_107; +lean_dec(x_3); +x_142 = lean_ctor_get(x_109, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_109, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_144 = x_109; } else { - lean_dec_ref(x_107); - x_142 = lean_box(0); + lean_dec_ref(x_109); + x_144 = lean_box(0); } -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 2, 0); } else { - x_143 = x_142; + x_145 = x_144; } -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_141); -return x_143; +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +return x_145; } } } } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; -lean_dec(x_33); -x_144 = lean_nat_add(x_40, x_42); -x_145 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_41); -lean_ctor_set(x_145, 2, x_42); -x_146 = lean_ctor_get(x_35, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_35, 1); -lean_inc(x_147); -x_148 = lean_ctor_get(x_35, 2); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +lean_dec(x_35); +x_146 = lean_nat_add(x_42, x_44); +x_147 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_43); +lean_ctor_set(x_147, 2, x_44); +x_148 = lean_ctor_get(x_37, 0); lean_inc(x_148); -x_149 = lean_nat_dec_lt(x_147, x_148); -if (x_149 == 0) +x_149 = lean_ctor_get(x_37, 1); +lean_inc(x_149); +x_150 = lean_ctor_get(x_37, 2); +lean_inc(x_150); +x_151 = lean_nat_dec_lt(x_149, x_150); +if (x_151 == 0) { -lean_object* x_150; +lean_object* x_152; +lean_dec(x_150); +lean_dec(x_149); lean_dec(x_148); -lean_dec(x_147); -lean_dec(x_146); -lean_dec(x_40); -lean_dec(x_22); -lean_ctor_set(x_32, 0, x_145); -x_150 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_150, 0, x_14); -x_23 = x_150; -x_24 = x_19; -goto block_31; +lean_dec(x_42); +lean_dec(x_24); +lean_ctor_set(x_34, 0, x_147); +x_152 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_152, 0, x_16); +x_25 = x_152; +x_26 = x_21; +goto block_33; } else { -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_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + lean_ctor_release(x_37, 2); + x_153 = x_37; +} else { + lean_dec_ref(x_37); + x_153 = lean_box(0); +} +x_154 = lean_array_fget(x_148, x_149); +x_155 = lean_unsigned_to_nat(1u); +x_156 = lean_nat_add(x_149, x_155); +lean_dec(x_149); +if (lean_is_scalar(x_153)) { + x_157 = lean_alloc_ctor(0, 3, 0); +} else { + x_157 = x_153; +} +lean_ctor_set(x_157, 0, x_148); +lean_ctor_set(x_157, 1, x_156); +lean_ctor_set(x_157, 2, x_150); +lean_inc(x_3); +x_158 = lean_array_get(x_3, x_4, x_42); +x_159 = lean_ctor_get(x_24, 1); +lean_inc(x_159); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_5); +lean_inc(x_158); +x_160 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_158, x_159, x_5, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_160) == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; +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_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; +x_164 = 0; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_165 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_161, x_163, x_164, x_17, x_18, x_19, x_20, x_162); +if (lean_obj_tag(x_165) == 0) +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +x_168 = lean_ctor_get(x_24, 0); +lean_inc(x_168); +lean_dec(x_24); +x_169 = lean_ctor_get(x_168, 2); +lean_inc(x_169); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_5); +x_170 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_158, x_169, x_5, x_17, x_18, x_19, x_20, x_167); +if (lean_obj_tag(x_170) == 0) +{ +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_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec(x_170); +x_173 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_173, 0, x_166); +x_174 = lean_box_usize(x_1); +lean_inc(x_9); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_7); +lean_inc(x_8); +x_175 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___boxed), 17, 10); +lean_closure_set(x_175, 0, x_154); +lean_closure_set(x_175, 1, x_42); +lean_closure_set(x_175, 2, x_8); +lean_closure_set(x_175, 3, x_7); +lean_closure_set(x_175, 4, x_6); +lean_closure_set(x_175, 5, x_10); +lean_closure_set(x_175, 6, x_11); +lean_closure_set(x_175, 7, x_9); +lean_closure_set(x_175, 8, x_168); +lean_closure_set(x_175, 9, x_174); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_176 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_171, x_173, x_175, x_164, x_17, x_18, x_19, x_20, x_172); +if (lean_obj_tag(x_176) == 0) +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_array_push(x_40, x_177); +lean_ctor_set(x_34, 1, x_179); +lean_ctor_set(x_34, 0, x_147); +lean_ctor_set(x_16, 0, x_157); +x_180 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_180, 0, x_16); +x_25 = x_180; +x_26 = x_178; +goto block_33; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_157); +lean_dec(x_147); +lean_free_object(x_34); +lean_dec(x_40); +lean_free_object(x_16); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_181 = lean_ctor_get(x_176, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_176, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_183 = x_176; +} else { + lean_dec_ref(x_176); + x_183 = lean_box(0); +} +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_183; +} +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +return x_184; +} +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_168); +lean_dec(x_166); +lean_dec(x_157); +lean_dec(x_154); +lean_dec(x_147); +lean_dec(x_42); +lean_free_object(x_34); +lean_dec(x_40); +lean_free_object(x_16); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_185 = lean_ctor_get(x_170, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_170, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_187 = x_170; +} else { + lean_dec_ref(x_170); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(1, 2, 0); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_186); +return x_188; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_154); +lean_dec(x_147); +lean_dec(x_42); +lean_free_object(x_34); +lean_dec(x_40); +lean_free_object(x_16); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_189 = lean_ctor_get(x_165, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_165, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_191 = x_165; +} else { + lean_dec_ref(x_165); + x_191 = lean_box(0); +} +if (lean_is_scalar(x_191)) { + x_192 = lean_alloc_ctor(1, 2, 0); +} else { + x_192 = x_191; +} +lean_ctor_set(x_192, 0, x_189); +lean_ctor_set(x_192, 1, x_190); +return x_192; +} +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_154); +lean_dec(x_147); +lean_dec(x_42); +lean_free_object(x_34); +lean_dec(x_40); +lean_free_object(x_16); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_193 = lean_ctor_get(x_160, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_160, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_195 = x_160; +} else { + lean_dec_ref(x_160); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(1, 2, 0); +} else { + x_196 = x_195; +} +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set(x_196, 1, x_194); +return x_196; +} +} +} +} +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; +x_197 = lean_ctor_get(x_34, 1); +lean_inc(x_197); +lean_dec(x_34); +x_198 = lean_ctor_get(x_35, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_35, 1); +lean_inc(x_199); +x_200 = lean_ctor_get(x_35, 2); +lean_inc(x_200); +x_201 = lean_nat_dec_lt(x_198, x_199); +if (x_201 == 0) +{ +lean_object* x_202; lean_object* x_203; +lean_dec(x_200); +lean_dec(x_199); +lean_dec(x_198); +lean_dec(x_24); +x_202 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_202, 0, x_35); +lean_ctor_set(x_202, 1, x_197); +lean_ctor_set(x_16, 1, x_202); +x_203 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_203, 0, x_16); +x_25 = x_203; +x_26 = x_21; +goto block_33; +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; if (lean_is_exclusive(x_35)) { lean_ctor_release(x_35, 0); lean_ctor_release(x_35, 1); lean_ctor_release(x_35, 2); - x_151 = x_35; + x_204 = x_35; } else { lean_dec_ref(x_35); - x_151 = lean_box(0); + x_204 = lean_box(0); } -x_152 = lean_array_fget(x_146, x_147); -x_153 = lean_unsigned_to_nat(1u); -x_154 = lean_nat_add(x_147, x_153); -lean_dec(x_147); -if (lean_is_scalar(x_151)) { - x_155 = lean_alloc_ctor(0, 3, 0); +x_205 = lean_nat_add(x_198, x_200); +if (lean_is_scalar(x_204)) { + x_206 = lean_alloc_ctor(0, 3, 0); } else { - x_155 = x_151; + x_206 = x_204; } -lean_ctor_set(x_155, 0, x_146); -lean_ctor_set(x_155, 1, x_154); -lean_ctor_set(x_155, 2, x_148); -x_156 = lean_ctor_get(x_22, 1); -lean_inc(x_156); -x_157 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_199); +lean_ctor_set(x_206, 2, x_200); +x_207 = lean_ctor_get(x_37, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_37, 1); +lean_inc(x_208); +x_209 = lean_ctor_get(x_37, 2); +lean_inc(x_209); +x_210 = lean_nat_dec_lt(x_208, x_209); +if (x_210 == 0) +{ +lean_object* x_211; lean_object* x_212; +lean_dec(x_209); +lean_dec(x_208); +lean_dec(x_207); +lean_dec(x_198); +lean_dec(x_24); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_206); +lean_ctor_set(x_211, 1, x_197); +lean_ctor_set(x_16, 1, x_211); +x_212 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_212, 0, x_16); +x_25 = x_212; +x_26 = x_21; +goto block_33; +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + lean_ctor_release(x_37, 2); + x_213 = x_37; +} else { + lean_dec_ref(x_37); + x_213 = lean_box(0); +} +x_214 = lean_array_fget(x_207, x_208); +x_215 = lean_unsigned_to_nat(1u); +x_216 = lean_nat_add(x_208, x_215); +lean_dec(x_208); +if (lean_is_scalar(x_213)) { + x_217 = lean_alloc_ctor(0, 3, 0); +} else { + x_217 = x_213; +} +lean_ctor_set(x_217, 0, x_207); +lean_ctor_set(x_217, 1, x_216); +lean_ctor_set(x_217, 2, x_209); +lean_inc(x_3); +x_218 = lean_array_get(x_3, x_4, x_198); +x_219 = lean_ctor_get(x_24, 1); +lean_inc(x_219); +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_158 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_3, x_157, x_156, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_158) == 0) -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; -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_161 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; -x_162 = 0; -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_163 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_159, x_161, x_162, x_15, x_16, x_17, x_18, 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; lean_object* x_168; -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_ctor_get(x_22, 0); -lean_inc(x_166); -lean_dec(x_22); -x_167 = lean_ctor_get(x_166, 2); -lean_inc(x_167); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_168 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_3, x_157, x_167, x_15, x_16, x_17, x_18, 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; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -x_171 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_171, 0, x_164); -x_172 = lean_box_usize(x_1); -lean_inc(x_7); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_4); lean_inc(x_5); -lean_inc(x_6); -x_173 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___boxed), 17, 10); -lean_closure_set(x_173, 0, x_152); -lean_closure_set(x_173, 1, x_40); -lean_closure_set(x_173, 2, x_6); -lean_closure_set(x_173, 3, x_5); -lean_closure_set(x_173, 4, x_4); -lean_closure_set(x_173, 5, x_8); -lean_closure_set(x_173, 6, x_9); -lean_closure_set(x_173, 7, x_7); -lean_closure_set(x_173, 8, x_166); -lean_closure_set(x_173, 9, x_172); +lean_inc(x_218); +x_220 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_218, x_219, x_5, x_17, x_18, x_19, x_20, x_21); +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; +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +lean_dec(x_220); +x_223 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; +x_224 = 0; +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_174 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_169, x_171, x_173, x_162, x_15, x_16, x_17, x_18, x_170); -if (lean_obj_tag(x_174) == 0) +x_225 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_221, x_223, x_224, x_17, x_18, x_19, x_20, x_222); +if (lean_obj_tag(x_225) == 0) { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_array_push(x_38, x_175); -lean_ctor_set(x_32, 1, x_177); -lean_ctor_set(x_32, 0, x_145); -lean_ctor_set(x_14, 0, x_155); -x_178 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_178, 0, x_14); -x_23 = x_178; -x_24 = x_176; -goto block_31; +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +lean_dec(x_225); +x_228 = lean_ctor_get(x_24, 0); +lean_inc(x_228); +lean_dec(x_24); +x_229 = lean_ctor_get(x_228, 2); +lean_inc(x_229); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_5); +x_230 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_218, x_229, x_5, x_17, x_18, x_19, x_20, x_227); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +lean_dec(x_230); +x_233 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_233, 0, x_226); +x_234 = lean_box_usize(x_1); +lean_inc(x_9); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_7); +lean_inc(x_8); +x_235 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___boxed), 17, 10); +lean_closure_set(x_235, 0, x_214); +lean_closure_set(x_235, 1, x_198); +lean_closure_set(x_235, 2, x_8); +lean_closure_set(x_235, 3, x_7); +lean_closure_set(x_235, 4, x_6); +lean_closure_set(x_235, 5, x_10); +lean_closure_set(x_235, 6, x_11); +lean_closure_set(x_235, 7, x_9); +lean_closure_set(x_235, 8, x_228); +lean_closure_set(x_235, 9, x_234); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_236 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_231, x_233, x_235, x_224, x_17, x_18, x_19, x_20, x_232); +if (lean_obj_tag(x_236) == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_237 = lean_ctor_get(x_236, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_236, 1); +lean_inc(x_238); +lean_dec(x_236); +x_239 = lean_array_push(x_197, x_237); +x_240 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_240, 0, x_206); +lean_ctor_set(x_240, 1, x_239); +lean_ctor_set(x_16, 1, x_240); +lean_ctor_set(x_16, 0, x_217); +x_241 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_241, 0, x_16); +x_25 = x_241; +x_26 = x_238; +goto block_33; } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_dec(x_155); -lean_dec(x_145); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec(x_217); +lean_dec(x_206); +lean_dec(x_197); +lean_free_object(x_16); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_179 = lean_ctor_get(x_174, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_174, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_181 = x_174; +lean_dec(x_3); +x_242 = lean_ctor_get(x_236, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_236, 1); +lean_inc(x_243); +if (lean_is_exclusive(x_236)) { + lean_ctor_release(x_236, 0); + lean_ctor_release(x_236, 1); + x_244 = x_236; } else { - lean_dec_ref(x_174); - x_181 = lean_box(0); + lean_dec_ref(x_236); + x_244 = lean_box(0); } -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_244)) { + x_245 = lean_alloc_ctor(1, 2, 0); } else { - x_182 = x_181; + x_245 = x_244; } -lean_ctor_set(x_182, 0, x_179); -lean_ctor_set(x_182, 1, x_180); -return x_182; +lean_ctor_set(x_245, 0, x_242); +lean_ctor_set(x_245, 1, x_243); +return x_245; } } else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_166); -lean_dec(x_164); -lean_dec(x_155); -lean_dec(x_152); -lean_dec(x_145); -lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_183 = lean_ctor_get(x_168, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_168, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_185 = x_168; -} else { - lean_dec_ref(x_168); - x_185 = lean_box(0); -} -if (lean_is_scalar(x_185)) { - x_186 = lean_alloc_ctor(1, 2, 0); -} else { - x_186 = x_185; -} -lean_ctor_set(x_186, 0, x_183); -lean_ctor_set(x_186, 1, x_184); -return x_186; -} -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec(x_155); -lean_dec(x_152); -lean_dec(x_145); -lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_187 = lean_ctor_get(x_163, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_163, 1); -lean_inc(x_188); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - lean_ctor_release(x_163, 1); - x_189 = x_163; -} else { - lean_dec_ref(x_163); - x_189 = lean_box(0); -} -if (lean_is_scalar(x_189)) { - x_190 = lean_alloc_ctor(1, 2, 0); -} else { - x_190 = x_189; -} -lean_ctor_set(x_190, 0, x_187); -lean_ctor_set(x_190, 1, x_188); -return x_190; -} -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_dec(x_155); -lean_dec(x_152); -lean_dec(x_145); -lean_dec(x_40); -lean_free_object(x_32); -lean_dec(x_38); -lean_free_object(x_14); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_191 = lean_ctor_get(x_158, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_158, 1); -lean_inc(x_192); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_193 = x_158; -} else { - lean_dec_ref(x_158); - x_193 = lean_box(0); -} -if (lean_is_scalar(x_193)) { - x_194 = lean_alloc_ctor(1, 2, 0); -} else { - x_194 = x_193; -} -lean_ctor_set(x_194, 0, x_191); -lean_ctor_set(x_194, 1, x_192); -return x_194; -} -} -} -} -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; -x_195 = lean_ctor_get(x_32, 1); -lean_inc(x_195); -lean_dec(x_32); -x_196 = lean_ctor_get(x_33, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_33, 1); -lean_inc(x_197); -x_198 = lean_ctor_get(x_33, 2); -lean_inc(x_198); -x_199 = lean_nat_dec_lt(x_196, x_197); -if (x_199 == 0) -{ -lean_object* x_200; lean_object* x_201; +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_dec(x_228); +lean_dec(x_226); +lean_dec(x_217); +lean_dec(x_214); +lean_dec(x_206); lean_dec(x_198); lean_dec(x_197); -lean_dec(x_196); -lean_dec(x_22); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_33); -lean_ctor_set(x_200, 1, x_195); -lean_ctor_set(x_14, 1, x_200); -x_201 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_201, 0, x_14); -x_23 = x_201; -x_24 = x_19; -goto block_31; +lean_free_object(x_16); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_246 = lean_ctor_get(x_230, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_230, 1); +lean_inc(x_247); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_248 = x_230; +} else { + lean_dec_ref(x_230); + x_248 = lean_box(0); +} +if (lean_is_scalar(x_248)) { + x_249 = lean_alloc_ctor(1, 2, 0); +} else { + x_249 = x_248; +} +lean_ctor_set(x_249, 0, x_246); +lean_ctor_set(x_249, 1, x_247); +return x_249; +} } else { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_202 = x_33; -} else { - lean_dec_ref(x_33); - x_202 = lean_box(0); -} -x_203 = lean_nat_add(x_196, x_198); -if (lean_is_scalar(x_202)) { - x_204 = lean_alloc_ctor(0, 3, 0); -} else { - x_204 = x_202; -} -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_197); -lean_ctor_set(x_204, 2, x_198); -x_205 = lean_ctor_get(x_35, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_35, 1); -lean_inc(x_206); -x_207 = lean_ctor_get(x_35, 2); -lean_inc(x_207); -x_208 = lean_nat_dec_lt(x_206, x_207); -if (x_208 == 0) -{ -lean_object* x_209; lean_object* x_210; -lean_dec(x_207); +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +lean_dec(x_218); +lean_dec(x_217); +lean_dec(x_214); lean_dec(x_206); -lean_dec(x_205); -lean_dec(x_196); -lean_dec(x_22); -x_209 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_209, 0, x_204); -lean_ctor_set(x_209, 1, x_195); -lean_ctor_set(x_14, 1, x_209); -x_210 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_210, 0, x_14); -x_23 = x_210; -x_24 = x_19; -goto block_31; +lean_dec(x_198); +lean_dec(x_197); +lean_free_object(x_16); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_250 = lean_ctor_get(x_225, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_225, 1); +lean_inc(x_251); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_252 = x_225; +} else { + lean_dec_ref(x_225); + x_252 = lean_box(0); +} +if (lean_is_scalar(x_252)) { + x_253 = lean_alloc_ctor(1, 2, 0); +} else { + x_253 = x_252; +} +lean_ctor_set(x_253, 0, x_250); +lean_ctor_set(x_253, 1, x_251); +return x_253; +} } else { -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_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; +lean_dec(x_218); +lean_dec(x_217); +lean_dec(x_214); +lean_dec(x_206); +lean_dec(x_198); +lean_dec(x_197); +lean_free_object(x_16); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_254 = lean_ctor_get(x_220, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_220, 1); +lean_inc(x_255); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + x_256 = x_220; +} else { + lean_dec_ref(x_220); + x_256 = lean_box(0); +} +if (lean_is_scalar(x_256)) { + x_257 = lean_alloc_ctor(1, 2, 0); +} else { + x_257 = x_256; +} +lean_ctor_set(x_257, 0, x_254); +lean_ctor_set(x_257, 1, x_255); +return x_257; +} +} +} +} +} +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; +x_258 = lean_ctor_get(x_16, 0); +lean_inc(x_258); +lean_dec(x_16); +x_259 = lean_ctor_get(x_34, 1); +lean_inc(x_259); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_260 = x_34; +} else { + lean_dec_ref(x_34); + x_260 = lean_box(0); +} +x_261 = lean_ctor_get(x_35, 0); +lean_inc(x_261); +x_262 = lean_ctor_get(x_35, 1); +lean_inc(x_262); +x_263 = lean_ctor_get(x_35, 2); +lean_inc(x_263); +x_264 = lean_nat_dec_lt(x_261, x_262); +if (x_264 == 0) +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_263); +lean_dec(x_262); +lean_dec(x_261); +lean_dec(x_24); +if (lean_is_scalar(x_260)) { + x_265 = lean_alloc_ctor(0, 2, 0); +} else { + x_265 = x_260; +} +lean_ctor_set(x_265, 0, x_35); +lean_ctor_set(x_265, 1, x_259); +x_266 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_266, 0, x_258); +lean_ctor_set(x_266, 1, x_265); +x_267 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_267, 0, x_266); +x_25 = x_267; +x_26 = x_21; +goto block_33; +} +else +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; uint8_t x_274; if (lean_is_exclusive(x_35)) { lean_ctor_release(x_35, 0); lean_ctor_release(x_35, 1); lean_ctor_release(x_35, 2); - x_211 = x_35; + x_268 = x_35; } else { lean_dec_ref(x_35); - x_211 = lean_box(0); + x_268 = lean_box(0); } -x_212 = lean_array_fget(x_205, x_206); -x_213 = lean_unsigned_to_nat(1u); -x_214 = lean_nat_add(x_206, x_213); -lean_dec(x_206); -if (lean_is_scalar(x_211)) { - x_215 = lean_alloc_ctor(0, 3, 0); +x_269 = lean_nat_add(x_261, x_263); +if (lean_is_scalar(x_268)) { + x_270 = lean_alloc_ctor(0, 3, 0); } else { - x_215 = x_211; + x_270 = x_268; } -lean_ctor_set(x_215, 0, x_205); -lean_ctor_set(x_215, 1, x_214); -lean_ctor_set(x_215, 2, x_207); -x_216 = lean_ctor_get(x_22, 1); -lean_inc(x_216); -x_217 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_262); +lean_ctor_set(x_270, 2, x_263); +x_271 = lean_ctor_get(x_258, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_258, 1); +lean_inc(x_272); +x_273 = lean_ctor_get(x_258, 2); +lean_inc(x_273); +x_274 = lean_nat_dec_lt(x_272, x_273); +if (x_274 == 0) +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; +lean_dec(x_273); +lean_dec(x_272); +lean_dec(x_271); +lean_dec(x_261); +lean_dec(x_24); +if (lean_is_scalar(x_260)) { + x_275 = lean_alloc_ctor(0, 2, 0); +} else { + x_275 = x_260; +} +lean_ctor_set(x_275, 0, x_270); +lean_ctor_set(x_275, 1, x_259); +x_276 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_276, 0, x_258); +lean_ctor_set(x_276, 1, x_275); +x_277 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_277, 0, x_276); +x_25 = x_277; +x_26 = x_21; +goto block_33; +} +else +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +if (lean_is_exclusive(x_258)) { + lean_ctor_release(x_258, 0); + lean_ctor_release(x_258, 1); + lean_ctor_release(x_258, 2); + x_278 = x_258; +} else { + lean_dec_ref(x_258); + x_278 = lean_box(0); +} +x_279 = lean_array_fget(x_271, x_272); +x_280 = lean_unsigned_to_nat(1u); +x_281 = lean_nat_add(x_272, x_280); +lean_dec(x_272); +if (lean_is_scalar(x_278)) { + x_282 = lean_alloc_ctor(0, 3, 0); +} else { + x_282 = x_278; +} +lean_ctor_set(x_282, 0, x_271); +lean_ctor_set(x_282, 1, x_281); +lean_ctor_set(x_282, 2, x_273); +lean_inc(x_3); +x_283 = lean_array_get(x_3, x_4, x_261); +x_284 = lean_ctor_get(x_24, 1); +lean_inc(x_284); +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_218 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_3, x_217, x_216, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_218) == 0) -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; lean_object* x_223; -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; -x_222 = 0; -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_223 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_219, x_221, x_222, x_15, x_16, x_17, x_18, x_220); -if (lean_obj_tag(x_223) == 0) -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 1); -lean_inc(x_225); -lean_dec(x_223); -x_226 = lean_ctor_get(x_22, 0); -lean_inc(x_226); -lean_dec(x_22); -x_227 = lean_ctor_get(x_226, 2); -lean_inc(x_227); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_228 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_3, x_217, x_227, x_15, x_16, x_17, x_18, x_225); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec(x_228); -x_231 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_231, 0, x_224); -x_232 = lean_box_usize(x_1); -lean_inc(x_7); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_4); lean_inc(x_5); -lean_inc(x_6); -x_233 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___boxed), 17, 10); -lean_closure_set(x_233, 0, x_212); -lean_closure_set(x_233, 1, x_196); -lean_closure_set(x_233, 2, x_6); -lean_closure_set(x_233, 3, x_5); -lean_closure_set(x_233, 4, x_4); -lean_closure_set(x_233, 5, x_8); -lean_closure_set(x_233, 6, x_9); -lean_closure_set(x_233, 7, x_7); -lean_closure_set(x_233, 8, x_226); -lean_closure_set(x_233, 9, x_232); +lean_inc(x_283); +x_285 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_283, x_284, x_5, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_285) == 0) +{ +lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; lean_object* x_290; +x_286 = lean_ctor_get(x_285, 0); +lean_inc(x_286); +x_287 = lean_ctor_get(x_285, 1); +lean_inc(x_287); +lean_dec(x_285); +x_288 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; +x_289 = 0; +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_234 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_229, x_231, x_233, x_222, x_15, x_16, x_17, x_18, x_230); -if (lean_obj_tag(x_234) == 0) +x_290 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_286, x_288, x_289, x_17, x_18, x_19, x_20, x_287); +if (lean_obj_tag(x_290) == 0) { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_234, 1); -lean_inc(x_236); -lean_dec(x_234); -x_237 = lean_array_push(x_195, x_235); -x_238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_238, 0, x_204); -lean_ctor_set(x_238, 1, x_237); -lean_ctor_set(x_14, 1, x_238); -lean_ctor_set(x_14, 0, x_215); -x_239 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_239, 0, x_14); -x_23 = x_239; -x_24 = x_236; -goto block_31; +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_291 = lean_ctor_get(x_290, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_290, 1); +lean_inc(x_292); +lean_dec(x_290); +x_293 = lean_ctor_get(x_24, 0); +lean_inc(x_293); +lean_dec(x_24); +x_294 = lean_ctor_get(x_293, 2); +lean_inc(x_294); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_5); +x_295 = l_Lean_Elab_FixedParamPerm_instantiateForall(x_283, x_294, x_5, x_17, x_18, x_19, x_20, x_292); +if (lean_obj_tag(x_295) == 0) +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_296 = lean_ctor_get(x_295, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_295, 1); +lean_inc(x_297); +lean_dec(x_295); +x_298 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_298, 0, x_291); +x_299 = lean_box_usize(x_1); +lean_inc(x_9); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_7); +lean_inc(x_8); +x_300 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___boxed), 17, 10); +lean_closure_set(x_300, 0, x_279); +lean_closure_set(x_300, 1, x_261); +lean_closure_set(x_300, 2, x_8); +lean_closure_set(x_300, 3, x_7); +lean_closure_set(x_300, 4, x_6); +lean_closure_set(x_300, 5, x_10); +lean_closure_set(x_300, 6, x_11); +lean_closure_set(x_300, 7, x_9); +lean_closure_set(x_300, 8, x_293); +lean_closure_set(x_300, 9, x_299); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_301 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_296, x_298, x_300, x_289, x_17, x_18, x_19, x_20, x_297); +if (lean_obj_tag(x_301) == 0) +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_301, 1); +lean_inc(x_303); +lean_dec(x_301); +x_304 = lean_array_push(x_259, x_302); +if (lean_is_scalar(x_260)) { + x_305 = lean_alloc_ctor(0, 2, 0); +} else { + x_305 = x_260; +} +lean_ctor_set(x_305, 0, x_270); +lean_ctor_set(x_305, 1, x_304); +x_306 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_306, 0, x_282); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_307, 0, x_306); +x_25 = x_307; +x_26 = x_303; +goto block_33; } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -lean_dec(x_215); -lean_dec(x_204); -lean_dec(x_195); -lean_free_object(x_14); +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +lean_dec(x_282); +lean_dec(x_270); +lean_dec(x_260); +lean_dec(x_259); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_240 = lean_ctor_get(x_234, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_234, 1); -lean_inc(x_241); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - x_242 = x_234; +lean_dec(x_3); +x_308 = lean_ctor_get(x_301, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_301, 1); +lean_inc(x_309); +if (lean_is_exclusive(x_301)) { + lean_ctor_release(x_301, 0); + lean_ctor_release(x_301, 1); + x_310 = x_301; } else { - lean_dec_ref(x_234); - x_242 = lean_box(0); + lean_dec_ref(x_301); + x_310 = lean_box(0); } -if (lean_is_scalar(x_242)) { - x_243 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_310)) { + x_311 = lean_alloc_ctor(1, 2, 0); } else { - x_243 = x_242; + x_311 = x_310; } -lean_ctor_set(x_243, 0, x_240); -lean_ctor_set(x_243, 1, x_241); -return x_243; +lean_ctor_set(x_311, 0, x_308); +lean_ctor_set(x_311, 1, x_309); +return x_311; } } else { -lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -lean_dec(x_226); -lean_dec(x_224); -lean_dec(x_215); -lean_dec(x_212); -lean_dec(x_204); -lean_dec(x_196); -lean_dec(x_195); -lean_free_object(x_14); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_244 = lean_ctor_get(x_228, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_228, 1); -lean_inc(x_245); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_246 = x_228; -} else { - lean_dec_ref(x_228); - x_246 = lean_box(0); -} -if (lean_is_scalar(x_246)) { - x_247 = lean_alloc_ctor(1, 2, 0); -} else { - x_247 = x_246; -} -lean_ctor_set(x_247, 0, x_244); -lean_ctor_set(x_247, 1, x_245); -return x_247; -} -} -else -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -lean_dec(x_215); -lean_dec(x_212); -lean_dec(x_204); -lean_dec(x_196); -lean_dec(x_195); -lean_free_object(x_14); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_248 = lean_ctor_get(x_223, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_223, 1); -lean_inc(x_249); -if (lean_is_exclusive(x_223)) { - lean_ctor_release(x_223, 0); - lean_ctor_release(x_223, 1); - x_250 = x_223; -} else { - lean_dec_ref(x_223); - x_250 = lean_box(0); -} -if (lean_is_scalar(x_250)) { - x_251 = lean_alloc_ctor(1, 2, 0); -} else { - x_251 = x_250; -} -lean_ctor_set(x_251, 0, x_248); -lean_ctor_set(x_251, 1, x_249); -return x_251; -} -} -else -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; -lean_dec(x_215); -lean_dec(x_212); -lean_dec(x_204); -lean_dec(x_196); -lean_dec(x_195); -lean_free_object(x_14); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_252 = lean_ctor_get(x_218, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_218, 1); -lean_inc(x_253); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_254 = x_218; -} else { - lean_dec_ref(x_218); - x_254 = lean_box(0); -} -if (lean_is_scalar(x_254)) { - x_255 = lean_alloc_ctor(1, 2, 0); -} else { - x_255 = x_254; -} -lean_ctor_set(x_255, 0, x_252); -lean_ctor_set(x_255, 1, x_253); -return x_255; -} -} -} -} -} -else -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_256 = lean_ctor_get(x_14, 0); -lean_inc(x_256); -lean_dec(x_14); -x_257 = lean_ctor_get(x_32, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_258 = x_32; -} else { - lean_dec_ref(x_32); - x_258 = lean_box(0); -} -x_259 = lean_ctor_get(x_33, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_33, 1); -lean_inc(x_260); -x_261 = lean_ctor_get(x_33, 2); -lean_inc(x_261); -x_262 = lean_nat_dec_lt(x_259, x_260); -if (x_262 == 0) -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; +lean_dec(x_293); +lean_dec(x_291); +lean_dec(x_282); +lean_dec(x_279); +lean_dec(x_270); lean_dec(x_261); lean_dec(x_260); lean_dec(x_259); -lean_dec(x_22); -if (lean_is_scalar(x_258)) { - x_263 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +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); +x_312 = lean_ctor_get(x_295, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_295, 1); +lean_inc(x_313); +if (lean_is_exclusive(x_295)) { + lean_ctor_release(x_295, 0); + lean_ctor_release(x_295, 1); + x_314 = x_295; } else { - x_263 = x_258; + lean_dec_ref(x_295); + x_314 = lean_box(0); +} +if (lean_is_scalar(x_314)) { + x_315 = lean_alloc_ctor(1, 2, 0); +} else { + x_315 = x_314; +} +lean_ctor_set(x_315, 0, x_312); +lean_ctor_set(x_315, 1, x_313); +return x_315; } -lean_ctor_set(x_263, 0, x_33); -lean_ctor_set(x_263, 1, x_257); -x_264 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_264, 0, x_256); -lean_ctor_set(x_264, 1, x_263); -x_265 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_265, 0, x_264); -x_23 = x_265; -x_24 = x_19; -goto block_31; } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_266 = x_33; -} else { - lean_dec_ref(x_33); - x_266 = lean_box(0); -} -x_267 = lean_nat_add(x_259, x_261); -if (lean_is_scalar(x_266)) { - x_268 = lean_alloc_ctor(0, 3, 0); -} else { - x_268 = x_266; -} -lean_ctor_set(x_268, 0, x_267); -lean_ctor_set(x_268, 1, x_260); -lean_ctor_set(x_268, 2, x_261); -x_269 = lean_ctor_get(x_256, 0); -lean_inc(x_269); -x_270 = lean_ctor_get(x_256, 1); -lean_inc(x_270); -x_271 = lean_ctor_get(x_256, 2); -lean_inc(x_271); -x_272 = lean_nat_dec_lt(x_270, x_271); -if (x_272 == 0) -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; -lean_dec(x_271); -lean_dec(x_270); -lean_dec(x_269); -lean_dec(x_259); -lean_dec(x_22); -if (lean_is_scalar(x_258)) { - x_273 = lean_alloc_ctor(0, 2, 0); -} else { - x_273 = x_258; -} -lean_ctor_set(x_273, 0, x_268); -lean_ctor_set(x_273, 1, x_257); -x_274 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_274, 0, x_256); -lean_ctor_set(x_274, 1, x_273); -x_275 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_275, 0, x_274); -x_23 = x_275; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - lean_ctor_release(x_256, 2); - x_276 = x_256; -} else { - lean_dec_ref(x_256); - x_276 = lean_box(0); -} -x_277 = lean_array_fget(x_269, x_270); -x_278 = lean_unsigned_to_nat(1u); -x_279 = lean_nat_add(x_270, x_278); -lean_dec(x_270); -if (lean_is_scalar(x_276)) { - x_280 = lean_alloc_ctor(0, 3, 0); -} else { - x_280 = x_276; -} -lean_ctor_set(x_280, 0, x_269); -lean_ctor_set(x_280, 1, x_279); -lean_ctor_set(x_280, 2, x_271); -x_281 = lean_ctor_get(x_22, 1); -lean_inc(x_281); -x_282 = lean_unsigned_to_nat(0u); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_283 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_3, x_282, x_281, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_283) == 0) -{ -lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; lean_object* x_288; -x_284 = lean_ctor_get(x_283, 0); -lean_inc(x_284); -x_285 = lean_ctor_get(x_283, 1); -lean_inc(x_285); +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_dec(x_283); -x_286 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; -x_287 = 0; -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_288 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_284, x_286, x_287, x_15, x_16, x_17, x_18, x_285); -if (lean_obj_tag(x_288) == 0) -{ -lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_289 = lean_ctor_get(x_288, 0); -lean_inc(x_289); -x_290 = lean_ctor_get(x_288, 1); -lean_inc(x_290); -lean_dec(x_288); -x_291 = lean_ctor_get(x_22, 0); -lean_inc(x_291); -lean_dec(x_22); -x_292 = lean_ctor_get(x_291, 2); -lean_inc(x_292); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_293 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_3, x_282, x_292, x_15, x_16, x_17, x_18, x_290); -if (lean_obj_tag(x_293) == 0) -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_293, 1); -lean_inc(x_295); -lean_dec(x_293); -x_296 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_296, 0, x_289); -x_297 = lean_box_usize(x_1); -lean_inc(x_7); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_5); -lean_inc(x_6); -x_298 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___boxed), 17, 10); -lean_closure_set(x_298, 0, x_277); -lean_closure_set(x_298, 1, x_259); -lean_closure_set(x_298, 2, x_6); -lean_closure_set(x_298, 3, x_5); -lean_closure_set(x_298, 4, x_4); -lean_closure_set(x_298, 5, x_8); -lean_closure_set(x_298, 6, x_9); -lean_closure_set(x_298, 7, x_7); -lean_closure_set(x_298, 8, x_291); -lean_closure_set(x_298, 9, x_297); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_299 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(x_294, x_296, x_298, x_287, x_15, x_16, x_17, x_18, x_295); -if (lean_obj_tag(x_299) == 0) -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); -lean_inc(x_301); -lean_dec(x_299); -x_302 = lean_array_push(x_257, x_300); -if (lean_is_scalar(x_258)) { - x_303 = lean_alloc_ctor(0, 2, 0); -} else { - x_303 = x_258; -} -lean_ctor_set(x_303, 0, x_268); -lean_ctor_set(x_303, 1, x_302); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_280); -lean_ctor_set(x_304, 1, x_303); -x_305 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_305, 0, x_304); -x_23 = x_305; -x_24 = x_301; -goto block_31; -} -else -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -lean_dec(x_280); -lean_dec(x_268); -lean_dec(x_258); -lean_dec(x_257); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_306 = lean_ctor_get(x_299, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_299, 1); -lean_inc(x_307); -if (lean_is_exclusive(x_299)) { - lean_ctor_release(x_299, 0); - lean_ctor_release(x_299, 1); - x_308 = x_299; -} else { - lean_dec_ref(x_299); - x_308 = lean_box(0); -} -if (lean_is_scalar(x_308)) { - x_309 = lean_alloc_ctor(1, 2, 0); -} else { - x_309 = x_308; -} -lean_ctor_set(x_309, 0, x_306); -lean_ctor_set(x_309, 1, x_307); -return x_309; -} -} -else -{ -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; -lean_dec(x_291); -lean_dec(x_289); -lean_dec(x_280); -lean_dec(x_277); -lean_dec(x_268); +lean_dec(x_282); +lean_dec(x_279); +lean_dec(x_270); +lean_dec(x_261); +lean_dec(x_260); lean_dec(x_259); -lean_dec(x_258); -lean_dec(x_257); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_310 = lean_ctor_get(x_293, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_293, 1); -lean_inc(x_311); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_312 = x_293; +lean_dec(x_3); +x_316 = lean_ctor_get(x_290, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_290, 1); +lean_inc(x_317); +if (lean_is_exclusive(x_290)) { + lean_ctor_release(x_290, 0); + lean_ctor_release(x_290, 1); + x_318 = x_290; } else { - lean_dec_ref(x_293); - x_312 = lean_box(0); + lean_dec_ref(x_290); + x_318 = lean_box(0); } -if (lean_is_scalar(x_312)) { - x_313 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_318)) { + x_319 = lean_alloc_ctor(1, 2, 0); } else { - x_313 = x_312; + x_319 = x_318; } -lean_ctor_set(x_313, 0, x_310); -lean_ctor_set(x_313, 1, x_311); -return x_313; +lean_ctor_set(x_319, 0, x_316); +lean_ctor_set(x_319, 1, x_317); +return x_319; } } else { -lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -lean_dec(x_280); -lean_dec(x_277); -lean_dec(x_268); +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +lean_dec(x_283); +lean_dec(x_282); +lean_dec(x_279); +lean_dec(x_270); +lean_dec(x_261); +lean_dec(x_260); lean_dec(x_259); -lean_dec(x_258); -lean_dec(x_257); -lean_dec(x_22); +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_314 = lean_ctor_get(x_288, 0); -lean_inc(x_314); -x_315 = lean_ctor_get(x_288, 1); -lean_inc(x_315); -if (lean_is_exclusive(x_288)) { - lean_ctor_release(x_288, 0); - lean_ctor_release(x_288, 1); - x_316 = x_288; +lean_dec(x_3); +x_320 = lean_ctor_get(x_285, 0); +lean_inc(x_320); +x_321 = lean_ctor_get(x_285, 1); +lean_inc(x_321); +if (lean_is_exclusive(x_285)) { + lean_ctor_release(x_285, 0); + lean_ctor_release(x_285, 1); + x_322 = x_285; } else { - lean_dec_ref(x_288); - x_316 = lean_box(0); + lean_dec_ref(x_285); + x_322 = lean_box(0); } -if (lean_is_scalar(x_316)) { - x_317 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_322)) { + x_323 = lean_alloc_ctor(1, 2, 0); } else { - x_317 = x_316; + x_323 = x_322; } -lean_ctor_set(x_317, 0, x_314); -lean_ctor_set(x_317, 1, x_315); -return x_317; +lean_ctor_set(x_323, 0, x_320); +lean_ctor_set(x_323, 1, x_321); +return x_323; } } -else +} +} +block_33: { -lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; -lean_dec(x_280); -lean_dec(x_277); -lean_dec(x_268); -lean_dec(x_259); -lean_dec(x_258); -lean_dec(x_257); -lean_dec(x_22); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +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); -x_318 = lean_ctor_get(x_283, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_283, 1); -lean_inc(x_319); -if (lean_is_exclusive(x_283)) { - lean_ctor_release(x_283, 0); - lean_ctor_release(x_283, 1); - x_320 = x_283; -} else { - lean_dec_ref(x_283); - x_320 = lean_box(0); -} -if (lean_is_scalar(x_320)) { - x_321 = lean_alloc_ctor(1, 2, 0); -} else { - x_321 = x_320; -} -lean_ctor_set(x_321, 0, x_318); -lean_ctor_set(x_321, 1, x_319); -return x_321; -} -} -} -} -block_31: -{ -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(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_24); -return x_26; -} -else -{ -lean_object* x_27; size_t x_28; size_t x_29; -x_27 = lean_ctor_get(x_23, 0); +lean_dec(x_3); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); -lean_dec(x_23); -x_28 = 1; -x_29 = lean_usize_add(x_13, x_28); -x_13 = x_29; -x_14 = x_27; -x_19 = x_24; +lean_dec(x_25); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +else +{ +lean_object* x_29; size_t x_30; size_t x_31; +x_29 = lean_ctor_get(x_25, 0); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 1; +x_31 = lean_usize_add(x_15, x_30); +x_15 = x_31; +x_16 = x_29; +x_21 = x_26; goto _start; } } } } } +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21(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; lean_object* x_9; uint8_t x_10; size_t x_11; size_t x_12; +x_7 = lean_array_uget(x_2, x_3); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +x_9 = l_Lean_Expr_fvarId_x21(x_8); +lean_dec(x_8); +x_10 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_9); +lean_dec(x_9); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +if (x_10 == 0) +{ +lean_object* x_13; +x_13 = lean_array_push(x_5, x_7); +x_3 = x_12; +x_5 = x_13; +goto _start; +} +else +{ +lean_dec(x_7); +x_3 = x_12; +goto _start; +} +} +else +{ +return x_5; +} +} +} LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__22(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { _start: { @@ -68808,45 +69475,7 @@ return x_5; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24(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; lean_object* x_9; uint8_t x_10; size_t x_11; size_t x_12; -x_7 = lean_array_uget(x_2, x_3); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -x_9 = l_Lean_Expr_fvarId_x21(x_8); -lean_dec(x_8); -x_10 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_9); -lean_dec(x_9); -x_11 = 1; -x_12 = lean_usize_add(x_3, x_11); -if (x_10 == 0) -{ -lean_object* x_13; -x_13 = lean_array_push(x_5, x_7); -x_3 = x_12; -x_5 = x_13; -goto _start; -} -else -{ -lean_dec(x_7); -x_3 = x_12; -goto _start; -} -} -else -{ -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21(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_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; uint8_t x_16; @@ -68895,7 +69524,7 @@ x_22 = 0; x_23 = lean_usize_of_nat(x_15); lean_dec(x_15); x_24 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_25 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__22(x_1, x_10, x_22, x_23, x_24); +x_25 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21(x_1, x_10, x_22, x_23, x_24); lean_dec(x_10); x_26 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__2___rarg(x_8, x_25, x_2, x_3, x_4, x_5, x_6, x_11); return x_26; @@ -68938,7 +69567,7 @@ x_33 = 0; x_34 = lean_usize_of_nat(x_15); lean_dec(x_15); x_35 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_36 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__23(x_1, x_10, x_33, x_34, x_35); +x_36 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__22(x_1, x_10, x_33, x_34, x_35); lean_dec(x_10); x_37 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__2___rarg(x_8, x_36, x_2, x_3, x_4, x_5, x_6, x_11); return x_37; @@ -68980,7 +69609,7 @@ size_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; x_46 = lean_usize_of_nat(x_15); lean_dec(x_15); x_47 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; -x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24(x_1, x_10, x_38, x_46, x_47); +x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__23(x_1, x_10, x_38, x_46, x_47); lean_dec(x_10); x_49 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__2___rarg(x_40, x_48, x_2, x_3, x_4, x_5, x_6, x_11); return x_49; @@ -68990,7 +69619,7 @@ return x_49; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -69013,7 +69642,7 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint x_11 = lean_array_uget(x_3, x_2); x_12 = lean_unsigned_to_nat(0u); x_13 = lean_array_uset(x_3, x_2, x_12); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; +x_14 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; x_15 = 0; lean_inc(x_7); lean_inc(x_6); @@ -69066,6 +69695,57 @@ return x_26; } } } +LEAN_EXPORT lean_object* l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_PreDefinition_FixedParams_0__Lean_Elab_FixedParamPerm_forallTelescopeImpl___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__26(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { @@ -69215,122 +69895,123 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, size_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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { _start: { -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_20 = lean_array_get_size(x_1); -x_21 = lean_unsigned_to_nat(0u); -x_22 = l_Array_toSubarray___rarg(x_1, x_21, x_20); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_2); -lean_ctor_set(x_24, 2, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_3); +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; size_t x_28; lean_object* x_29; +x_21 = lean_array_get_size(x_1); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Array_toSubarray___rarg(x_1, x_22, x_21); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_2); +lean_ctor_set(x_25, 2, x_24); x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_22); -lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_array_size(x_4); +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); -x_27 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_14, x_12, x_5, x_13, x_4, x_26, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_27) == 0) +x_29 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19(x_5, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_15, x_14, x_4, x_28, x_5, x_27, x_16, x_17, x_18, x_19, x_20); +if (lean_obj_tag(x_29) == 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; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -x_30 = lean_ctor_get(x_27, 1); +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_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -lean_dec(x_27); -x_31 = lean_ctor_get(x_29, 1); +x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); lean_dec(x_29); -x_32 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__2; +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__2; +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); -lean_inc(x_15); -x_33 = l_Lean_Meta_PProdN_mk(x_32, x_31, x_15, x_16, x_17, x_18, x_30); -if (lean_obj_tag(x_33) == 0) +x_35 = l_Lean_Meta_PProdN_mk(x_34, x_33, x_16, x_17, x_18, x_19, x_32); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; uint8_t 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); -lean_dec(x_33); -x_36 = 0; -x_37 = 1; -x_38 = 1; -x_39 = l_Lean_Meta_mkLambdaFVars(x_14, x_34, x_36, x_37, x_36, x_38, x_15, x_16, x_17, x_18, x_35); +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 0; +x_39 = 1; +x_40 = 1; +x_41 = l_Lean_Meta_mkLambdaFVars(x_15, x_36, x_38, x_39, x_38, x_40, x_16, x_17, x_18, x_19, x_37); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -return x_39; +return x_41; } else { -uint8_t x_40; +uint8_t x_42; +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -x_40 = !lean_is_exclusive(x_33); -if (x_40 == 0) +x_42 = !lean_is_exclusive(x_35); +if (x_42 == 0) { -return x_33; +return x_35; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_33, 0); -x_42 = lean_ctor_get(x_33, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_33); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_35, 0); +x_44 = lean_ctor_get(x_35, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_35); +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; } } } else { -uint8_t x_44; +uint8_t x_46; +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -x_44 = !lean_is_exclusive(x_27); -if (x_44 == 0) +x_46 = !lean_is_exclusive(x_29); +if (x_46 == 0) { -return x_27; +return x_29; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_27, 0); -x_46 = lean_ctor_get(x_27, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_27); -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; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_29, 0); +x_48 = lean_ctor_get(x_29, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_29); +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; } } } @@ -69386,20 +70067,19 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, size_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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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, 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) { _start: { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_box_usize(x_4); -x_26 = lean_box_usize(x_13); -lean_inc(x_10); -lean_inc(x_6); -x_27 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4___boxed), 19, 13); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_box_usize(x_5); +lean_inc(x_12); +lean_inc(x_8); +x_27 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4___boxed), 20, 14); lean_closure_set(x_27, 0, x_1); lean_closure_set(x_27, 1, x_2); lean_closure_set(x_27, 2, x_3); -lean_closure_set(x_27, 3, x_25); -lean_closure_set(x_27, 4, x_5); +lean_closure_set(x_27, 3, x_4); +lean_closure_set(x_27, 4, x_26); lean_closure_set(x_27, 5, x_6); lean_closure_set(x_27, 6, x_7); lean_closure_set(x_27, 7, x_8); @@ -69407,13 +70087,14 @@ lean_closure_set(x_27, 8, x_9); lean_closure_set(x_27, 9, x_10); lean_closure_set(x_27, 10, x_11); lean_closure_set(x_27, 11, x_12); -lean_closure_set(x_27, 12, x_26); +lean_closure_set(x_27, 12, x_13); +lean_closure_set(x_27, 13, x_14); x_28 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___closed__2; +lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -x_29 = l_Lean_Tactic_FunInd_withLetDecls___rarg(x_28, x_14, x_15, x_27, x_20, x_21, x_22, x_23, x_24); +x_29 = l_Lean_Tactic_FunInd_withLetDecls___rarg(x_28, x_15, x_16, x_27, x_21, x_22, x_23, x_24, x_25); if (lean_obj_tag(x_29) == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; @@ -69423,11 +70104,11 @@ x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); x_32 = l_Lean_instInhabitedExpr; -x_33 = l_Array_back_x21___rarg(x_32, x_16); +x_33 = l_Array_back_x21___rarg(x_32, x_17); x_34 = l_Lean_Expr_fvarId_x21(x_33); lean_dec(x_33); -lean_inc(x_20); -x_35 = l_Lean_FVarId_getDecl(x_34, x_20, x_21, x_22, x_23, x_31); +lean_inc(x_21); +x_35 = l_Lean_FVarId_getDecl(x_34, x_21, x_22, x_23, x_24, x_31); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; @@ -69438,11 +70119,11 @@ lean_inc(x_37); lean_dec(x_35); x_38 = l_Lean_LocalDecl_index(x_36); lean_dec(x_36); +lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -x_39 = l_Lean_Tactic_FunInd_abstractIndependentMVars(x_17, x_38, x_30, x_20, x_21, x_22, x_23, x_37); +x_39 = l_Lean_Tactic_FunInd_abstractIndependentMVars(x_18, x_38, x_30, x_21, x_22, x_23, x_24, x_37); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_object* x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; @@ -69454,7 +70135,7 @@ lean_dec(x_39); x_42 = 0; x_43 = 1; x_44 = 1; -x_45 = l_Lean_Meta_mkLambdaFVars(x_16, x_40, x_42, x_43, x_42, x_44, x_20, x_21, x_22, x_23, x_41); +x_45 = l_Lean_Meta_mkLambdaFVars(x_17, x_40, x_42, x_43, x_42, x_44, x_21, x_22, x_23, x_24, x_41); if (lean_obj_tag(x_45) == 0) { lean_object* x_46; lean_object* x_47; lean_object* x_48; @@ -69463,11 +70144,11 @@ lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); +lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -x_48 = l_Lean_Tactic_FunInd_mkLambdaFVarsMasked(x_6, x_46, x_20, x_21, x_22, x_23, x_47); +x_48 = l_Lean_Tactic_FunInd_mkLambdaFVarsMasked(x_8, x_46, x_21, x_22, x_23, x_24, x_47); if (lean_obj_tag(x_48) == 0) { lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; @@ -69481,15 +70162,15 @@ lean_inc(x_51); x_52 = lean_ctor_get(x_49, 1); lean_inc(x_52); lean_dec(x_49); -x_53 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_52, x_20, x_21, x_22, x_23, x_50); +x_53 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_52, x_21, x_22, x_23, x_24, x_50); x_54 = !lean_is_exclusive(x_53); 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_53, 0); x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_10); -x_57 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_10, x_20, x_21, x_22, x_23, x_56); +lean_inc(x_12); +x_57 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_12, x_21, x_22, x_23, x_24, x_56); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); x_59 = lean_unbox(x_58); @@ -69498,16 +70179,16 @@ if (x_59 == 0) { lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_free_object(x_53); -lean_dec(x_10); +lean_dec(x_12); x_60 = lean_ctor_get(x_57, 1); lean_inc(x_60); lean_dec(x_57); x_61 = lean_box(0); -x_62 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_18, x_55, x_61, x_20, x_21, x_22, x_23, x_60); +x_62 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_19, x_55, x_61, x_21, x_22, x_23, x_24, x_60); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); return x_62; } else @@ -69530,17 +70211,17 @@ x_68 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; lean_ctor_set_tag(x_53, 7); lean_ctor_set(x_53, 1, x_68); lean_ctor_set(x_53, 0, x_57); -x_69 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_10, x_53, x_20, x_21, x_22, x_23, x_64); +x_69 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_12, x_53, x_21, x_22, x_23, x_24, x_64); x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); lean_dec(x_69); -x_72 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_18, x_55, x_70, x_20, x_21, x_22, x_23, x_71); +x_72 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_19, x_55, x_70, x_21, x_22, x_23, x_24, x_71); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); lean_dec(x_70); return x_72; } @@ -69560,17 +70241,17 @@ x_77 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; lean_ctor_set_tag(x_53, 7); lean_ctor_set(x_53, 1, x_77); lean_ctor_set(x_53, 0, x_76); -x_78 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_10, x_53, x_20, x_21, x_22, x_23, x_73); +x_78 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_12, x_53, x_21, x_22, x_23, x_24, x_73); x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); lean_dec(x_78); -x_81 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_18, x_55, x_79, x_20, x_21, x_22, x_23, x_80); +x_81 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_19, x_55, x_79, x_21, x_22, x_23, x_24, x_80); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); lean_dec(x_79); return x_81; } @@ -69584,8 +70265,8 @@ x_83 = lean_ctor_get(x_53, 1); lean_inc(x_83); lean_inc(x_82); lean_dec(x_53); -lean_inc(x_10); -x_84 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_10, x_20, x_21, x_22, x_23, x_83); +lean_inc(x_12); +x_84 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_12, x_21, x_22, x_23, x_24, x_83); x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); x_86 = lean_unbox(x_85); @@ -69593,16 +70274,16 @@ lean_dec(x_85); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_10); +lean_dec(x_12); x_87 = lean_ctor_get(x_84, 1); lean_inc(x_87); lean_dec(x_84); x_88 = lean_box(0); -x_89 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_18, x_82, x_88, x_20, x_21, x_22, x_23, x_87); +x_89 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_19, x_82, x_88, x_21, x_22, x_23, x_24, x_87); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); return x_89; } else @@ -69633,17 +70314,17 @@ x_95 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; x_96 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_10, x_96, x_20, x_21, x_22, x_23, x_90); +x_97 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_12, x_96, x_21, x_22, x_23, x_24, x_90); x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); lean_dec(x_97); -x_100 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_18, x_82, x_98, x_20, x_21, x_22, x_23, x_99); +x_100 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5(x_51, x_19, x_82, x_98, x_21, x_22, x_23, x_24, x_99); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); lean_dec(x_98); return x_100; } @@ -69652,12 +70333,12 @@ return x_100; else { uint8_t x_101; +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -lean_dec(x_10); +lean_dec(x_19); +lean_dec(x_12); x_101 = !lean_is_exclusive(x_48); if (x_101 == 0) { @@ -69681,13 +70362,13 @@ return x_104; else { uint8_t x_105; +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -lean_dec(x_10); -lean_dec(x_6); +lean_dec(x_19); +lean_dec(x_12); +lean_dec(x_8); x_105 = !lean_is_exclusive(x_45); if (x_105 == 0) { @@ -69711,13 +70392,13 @@ return x_108; else { uint8_t x_109; +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -lean_dec(x_10); -lean_dec(x_6); +lean_dec(x_19); +lean_dec(x_12); +lean_dec(x_8); x_109 = !lean_is_exclusive(x_39); if (x_109 == 0) { @@ -69742,14 +70423,14 @@ else { uint8_t x_113; lean_dec(x_30); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_6); +lean_dec(x_12); +lean_dec(x_8); x_113 = !lean_is_exclusive(x_35); if (x_113 == 0) { @@ -69773,14 +70454,14 @@ return x_116; else { uint8_t x_117; +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_6); +lean_dec(x_12); +lean_dec(x_8); x_117 = !lean_is_exclusive(x_29); if (x_117 == 0) { @@ -69827,7 +70508,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___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, size_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, size_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) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___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, size_t 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) { _start: { 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; size_t 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; @@ -69848,23 +70529,30 @@ lean_ctor_set(x_34, 0, x_28); lean_ctor_set(x_34, 1, x_33); x_35 = lean_array_size(x_3); x_36 = lean_box_usize(x_35); -x_37 = lean_box_usize(x_9); -lean_inc(x_8); +x_37 = lean_box_usize(x_12); +lean_inc(x_11); lean_inc(x_3); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_38 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___boxed), 18, 11); +lean_inc(x_4); +x_38 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___boxed), 21, 14); lean_closure_set(x_38, 0, x_4); lean_closure_set(x_38, 1, x_5); lean_closure_set(x_38, 2, x_6); lean_closure_set(x_38, 3, x_7); -lean_closure_set(x_38, 4, x_3); -lean_closure_set(x_38, 5, x_8); -lean_closure_set(x_38, 6, x_31); +lean_closure_set(x_38, 4, x_8); +lean_closure_set(x_38, 5, x_9); +lean_closure_set(x_38, 6, x_10); lean_closure_set(x_38, 7, x_3); -lean_closure_set(x_38, 8, x_36); -lean_closure_set(x_38, 9, x_37); -lean_closure_set(x_38, 10, x_34); +lean_closure_set(x_38, 8, x_11); +lean_closure_set(x_38, 9, x_31); +lean_closure_set(x_38, 10, x_3); +lean_closure_set(x_38, 11, x_36); +lean_closure_set(x_38, 12, x_37); +lean_closure_set(x_38, 13, x_34); x_39 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7___closed__1; x_40 = lean_alloc_closure((void*)(l_StateT_bind___at_Lean_Tactic_FunInd_buildInductionCase___spec__6___rarg), 9, 2); lean_closure_set(x_40, 0, x_38); @@ -69888,8 +70576,8 @@ if (x_44 == 0) lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; x_45 = lean_ctor_get(x_42, 0); x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_8); -x_47 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_8, x_20, x_21, x_22, x_23, x_43); +lean_inc(x_11); +x_47 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_11, x_20, x_21, x_22, x_23, x_43); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -69902,8 +70590,8 @@ x_50 = lean_ctor_get(x_47, 1); lean_inc(x_50); lean_dec(x_47); x_51 = lean_box(0); -x_52 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_10, x_11, x_32, x_9, x_12, x_13, x_14, x_15, x_16, x_8, x_17, x_31, x_18, x_1, x_45, x_6, x_46, x_5, x_51, x_20, x_21, x_22, x_23, x_50); -lean_dec(x_6); +x_52 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_13, x_14, x_32, x_4, x_12, x_5, x_6, x_7, x_15, x_16, x_17, x_11, x_18, x_31, x_1, x_45, x_10, x_46, x_9, x_51, x_20, x_21, x_22, x_23, x_50); +lean_dec(x_10); return x_52; } else @@ -69928,16 +70616,16 @@ x_60 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; lean_ctor_set_tag(x_42, 7); lean_ctor_set(x_42, 1, x_60); lean_ctor_set(x_42, 0, x_47); -lean_inc(x_8); -x_61 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_8, x_42, x_20, x_21, x_22, x_23, x_54); +lean_inc(x_11); +x_61 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_11, x_42, x_20, x_21, x_22, x_23, x_54); x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); x_63 = lean_ctor_get(x_61, 1); lean_inc(x_63); lean_dec(x_61); -x_64 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_10, x_11, x_32, x_9, x_12, x_13, x_14, x_15, x_16, x_8, x_17, x_31, x_18, x_1, x_45, x_6, x_46, x_5, x_62, x_20, x_21, x_22, x_23, x_63); +x_64 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_13, x_14, x_32, x_4, x_12, x_5, x_6, x_7, x_15, x_16, x_17, x_11, x_18, x_31, x_1, x_45, x_10, x_46, x_9, x_62, x_20, x_21, x_22, x_23, x_63); lean_dec(x_62); -lean_dec(x_6); +lean_dec(x_10); return x_64; } else @@ -69958,16 +70646,16 @@ x_71 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; lean_ctor_set_tag(x_42, 7); lean_ctor_set(x_42, 1, x_71); lean_ctor_set(x_42, 0, x_70); -lean_inc(x_8); -x_72 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_8, x_42, x_20, x_21, x_22, x_23, x_65); +lean_inc(x_11); +x_72 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_11, x_42, x_20, x_21, x_22, x_23, x_65); 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 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_10, x_11, x_32, x_9, x_12, x_13, x_14, x_15, x_16, x_8, x_17, x_31, x_18, x_1, x_45, x_6, x_46, x_5, x_73, x_20, x_21, x_22, x_23, x_74); +x_75 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_13, x_14, x_32, x_4, x_12, x_5, x_6, x_7, x_15, x_16, x_17, x_11, x_18, x_31, x_1, x_45, x_10, x_46, x_9, x_73, x_20, x_21, x_22, x_23, x_74); lean_dec(x_73); -lean_dec(x_6); +lean_dec(x_10); return x_75; } } @@ -69980,8 +70668,8 @@ x_77 = lean_ctor_get(x_42, 1); lean_inc(x_77); lean_inc(x_76); lean_dec(x_42); -lean_inc(x_8); -x_78 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_8, x_20, x_21, x_22, x_23, x_43); +lean_inc(x_11); +x_78 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_11, x_20, x_21, x_22, x_23, x_43); x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); x_80 = lean_unbox(x_79); @@ -69993,8 +70681,8 @@ x_81 = lean_ctor_get(x_78, 1); lean_inc(x_81); lean_dec(x_78); x_82 = lean_box(0); -x_83 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_10, x_11, x_32, x_9, x_12, x_13, x_14, x_15, x_16, x_8, x_17, x_31, x_18, x_1, x_76, x_6, x_77, x_5, x_82, x_20, x_21, x_22, x_23, x_81); -lean_dec(x_6); +x_83 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_13, x_14, x_32, x_4, x_12, x_5, x_6, x_7, x_15, x_16, x_17, x_11, x_18, x_31, x_1, x_76, x_10, x_77, x_9, x_82, x_20, x_21, x_22, x_23, x_81); +lean_dec(x_10); return x_83; } else @@ -70027,16 +70715,16 @@ x_91 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; x_92 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_92, 0, x_90); lean_ctor_set(x_92, 1, x_91); -lean_inc(x_8); -x_93 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_8, x_92, x_20, x_21, x_22, x_23, x_84); +lean_inc(x_11); +x_93 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_11, x_92, x_20, x_21, x_22, x_23, x_84); x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); x_95 = lean_ctor_get(x_93, 1); lean_inc(x_95); lean_dec(x_93); -x_96 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_10, x_11, x_32, x_9, x_12, x_13, x_14, x_15, x_16, x_8, x_17, x_31, x_18, x_1, x_76, x_6, x_77, x_5, x_94, x_20, x_21, x_22, x_23, x_95); +x_96 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_13, x_14, x_32, x_4, x_12, x_5, x_6, x_7, x_15, x_16, x_17, x_11, x_18, x_31, x_1, x_76, x_10, x_77, x_9, x_94, x_20, x_21, x_22, x_23, x_95); lean_dec(x_94); -lean_dec(x_6); +lean_dec(x_10); return x_96; } } @@ -70048,17 +70736,19 @@ lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); lean_dec(x_20); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_8); +lean_dec(x_9); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_97 = !lean_is_exclusive(x_41); if (x_97 == 0) @@ -70098,7 +70788,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___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, size_t 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, 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_26) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___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, lean_object* x_13, lean_object* x_14, size_t x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25, lean_object* x_26) { _start: { lean_object* x_27; lean_object* x_28; lean_object* x_29; @@ -70132,7 +70822,7 @@ x_35 = lean_ctor_get(x_32, 1); lean_inc(x_35); lean_dec(x_32); x_36 = lean_box(0); -x_37 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_5, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_1, x_20, x_36, x_22, x_23, x_24, x_25, x_35); +x_37 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_5, x_15, x_16, x_17, x_18, x_19, x_20, x_1, x_36, x_22, x_23, x_24, x_25, x_35); return x_37; } else @@ -70165,7 +70855,7 @@ 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_deriveInductionStructural___lambda__7(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_5, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_1, x_20, x_49, x_22, x_23, x_24, x_25, x_50); +x_51 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_5, x_15, x_16, x_17, x_18, x_19, x_20, x_1, x_49, x_22, x_23, x_24, x_25, x_50); lean_dec(x_49); return x_51; } @@ -70195,7 +70885,7 @@ lean_inc(x_62); x_63 = lean_ctor_get(x_61, 1); lean_inc(x_63); lean_dec(x_61); -x_64 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_5, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_1, x_20, x_62, x_22, x_23, x_24, x_25, x_63); +x_64 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_5, x_15, x_16, x_17, x_18, x_19, x_20, x_1, x_62, x_22, x_23, x_24, x_25, x_63); lean_dec(x_62); return x_64; } @@ -70208,13 +70898,14 @@ lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); -lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -70269,19 +70960,17 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_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) { _start: { -lean_object* x_25; lean_object* x_26; size_t x_27; lean_object* x_28; -lean_inc(x_4); -x_25 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11(x_1, x_2, x_3, x_4); -x_26 = l_Array_zip___rarg(x_19, x_5); +lean_object* x_26; size_t x_27; lean_object* x_28; +x_26 = l_Array_zip___rarg(x_20, x_1); x_27 = lean_array_size(x_26); +lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -x_28 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12(x_27, x_3, x_26, x_20, x_21, x_22, x_23, x_24); +x_28 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11(x_27, x_2, x_26, x_21, x_22, x_23, x_24, x_25); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; @@ -70292,11 +70981,11 @@ lean_inc(x_30); lean_dec(x_28); x_31 = l_Lean_instInhabitedExpr; x_32 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___closed__1; +lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -x_33 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13(x_31, x_32, x_6, x_7, x_29, x_20, x_21, x_22, x_23, x_30); +x_33 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12(x_31, x_32, x_3, x_4, x_29, x_21, x_22, x_23, x_24, x_30); lean_dec(x_29); if (lean_obj_tag(x_33) == 0) { @@ -70306,8 +70995,8 @@ lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -lean_inc(x_8); -x_36 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_8, x_20, x_21, x_22, x_23, x_35); +lean_inc(x_5); +x_36 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_21, x_22, x_23, x_24, x_35); x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); x_38 = lean_unbox(x_37); @@ -70319,7 +71008,7 @@ x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); lean_dec(x_36); x_40 = lean_box(0); -x_41 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(x_34, x_9, x_10, x_11, x_8, x_12, x_13, x_14, x_15, x_19, x_25, x_3, x_5, x_16, x_4, x_1, x_17, x_18, x_6, x_2, x_40, x_20, x_21, x_22, x_23, x_39); +x_41 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(x_34, x_6, x_7, x_8, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_20, x_2, x_1, x_17, x_18, x_19, x_3, x_40, x_21, x_22, x_23, x_24, x_39); return x_41; } else @@ -70345,14 +71034,14 @@ x_50 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; x_51 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_51, 0, x_36); lean_ctor_set(x_51, 1, x_50); -lean_inc(x_8); -x_52 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_8, x_51, x_20, x_21, x_22, x_23, x_43); +lean_inc(x_5); +x_52 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_5, x_51, x_21, x_22, x_23, x_24, x_43); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); lean_dec(x_52); -x_55 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(x_34, x_9, x_10, x_11, x_8, x_12, x_13, x_14, x_15, x_19, x_25, x_3, x_5, x_16, x_4, x_1, x_17, x_18, x_6, x_2, x_53, x_20, x_21, x_22, x_23, x_54); +x_55 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(x_34, x_6, x_7, x_8, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_20, x_2, x_1, x_17, x_18, x_19, x_3, x_53, x_21, x_22, x_23, x_24, x_54); lean_dec(x_53); return x_55; } @@ -70375,14 +71064,14 @@ x_63 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; x_64 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_64, 0, x_62); lean_ctor_set(x_64, 1, x_63); -lean_inc(x_8); -x_65 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_8, x_64, x_20, x_21, x_22, x_23, x_56); +lean_inc(x_5); +x_65 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_5, x_64, x_21, x_22, x_23, x_24, x_56); x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -x_68 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(x_34, x_9, x_10, x_11, x_8, x_12, x_13, x_14, x_15, x_19, x_25, x_3, x_5, x_16, x_4, x_1, x_17, x_18, x_6, x_2, x_66, x_20, x_21, x_22, x_23, x_67); +x_68 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(x_34, x_6, x_7, x_8, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_20, x_2, x_1, x_17, x_18, x_19, x_3, x_66, x_21, x_22, x_23, x_24, x_67); lean_dec(x_66); return x_68; } @@ -70391,7 +71080,7 @@ return x_68; else { uint8_t x_69; -lean_dec(x_25); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); @@ -70406,10 +71095,11 @@ 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_6); +lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_69 = !lean_is_exclusive(x_33); if (x_69 == 0) @@ -70434,7 +71124,7 @@ return x_72; else { uint8_t x_73; -lean_dec(x_25); +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); @@ -70449,10 +71139,11 @@ 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_6); +lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_73 = !lean_is_exclusive(x_28); if (x_73 == 0) @@ -70475,140 +71166,91 @@ return x_76; } } } -static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_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) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1; -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedExpr; -x_2 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___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_Tactic_FunInd_deriveInductionStructural___lambda__10(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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) { -_start: -{ -lean_object* x_22; -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_5); -lean_inc(x_2); -x_22 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9(x_1, x_2, x_3, x_4, x_5, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_22, 0); +lean_object* x_25; lean_object* x_26; +x_25 = lean_unsigned_to_nat(0u); lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); +lean_inc(x_22); +lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); -x_25 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10(x_1, x_3, x_4, x_5, x_17, x_18, x_19, x_20, x_24); -if (lean_obj_tag(x_25) == 0) +lean_inc(x_4); +lean_inc(x_2); +x_26 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9(x_1, x_2, x_3, x_4, x_5, x_1, x_6, x_25, lean_box(0), x_7, x_20, x_21, x_22, x_23, x_24); +if (lean_obj_tag(x_26) == 0) { -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_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_array_get_size(x_5); +x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); -x_29 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2___boxed), 2, 1); -lean_closure_set(x_29, 0, x_28); -x_30 = l_Array_ofFn___rarg(x_28, x_29); -x_31 = l_Array_zip___rarg(x_30, x_23); -lean_dec(x_23); -lean_dec(x_30); -x_32 = lean_box_usize(x_3); -x_33 = lean_box_usize(x_4); -x_34 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___boxed), 24, 18); -lean_closure_set(x_34, 0, x_1); -lean_closure_set(x_34, 1, x_32); -lean_closure_set(x_34, 2, x_33); -lean_closure_set(x_34, 3, x_5); -lean_closure_set(x_34, 4, x_6); -lean_closure_set(x_34, 5, x_7); -lean_closure_set(x_34, 6, x_8); -lean_closure_set(x_34, 7, x_9); -lean_closure_set(x_34, 8, x_10); -lean_closure_set(x_34, 9, x_11); -lean_closure_set(x_34, 10, x_12); -lean_closure_set(x_34, 11, x_13); -lean_closure_set(x_34, 12, x_14); -lean_closure_set(x_34, 13, x_2); -lean_closure_set(x_34, 14, x_26); -lean_closure_set(x_34, 15, x_28); -lean_closure_set(x_34, 16, x_15); -lean_closure_set(x_34, 17, x_16); -x_35 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__2; -x_36 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__5___rarg(x_35, x_31, x_34, x_17, x_18, x_19, x_20, x_27); -return x_36; -} -else +lean_dec(x_26); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_6); +lean_inc(x_4); +lean_inc(x_2); +x_29 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10(x_1, x_2, x_3, x_4, x_1, x_6, x_25, lean_box(0), x_7, x_20, x_21, x_22, x_23, x_28); +if (lean_obj_tag(x_29) == 0) { -uint8_t x_37; -lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_37 = !lean_is_exclusive(x_25); -if (x_37 == 0) -{ -return x_25; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_25, 0); -x_39 = lean_ctor_get(x_25, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_25); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); +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_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +lean_inc(x_6); +x_32 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2___boxed), 2, 1); +lean_closure_set(x_32, 0, x_6); +x_33 = l_Array_ofFn___rarg(x_6, x_32); +lean_inc_n(x_2, 2); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_2); +x_35 = l_Lean_instInhabitedExpr; +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Array_zip___rarg(x_33, x_27); +lean_dec(x_27); +lean_dec(x_33); +x_38 = lean_box_usize(x_9); +x_39 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___boxed), 25, 19); +lean_closure_set(x_39, 0, x_8); +lean_closure_set(x_39, 1, x_38); +lean_closure_set(x_39, 2, x_10); +lean_closure_set(x_39, 3, x_11); +lean_closure_set(x_39, 4, x_12); +lean_closure_set(x_39, 5, x_13); +lean_closure_set(x_39, 6, x_14); +lean_closure_set(x_39, 7, x_15); +lean_closure_set(x_39, 8, x_16); +lean_closure_set(x_39, 9, x_17); +lean_closure_set(x_39, 10, x_1); +lean_closure_set(x_39, 11, x_2); +lean_closure_set(x_39, 12, x_3); +lean_closure_set(x_39, 13, x_4); +lean_closure_set(x_39, 14, x_5); +lean_closure_set(x_39, 15, x_30); +lean_closure_set(x_39, 16, x_6); +lean_closure_set(x_39, 17, x_18); +lean_closure_set(x_39, 18, x_19); +x_40 = l_Lean_Meta_withLocalDeclsDND___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__5___rarg(x_36, x_37, x_39, x_20, x_21, x_22, x_23, x_31); return x_40; } -} -} else { uint8_t x_41; +lean_dec(x_27); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); @@ -70620,26 +71262,26 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_22); +x_41 = !lean_is_exclusive(x_29); if (x_41 == 0) { -return x_22; +return x_29; } else { lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_22, 0); -x_43 = lean_ctor_get(x_22, 1); +x_42 = lean_ctor_get(x_29, 0); +x_43 = lean_ctor_get(x_29, 1); lean_inc(x_43); lean_inc(x_42); -lean_dec(x_22); +lean_dec(x_29); x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); @@ -70647,6 +71289,51 @@ return x_44; } } } +else +{ +uint8_t x_45; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_26); +if (x_45 == 0) +{ +return x_26; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_26, 0); +x_47 = lean_ctor_get(x_26, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_26); +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; +} +} +} } static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__1() { _start: @@ -70671,26 +71358,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; x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1; -x_3 = lean_unsigned_to_nat(993u); +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1; +x_3 = lean_unsigned_to_nat(1005u); x_4 = lean_unsigned_to_nat(6u); x_5 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__2; 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_Tactic_FunInd_deriveInductionStructural___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, size_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, 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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) { _start: { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = lean_array_get_size(x_1); -x_25 = lean_array_get_size(x_2); -x_26 = lean_nat_dec_eq(x_24, x_25); -lean_dec(x_25); -lean_dec(x_24); -if (x_26 == 0) +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_array_get_size(x_1); +x_28 = lean_array_get_size(x_2); +x_29 = lean_nat_dec_eq(x_27, x_28); +lean_dec(x_28); +lean_dec(x_27); +if (x_29 == 0) { -lean_object* x_27; lean_object* x_28; +lean_object* x_30; lean_object* x_31; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -70701,42 +71391,45 @@ 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_27 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__3; -x_28 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3(x_27, x_19, x_20, x_21, x_22, x_23); -return x_28; +x_30 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__3; +x_31 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3(x_30, x_22, x_23, x_24, x_25, x_26); +return x_31; } else { -size_t 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_array_size(x_3); -x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(x_29, x_4, x_3); -x_31 = lean_box_usize(x_7); -x_32 = lean_box_usize(x_4); -x_33 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___boxed), 21, 16); -lean_closure_set(x_33, 0, x_5); -lean_closure_set(x_33, 1, x_6); -lean_closure_set(x_33, 2, x_31); -lean_closure_set(x_33, 3, x_32); -lean_closure_set(x_33, 4, x_8); -lean_closure_set(x_33, 5, x_9); -lean_closure_set(x_33, 6, x_2); -lean_closure_set(x_33, 7, x_1); -lean_closure_set(x_33, 8, x_10); -lean_closure_set(x_33, 9, x_11); -lean_closure_set(x_33, 10, x_12); -lean_closure_set(x_33, 11, x_13); -lean_closure_set(x_33, 12, x_14); -lean_closure_set(x_33, 13, x_15); -lean_closure_set(x_33, 14, x_16); -lean_closure_set(x_33, 15, x_17); -x_34 = l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21(x_30, x_33, x_19, x_20, x_21, x_22, x_23); -lean_dec(x_30); -return x_34; +size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_array_size(x_3); +x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(x_32, x_4, x_3); +x_34 = lean_box_usize(x_4); +x_35 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___boxed), 24, 19); +lean_closure_set(x_35, 0, x_5); +lean_closure_set(x_35, 1, x_6); +lean_closure_set(x_35, 2, x_7); +lean_closure_set(x_35, 3, x_8); +lean_closure_set(x_35, 4, x_9); +lean_closure_set(x_35, 5, x_10); +lean_closure_set(x_35, 6, x_11); +lean_closure_set(x_35, 7, x_12); +lean_closure_set(x_35, 8, x_34); +lean_closure_set(x_35, 9, x_2); +lean_closure_set(x_35, 10, x_1); +lean_closure_set(x_35, 11, x_13); +lean_closure_set(x_35, 12, x_14); +lean_closure_set(x_35, 13, x_15); +lean_closure_set(x_35, 14, x_16); +lean_closure_set(x_35, 15, x_17); +lean_closure_set(x_35, 16, x_18); +lean_closure_set(x_35, 17, x_19); +lean_closure_set(x_35, 18, x_20); +x_36 = l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20(x_33, x_35, x_22, x_23, x_24, x_25, x_26); +lean_dec(x_33); +return x_36; } } } @@ -70765,208 +71458,218 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(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, size_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) { _start: { -size_t x_19; lean_object* x_20; -x_19 = lean_array_size(x_1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_mk_empty_array_with_capacity(x_1); +x_22 = lean_unsigned_to_nat(0u); +lean_inc(x_19); +lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_1); -lean_inc(x_4); -lean_inc(x_3); -x_20 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(x_2, x_3, x_4, x_19, x_5, x_1, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -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 = l_Lean_InductiveVal_numTypeFormers(x_6); -x_24 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__7___closed__1; -x_25 = l_Array_ofFn___rarg(x_23, x_24); +lean_inc(x_1); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +x_23 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(x_2, x_3, x_4, x_5, x_6, x_2, x_1, x_22, lean_box(0), x_21, x_16, x_17, x_18, x_19, x_20); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 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_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); lean_dec(x_23); -x_26 = l_Lean_Elab_Structural_instInhabitedRecArgInfo; -x_27 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__1; -x_28 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5(x_26, x_27, x_21, x_25); -x_29 = 1; -x_30 = lean_unsigned_to_nat(0u); -lean_inc(x_7); -lean_inc(x_4); -x_31 = l_Lean_Elab_Structural_IndGroupInst_brecOn(x_4, x_29, x_7, x_30); +x_26 = l_Lean_InductiveVal_numTypeFormers(x_7); +x_27 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__7___closed__1; +x_28 = l_Array_ofFn___rarg(x_26, x_27); +lean_dec(x_26); +x_29 = l_Lean_Elab_Structural_instInhabitedRecArgInfo; +x_30 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__1; +x_31 = l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5(x_29, x_30, x_24, x_28); +x_32 = 1; +lean_inc(x_8); +lean_inc(x_6); +x_33 = l_Lean_Elab_Structural_IndGroupInst_brecOn(x_6, x_32, x_8, x_22); +lean_inc(x_19); +lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_31); -lean_inc(x_8); -x_32 = l_Lean_Meta_inferArgumentTypesN(x_8, x_31, x_14, x_15, x_16, x_17, x_22); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___closed__3; -x_36 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_35, x_14, x_15, x_16, x_17, x_34); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_unbox(x_37); -lean_dec(x_37); -if (x_38 == 0) +lean_inc(x_9); +x_34 = l_Lean_Meta_inferArgumentTypesN(x_9, x_33, x_16, x_17, x_18, x_19, x_25); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_36, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___closed__3; +x_38 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_37, x_16, x_17, x_18, x_19, x_36); +x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -lean_dec(x_36); -x_40 = lean_box(0); -x_41 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(x_33, x_28, x_9, x_5, x_3, x_10, x_19, x_1, x_21, x_35, x_11, x_31, x_8, x_13, x_12, x_7, x_4, x_40, x_14, x_15, x_16, x_17, x_39); -return x_41; +x_40 = lean_unbox(x_39); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +x_42 = lean_box(0); +x_43 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(x_35, x_31, x_10, x_11, x_2, x_3, x_4, x_5, x_12, x_1, x_21, x_24, x_37, x_13, x_33, x_9, x_15, x_14, x_8, x_6, x_42, x_16, x_17, x_18, x_19, x_41); +return x_43; } else { -uint8_t x_42; -x_42 = !lean_is_exclusive(x_36); -if (x_42 == 0) +uint8_t x_44; +x_44 = !lean_is_exclusive(x_38); +if (x_44 == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_43 = lean_ctor_get(x_36, 1); -x_44 = lean_ctor_get(x_36, 0); -lean_dec(x_44); -lean_inc(x_33); -x_45 = lean_array_to_list(x_33); -x_46 = lean_box(0); -x_47 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_45, x_46); -x_48 = l_Lean_MessageData_ofList(x_47); -x_49 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__3; -lean_ctor_set_tag(x_36, 7); -lean_ctor_set(x_36, 1, x_48); -lean_ctor_set(x_36, 0, x_49); -x_50 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_36); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_35, x_51, x_14, x_15, x_16, x_17, x_43); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(x_33, x_28, x_9, x_5, x_3, x_10, x_19, x_1, x_21, x_35, x_11, x_31, x_8, x_13, x_12, x_7, x_4, x_53, x_14, x_15, x_16, x_17, x_54); -lean_dec(x_53); -return x_55; -} -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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_56 = lean_ctor_get(x_36, 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; +x_45 = lean_ctor_get(x_38, 1); +x_46 = lean_ctor_get(x_38, 0); +lean_dec(x_46); +lean_inc(x_35); +x_47 = lean_array_to_list(x_35); +x_48 = lean_box(0); +x_49 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_47, x_48); +x_50 = l_Lean_MessageData_ofList(x_49); +x_51 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__3; +lean_ctor_set_tag(x_38, 7); +lean_ctor_set(x_38, 1, x_50); +lean_ctor_set(x_38, 0, x_51); +x_52 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_38); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_37, x_53, x_16, x_17, x_18, x_19, x_45); +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_36); -lean_inc(x_33); -x_57 = lean_array_to_list(x_33); -x_58 = lean_box(0); -x_59 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_57, x_58); -x_60 = l_Lean_MessageData_ofList(x_59); -x_61 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__3; -x_62 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +lean_dec(x_54); +x_57 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(x_35, x_31, x_10, x_11, x_2, x_3, x_4, x_5, x_12, x_1, x_21, x_24, x_37, x_13, x_33, x_9, x_15, x_14, x_8, x_6, x_55, x_16, x_17, x_18, x_19, x_56); +lean_dec(x_55); +return x_57; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_58 = lean_ctor_get(x_38, 1); +lean_inc(x_58); +lean_dec(x_38); +lean_inc(x_35); +x_59 = lean_array_to_list(x_35); +x_60 = lean_box(0); +x_61 = l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(x_59, x_60); +x_62 = l_Lean_MessageData_ofList(x_61); +x_63 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___closed__3; x_64 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_35, x_64, x_14, x_15, x_16, x_17, x_56); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(x_33, x_28, x_9, x_5, x_3, x_10, x_19, x_1, x_21, x_35, x_11, x_31, x_8, x_13, x_12, x_7, x_4, x_66, x_14, x_15, x_16, x_17, x_67); -lean_dec(x_66); -return x_68; +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_37, x_66, x_16, x_17, x_18, x_19, x_58); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(x_35, x_31, x_10, x_11, x_2, x_3, x_4, x_5, x_12, x_1, x_21, x_24, x_37, x_13, x_33, x_9, x_15, x_14, x_8, x_6, x_68, x_16, x_17, x_18, x_19, x_69); +lean_dec(x_68); +return x_70; } } } else { -uint8_t x_69; +uint8_t x_71; +lean_dec(x_33); lean_dec(x_31); -lean_dec(x_28); +lean_dec(x_24); lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_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_69 = !lean_is_exclusive(x_32); -if (x_69 == 0) +x_71 = !lean_is_exclusive(x_34); +if (x_71 == 0) { -return x_32; +return x_34; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_32, 0); -x_71 = lean_ctor_get(x_32, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_32); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_34, 0); +x_73 = lean_ctor_get(x_34, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_34); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } else { -uint8_t x_73; +uint8_t x_75; +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_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_73 = !lean_is_exclusive(x_20); -if (x_73 == 0) +x_75 = !lean_is_exclusive(x_23); +if (x_75 == 0) { -return x_20; +return x_23; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_20, 0); -x_75 = lean_ctor_get(x_20, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_20); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_23, 0); +x_77 = lean_ctor_get(x_23, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_23); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } } @@ -70988,315 +71691,325 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(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, size_t 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) { _start: { if (lean_obj_tag(x_1) == 0) { -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_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_21 = l_Lean_indentExpr(x_2); -x_22 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13___closed__2; -x_23 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_23 = l_Lean_indentExpr(x_2); +x_24 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13___closed__2; x_25 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwError___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__2(x_25, x_16, x_17, x_18, x_19, x_20); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_throwError___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__2(x_27, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -return x_26; +return x_28; } else { -uint8_t x_27; +uint8_t x_29; lean_dec(x_2); -x_27 = !lean_is_exclusive(x_1); -if (x_27 == 0) +x_29 = !lean_is_exclusive(x_1); +if (x_29 == 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_1, 0); -x_29 = lean_ctor_get(x_1, 1); +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; +x_30 = lean_ctor_get(x_1, 0); +x_31 = lean_ctor_get(x_1, 1); lean_inc(x_3); -x_30 = l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(x_3); +x_32 = l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(x_3); lean_inc(x_4); -lean_inc(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_29); -lean_ctor_set(x_31, 2, x_4); -x_32 = lean_ctor_get(x_14, 0); -lean_inc(x_32); -lean_dec(x_14); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__2; -lean_ctor_set(x_1, 0, x_34); -x_35 = l_Lean_Expr_const___override(x_33, x_1); -x_36 = l_Lean_mkAppN(x_35, x_4); +lean_inc(x_31); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_33, 2, x_4); +x_34 = lean_ctor_get(x_16, 0); +lean_inc(x_34); +lean_dec(x_16); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec(x_34); +x_36 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__2; +lean_ctor_set(x_1, 0, x_36); +x_37 = l_Lean_Expr_const___override(x_35, x_1); +x_38 = l_Lean_mkAppN(x_37, x_4); lean_dec(x_4); +lean_inc(x_21); +lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_9); -x_37 = l_Lean_Meta_inferArgumentTypesN(x_9, x_36, x_16, x_17, x_18, x_19, x_20); -if (lean_obj_tag(x_37) == 0) +lean_inc(x_10); +x_39 = l_Lean_Meta_inferArgumentTypesN(x_10, x_38, x_18, x_19, x_20, x_21, x_22); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_38; lean_object* x_39; size_t x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_array_size(x_38); +lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_array_size(x_40); +lean_inc(x_21); +lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -x_41 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25(x_40, x_8, x_38, x_16, x_17, x_18, x_19, x_39); -if (lean_obj_tag(x_41) == 0) +x_43 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24(x_42, x_12, x_40, x_18, x_19, x_20, x_21, x_41); +if (lean_obj_tag(x_43) == 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_Tactic_FunInd_deriveInductionStructural___lambda__12(x_5, x_6, x_7, x_31, x_8, x_3, x_28, x_9, x_10, x_11, x_12, x_13, x_42, x_16, x_17, x_18, x_19, x_43); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(x_5, x_6, x_7, x_8, x_9, x_33, x_3, x_30, x_10, x_11, x_12, x_13, x_14, x_15, x_44, x_18, x_19, x_20, x_21, x_45); lean_dec(x_3); -return x_44; +return x_46; } else { -uint8_t x_45; -lean_dec(x_31); -lean_dec(x_28); +uint8_t x_47; +lean_dec(x_33); +lean_dec(x_30); +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_45 = !lean_is_exclusive(x_41); -if (x_45 == 0) +x_47 = !lean_is_exclusive(x_43); +if (x_47 == 0) { -return x_41; +return x_43; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_41, 0); -x_47 = lean_ctor_get(x_41, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_41); -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_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_43, 0); +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_43); +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; } } } else { -uint8_t x_49; -lean_dec(x_31); -lean_dec(x_28); +uint8_t x_51; +lean_dec(x_33); +lean_dec(x_30); +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_49 = !lean_is_exclusive(x_37); -if (x_49 == 0) +x_51 = !lean_is_exclusive(x_39); +if (x_51 == 0) { -return x_37; +return x_39; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_37, 0); -x_51 = lean_ctor_get(x_37, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_37); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -} -else -{ -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_53 = lean_ctor_get(x_1, 0); -x_54 = lean_ctor_get(x_1, 1); -lean_inc(x_54); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_39, 0); +x_53 = lean_ctor_get(x_39, 1); lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_39); +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; +} +} +} +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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +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); lean_inc(x_3); -x_55 = l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(x_3); +x_57 = l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(x_3); lean_inc(x_4); -lean_inc(x_54); -x_56 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -lean_ctor_set(x_56, 2, x_4); -x_57 = lean_ctor_get(x_14, 0); -lean_inc(x_57); -lean_dec(x_14); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -lean_dec(x_57); -x_59 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__2; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_54); -x_61 = l_Lean_Expr_const___override(x_58, x_60); -x_62 = l_Lean_mkAppN(x_61, x_4); +lean_inc(x_56); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_58, 2, x_4); +x_59 = lean_ctor_get(x_16, 0); +lean_inc(x_59); +lean_dec(x_16); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +lean_dec(x_59); +x_61 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__2; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_56); +x_63 = l_Lean_Expr_const___override(x_60, x_62); +x_64 = l_Lean_mkAppN(x_63, x_4); lean_dec(x_4); +lean_inc(x_21); +lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_9); -x_63 = l_Lean_Meta_inferArgumentTypesN(x_9, x_62, x_16, x_17, x_18, x_19, x_20); -if (lean_obj_tag(x_63) == 0) +lean_inc(x_10); +x_65 = l_Lean_Meta_inferArgumentTypesN(x_10, x_64, x_18, x_19, x_20, x_21, x_22); +if (lean_obj_tag(x_65) == 0) { -lean_object* x_64; lean_object* x_65; size_t x_66; lean_object* x_67; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_array_size(x_64); +lean_object* x_66; lean_object* x_67; size_t x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_array_size(x_66); +lean_inc(x_21); +lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -x_67 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25(x_66, x_8, x_64, x_16, x_17, x_18, x_19, x_65); -if (lean_obj_tag(x_67) == 0) +x_69 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24(x_68, x_12, x_66, x_18, x_19, x_20, x_21, x_67); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(x_5, x_6, x_7, x_56, x_8, x_3, x_53, x_9, x_10, x_11, x_12, x_13, x_68, x_16, x_17, x_18, x_19, x_69); -lean_dec(x_3); -return x_70; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -lean_dec(x_56); -lean_dec(x_53); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_71 = lean_ctor_get(x_67, 0); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_67, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_73 = x_67; -} else { - lean_dec_ref(x_67); - x_73 = lean_box(0); -} -if (lean_is_scalar(x_73)) { - x_74 = lean_alloc_ctor(1, 2, 0); -} else { - x_74 = x_73; -} -lean_ctor_set(x_74, 0, x_71); -lean_ctor_set(x_74, 1, x_72); -return x_74; -} +lean_dec(x_69); +x_72 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(x_5, x_6, x_7, x_8, x_9, x_58, x_3, x_55, x_10, x_11, x_12, x_13, x_14, x_15, x_70, x_18, x_19, x_20, x_21, x_71); +lean_dec(x_3); +return x_72; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_56); -lean_dec(x_53); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_58); +lean_dec(x_55); +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_75 = lean_ctor_get(x_63, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_63, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_77 = x_63; +x_73 = lean_ctor_get(x_69, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_69, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_75 = x_69; } else { - lean_dec_ref(x_63); - x_77 = lean_box(0); + lean_dec_ref(x_69); + x_75 = lean_box(0); } -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); } else { - x_78 = x_77; + x_76 = x_75; } -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_76); -return x_78; +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_58); +lean_dec(x_55); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +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); +x_77 = lean_ctor_get(x_65, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_65, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_79 = x_65; +} else { + lean_dec_ref(x_65); + 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; } } } @@ -71319,80 +72032,82 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(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, size_t 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) { _start: { -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_array_get_size(x_15); -x_23 = lean_unsigned_to_nat(0u); -x_24 = lean_nat_dec_lt(x_23, x_22); -if (x_24 == 0) +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_array_get_size(x_17); +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_nat_dec_lt(x_25, x_24); +if (x_26 == 0) { -lean_object* x_25; lean_object* x_26; -lean_dec(x_22); -x_25 = lean_box(0); -x_26 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(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_25, x_17, x_18, x_19, x_20, x_21); -return x_26; +lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +x_27 = lean_box(0); +x_28 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_27, x_19, x_20, x_21, x_22, x_23); +return x_28; } else { -size_t x_27; uint8_t x_28; -x_27 = lean_usize_of_nat(x_22); -lean_dec(x_22); -x_28 = l_Array_anyMUnsafe_any___at_Lean_Meta_getElimExprInfo___spec__6(x_15, x_8, x_27); -if (x_28 == 0) +size_t x_29; uint8_t x_30; +x_29 = lean_usize_of_nat(x_24); +lean_dec(x_24); +x_30 = l_Array_anyMUnsafe_any___at_Lean_Meta_getElimExprInfo___spec__6(x_17, x_12, x_29); +if (x_30 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_box(0); -x_30 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(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_29, x_17, x_18, x_19, x_20, x_21); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +x_32 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_31, x_19, x_20, x_21, x_22, x_23); +return x_32; } 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; uint8_t x_37; +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_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_31 = l_Lean_indentExpr(x_2); -x_32 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14___closed__2; -x_33 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_33 = l_Lean_indentExpr(x_2); +x_34 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14___closed__2; x_35 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_35, x_17, x_18, x_19, x_20, x_21); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +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_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_37, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) { -return x_36; +return x_38; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_ctor_get(x_36, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_36); -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; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_38, 0); +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_38); +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; } } } @@ -71415,116 +72130,118 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t 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) { _start: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 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; uint8_t x_37; -x_18 = lean_ctor_get(x_1, 2); -lean_inc(x_18); -x_19 = lean_unsigned_to_nat(0u); -lean_inc(x_18); +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; uint8_t x_39; +x_20 = lean_ctor_get(x_1, 2); +lean_inc(x_20); +x_21 = lean_unsigned_to_nat(0u); +lean_inc(x_20); lean_inc(x_2); -x_20 = l_Array_toSubarray___rarg(x_2, x_19, x_18); -x_21 = l_Array_ofSubarray___rarg(x_20); -lean_dec(x_20); -x_22 = lean_ctor_get(x_1, 4); -lean_inc(x_22); -x_23 = lean_nat_add(x_18, x_22); -lean_dec(x_18); -x_24 = lean_ctor_get(x_1, 3); -lean_inc(x_24); -x_25 = lean_nat_add(x_23, x_24); -lean_dec(x_24); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_25, x_26); -lean_dec(x_25); -lean_inc(x_27); -lean_inc(x_2); -x_28 = l_Array_toSubarray___rarg(x_2, x_23, x_27); -x_29 = l_Array_ofSubarray___rarg(x_28); -lean_dec(x_28); -x_30 = lean_nat_add(x_27, x_22); -lean_inc(x_30); -lean_inc(x_2); -x_31 = l_Array_toSubarray___rarg(x_2, x_27, x_30); -x_32 = l_Array_ofSubarray___rarg(x_31); -lean_dec(x_31); -x_33 = lean_array_get_size(x_2); -x_34 = l_Array_toSubarray___rarg(x_2, x_30, x_33); -x_35 = l_Array_ofSubarray___rarg(x_34); -lean_dec(x_34); -x_36 = lean_array_get_size(x_29); -x_37 = lean_nat_dec_lt(x_19, x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; -lean_dec(x_36); -x_38 = lean_box(0); -x_39 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(x_3, x_4, x_5, x_21, x_6, x_7, x_8, x_9, x_22, x_10, x_11, x_29, x_32, x_1, x_35, x_38, x_13, x_14, x_15, x_16, x_17); -lean_dec(x_35); -return x_39; -} -else -{ -size_t x_40; uint8_t x_41; -x_40 = lean_usize_of_nat(x_36); -lean_dec(x_36); -x_41 = l_Array_anyMUnsafe_any___at_Lean_Meta_getElimExprInfo___spec__6(x_29, x_9, x_40); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_box(0); -x_43 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(x_3, x_4, x_5, x_21, x_6, x_7, x_8, x_9, x_22, x_10, x_11, x_29, x_32, x_1, x_35, x_42, x_13, x_14, x_15, x_16, x_17); -lean_dec(x_35); -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; uint8_t x_50; -lean_dec(x_35); -lean_dec(x_32); -lean_dec(x_29); +x_22 = l_Array_toSubarray___rarg(x_2, x_21, x_20); +x_23 = l_Array_ofSubarray___rarg(x_22); lean_dec(x_22); -lean_dec(x_21); +x_24 = lean_ctor_get(x_1, 4); +lean_inc(x_24); +x_25 = lean_nat_add(x_20, x_24); +lean_dec(x_20); +x_26 = lean_ctor_get(x_1, 3); +lean_inc(x_26); +x_27 = lean_nat_add(x_25, x_26); +lean_dec(x_26); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_27, x_28); +lean_dec(x_27); +lean_inc(x_29); +lean_inc(x_2); +x_30 = l_Array_toSubarray___rarg(x_2, x_25, x_29); +x_31 = l_Array_ofSubarray___rarg(x_30); +lean_dec(x_30); +x_32 = lean_nat_add(x_29, x_24); +lean_inc(x_32); +lean_inc(x_2); +x_33 = l_Array_toSubarray___rarg(x_2, x_29, x_32); +x_34 = l_Array_ofSubarray___rarg(x_33); +lean_dec(x_33); +x_35 = lean_array_get_size(x_2); +x_36 = l_Array_toSubarray___rarg(x_2, x_32, x_35); +x_37 = l_Array_ofSubarray___rarg(x_36); +lean_dec(x_36); +x_38 = lean_array_get_size(x_31); +x_39 = lean_nat_dec_lt(x_21, x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_38); +x_40 = lean_box(0); +x_41 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(x_3, x_4, x_5, x_23, x_6, x_7, x_8, x_9, x_10, x_24, x_11, x_12, x_13, x_31, x_34, x_1, x_37, x_40, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_37); +return x_41; +} +else +{ +size_t x_42; uint8_t x_43; +x_42 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_43 = l_Array_anyMUnsafe_any___at_Lean_Meta_getElimExprInfo___spec__6(x_31, x_12, x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_box(0); +x_45 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(x_3, x_4, x_5, x_23, x_6, x_7, x_8, x_9, x_10, x_24, x_11, x_12, x_13, x_31, x_34, x_1, x_37, x_44, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_37); +return x_45; +} +else +{ +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; +lean_dec(x_37); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_13); 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_1); -x_44 = l_Lean_indentExpr(x_4); -x_45 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15___closed__2; -x_46 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_46 = l_Lean_indentExpr(x_4); +x_47 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15___closed__2; 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_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_48, x_13, x_14, x_15, x_16, x_17); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +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_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_50, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_18); +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -return x_49; +return x_51; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_49, 0); -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_49); -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_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_51, 0); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_51); +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; } } } @@ -71535,8 +72252,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_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1; -x_3 = lean_unsigned_to_nat(945u); +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1; +x_3 = lean_unsigned_to_nat(956u); x_4 = lean_unsigned_to_nat(41u); x_5 = l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -71568,187 +72285,195 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, 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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(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, size_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) { _start: { if (lean_obj_tag(x_1) == 1) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_1, 0); -lean_inc(x_17); -lean_dec(x_1); -lean_inc(x_17); -x_18 = l_Lean_getConstInfoInduct___at_Lean_Meta_mkInjectiveTheorems___spec__1(x_17, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_18, 0); +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_1, 0); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__2; -x_22 = l_Lean_Name_str___override(x_17, x_21); -x_23 = l_Lean_getConstInfoRec___at_Lean_Elab_Structural_IndGroupInst_nestedTypeFormers___spec__1(x_22, x_12, x_13, x_14, x_15, x_20); -if (lean_obj_tag(x_23) == 0) +lean_dec(x_1); +lean_inc(x_19); +x_20 = l_Lean_getConstInfoInduct___at_Lean_Meta_mkInjectiveTheorems___spec__1(x_19, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_20) == 0) { -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; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_array_get_size(x_2); -x_27 = lean_ctor_get(x_24, 2); +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_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__2; +x_24 = l_Lean_Name_str___override(x_19, x_23); +x_25 = l_Lean_getConstInfoRec___at_Lean_Elab_Structural_IndGroupInst_nestedTypeFormers___spec__1(x_24, x_14, x_15, x_16, x_17, x_22); +if (lean_obj_tag(x_25) == 0) +{ +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; uint8_t x_37; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 4); -lean_inc(x_28); -x_29 = lean_nat_add(x_27, x_28); -lean_dec(x_27); -x_30 = lean_ctor_get(x_24, 3); +lean_dec(x_25); +x_28 = lean_array_get_size(x_2); +x_29 = lean_ctor_get(x_26, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_26, 4); lean_inc(x_30); x_31 = lean_nat_add(x_29, x_30); -lean_dec(x_30); lean_dec(x_29); -x_32 = lean_unsigned_to_nat(1u); +x_32 = lean_ctor_get(x_26, 3); +lean_inc(x_32); x_33 = lean_nat_add(x_31, x_32); +lean_dec(x_32); lean_dec(x_31); -x_34 = lean_nat_add(x_33, x_28); -lean_dec(x_28); +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_nat_add(x_33, x_34); lean_dec(x_33); -x_35 = lean_nat_dec_lt(x_26, x_34); -lean_dec(x_34); +x_36 = lean_nat_add(x_35, x_30); +lean_dec(x_30); +lean_dec(x_35); +x_37 = lean_nat_dec_lt(x_28, x_36); +lean_dec(x_36); +lean_dec(x_28); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_box(0); +x_39 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15(x_26, x_2, x_3, x_4, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_38, x_14, x_15, x_16, x_17, x_27); +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; uint8_t x_46; lean_dec(x_26); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_box(0); -x_37 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15(x_24, x_2, x_3, x_4, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_36, x_12, x_13, x_14, x_15, x_25); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -lean_dec(x_24); -lean_dec(x_19); +lean_dec(x_21); +lean_dec(x_12); 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); -x_38 = l_Lean_indentExpr(x_4); -x_39 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__4; -x_40 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_40 = l_Lean_indentExpr(x_4); +x_41 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__4; x_42 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_42, x_12, x_13, x_14, x_15, x_25); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -return x_43; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_43); -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; -} -} -} -else -{ -uint8_t x_48; -lean_dec(x_19); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_48 = !lean_is_exclusive(x_23); -if (x_48 == 0) -{ -return x_23; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_23, 0); -x_50 = lean_ctor_get(x_23, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_23); -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; -} -} -} -else -{ -uint8_t x_52; +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_44, x_14, x_15, x_16, x_17, x_27); lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +return x_45; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_45, 0); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_45); +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; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); lean_dec(x_12); 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_52 = !lean_is_exclusive(x_18); -if (x_52 == 0) +x_50 = !lean_is_exclusive(x_25); +if (x_50 == 0) { -return x_18; +return x_25; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_18, 0); -x_54 = lean_ctor_get(x_18, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_18); -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; +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_25, 0); +x_52 = lean_ctor_get(x_25, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_25); +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; } } } else { -lean_object* x_56; lean_object* x_57; +uint8_t x_54; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_12); 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_54 = !lean_is_exclusive(x_20); +if (x_54 == 0) +{ +return x_20; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_20, 0); +x_56 = lean_ctor_get(x_20, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_20); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -71756,9 +72481,9 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_56 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__1; -x_57 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3(x_56, x_12, x_13, x_14, x_15, x_16); -return x_57; +x_58 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___closed__1; +x_59 = l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3(x_58, x_14, x_15, x_16, x_17, x_18); +return x_59; } } } @@ -71783,7 +72508,7 @@ static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambd _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(": expected .brecOn application, found:", 38, 38); +x_1 = lean_mk_string_unchecked("\ninstantiated to", 16, 16); return x_1; } } @@ -71796,158 +72521,173 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* 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) { +static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__5() { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = l_Lean_Expr_getAppFn(x_8); -x_15 = l_Lean_Meta_PProdN_stripProjs(x_14); -lean_dec(x_14); -x_16 = l_Lean_Expr_getAppFn(x_15); -if (lean_obj_tag(x_16) == 4) +lean_object* x_1; +x_1 = lean_mk_string_unchecked(": expected .brecOn application, found:", 38, 38); +return x_1; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__6() { +_start: { -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_dec(x_2); -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_object* x_1; lean_object* x_2; +x_1 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_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; +x_16 = l_Lean_Expr_getAppFn(x_10); +x_17 = l_Lean_Meta_PProdN_stripProjs(x_16); lean_dec(x_16); +x_18 = l_Lean_Expr_getAppFn(x_17); x_19 = lean_unsigned_to_nat(0u); -x_20 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_19); +x_20 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_17, x_19); x_21 = l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__3___closed__1; lean_inc(x_20); x_22 = lean_mk_array(x_20, x_21); x_23 = lean_unsigned_to_nat(1u); x_24 = lean_nat_sub(x_20, x_23); lean_dec(x_20); -x_25 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_22, x_24); -x_26 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_19); +x_25 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_17, x_22, x_24); +x_26 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_10, x_19); lean_inc(x_26); x_27 = lean_mk_array(x_26, x_21); x_28 = lean_nat_sub(x_26, x_23); lean_dec(x_26); -lean_inc(x_8); -x_29 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_8, x_27, x_28); +lean_inc(x_10); +x_29 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_10, x_27, x_28); x_30 = l_Array_append___rarg(x_25, x_29); lean_dec(x_29); -x_31 = l_Lean_Meta_PProdN_stripProjs(x_8); -lean_dec(x_8); -x_32 = lean_st_ref_get(x_12, x_13); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +x_31 = l_Lean_Meta_PProdN_stripProjs(x_10); +lean_dec(x_10); +if (lean_obj_tag(x_18) == 4) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -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); -lean_dec(x_34); -x_37 = l_Lean_brecOnSuffix; -lean_inc(x_17); -x_38 = l_Lean_isAuxRecursorWithSuffix(x_36, x_17, x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -lean_dec(x_30); +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_dec(x_2); +x_32 = lean_ctor_get(x_18, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_18, 1); +lean_inc(x_33); lean_dec(x_18); -lean_dec(x_17); +x_34 = lean_st_ref_get(x_14, x_15); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = lean_ctor_get(x_36, 0); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_brecOnSuffix; +lean_inc(x_32); +x_40 = l_Lean_isAuxRecursorWithSuffix(x_38, x_32, x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_39 = lean_ctor_get(x_1, 0); -lean_inc(x_39); +x_41 = lean_ctor_get(x_1, 0); +lean_inc(x_41); lean_dec(x_1); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -lean_dec(x_39); -x_41 = l_Lean_MessageData_ofName(x_40); -x_42 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; -lean_ctor_set_tag(x_32, 7); -lean_ctor_set(x_32, 1, x_41); -lean_ctor_set(x_32, 0, x_42); -x_43 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__4; -x_44 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_44, 0, x_32); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_indentExpr(x_31); -x_46 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); +x_42 = l_Lean_MessageData_ofName(x_41); +x_43 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +lean_ctor_set_tag(x_34, 7); +lean_ctor_set(x_34, 1, x_42); +lean_ctor_set(x_34, 0, x_43); +x_44 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__6; +x_45 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_45, 0, x_34); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_indentExpr(x_31); x_47 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_42); -x_48 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_47, x_9, x_10, x_11, x_12, x_35); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_43); +x_49 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_48, x_11, x_12, x_13, x_14, x_37); +lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) { -return x_48; +return x_49; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_48, 0); -x_51 = lean_ctor_get(x_48, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_49, 0); +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_48); -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; +lean_dec(x_49); +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; } } else { -lean_object* x_53; lean_object* x_54; -lean_free_object(x_32); +lean_object* x_54; lean_object* x_55; +lean_free_object(x_34); lean_dec(x_1); -x_53 = lean_box(0); -x_54 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(x_17, x_30, x_18, x_31, x_3, x_4, x_5, x_6, x_7, x_21, x_53, x_9, x_10, x_11, x_12, x_35); -return x_54; +x_54 = lean_box(0); +x_55 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(x_32, x_30, x_33, x_31, x_3, x_4, x_5, x_6, x_7, x_9, x_8, x_21, x_54, x_11, x_12, x_13, x_14, x_37); +return x_55; } } else { -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_32, 0); -x_56 = lean_ctor_get(x_32, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_32); -x_57 = lean_ctor_get(x_55, 0); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_56 = lean_ctor_get(x_34, 0); +x_57 = lean_ctor_get(x_34, 1); lean_inc(x_57); -lean_dec(x_55); -x_58 = l_Lean_brecOnSuffix; -lean_inc(x_17); -x_59 = l_Lean_isAuxRecursorWithSuffix(x_57, x_17, x_58); -if (x_59 == 0) +lean_inc(x_56); +lean_dec(x_34); +x_58 = lean_ctor_get(x_56, 0); +lean_inc(x_58); +lean_dec(x_56); +x_59 = l_Lean_brecOnSuffix; +lean_inc(x_32); +x_60 = l_Lean_isAuxRecursorWithSuffix(x_58, x_32, x_59); +if (x_60 == 0) { -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_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_dec(x_33); +lean_dec(x_32); lean_dec(x_30); -lean_dec(x_18); -lean_dec(x_17); +lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_60 = lean_ctor_get(x_1, 0); -lean_inc(x_60); -lean_dec(x_1); -x_61 = lean_ctor_get(x_60, 0); +x_61 = lean_ctor_get(x_1, 0); lean_inc(x_61); -lean_dec(x_60); +lean_dec(x_1); x_62 = l_Lean_MessageData_ofName(x_61); x_63 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; x_64 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_62); -x_65 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__4; +x_65 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__6; x_66 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); @@ -71958,11 +72698,11 @@ lean_ctor_set(x_68, 1, x_67); x_69 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_63); -x_70 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_69, x_9, x_10, x_11, x_12, x_56); +x_70 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_69, x_11, x_12, x_13, x_14, x_57); +lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); x_72 = lean_ctor_get(x_70, 1); @@ -71989,112 +72729,126 @@ else lean_object* x_75; lean_object* x_76; lean_dec(x_1); x_75 = lean_box(0); -x_76 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(x_17, x_30, x_18, x_31, x_3, x_4, x_5, x_6, x_7, x_21, x_75, x_9, x_10, x_11, x_12, x_56); +x_76 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(x_32, x_30, x_33, x_31, x_3, x_4, x_5, x_6, x_7, x_9, x_8, x_21, x_75, x_11, x_12, x_13, x_14, x_57); return x_76; } } } else { -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_dec(x_16); -lean_dec(x_15); -lean_dec(x_8); +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_dec(x_30); +lean_dec(x_18); +lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_77 = lean_ctor_get(x_1, 0); lean_inc(x_77); lean_dec(x_1); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -lean_dec(x_77); -x_79 = l_Lean_MessageData_ofName(x_78); -x_80 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; -x_81 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__2; -x_83 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_indentExpr(x_2); -x_85 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); +x_78 = l_Lean_MessageData_ofName(x_77); +x_79 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_80 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__2; +x_82 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Lean_indentExpr(x_2); +x_84 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__4; x_86 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_80); -x_87 = l_Lean_throwError___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__2(x_86, x_9, x_10, x_11, x_12, x_13); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_indentExpr(x_31); +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_79); +x_90 = l_Lean_throwError___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__2(x_89, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +return x_90; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_dec(x_1); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_15); +x_16 = l_Lean_Elab_FixedParamPerm_instantiateLambda(x_2, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(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; lean_object* x_23; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Expr_eta(x_17); +x_20 = lean_box_usize(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___boxed), 15, 8); +lean_closure_set(x_21, 0, x_3); +lean_closure_set(x_21, 1, x_15); +lean_closure_set(x_21, 2, x_4); +lean_closure_set(x_21, 3, x_5); +lean_closure_set(x_21, 4, x_6); +lean_closure_set(x_21, 5, x_7); +lean_closure_set(x_21, 6, x_9); +lean_closure_set(x_21, 7, x_20); +x_22 = 0; +x_23 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_19, x_21, x_22, x_10, x_11, x_12, x_13, x_18); +return x_23; +} +else +{ +uint8_t x_24; +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -return x_87; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_unsigned_to_nat(0u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_1); -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(x_6, x_13, x_1, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_box_usize(x_5); -x_18 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___boxed), 13, 6); -lean_closure_set(x_18, 0, x_2); -lean_closure_set(x_18, 1, x_1); -lean_closure_set(x_18, 2, x_3); -lean_closure_set(x_18, 3, x_4); -lean_closure_set(x_18, 4, x_6); -lean_closure_set(x_18, 5, x_17); -x_19 = 0; -x_20 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_15, x_18, x_19, x_8, x_9, x_10, x_11, x_16); -return x_20; -} -else -{ -uint8_t x_21; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_21 = !lean_is_exclusive(x_14); -if (x_21 == 0) +x_24 = !lean_is_exclusive(x_16); +if (x_24 == 0) { -return x_14; +return x_16; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_14, 0); -x_23 = lean_ctor_get(x_14, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_14); -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_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_16, 0); +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_16); +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; } } } @@ -72163,7 +72917,7 @@ lean_inc(x_10); x_18 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_14, x_16, x_17, x_10, x_11, x_15); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* 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; uint8_t x_34; lean_object* x_35; +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; size_t 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; x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -72176,169 +72930,166 @@ x_23 = l_Lean_CollectLevelParams_main(x_19, x_22); x_24 = lean_ctor_get(x_23, 2); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_ctor_get(x_2, 0); +x_25 = lean_ctor_get(x_2, 1); lean_inc(x_25); lean_dec(x_2); -x_26 = lean_ctor_get(x_25, 1); +x_26 = lean_array_mk(x_25); +x_27 = lean_array_size(x_26); lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_array_mk(x_26); -x_28 = lean_array_size(x_27); -lean_inc(x_27); -x_29 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__26(x_24, x_28, x_3, x_27); +x_28 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__26(x_24, x_27, x_3, x_26); lean_dec(x_24); -x_30 = l_Lean_Tactic_FunInd_maskArray___rarg(x_29, x_27); -x_31 = lean_array_to_list(x_30); -x_32 = lean_array_get_size(x_4); -x_33 = lean_unsigned_to_nat(1u); -x_34 = lean_nat_dec_eq(x_32, x_33); -if (x_34 == 0) +x_29 = l_Lean_Tactic_FunInd_maskArray___rarg(x_28, x_26); +x_30 = lean_array_to_list(x_29); +x_31 = lean_array_get_size(x_4); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_dec_eq(x_31, x_32); +if (x_33 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = l_Lean_instInhabitedName; -x_59 = lean_unsigned_to_nat(0u); -x_60 = lean_array_get(x_58, x_4, x_59); -x_61 = l_Lean_Meta_getMutualInductName(x_60); -x_35 = x_61; -goto block_57; +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = l_Lean_instInhabitedName; +x_58 = lean_unsigned_to_nat(0u); +x_59 = lean_array_get(x_57, x_4, x_58); +x_60 = l_Lean_Meta_getMutualInductName(x_59); +x_34 = x_60; +goto block_56; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_62 = l_Lean_instInhabitedName; -x_63 = lean_unsigned_to_nat(0u); -x_64 = lean_array_get(x_62, x_4, x_63); -x_65 = l_Lean_Meta_getFunInductName(x_64); -x_35 = x_65; -goto block_57; +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = l_Lean_instInhabitedName; +x_62 = lean_unsigned_to_nat(0u); +x_63 = lean_array_get(x_61, x_4, x_62); +x_64 = l_Lean_Meta_getFunInductName(x_63); +x_34 = x_64; +goto block_56; } -block_57: +block_56: { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_inc(x_35); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_31); -lean_ctor_set(x_36, 2, x_19); -lean_inc(x_35); -x_37 = lean_alloc_ctor(1, 2, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_inc(x_34); +x_35 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_30); +lean_ctor_set(x_35, 2, x_19); +lean_inc(x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_21); +x_37 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_21); -x_38 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_1); -lean_ctor_set(x_38, 2, x_37); -x_39 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_37, 1, x_1); +lean_ctor_set(x_37, 2, x_36); +x_38 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_38, 0, x_37); lean_inc(x_11); lean_inc(x_10); -x_40 = l_Lean_addDecl(x_39, x_10, x_11, x_20); -if (lean_obj_tag(x_40) == 0) +x_39 = l_Lean_addDecl(x_38, x_10, x_11, x_20); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_nat_dec_lt(x_33, x_32); -lean_dec(x_32); -if (x_42 == 0) +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_nat_dec_lt(x_32, x_31); +lean_dec(x_31); +if (x_41 == 0) { -lean_object* x_43; lean_object* x_44; -x_43 = lean_box(0); -x_44 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__19(x_34, x_5, x_3, x_6, x_35, x_29, x_43, x_8, x_9, x_10, x_11, x_41); +lean_object* x_42; lean_object* x_43; +x_42 = lean_box(0); +x_43 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__19(x_33, x_5, x_3, x_6, x_34, x_28, x_42, x_8, x_9, x_10, x_11, x_40); lean_dec(x_9); lean_dec(x_8); -return x_44; +return x_43; } else { -lean_object* x_45; +lean_object* x_44; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_35); -x_45 = l_Lean_Tactic_FunInd_projectMutualInduct(x_4, x_35, x_8, x_9, x_10, x_11, x_41); -if (lean_obj_tag(x_45) == 0) +lean_inc(x_34); +x_44 = l_Lean_Tactic_FunInd_projectMutualInduct(x_4, x_34, x_8, x_9, x_10, x_11, x_40); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_45, 0); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__19(x_34, x_5, x_3, x_6, x_35, x_29, x_46, x_8, x_9, x_10, x_11, x_47); +lean_dec(x_44); +x_47 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__19(x_33, x_5, x_3, x_6, x_34, x_28, x_45, x_8, x_9, x_10, x_11, x_46); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_46); -return x_48; +lean_dec(x_45); +return x_47; } else { -uint8_t x_49; -lean_dec(x_35); -lean_dec(x_29); +uint8_t x_48; +lean_dec(x_34); +lean_dec(x_28); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); -x_49 = !lean_is_exclusive(x_45); -if (x_49 == 0) +x_48 = !lean_is_exclusive(x_44); +if (x_48 == 0) { -return x_45; +return x_44; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_45, 0); -x_51 = lean_ctor_get(x_45, 1); -lean_inc(x_51); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_44, 0); +x_50 = lean_ctor_get(x_44, 1); lean_inc(x_50); -lean_dec(x_45); -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; +lean_inc(x_49); +lean_dec(x_44); +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; } } } } else { -uint8_t x_53; -lean_dec(x_35); -lean_dec(x_32); -lean_dec(x_29); +uint8_t x_52; +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_28); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); -x_53 = !lean_is_exclusive(x_40); -if (x_53 == 0) +x_52 = !lean_is_exclusive(x_39); +if (x_52 == 0) { -return x_40; +return x_39; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_40, 0); -x_55 = lean_ctor_get(x_40, 1); -lean_inc(x_55); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_39, 0); +x_54 = lean_ctor_get(x_39, 1); lean_inc(x_54); -lean_dec(x_40); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +lean_inc(x_53); +lean_dec(x_39); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } } else { -uint8_t x_66; +uint8_t x_65; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -72346,29 +73097,29 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_66 = !lean_is_exclusive(x_18); -if (x_66 == 0) +x_65 = !lean_is_exclusive(x_18); +if (x_65 == 0) { return x_18; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_18, 0); -x_68 = lean_ctor_get(x_18, 1); -lean_inc(x_68); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_18, 0); +x_67 = lean_ctor_get(x_18, 1); lean_inc(x_67); +lean_inc(x_66); lean_dec(x_18); -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; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } else { -uint8_t x_70; +uint8_t x_69; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -72376,23 +73127,23 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_13); -if (x_70 == 0) +x_69 = !lean_is_exclusive(x_13); +if (x_69 == 0) { return x_13; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_13, 0); -x_72 = lean_ctor_get(x_13, 1); -lean_inc(x_72); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_13, 0); +x_71 = lean_ctor_get(x_13, 1); lean_inc(x_71); +lean_inc(x_70); lean_dec(x_13); -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; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } @@ -72401,15 +73152,46 @@ static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___close _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("constructed induction principle is not type correct:", 52, 52); +x_1 = lean_mk_string_unchecked("infos.size > 0\n -- First open up the fixed parameters everywhere\n ", 68, 68); return x_1; } } static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__4; +x_2 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__3() { +_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_Tactic_FunInd_foldAndCollect___lambda__9___closed__1; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1; +x_3 = lean_unsigned_to_nat(934u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("constructed induction principle is not type correct:", 52, 52); +return x_1; +} +} +static lean_object* _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__1; +x_1 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -72433,185 +73215,160 @@ lean_inc(x_1); x_10 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__1(x_8, x_9, x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(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; uint8_t x_19; lean_object* x_20; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -x_13 = l_Lean_instInhabitedDefinitionVal; +x_13 = lean_array_get_size(x_11); x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_get(x_13, x_11, x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -x_17 = l_Lean_Tactic_FunInd_deriveInductionStructural___boxed__const__1; -lean_inc(x_2); -lean_inc(x_15); -lean_inc(x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18___boxed), 12, 5); -lean_closure_set(x_18, 0, x_16); -lean_closure_set(x_18, 1, x_15); -lean_closure_set(x_18, 2, x_11); -lean_closure_set(x_18, 3, x_2); -lean_closure_set(x_18, 4, x_17); -x_19 = 0; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_20 = l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_TerminationMeasure_delab___spec__1___rarg(x_16, x_2, x_18, x_19, x_3, x_4, x_5, x_6, x_12); -if (lean_obj_tag(x_20) == 0) +x_15 = lean_nat_dec_lt(x_14, x_13); +if (x_15 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); +lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_2); +lean_dec(x_1); +x_16 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__3; +x_17 = l_panic___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1(x_16, x_3, x_4, x_5, x_6, x_12); +return x_17; +} +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; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_dec(x_2); +x_19 = l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8; +x_20 = lean_array_get(x_19, x_18, x_14); +x_21 = l_Lean_instInhabitedDefinitionVal; +x_22 = lean_array_get(x_21, x_11, x_14); +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_20); -x_24 = !lean_is_exclusive(x_21); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_ctor_get(x_21, 0); -x_26 = lean_ctor_get(x_21, 1); -lean_dec(x_26); -x_27 = !lean_is_exclusive(x_22); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_22, 0); -x_29 = lean_ctor_get(x_22, 1); +x_24 = lean_ctor_get(x_23, 2); +lean_inc(x_24); +x_25 = l_Lean_Tactic_FunInd_deriveInductionStructural___boxed__const__1; +lean_inc(x_23); +lean_inc(x_20); +x_26 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18___boxed), 14, 8); +lean_closure_set(x_26, 0, x_22); +lean_closure_set(x_26, 1, x_20); +lean_closure_set(x_26, 2, x_23); +lean_closure_set(x_26, 3, x_13); +lean_closure_set(x_26, 4, x_11); +lean_closure_set(x_26, 5, x_19); +lean_closure_set(x_26, 6, x_18); +lean_closure_set(x_26, 7, x_25); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_25); -x_30 = l_Lean_Meta_isTypeCorrect(x_25, x_3, x_4, x_5, x_6, x_23); -if (lean_obj_tag(x_30) == 0) +x_27 = l_Lean_Elab_FixedParamPerm_forallTelescope___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25(x_20, x_24, x_26, x_3, x_4, x_5, x_6, x_12); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_unbox(x_31); -lean_dec(x_31); -if (x_32 == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = !lean_is_exclusive(x_28); +if (x_31 == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -lean_inc(x_25); -x_34 = l_Lean_indentExpr(x_25); -x_35 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2; -lean_ctor_set_tag(x_22, 7); -lean_ctor_set(x_22, 1, x_34); -lean_ctor_set(x_22, 0, x_35); -x_36 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; -lean_ctor_set_tag(x_21, 7); -lean_ctor_set(x_21, 1, x_36); -lean_ctor_set(x_21, 0, x_22); -x_37 = 2; +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_28, 0); +x_33 = lean_ctor_get(x_28, 1); +lean_dec(x_33); +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +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_6); lean_inc(x_5); -x_38 = l_Lean_log___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(x_21, x_37, x_3, x_4, x_5, x_6, x_33); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_32); +x_37 = l_Lean_Meta_isTypeCorrect(x_32, x_3, x_4, x_5, x_6, x_30); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_unbox(x_38); lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +lean_inc(x_32); +x_41 = l_Lean_indentExpr(x_32); +x_42 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__5; +lean_ctor_set_tag(x_29, 7); +lean_ctor_set(x_29, 1, x_41); +lean_ctor_set(x_29, 0, x_42); +x_43 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +lean_ctor_set_tag(x_28, 7); +lean_ctor_set(x_28, 1, x_43); +lean_ctor_set(x_28, 0, x_29); +x_44 = 2; +lean_inc(x_5); +x_45 = l_Lean_log___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(x_28, x_44, x_3, x_4, x_5, x_6, x_40); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_25); -x_40 = l_Lean_Meta_check(x_25, x_3, x_4, x_5, x_6, x_39); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_25, x_15, x_9, x_1, x_28, x_29, x_41, x_3, x_4, x_5, x_6, x_42); -lean_dec(x_41); -lean_dec(x_29); -lean_dec(x_1); -return x_43; -} -else -{ -uint8_t x_44; -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_25); -lean_dec(x_15); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_40); -if (x_44 == 0) -{ -return x_40; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_40, 0); -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_40); -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; -} -} -} -else +lean_inc(x_32); +x_47 = l_Lean_Meta_check(x_32, x_3, x_4, x_5, x_6, x_46); +if (lean_obj_tag(x_47) == 0) { lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_free_object(x_22); -lean_free_object(x_21); -x_48 = lean_ctor_get(x_30, 1); +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_dec(x_30); -x_49 = lean_box(0); -x_50 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_25, x_15, x_9, x_1, x_28, x_29, x_49, x_3, x_4, x_5, x_6, x_48); -lean_dec(x_29); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_32, x_23, x_9, x_1, x_35, x_36, x_48, x_3, x_4, x_5, x_6, x_49); +lean_dec(x_48); +lean_dec(x_36); lean_dec(x_1); return x_50; } -} else { uint8_t x_51; -lean_free_object(x_22); -lean_dec(x_29); -lean_dec(x_28); -lean_free_object(x_21); -lean_dec(x_25); -lean_dec(x_15); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_32); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_51 = !lean_is_exclusive(x_30); +x_51 = !lean_is_exclusive(x_47); if (x_51 == 0) { -return x_30; +return x_47; } else { lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_30, 0); -x_53 = lean_ctor_get(x_30, 1); +x_52 = lean_ctor_get(x_47, 0); +x_53 = lean_ctor_get(x_47, 1); lean_inc(x_53); lean_inc(x_52); -lean_dec(x_30); +lean_dec(x_47); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); @@ -72622,137 +73379,137 @@ return x_54; else { lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_22, 0); -x_56 = lean_ctor_get(x_22, 1); -lean_inc(x_56); +lean_free_object(x_29); +lean_free_object(x_28); +x_55 = lean_ctor_get(x_37, 1); lean_inc(x_55); -lean_dec(x_22); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_25); -x_57 = l_Lean_Meta_isTypeCorrect(x_25, x_3, x_4, x_5, x_6, x_23); -if (lean_obj_tag(x_57) == 0) -{ -lean_object* x_58; uint8_t x_59; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_unbox(x_58); -lean_dec(x_58); -if (x_59 == 0) -{ -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; -x_60 = lean_ctor_get(x_57, 1); -lean_inc(x_60); -lean_dec(x_57); -lean_inc(x_25); -x_61 = l_Lean_indentExpr(x_25); -x_62 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2; -x_63 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -x_64 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; -lean_ctor_set_tag(x_21, 7); -lean_ctor_set(x_21, 1, x_64); -lean_ctor_set(x_21, 0, x_63); -x_65 = 2; -lean_inc(x_5); -x_66 = l_Lean_log___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(x_21, x_65, x_3, x_4, x_5, x_6, x_60); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_25); -x_68 = l_Lean_Meta_check(x_25, x_3, x_4, x_5, x_6, x_67); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_25, x_15, x_9, x_1, x_55, x_56, x_69, x_3, x_4, x_5, x_6, x_70); -lean_dec(x_69); -lean_dec(x_56); +lean_dec(x_37); +x_56 = lean_box(0); +x_57 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_32, x_23, x_9, x_1, x_35, x_36, x_56, x_3, x_4, x_5, x_6, x_55); +lean_dec(x_36); lean_dec(x_1); -return x_71; +return x_57; +} } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_56); -lean_dec(x_55); -lean_dec(x_25); -lean_dec(x_15); +uint8_t x_58; +lean_free_object(x_29); +lean_dec(x_36); +lean_dec(x_35); +lean_free_object(x_28); +lean_dec(x_32); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_72 = lean_ctor_get(x_68, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_68, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_74 = x_68; -} else { - lean_dec_ref(x_68); - x_74 = lean_box(0); +x_58 = !lean_is_exclusive(x_37); +if (x_58 == 0) +{ +return x_37; } -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(1, 2, 0); -} else { - x_75 = x_74; +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_37, 0); +x_60 = lean_ctor_get(x_37, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_37); +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; } -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_73); -return x_75; } } else { +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_29, 0); +x_63 = lean_ctor_get(x_29, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_29); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_32); +x_64 = l_Lean_Meta_isTypeCorrect(x_32, x_3, x_4, x_5, x_6, x_30); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; uint8_t x_66; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_unbox(x_65); +lean_dec(x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec(x_64); +lean_inc(x_32); +x_68 = l_Lean_indentExpr(x_32); +x_69 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__5; +x_70 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +lean_ctor_set_tag(x_28, 7); +lean_ctor_set(x_28, 1, x_71); +lean_ctor_set(x_28, 0, x_70); +x_72 = 2; +lean_inc(x_5); +x_73 = l_Lean_log___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(x_28, x_72, x_3, x_4, x_5, x_6, x_67); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_32); +x_75 = l_Lean_Meta_check(x_32, x_3, x_4, x_5, x_6, x_74); +if (lean_obj_tag(x_75) == 0) +{ lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_free_object(x_21); -x_76 = lean_ctor_get(x_57, 1); +x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); -lean_dec(x_57); -x_77 = lean_box(0); -x_78 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_25, x_15, x_9, x_1, x_55, x_56, x_77, x_3, x_4, x_5, x_6, x_76); -lean_dec(x_56); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_32, x_23, x_9, x_1, x_62, x_63, x_76, x_3, x_4, x_5, x_6, x_77); +lean_dec(x_76); +lean_dec(x_63); lean_dec(x_1); return x_78; } -} else { lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_56); -lean_dec(x_55); -lean_free_object(x_21); -lean_dec(x_25); -lean_dec(x_15); +lean_dec(x_63); +lean_dec(x_62); +lean_dec(x_32); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_79 = lean_ctor_get(x_57, 0); +x_79 = lean_ctor_get(x_75, 0); lean_inc(x_79); -x_80 = lean_ctor_get(x_57, 1); +x_80 = lean_ctor_get(x_75, 1); lean_inc(x_80); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_81 = x_57; +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_81 = x_75; } else { - lean_dec_ref(x_57); + lean_dec_ref(x_75); x_81 = lean_box(0); } if (lean_is_scalar(x_81)) { @@ -72765,156 +73522,156 @@ lean_ctor_set(x_82, 1, x_80); return x_82; } } -} else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_83 = lean_ctor_get(x_21, 0); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_free_object(x_28); +x_83 = lean_ctor_get(x_64, 1); lean_inc(x_83); -lean_dec(x_21); -x_84 = lean_ctor_get(x_22, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_22, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_86 = x_22; -} else { - lean_dec_ref(x_22); - x_86 = lean_box(0); -} -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_83); -x_87 = l_Lean_Meta_isTypeCorrect(x_83, x_3, x_4, x_5, x_6, x_23); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; uint8_t x_89; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_unbox(x_88); -lean_dec(x_88); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_90 = lean_ctor_get(x_87, 1); -lean_inc(x_90); -lean_dec(x_87); -lean_inc(x_83); -x_91 = l_Lean_indentExpr(x_83); -x_92 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2; -if (lean_is_scalar(x_86)) { - x_93 = lean_alloc_ctor(7, 2, 0); -} else { - x_93 = x_86; - lean_ctor_set_tag(x_93, 7); -} -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -x_94 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; -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 = 2; -lean_inc(x_5); -x_97 = l_Lean_log___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(x_95, x_96, x_3, x_4, x_5, x_6, x_90); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_83); -x_99 = l_Lean_Meta_check(x_83, x_3, x_4, x_5, x_6, x_98); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_83, x_15, x_9, x_1, x_84, x_85, x_100, x_3, x_4, x_5, x_6, x_101); -lean_dec(x_100); -lean_dec(x_85); +lean_dec(x_64); +x_84 = lean_box(0); +x_85 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_32, x_23, x_9, x_1, x_62, x_63, x_84, x_3, x_4, x_5, x_6, x_83); +lean_dec(x_63); lean_dec(x_1); -return x_102; +return x_85; +} } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_15); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_63); +lean_dec(x_62); +lean_free_object(x_28); +lean_dec(x_32); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_103 = lean_ctor_get(x_99, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_99, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_105 = x_99; +x_86 = lean_ctor_get(x_64, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_64, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_88 = x_64; } else { - lean_dec_ref(x_99); - x_105 = lean_box(0); + lean_dec_ref(x_64); + x_88 = lean_box(0); } -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); } else { - x_106 = x_105; + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; } -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_104); -return x_106; } } else { +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_90 = lean_ctor_get(x_28, 0); +lean_inc(x_90); +lean_dec(x_28); +x_91 = lean_ctor_get(x_29, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_29, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_93 = x_29; +} else { + lean_dec_ref(x_29); + x_93 = lean_box(0); +} +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_90); +x_94 = l_Lean_Meta_isTypeCorrect(x_90, x_3, x_4, x_5, x_6, x_30); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; uint8_t x_96; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_unbox(x_95); +lean_dec(x_95); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_dec(x_94); +lean_inc(x_90); +x_98 = l_Lean_indentExpr(x_90); +x_99 = l_Lean_Tactic_FunInd_deriveInductionStructural___closed__5; +if (lean_is_scalar(x_93)) { + x_100 = lean_alloc_ctor(7, 2, 0); +} else { + x_100 = x_93; + lean_ctor_set_tag(x_100, 7); +} +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = l_Lean_Tactic_FunInd_lambdaTelescope1___rarg___lambda__2___closed__4; +x_102 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +x_103 = 2; +lean_inc(x_5); +x_104 = l_Lean_log___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(x_102, x_103, x_3, x_4, x_5, x_6, x_97); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_90); +x_106 = l_Lean_Meta_check(x_90, x_3, x_4, x_5, x_6, x_105); +if (lean_obj_tag(x_106) == 0) +{ lean_object* x_107; lean_object* x_108; lean_object* x_109; -lean_dec(x_86); -x_107 = lean_ctor_get(x_87, 1); +x_107 = lean_ctor_get(x_106, 0); lean_inc(x_107); -lean_dec(x_87); -x_108 = lean_box(0); -x_109 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_83, x_15, x_9, x_1, x_84, x_85, x_108, x_3, x_4, x_5, x_6, x_107); -lean_dec(x_85); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_90, x_23, x_9, x_1, x_91, x_92, x_107, x_3, x_4, x_5, x_6, x_108); +lean_dec(x_107); +lean_dec(x_92); lean_dec(x_1); return x_109; } -} else { lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_86); -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_15); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_110 = lean_ctor_get(x_87, 0); +x_110 = lean_ctor_get(x_106, 0); lean_inc(x_110); -x_111 = lean_ctor_get(x_87, 1); +x_111 = lean_ctor_get(x_106, 1); lean_inc(x_111); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_112 = x_87; +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_112 = x_106; } else { - lean_dec_ref(x_87); + lean_dec_ref(x_106); x_112 = lean_box(0); } if (lean_is_scalar(x_112)) { @@ -72927,62 +73684,112 @@ lean_ctor_set(x_113, 1, x_111); return x_113; } } +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_93); +x_114 = lean_ctor_get(x_94, 1); +lean_inc(x_114); +lean_dec(x_94); +x_115 = lean_box(0); +x_116 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__20(x_90, x_23, x_9, x_1, x_91, x_92, x_115, x_3, x_4, x_5, x_6, x_114); +lean_dec(x_92); +lean_dec(x_1); +return x_116; +} } else { -uint8_t x_114; -lean_dec(x_15); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_93); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_114 = !lean_is_exclusive(x_20); -if (x_114 == 0) -{ -return x_20; +x_117 = lean_ctor_get(x_94, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_94, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_119 = x_94; +} else { + lean_dec_ref(x_94); + x_119 = lean_box(0); } -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_20, 0); -x_116 = lean_ctor_get(x_20, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_20); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; +if (lean_is_scalar(x_119)) { + x_120 = lean_alloc_ctor(1, 2, 0); +} else { + x_120 = x_119; +} +lean_ctor_set(x_120, 0, x_117); +lean_ctor_set(x_120, 1, x_118); +return x_120; } } } else { -uint8_t x_118; +uint8_t x_121; +lean_dec(x_23); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_121 = !lean_is_exclusive(x_27); +if (x_121 == 0) +{ +return x_27; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_27, 0); +x_123 = lean_ctor_get(x_27, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_27); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +} +} +else +{ +uint8_t x_125; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_118 = !lean_is_exclusive(x_10); -if (x_118 == 0) +x_125 = !lean_is_exclusive(x_10); +if (x_125 == 0) { return x_10; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_10, 0); -x_120 = lean_ctor_get(x_10, 1); -lean_inc(x_120); -lean_inc(x_119); +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_10, 0); +x_127 = lean_ctor_get(x_10, 1); +lean_inc(x_127); +lean_inc(x_126); lean_dec(x_10); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; } } } @@ -73015,26 +73822,25 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___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) { _start: { lean_object* x_12; -x_12 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); -lean_dec(x_5); +lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_13 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; +lean_object* x_16; +x_16 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_16; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -73087,11 +73893,11 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___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) { _start: { lean_object* x_9; -x_9 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -73101,24 +73907,22 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_3); +lean_object* x_16; +x_16 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_6); lean_dec(x_3); -x_12 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); -return x_13; +return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___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) { _start: { lean_object* x_8; -x_8 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___lambda__1(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); @@ -73128,47 +73932,31 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_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: { -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); +lean_object* x_15; +x_15 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); lean_dec(x_3); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_12; +return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11___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) { _start: { lean_object* x_10; -x_10 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11___lambda__1(x_1, 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); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { size_t x_9; size_t x_10; lean_object* x_11; @@ -73176,11 +73964,11 @@ x_9 = lean_unbox_usize(x_1); lean_dec(x_1); x_10 = lean_unbox_usize(x_2); lean_dec(x_2); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__11(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14___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; @@ -73188,12 +73976,12 @@ 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_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15(x_1, x_2, x_6, x_7, x_5); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14(x_1, x_2, x_6, x_7, x_5); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -73201,51 +73989,51 @@ x_12 = lean_unbox_usize(x_4); lean_dec(x_4); x_13 = lean_unbox_usize(x_5); lean_dec(x_5); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_3); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___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_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_8); lean_dec(x_1); return x_16; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___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) { _start: { lean_object* x_16; -x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_2); return x_16; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); return x_15; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { size_t x_16; size_t x_17; lean_object* x_18; @@ -73253,34 +74041,36 @@ x_16 = lean_unbox_usize(x_6); lean_dec(x_6); x_17 = lean_unbox_usize(x_7); lean_dec(x_7); -x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); return x_18; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__1___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__1(x_1); +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__1(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___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) { _start: { -lean_object* x_6; -x_6 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_object* x_9; +x_9 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_6; +return x_9; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -73299,21 +74089,24 @@ lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_20 = lean_unbox_usize(x_10); +size_t x_22; size_t x_23; lean_object* x_24; +x_22 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_23 = lean_unbox_usize(x_13); +lean_dec(x_13); +x_24 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22, x_23, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_11); lean_dec(x_10); -x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19, x_20, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -return x_21; +return x_24; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___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; @@ -73321,7 +74114,7 @@ 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_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +x_11 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); @@ -73331,29 +74124,29 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__1(x_1, x_2); +x_3 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__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_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__2(x_1, x_2); +x_3 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__2(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_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -73376,16 +74169,15 @@ _start: size_t x_18; lean_object* x_19; x_18 = lean_unbox_usize(x_10); lean_dec(x_10); -x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_12); -lean_dec(x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); return x_19; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -73405,21 +74197,37 @@ lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -size_t x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_20 = lean_unbox_usize(x_1); +size_t x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_22 = lean_unbox_usize(x_1); lean_dec(x_1); -x_21 = lean_unbox_usize(x_12); -lean_dec(x_12); -x_22 = lean_unbox_usize(x_13); +x_23 = lean_unbox_usize(x_14); +lean_dec(x_14); +x_24 = lean_unbox_usize(x_15); +lean_dec(x_15); +x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19(x_22, 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_23, x_24, x_16, x_17, x_18, x_19, x_20, x_21); lean_dec(x_13); -x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21, x_22, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); +lean_dec(x_12); +lean_dec(x_4); lean_dec(x_2); -return x_23; +return x_25; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21___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_Tactic_FunInd_deriveInductionStructural___spec__21(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_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -73450,30 +74258,16 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24___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_Tactic_FunInd_deriveInductionStructural___spec__24(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_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21___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_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___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_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24___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; @@ -73481,7 +74275,7 @@ x_9 = lean_unbox_usize(x_1); lean_dec(x_1); x_10 = lean_unbox_usize(x_2); lean_dec(x_2); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); return x_11; } } @@ -73549,17 +74343,16 @@ lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; _start: { -size_t x_20; size_t x_21; lean_object* x_22; -x_20 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_21 = lean_unbox_usize(x_13); -lean_dec(x_13); -x_22 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4(x_1, x_2, x_3, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_12); -lean_dec(x_6); +size_t x_21; lean_object* x_22; +x_21 = lean_unbox_usize(x_5); lean_dec(x_5); +x_22 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4(x_1, x_2, x_3, x_4, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_4); return x_22; } } @@ -73601,16 +74394,15 @@ lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; lean_object* x_23 = _args[22]; lean_object* x_24 = _args[23]; +lean_object* x_25 = _args[24]; _start: { -size_t x_25; size_t x_26; lean_object* x_27; -x_25 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_26 = lean_unbox_usize(x_13); -lean_dec(x_13); -x_27 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_1, x_2, x_3, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); -lean_dec(x_19); -lean_dec(x_16); +size_t x_26; lean_object* x_27; +x_26 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_27 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6(x_1, x_2, x_3, x_4, x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25); +lean_dec(x_20); +lean_dec(x_17); return x_27; } } @@ -73641,14 +74433,12 @@ lean_object* x_23 = _args[22]; lean_object* x_24 = _args[23]; _start: { -size_t x_25; size_t x_26; lean_object* x_27; -x_25 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_26 = lean_unbox_usize(x_18); -lean_dec(x_18); -x_27 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_26, x_19, x_20, x_21, x_22, x_23, x_24); +size_t x_25; lean_object* x_26; +x_25 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_26 = l_Lean_Tactic_FunInd_deriveInductionStructural___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_25, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); lean_dec(x_19); -return x_27; +return x_26; } } LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8___boxed(lean_object** _args) { @@ -73680,15 +74470,13 @@ lean_object* x_25 = _args[24]; lean_object* x_26 = _args[25]; _start: { -size_t x_27; size_t x_28; lean_object* x_29; -x_27 = lean_unbox_usize(x_12); -lean_dec(x_12); -x_28 = lean_unbox_usize(x_20); -lean_dec(x_20); -x_29 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_28, x_21, x_22, x_23, x_24, x_25, x_26); +size_t x_27; lean_object* x_28; +x_27 = lean_unbox_usize(x_15); +lean_dec(x_15); +x_28 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__8(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_27, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); lean_dec(x_21); lean_dec(x_2); -return x_29; +return x_28; } } LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___boxed(lean_object** _args) { @@ -73716,16 +74504,15 @@ lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; lean_object* x_23 = _args[22]; lean_object* x_24 = _args[23]; +lean_object* x_25 = _args[24]; _start: { -size_t x_25; size_t x_26; lean_object* x_27; -x_25 = lean_unbox_usize(x_2); +size_t x_26; lean_object* x_27; +x_26 = lean_unbox_usize(x_2); lean_dec(x_2); -x_26 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_27 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9(x_1, x_25, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); -lean_dec(x_9); -lean_dec(x_7); +x_27 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9(x_1, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25); +lean_dec(x_6); +lean_dec(x_4); return x_27; } } @@ -73751,15 +74538,16 @@ lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +lean_object* x_24 = _args[23]; _start: { -size_t x_22; size_t x_23; lean_object* x_24; -x_22 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_23 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_24 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10(x_1, x_2, x_22, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_24; +size_t x_25; lean_object* x_26; +x_25 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_26 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); +return x_26; } } LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___boxed(lean_object** _args) { @@ -73786,16 +74574,17 @@ lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; lean_object* x_23 = _args[22]; +lean_object* x_24 = _args[23]; +lean_object* x_25 = _args[24]; +lean_object* x_26 = _args[25]; _start: { -size_t x_24; size_t x_25; lean_object* x_26; -x_24 = lean_unbox_usize(x_4); +size_t x_27; lean_object* x_28; +x_27 = lean_unbox_usize(x_4); lean_dec(x_4); -x_25 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_26 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(x_1, x_2, x_3, x_24, x_5, x_6, x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); -lean_dec(x_18); -return x_26; +x_28 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(x_1, x_2, x_3, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); +lean_dec(x_21); +return x_28; } } LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12___boxed(lean_object** _args) { @@ -73817,47 +74606,51 @@ lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; -_start: -{ -size_t x_19; lean_object* x_20; -x_19 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_20 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(x_1, x_2, x_3, x_4, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_6); -return x_20; -} -} -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; _start: { size_t x_21; lean_object* x_22; -x_21 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_22 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -lean_dec(x_15); +x_21 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_22 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec(x_7); return x_22; } } +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +_start: +{ +size_t x_23; lean_object* x_24; +x_23 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_24 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_17); +return x_24; +} +} LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -73880,15 +74673,17 @@ lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; _start: { -size_t x_22; lean_object* x_23; -x_22 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_23 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -lean_dec(x_16); -lean_dec(x_15); -return x_23; +size_t x_24; lean_object* x_25; +x_24 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_25 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_18); +lean_dec(x_17); +return x_25; } } LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15___boxed(lean_object** _args) { @@ -73909,46 +74704,65 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; _start: { -size_t x_18; lean_object* x_19; -x_18 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_19 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +size_t x_20; lean_object* x_21; +x_20 = lean_unbox_usize(x_12); lean_dec(x_12); -return x_19; +x_21 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_14); +return x_21; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___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) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -size_t x_17; lean_object* x_18; -x_17 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_18 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +size_t x_19; lean_object* x_20; +x_19 = lean_unbox_usize(x_11); lean_dec(x_11); -return x_18; +x_20 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_13); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -size_t x_14; lean_object* x_15; -x_14 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_15 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +size_t x_16; lean_object* x_17; +x_16 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_17 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18___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: { -size_t x_13; lean_object* x_14; -x_13 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_14 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); -return x_14; +size_t x_15; lean_object* x_16; +x_15 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_16 = l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__19___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) { @@ -74040,7 +74854,7 @@ lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_1); x_14 = lean_array_mk(x_13); x_15 = lean_array_mk(x_1); -x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__1; +x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1; lean_inc(x_12); x_17 = l_Lean_Tactic_FunInd_buildInductionBody(x_14, x_15, x_2, x_12, x_12, x_16, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_17; @@ -74765,7 +75579,7 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; +x_13 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); @@ -75605,7 +76419,7 @@ x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); lean_dec(x_17); x_20 = l_Lean_Elab_Structural_instInhabitedEqnInfo; -x_21 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; +x_21 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; lean_inc(x_1); x_22 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_20, x_21, x_19, x_1); if (lean_obj_tag(x_22) == 0) @@ -75657,7 +76471,7 @@ x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); lean_dec(x_31); x_34 = l_Lean_Elab_Structural_instInhabitedEqnInfo; -x_35 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; +x_35 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; lean_inc(x_1); x_36 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_34, x_35, x_33, x_1); if (lean_obj_tag(x_36) == 0) @@ -75754,17 +76568,17 @@ x_58 = lean_ctor_get(x_55, 0); lean_dec(x_58); x_59 = lean_ctor_get(x_46, 4); lean_inc(x_59); -lean_dec(x_46); x_60 = lean_array_get_size(x_59); +lean_dec(x_59); x_61 = lean_unsigned_to_nat(1u); x_62 = lean_nat_dec_eq(x_60, x_61); lean_dec(x_60); if (x_62 == 0) { lean_object* x_63; -lean_dec(x_59); lean_dec(x_54); lean_dec(x_49); +lean_dec(x_46); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -75775,65 +76589,91 @@ return x_55; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_free_object(x_55); -x_64 = l_Lean_instInhabitedName; -x_65 = lean_unsigned_to_nat(0u); -x_66 = lean_array_get(x_64, x_54, x_65); +x_64 = lean_ctor_get(x_46, 5); +lean_inc(x_64); +lean_dec(x_46); +x_65 = l_Lean_instInhabitedName; +x_66 = lean_unsigned_to_nat(0u); +x_67 = lean_array_get(x_65, x_54, x_66); lean_dec(x_54); -x_67 = l_Lean_Meta_ArgsPacker_arities(x_59); -x_68 = l_instInhabitedNat; -x_69 = lean_array_get(x_68, x_67, x_65); -lean_dec(x_67); -x_70 = l_Lean_Tactic_FunInd_setNaryFunIndInfo(x_66, x_69, x_49, x_2, x_3, x_4, x_5, x_57); -lean_dec(x_3); -lean_dec(x_2); -return x_70; +x_68 = l_Lean_Tactic_FunInd_setNaryFunIndInfo(x_64, x_67, x_49, x_2, x_3, x_4, x_5, x_57); +lean_dec(x_64); +return x_68; } } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_71 = lean_ctor_get(x_55, 1); -lean_inc(x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_69 = lean_ctor_get(x_55, 1); +lean_inc(x_69); lean_dec(x_55); -x_72 = lean_ctor_get(x_46, 4); -lean_inc(x_72); -lean_dec(x_46); -x_73 = lean_array_get_size(x_72); -x_74 = lean_unsigned_to_nat(1u); -x_75 = lean_nat_dec_eq(x_73, x_74); -lean_dec(x_73); -if (x_75 == 0) +x_70 = lean_ctor_get(x_46, 4); +lean_inc(x_70); +x_71 = lean_array_get_size(x_70); +lean_dec(x_70); +x_72 = lean_unsigned_to_nat(1u); +x_73 = lean_nat_dec_eq(x_71, x_72); +lean_dec(x_71); +if (x_73 == 0) { -lean_object* x_76; lean_object* x_77; -lean_dec(x_72); +lean_object* x_74; lean_object* x_75; lean_dec(x_54); lean_dec(x_49); +lean_dec(x_46); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_76 = lean_box(0); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_71); -return x_77; +x_74 = lean_box(0); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_69); +return x_75; } 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; -x_78 = l_Lean_instInhabitedName; -x_79 = lean_unsigned_to_nat(0u); -x_80 = lean_array_get(x_78, x_54, x_79); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_76 = lean_ctor_get(x_46, 5); +lean_inc(x_76); +lean_dec(x_46); +x_77 = l_Lean_instInhabitedName; +x_78 = lean_unsigned_to_nat(0u); +x_79 = lean_array_get(x_77, x_54, x_78); lean_dec(x_54); -x_81 = l_Lean_Meta_ArgsPacker_arities(x_72); -x_82 = l_instInhabitedNat; -x_83 = lean_array_get(x_82, x_81, x_79); -lean_dec(x_81); -x_84 = l_Lean_Tactic_FunInd_setNaryFunIndInfo(x_80, x_83, x_49, x_2, x_3, x_4, x_5, x_71); +x_80 = l_Lean_Tactic_FunInd_setNaryFunIndInfo(x_76, x_79, x_49, x_2, x_3, x_4, x_5, x_69); +lean_dec(x_76); +return x_80; +} +} +} +else +{ +uint8_t x_81; +lean_dec(x_54); +lean_dec(x_49); +lean_dec(x_46); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +x_81 = !lean_is_exclusive(x_55); +if (x_81 == 0) +{ +return x_55; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_55, 0); +x_83 = lean_ctor_get(x_55, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_55); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); return x_84; } } @@ -75841,26 +76681,25 @@ return x_84; else { uint8_t x_85; -lean_dec(x_54); lean_dec(x_49); lean_dec(x_46); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_85 = !lean_is_exclusive(x_55); +x_85 = !lean_is_exclusive(x_51); if (x_85 == 0) { -return x_55; +return x_51; } else { lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_55, 0); -x_87 = lean_ctor_get(x_55, 1); +x_86 = lean_ctor_get(x_51, 0); +x_87 = lean_ctor_get(x_51, 1); lean_inc(x_87); lean_inc(x_86); -lean_dec(x_55); +lean_dec(x_51); x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_86); lean_ctor_set(x_88, 1, x_87); @@ -75871,25 +76710,24 @@ return x_88; else { uint8_t x_89; -lean_dec(x_49); lean_dec(x_46); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_89 = !lean_is_exclusive(x_51); +x_89 = !lean_is_exclusive(x_48); if (x_89 == 0) { -return x_51; +return x_48; } else { lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_51, 0); -x_91 = lean_ctor_get(x_51, 1); +x_90 = lean_ctor_get(x_48, 0); +x_91 = lean_ctor_get(x_48, 1); lean_inc(x_91); lean_inc(x_90); -lean_dec(x_51); +lean_dec(x_48); x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_90); lean_ctor_set(x_92, 1, x_91); @@ -75897,307 +76735,277 @@ return x_92; } } } -else -{ -uint8_t x_93; -lean_dec(x_46); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_93 = !lean_is_exclusive(x_48); -if (x_93 == 0) -{ -return x_48; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_48, 0); -x_95 = lean_ctor_get(x_48, 1); -lean_inc(x_95); +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_93 = lean_ctor_get(x_7, 0); +x_94 = lean_ctor_get(x_7, 1); lean_inc(x_94); -lean_dec(x_48); -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; -} -} -} -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_97 = lean_ctor_get(x_7, 0); -x_98 = lean_ctor_get(x_7, 1); -lean_inc(x_98); -lean_inc(x_97); +lean_inc(x_93); lean_dec(x_7); -x_99 = lean_ctor_get(x_97, 0); -lean_inc(x_99); -lean_dec(x_97); -x_100 = l_Lean_Elab_WF_instInhabitedEqnInfo; -x_101 = l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__1; +x_95 = lean_ctor_get(x_93, 0); +lean_inc(x_95); +lean_dec(x_93); +x_96 = l_Lean_Elab_WF_instInhabitedEqnInfo; +x_97 = l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__1; lean_inc(x_1); -x_102 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_100, x_101, x_99, x_1); -if (lean_obj_tag(x_102) == 0) +x_98 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_96, x_97, x_95, x_1); +if (lean_obj_tag(x_98) == 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; -x_103 = lean_st_ref_get(x_5, x_98); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_106 = x_103; +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_99 = lean_st_ref_get(x_5, x_94); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_102 = x_99; } else { - lean_dec_ref(x_103); - x_106 = lean_box(0); + lean_dec_ref(x_99); + x_102 = lean_box(0); } -x_107 = lean_ctor_get(x_104, 0); -lean_inc(x_107); -lean_dec(x_104); -x_108 = l_Lean_Elab_Structural_instInhabitedEqnInfo; -x_109 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; +x_103 = lean_ctor_get(x_100, 0); +lean_inc(x_103); +lean_dec(x_100); +x_104 = l_Lean_Elab_Structural_instInhabitedEqnInfo; +x_105 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; lean_inc(x_1); -x_110 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_108, x_109, x_107, x_1); -if (lean_obj_tag(x_110) == 0) +x_106 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_104, x_105, x_103, x_1); +if (lean_obj_tag(x_106) == 0) { -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_111 = l_Lean_MessageData_ofName(x_1); -x_112 = l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__3; -if (lean_is_scalar(x_106)) { - x_113 = lean_alloc_ctor(7, 2, 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; +x_107 = l_Lean_MessageData_ofName(x_1); +x_108 = l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__3; +if (lean_is_scalar(x_102)) { + x_109 = lean_alloc_ctor(7, 2, 0); } else { - x_113 = x_106; - lean_ctor_set_tag(x_113, 7); + x_109 = x_102; + lean_ctor_set_tag(x_109, 7); } -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_111); -x_114 = l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__5; -x_115 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -x_116 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_115, x_2, x_3, x_4, x_5, x_105); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_107); +x_110 = l_Lean_Tactic_FunInd_deriveInduction___lambda__1___closed__5; +x_111 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +x_112 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_111, x_2, x_3, x_4, x_5, x_101); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +return x_112; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_102); +lean_dec(x_1); +x_113 = lean_ctor_get(x_106, 0); +lean_inc(x_113); +lean_dec(x_106); +x_114 = lean_ctor_get(x_113, 2); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 3); +lean_inc(x_115); +lean_dec(x_113); +x_116 = l_Lean_Tactic_FunInd_deriveInductionStructural(x_114, x_115, x_2, x_3, x_4, x_5, x_101); return x_116; } +} else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_106); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_dec(x_1); -x_117 = lean_ctor_get(x_110, 0); +x_117 = lean_ctor_get(x_98, 0); lean_inc(x_117); -lean_dec(x_110); +lean_dec(x_98); x_118 = lean_ctor_get(x_117, 2); lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 3); -lean_inc(x_119); -lean_dec(x_117); -x_120 = l_Lean_Tactic_FunInd_deriveInductionStructural(x_118, x_119, x_2, x_3, x_4, x_5, x_105); -return x_120; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -lean_dec(x_1); -x_121 = lean_ctor_get(x_102, 0); -lean_inc(x_121); -lean_dec(x_102); -x_122 = lean_ctor_get(x_121, 2); -lean_inc(x_122); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_123 = l_Lean_Tactic_FunInd_deriveUnaryInduction(x_122, x_2, x_3, x_4, x_5, x_98); -if (lean_obj_tag(x_123) == 0) +x_119 = l_Lean_Tactic_FunInd_deriveUnaryInduction(x_118, x_2, x_3, x_4, x_5, x_94); +if (lean_obj_tag(x_119) == 0) { -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_123, 0); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_120); +lean_inc(x_117); +x_122 = l_Lean_Tactic_FunInd_unpackMutualInduction(x_117, x_120, x_2, x_3, x_4, x_5, x_121); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); +lean_dec(x_122); +x_125 = lean_ctor_get(x_117, 1); lean_inc(x_125); -lean_dec(x_123); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_124); -lean_inc(x_121); -x_126 = l_Lean_Tactic_FunInd_unpackMutualInduction(x_121, x_124, x_2, x_3, x_4, x_5, x_125); +x_126 = l_Lean_Tactic_FunInd_projectMutualInduct(x_125, x_123, x_2, x_3, x_4, x_5, x_124); if (lean_obj_tag(x_126) == 0) { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_127 = lean_ctor_get(x_126, 0); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_127 = lean_ctor_get(x_126, 1); lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_129 = lean_ctor_get(x_121, 1); -lean_inc(x_129); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_130 = l_Lean_Tactic_FunInd_projectMutualInduct(x_129, x_127, x_2, x_3, x_4, x_5, x_128); -if (lean_obj_tag(x_130) == 0) -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_132 = x_130; -} else { - lean_dec_ref(x_130); - x_132 = lean_box(0); -} -x_133 = lean_ctor_get(x_121, 4); -lean_inc(x_133); -lean_dec(x_121); -x_134 = lean_array_get_size(x_133); -x_135 = lean_unsigned_to_nat(1u); -x_136 = lean_nat_dec_eq(x_134, x_135); -lean_dec(x_134); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; -lean_dec(x_133); -lean_dec(x_129); -lean_dec(x_124); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_137 = lean_box(0); -if (lean_is_scalar(x_132)) { - x_138 = lean_alloc_ctor(0, 2, 0); -} else { - x_138 = x_132; -} -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_131); -return x_138; -} -else -{ -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_dec(x_132); -x_139 = l_Lean_instInhabitedName; -x_140 = lean_unsigned_to_nat(0u); -x_141 = lean_array_get(x_139, x_129, x_140); -lean_dec(x_129); -x_142 = l_Lean_Meta_ArgsPacker_arities(x_133); -x_143 = l_instInhabitedNat; -x_144 = lean_array_get(x_143, x_142, x_140); -lean_dec(x_142); -x_145 = l_Lean_Tactic_FunInd_setNaryFunIndInfo(x_141, x_144, x_124, x_2, x_3, x_4, x_5, x_131); -lean_dec(x_3); -lean_dec(x_2); -return x_145; -} -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -lean_dec(x_129); -lean_dec(x_124); -lean_dec(x_121); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_146 = lean_ctor_get(x_130, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_130, 1); -lean_inc(x_147); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_148 = x_130; -} else { - lean_dec_ref(x_130); - x_148 = lean_box(0); -} -if (lean_is_scalar(x_148)) { - x_149 = lean_alloc_ctor(1, 2, 0); -} else { - x_149 = x_148; -} -lean_ctor_set(x_149, 0, x_146); -lean_ctor_set(x_149, 1, x_147); -return x_149; -} -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -lean_dec(x_124); -lean_dec(x_121); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_150 = lean_ctor_get(x_126, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_126, 1); -lean_inc(x_151); if (lean_is_exclusive(x_126)) { lean_ctor_release(x_126, 0); lean_ctor_release(x_126, 1); - x_152 = x_126; + x_128 = x_126; } else { lean_dec_ref(x_126); - x_152 = lean_box(0); + x_128 = lean_box(0); } -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(1, 2, 0); -} else { - x_153 = x_152; -} -lean_ctor_set(x_153, 0, x_150); -lean_ctor_set(x_153, 1, x_151); -return x_153; -} -} -else +x_129 = lean_ctor_get(x_117, 4); +lean_inc(x_129); +x_130 = lean_array_get_size(x_129); +lean_dec(x_129); +x_131 = lean_unsigned_to_nat(1u); +x_132 = lean_nat_dec_eq(x_130, x_131); +lean_dec(x_130); +if (x_132 == 0) { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -lean_dec(x_121); +lean_object* x_133; lean_object* x_134; +lean_dec(x_125); +lean_dec(x_120); +lean_dec(x_117); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_154 = lean_ctor_get(x_123, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_123, 1); -lean_inc(x_155); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_156 = x_123; +x_133 = lean_box(0); +if (lean_is_scalar(x_128)) { + x_134 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_123); - x_156 = lean_box(0); + x_134 = x_128; } -if (lean_is_scalar(x_156)) { - x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_127); +return x_134; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_128); +x_135 = lean_ctor_get(x_117, 5); +lean_inc(x_135); +lean_dec(x_117); +x_136 = l_Lean_instInhabitedName; +x_137 = lean_unsigned_to_nat(0u); +x_138 = lean_array_get(x_136, x_125, x_137); +lean_dec(x_125); +x_139 = l_Lean_Tactic_FunInd_setNaryFunIndInfo(x_135, x_138, x_120, x_2, x_3, x_4, x_5, x_127); +lean_dec(x_135); +return x_139; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_125); +lean_dec(x_120); +lean_dec(x_117); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_140 = lean_ctor_get(x_126, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_126, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_142 = x_126; } else { - x_157 = x_156; + lean_dec_ref(x_126); + x_142 = lean_box(0); } -lean_ctor_set(x_157, 0, x_154); -lean_ctor_set(x_157, 1, x_155); -return x_157; +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(1, 2, 0); +} else { + x_143 = x_142; +} +lean_ctor_set(x_143, 0, x_140); +lean_ctor_set(x_143, 1, x_141); +return x_143; +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_120); +lean_dec(x_117); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_144 = lean_ctor_get(x_122, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_122, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_146 = x_122; +} else { + lean_dec_ref(x_122); + x_146 = lean_box(0); +} +if (lean_is_scalar(x_146)) { + x_147 = lean_alloc_ctor(1, 2, 0); +} else { + x_147 = x_146; +} +lean_ctor_set(x_147, 0, x_144); +lean_ctor_set(x_147, 1, x_145); +return x_147; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_117); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_148 = lean_ctor_get(x_119, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_119, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_150 = x_119; +} else { + lean_dec_ref(x_119); + x_150 = lean_box(0); +} +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(1, 2, 0); +} else { + x_151 = x_150; +} +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_149); +return x_151; } } } @@ -76329,7 +77137,7 @@ _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = l_Lean_Elab_Structural_instInhabitedEqnInfo; -x_5 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; +x_5 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; lean_inc(x_2); x_6 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_4, x_5, x_1, x_2); if (lean_obj_tag(x_6) == 0) @@ -76380,7 +77188,7 @@ _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = l_Lean_Elab_Structural_instInhabitedEqnInfo; -x_5 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; +x_5 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; x_6 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_4, x_5, x_1, x_2); if (lean_obj_tag(x_6) == 0) { @@ -76590,7 +77398,7 @@ _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = l_Lean_Elab_Structural_instInhabitedEqnInfo; -x_5 = l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; +x_5 = l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1; lean_inc(x_2); lean_inc(x_1); x_6 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_4, x_5, x_1, x_2); @@ -76707,7 +77515,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____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_18788____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; @@ -76719,15 +77527,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_18442____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____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_18442____lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__1___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__2() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -76758,16 +77566,16 @@ lean_ctor_set_uint8(x_6, 17, x_2); return x_6; } } -static uint64_t _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__3() { +static uint64_t _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__3() { _start: { lean_object* x_1; uint64_t x_2; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__2; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__2; x_2 = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(x_1); return x_2; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__4() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__4() { _start: { lean_object* x_1; @@ -76775,22 +77583,22 @@ 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_18442____lambda__2___closed__5() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__4; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__6() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); -x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__5; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__5; x_3 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_foldAndCollect___spec__19___closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_2); @@ -76799,16 +77607,16 @@ lean_ctor_set(x_4, 2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__7() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint64_t x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_1 = lean_box(0); x_2 = lean_box(0); -x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__2; -x_4 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__3; +x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__2; +x_4 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__3; x_5 = 0; -x_6 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__6; +x_6 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__6; x_7 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; x_8 = lean_unsigned_to_nat(0u); x_9 = lean_alloc_ctor(0, 7, 11); @@ -76826,12 +77634,12 @@ lean_ctor_set_uint8(x_9, sizeof(void*)*7 + 10, x_5); return x_9; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__8() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__8() { _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_18442____lambda__2___closed__5; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__5; x_3 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_1); @@ -76845,11 +77653,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_18442____lambda__2___closed__9() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__5; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__5; x_2 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -76860,11 +77668,11 @@ lean_ctor_set(x_2, 5, x_1); return x_2; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__10() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__5; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___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); @@ -76873,15 +77681,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_18442____lambda__2___closed__11() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11() { _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_18442____lambda__2___closed__8; -x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__9; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__8; +x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__9; x_4 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_foldAndCollect___spec__19___closed__3; -x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__10; +x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__10; x_6 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_6, 0, x_2); lean_ctor_set(x_6, 1, x_3); @@ -76891,7 +77699,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_18442____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2(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; @@ -76905,7 +77713,7 @@ x_9 = lean_ctor_get(x_6, 1); x_10 = lean_ctor_get(x_8, 0); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__1; +x_11 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__1; lean_inc(x_1); x_12 = l_Lean_Tactic_FunInd_isFunCasesName(x_10, x_1); if (x_12 == 0) @@ -76926,14 +77734,14 @@ lean_free_object(x_6); 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_18442____lambda__2___closed__11; +x_16 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11; x_17 = lean_st_mk_ref(x_16, x_9); 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_18442____lambda__2___closed__7; +x_20 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7; lean_inc(x_18); x_21 = l_Lean_Tactic_FunInd_deriveCases(x_15, x_20, x_18, x_3, x_4, x_19); if (lean_obj_tag(x_21) == 0) @@ -77017,7 +77825,7 @@ lean_dec(x_6); 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_18442____lambda__2___closed__1; +x_41 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__1; lean_inc(x_1); x_42 = l_Lean_Tactic_FunInd_isFunCasesName(x_40, x_1); if (x_42 == 0) @@ -77036,14 +77844,14 @@ lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean x_45 = lean_ctor_get(x_1, 0); lean_inc(x_45); lean_dec(x_1); -x_46 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__11; +x_46 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11; x_47 = lean_st_mk_ref(x_46, x_39); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); lean_dec(x_47); -x_50 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__7; +x_50 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7; lean_inc(x_48); x_51 = l_Lean_Tactic_FunInd_deriveCases(x_45, x_50, x_48, x_3, x_4, x_49); if (lean_obj_tag(x_51) == 0) @@ -77118,7 +77926,7 @@ return x_65; } } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__3(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_18788____lambda__3(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; @@ -77141,7 +77949,7 @@ if (x_11 == 0) lean_object* x_12; lean_object* x_13; lean_free_object(x_5); x_12 = lean_box(0); -x_13 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2(x_1, x_12, x_2, x_3, x_8); +x_13 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2(x_1, x_12, x_2, x_3, x_8); return x_13; } else @@ -77153,14 +77961,14 @@ lean_free_object(x_5); x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); lean_dec(x_1); -x_15 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__11; +x_15 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11; x_16 = lean_st_mk_ref(x_15, x_8); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); -x_19 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__7; +x_19 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7; lean_inc(x_17); x_20 = l_Lean_Tactic_FunInd_deriveInduction(x_14, x_19, x_17, x_2, x_3, x_18); if (lean_obj_tag(x_20) == 0) @@ -77252,7 +78060,7 @@ if (x_41 == 0) { lean_object* x_42; lean_object* x_43; x_42 = lean_box(0); -x_43 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2(x_1, x_42, x_2, x_3, x_38); +x_43 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2(x_1, x_42, x_2, x_3, x_38); return x_43; } else @@ -77263,14 +78071,14 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean x_44 = lean_ctor_get(x_1, 0); lean_inc(x_44); lean_dec(x_1); -x_45 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__11; +x_45 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11; x_46 = lean_st_mk_ref(x_45, x_38); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); lean_dec(x_46); -x_49 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__7; +x_49 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7; lean_inc(x_47); x_50 = l_Lean_Tactic_FunInd_deriveInduction(x_44, x_49, x_47, x_2, x_3, x_48); if (lean_obj_tag(x_50) == 0) @@ -77345,7 +78153,7 @@ return x_64; } } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__1() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__1() { _start: { lean_object* x_1; @@ -77353,7 +78161,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_isFunInductName), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__2() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__2() { _start: { lean_object* x_1; @@ -77361,19 +78169,19 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_isFunCasesName___boxed), 2 return x_1; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__3() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__3), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__3), 4, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788_(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_18442____closed__1; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__1; x_3 = l_Lean_registerReservedNamePredicate(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -77381,7 +78189,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_18442____closed__2; +x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__2; x_6 = l_Lean_registerReservedNamePredicate(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -77389,7 +78197,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__3; +x_8 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__3; x_9 = l_Lean_registerReservedNameAction(x_8, x_7); return x_9; } @@ -77440,27 +78248,27 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____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_18788____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_18442____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____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; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__1() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__1() { _start: { lean_object* x_1; @@ -77468,17 +78276,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_18709____closed__2() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__1; +x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__3() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__3() { _start: { lean_object* x_1; @@ -77486,17 +78294,17 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__4() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__2; -x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__3; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__2; +x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__5() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__5() { _start: { lean_object* x_1; @@ -77504,47 +78312,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_18709____closed__6() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__4; -x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__5; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__4; +x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__7() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__6; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__6; x_2 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___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_18709____closed__8() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__7; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__7; x_2 = l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___lambda__2___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_18709____closed__9() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__8; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__8; x_2 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___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_18709____closed__10() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__10() { _start: { lean_object* x_1; @@ -77552,33 +78360,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_18709____closed__11() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__9; -x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__10; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__9; +x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__12() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____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_18709____closed__11; -x_2 = lean_unsigned_to_nat(18709u); +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__11; +x_2 = lean_unsigned_to_nat(19055u); 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_18709_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055_(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_foldAndCollect___lambda__27___closed__3; x_3 = 0; -x_4 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__12; +x_4 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__12; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -78016,6 +78824,16 @@ l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___closed__2 = _init_l_Lea lean_mark_persistent(l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___closed__2); l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___closed__3 = _init_l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___closed__3(); lean_mark_persistent(l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__17___closed__3); +l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___closed__1 = _init_l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__1___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Tactic_FunInd_setNaryFunIndInfo___spec__2___closed__4); l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__1 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__1(); lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__1); l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__2 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__2(); @@ -78024,6 +78842,20 @@ l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__3 = _init_l_Lean_Tactic_FunInd_ lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__3); l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__4 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__4(); lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__4); +l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__5 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__5(); +lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__5); +l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__6 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__6(); +lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__6); +l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__7 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__7(); +lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__7); +l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8(); +lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__8); +l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__9 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__9(); +lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__9); +l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__10 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__10(); +lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__10); +l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__11 = _init_l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__11(); +lean_mark_persistent(l_Lean_Tactic_FunInd_setNaryFunIndInfo___closed__11); l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2___closed__1 = _init_l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2___closed__1); l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2___closed__2(); @@ -78096,8 +78928,6 @@ l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__10 = _init_l_Le lean_mark_persistent(l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__10); l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__11 = _init_l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__11(); lean_mark_persistent(l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__11); -l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___rarg___closed__1 = _init_l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___rarg___closed__1(); -lean_mark_persistent(l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___rarg___closed__1); l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__1 = _init_l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__1(); lean_mark_persistent(l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__1); l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__2 = _init_l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__2(); @@ -78106,16 +78936,16 @@ l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__3 = _init_l_Lean_Tactic_FunIn lean_mark_persistent(l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__3); l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__4 = _init_l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__4(); lean_mark_persistent(l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__4); -l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3); -l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4); -l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5); +l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1 = _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__1); +l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2 = _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__2); +l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3 = _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__3); +l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4 = _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__4); +l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5 = _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4___closed__5); l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__7___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__7___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__7___closed__1); l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1 = _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__1(); @@ -78128,60 +78958,58 @@ l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveIndu lean_mark_persistent(l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__4); l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__5 = _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__5(); lean_mark_persistent(l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__5); -l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__6 = _init_l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__6(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__5___closed__6); -l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1); -l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14___closed__1 = _init_l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14___closed__1(); -lean_mark_persistent(l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__14___closed__1); -l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1); -l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__2 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__2(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__2); -l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__3 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__3(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__3); -l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__4 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__4(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__4); -l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__5 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__5(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__5); -l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__6 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__6(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__6); -l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__7 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__7(); -lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__7); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__4); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__4___closed__4); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__4); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__5(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__5); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__6 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__6(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__6); -l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__7 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__7(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___lambda__3___closed__7); +l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1 = _init_l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1(); +lean_mark_persistent(l_Array_mapFinIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___closed__1); +l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1 = _init_l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1); +l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__1 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__1(); +lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__1); +l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__2 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__2(); +lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__2); +l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__3 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__3(); +lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__3); +l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__4 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__4(); +lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__4); +l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__5 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__5(); +lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__5); +l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__6 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__6(); +lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__6); +l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__7 = _init_l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__7(); +lean_mark_persistent(l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__7); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__2___closed__4); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__4); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__4); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__5(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__5); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__6 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__6(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__6); +l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__7 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__7(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__7); l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2___closed__1 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2___closed__1); l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___closed__1 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___closed__1(); @@ -78208,10 +79036,6 @@ l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___closed__2 = _init_l lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___closed__2); l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___closed__3 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___closed__3(); lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___closed__3); -l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__1 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__1(); -lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__1); -l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__2 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__2(); -lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__2); l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__1 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__1(); lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__1); l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__2 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__2(); @@ -78252,10 +79076,20 @@ l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__3 = _init_ lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__3); l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__4 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__4(); lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__4); +l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__5 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__5(); +lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__5); +l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__6 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__6(); +lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___closed__6); l_Lean_Tactic_FunInd_deriveInductionStructural___closed__1 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__1(); lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___closed__1); l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2(); lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2); +l_Lean_Tactic_FunInd_deriveInductionStructural___closed__3 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__3(); +lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___closed__3); +l_Lean_Tactic_FunInd_deriveInductionStructural___closed__4 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__4(); +lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___closed__4); +l_Lean_Tactic_FunInd_deriveInductionStructural___closed__5 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___closed__5(); +lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___closed__5); l_Lean_Tactic_FunInd_deriveInductionStructural___boxed__const__1 = _init_l_Lean_Tactic_FunInd_deriveInductionStructural___boxed__const__1(); lean_mark_persistent(l_Lean_Tactic_FunInd_deriveInductionStructural___boxed__const__1); l_Lean_Tactic_FunInd_deriveCases___lambda__1___closed__1 = _init_l_Lean_Tactic_FunInd_deriveCases___lambda__1___closed__1(); @@ -78324,61 +79158,61 @@ l_Lean_Tactic_FunInd_isFunInductName___closed__2 = _init_l_Lean_Tactic_FunInd_is lean_mark_persistent(l_Lean_Tactic_FunInd_isFunInductName___closed__2); l_Lean_Tactic_FunInd_isFunCasesName___closed__1 = _init_l_Lean_Tactic_FunInd_isFunCasesName___closed__1(); lean_mark_persistent(l_Lean_Tactic_FunInd_isFunCasesName___closed__1); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__1); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__2); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__3 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__3(); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__4 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__4); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__5 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__5); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__6 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__6); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__7 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__7); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__8 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__8); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__9 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__9); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__10 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__10(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__10); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__11 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__11(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____lambda__2___closed__11); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__1(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__1); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__2(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__2); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__3 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__3(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442____closed__3); -if (builtin) {res = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18442_(lean_io_mk_world()); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__1); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__2); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__3 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__3(); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__4 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__4); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__5 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__5); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__6 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__6); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__7); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__8 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__8); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__9 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__9); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__10 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__10); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____lambda__2___closed__11); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__1(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__1); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__2(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__2); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__3 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__3(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788____closed__3); +if (builtin) {res = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18788_(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_18709____closed__1 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__1(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__1); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__2 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__2(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__2); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__3 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__3(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__3); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__4 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__4(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__4); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__5 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__5(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__5); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__6 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__6(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__6); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__7 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__7(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__7); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__8 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__8(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__8); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__9 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__9(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__9); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__10 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__10(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__10); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__11 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__11(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__11); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__12 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__12(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709____closed__12); -if (builtin) {res = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_18709_(lean_io_mk_world()); +}l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__1 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__1(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__1); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__2 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__2(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__2); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__3 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__3(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__3); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__4 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__4(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__4); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__5 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__5(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__5); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__6 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__6(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__6); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__7 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__7(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__7); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__8 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__8(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__8); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__9 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__9(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__9); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__10 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__10(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__10); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__11 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__11(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__11); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__12 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__12(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055____closed__12); +if (builtin) {res = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_19055_(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/FunIndInfo.c b/stage0/stdlib/Lean/Meta/Tactic/FunIndInfo.c index 3a14edf534..fb6b0be880 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/FunIndInfo.c +++ b/stage0/stdlib/Lean/Meta/Tactic/FunIndInfo.c @@ -15,152 +15,153 @@ extern "C" { #endif lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); static lean_object* l_Lean_Meta_setFunIndInfo___closed__3; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__16; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__3; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__3; lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_getFunIndInfo_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__10; LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_setFunIndInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_FunIndParamKind_toCtorIdx(uint8_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__3; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__4; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_getFunIndInfoForInduct_x3f(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getFunInduct_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_FunIndParamKind_noConfusion___rarg___lambda__1(lean_object*); uint8_t l_Lean_Exception_isInterrupt(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__5; lean_object* l_Lean_Core_instInhabitedCoreM___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__24; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__14; static lean_object* l_Lean_Meta_setFunIndInfo___closed__4; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__1; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__17; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__20; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__26; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__27; -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__3(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__22; static lean_object* l_Lean_Meta_getFunCasesName___closed__2; -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1(uint8_t); static lean_object* l_Lean_Meta_getFunInductName___closed__2; static lean_object* l_Lean_Meta_setFunIndInfo___closed__5; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__23; static lean_object* l_Lean_Meta_instInhabitedFunIndInfo___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__2; -static lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__15; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__7; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__9; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__18; +LEAN_EXPORT uint8_t l_Lean_Meta_instInhabitedFunIndParamKind; uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__1; -LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__6(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__26; +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273_(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__16; +static lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__14; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__12; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__1; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedFunIndInfo; static lean_object* l_Lean_Meta_setFunIndInfo___closed__1; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__20; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__25; -static lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__3; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_getFunInductName(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__17; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__32; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__20; +static lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__3; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__5; lean_object* lean_nat_to_int(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__11; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__6; static lean_object* l_Lean_Meta_setFunIndInfo___closed__7; static lean_object* l_Lean_Meta_FunIndParamKind_noConfusion___rarg___closed__1; +static lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_getFunInduct_x3f(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__23; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__8; -static lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__4; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__9; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_FunIndParamKind_noConfusion___rarg___lambda__1___boxed(lean_object*); +static lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_FunIndParamKind_toCtorIdx___boxed(lean_object*); lean_object* lean_array_to_list(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__30; LEAN_EXPORT lean_object* l_Lean_Meta_FunIndParamKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_FunIndParamKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__15; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__10; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__16; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__21; -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28_(uint8_t, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_funIndInfoExt; 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*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__24; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getMutualInductName___closed__2; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__8; -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__5(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__31; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__19; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__9; static lean_object* l_Lean_Meta_setFunIndInfo___closed__10; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__7; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__31; static lean_object* l_Lean_Meta_setFunIndInfo___closed__9; static lean_object* l_Lean_Meta_getMutualInductName___closed__1; static lean_object* l_panic___at_Lean_Meta_setFunIndInfo___spec__1___closed__1; LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_beqFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_10_(uint8_t, uint8_t); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__3; static lean_object* l_Lean_Meta_getFunCasesName___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_getFunCasesName(lean_object*); -LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__4(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__28; static lean_object* l_Lean_Meta_setFunIndInfo___closed__8; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__18; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__5; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264_(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__4; static lean_object* l_Lean_Meta_setFunIndInfo___closed__2; lean_object* lean_string_length(lean_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1(uint8_t); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_FunIndParamKind_noConfusion(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__19; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__17; -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__2___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__30; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__12; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__13; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__18; +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__4(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__19; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__1; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__13; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__4; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__6; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__12; static lean_object* l_Lean_Meta_instReprFunIndInfo___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_getFunIndInfoForInduct_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__2___boxed(lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__7; -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__2(uint8_t); lean_object* l_Lean_realizeGlobalConstNoOverloadCore(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__22; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__11; static lean_object* l_Lean_Meta_instBEqFunIndParamKind___closed__1; static lean_object* l_Lean_Meta_getFunInductName___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__21; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__27; static lean_object* l_Lean_Meta_instReprFunIndParamKind___closed__1; -static lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_instBEqFunIndParamKind; +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__2(uint8_t); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedFunIndInfo___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_getMutualInductName(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__13; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__29; +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___boxed(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__5(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__14; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__15; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__10; uint8_t l_Lean_Exception_isRuntime(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instReprFunIndInfo; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_beqFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_10____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_setFunIndInfo___closed__6; static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28____closed__11; +static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__25; LEAN_EXPORT lean_object* l_Lean_Meta_getFunIndInfo_x3f(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_setFunIndInfo(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__28; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__32; -static lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__29; LEAN_EXPORT lean_object* l_Lean_Meta_instReprFunIndParamKind; LEAN_EXPORT lean_object* l_Lean_Meta_FunIndParamKind_toCtorIdx(uint8_t x_1) { _start: @@ -600,6 +601,14 @@ x_1 = l_Lean_Meta_instReprFunIndParamKind___closed__1; return x_1; } } +static uint8_t _init_l_Lean_Meta_instInhabitedFunIndParamKind() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} static lean_object* _init_l_Lean_Meta_instInhabitedFunIndInfo___closed__1() { _start: { @@ -630,7 +639,7 @@ x_1 = l_Lean_Meta_instInhabitedFunIndInfo___closed__2; return x_1; } } -static lean_object* _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__1() { +static lean_object* _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__1() { _start: { lean_object* x_1; @@ -638,17 +647,17 @@ x_1 = lean_mk_string_unchecked("false", 5, 5); return x_1; } } -static lean_object* _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__2() { +static lean_object* _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__1; +x_1 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___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_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__3() { +static lean_object* _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__3() { _start: { lean_object* x_1; @@ -656,34 +665,34 @@ x_1 = lean_mk_string_unchecked("true", 4, 4); return x_1; } } -static lean_object* _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__4() { +static lean_object* _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__3; +x_1 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__3; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1(uint8_t x_1) { +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1(uint8_t x_1) { _start: { if (x_1 == 0) { lean_object* x_2; -x_2 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__2; +x_2 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__2; return x_2; } else { lean_object* x_3; -x_3 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__4; +x_3 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__4; return x_3; } } } -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__2(uint8_t x_1) { +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__2(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -692,7 +701,7 @@ x_3 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind__ return x_3; } } -LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -750,7 +759,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -788,13 +797,13 @@ x_10 = lean_unsigned_to_nat(0u); x_11 = lean_unbox(x_9); lean_dec(x_9); x_12 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndParamKind____x40_Lean_Meta_Tactic_FunIndInfo___hyg_28_(x_11, x_10); -x_13 = l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__4(x_2, x_12, x_4); +x_13 = l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__4(x_2, x_12, x_4); return x_13; } } } } -LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -817,7 +826,7 @@ lean_ctor_set(x_3, 1, x_1); lean_ctor_set(x_3, 0, x_2); x_7 = lean_unbox(x_5); lean_dec(x_5); -x_8 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1(x_7); +x_8 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1(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); @@ -839,7 +848,7 @@ lean_ctor_set(x_13, 0, x_2); lean_ctor_set(x_13, 1, x_1); x_14 = lean_unbox(x_11); lean_dec(x_11); -x_15 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1(x_14); +x_15 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1(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); @@ -850,7 +859,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__5(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__5(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -874,7 +883,7 @@ lean_inc(x_5); lean_dec(x_1); x_6 = lean_unbox(x_5); lean_dec(x_5); -x_7 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1(x_6); +x_7 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1(x_6); return x_7; } else @@ -885,14 +894,14 @@ lean_inc(x_8); lean_dec(x_1); x_9 = lean_unbox(x_8); lean_dec(x_8); -x_10 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1(x_9); -x_11 = l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__6(x_2, x_10, x_4); +x_10 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1(x_9); +x_11 = l_List_foldl___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__6(x_2, x_10, x_4); return x_11; } } } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__1() { _start: { lean_object* x_1; @@ -900,29 +909,29 @@ x_1 = lean_mk_string_unchecked("funIndName", 10, 10); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__1; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__2; +x_2 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__4() { _start: { lean_object* x_1; @@ -930,29 +939,29 @@ x_1 = lean_mk_string_unchecked(" := ", 4, 4); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__4; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__3; -x_2 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__5; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__3; +x_2 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__5; 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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -961,7 +970,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__8() { _start: { lean_object* x_1; @@ -969,17 +978,17 @@ x_1 = lean_mk_string_unchecked(",", 1, 1); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__8; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__10() { _start: { lean_object* x_1; @@ -987,17 +996,17 @@ x_1 = lean_mk_string_unchecked("levelMask", 9, 9); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__10; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__12() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -1006,7 +1015,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__13() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__13() { _start: { lean_object* x_1; @@ -1014,17 +1023,17 @@ x_1 = lean_mk_string_unchecked("params", 6, 6); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__14() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__13; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__15() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -1033,7 +1042,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__16() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__16() { _start: { lean_object* x_1; @@ -1041,35 +1050,35 @@ x_1 = lean_mk_string_unchecked("{ ", 2, 2); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__17() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__16; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__16; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__18() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__17; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__17; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__19() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__16; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__20() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__20() { _start: { lean_object* x_1; @@ -1077,21 +1086,21 @@ x_1 = lean_mk_string_unchecked(" }", 2, 2); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__21() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__20; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____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_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__22() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__9; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__9; x_2 = lean_box(1); x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1099,7 +1108,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__23() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__23() { _start: { lean_object* x_1; @@ -1107,35 +1116,35 @@ x_1 = lean_mk_string_unchecked("#[", 2, 2); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__24() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__23; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__23; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__25() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__25() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__24; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__24; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__26() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__23; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__23; 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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__27() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__27() { _start: { lean_object* x_1; @@ -1143,17 +1152,17 @@ x_1 = lean_mk_string_unchecked("]", 1, 1); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__28() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__27; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__27; 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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__29() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__29() { _start: { lean_object* x_1; @@ -1161,33 +1170,33 @@ x_1 = lean_mk_string_unchecked("#[]", 3, 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__30() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__30() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__29; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__29; 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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__31() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__15; -x_2 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__30; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__15; +x_2 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__30; 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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__32() { +static lean_object* _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__32() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__31; +x_1 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__31; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -1195,7 +1204,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195_(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; uint8_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; @@ -1203,7 +1212,7 @@ x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_unsigned_to_nat(0u); x_5 = l_Lean_Name_reprPrec(x_3, x_4); -x_6 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__7; +x_6 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__7; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -1211,11 +1220,11 @@ 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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__6; +x_10 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__6; x_11 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__9; +x_12 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__9; x_13 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -1223,11 +1232,11 @@ 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_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__11; +x_16 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__11; x_17 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__5; +x_18 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__5; x_19 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -1246,17 +1255,17 @@ if (x_22 == 0) { lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; x_68 = lean_array_to_list(x_20); -x_69 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__22; -x_70 = l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__5(x_68, x_69); -x_71 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__26; +x_69 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__22; +x_70 = l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__5(x_68, x_69); +x_71 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__26; x_72 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); -x_73 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__28; +x_73 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__28; x_74 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_74, 0, x_72); lean_ctor_set(x_74, 1, x_73); -x_75 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__25; +x_75 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__25; x_76 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); @@ -1271,14 +1280,14 @@ else { lean_object* x_79; lean_dec(x_20); -x_79 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__30; +x_79 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__30; x_26 = x_79; goto block_67; } block_67: { 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_27 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__12; +x_27 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__12; x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); @@ -1294,7 +1303,7 @@ lean_ctor_set(x_31, 1, x_12); x_32 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_14); -x_33 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__14; +x_33 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__14; x_34 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); @@ -1305,17 +1314,17 @@ if (x_25 == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_36 = lean_array_to_list(x_23); -x_37 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__22; -x_38 = l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__3(x_36, x_37); -x_39 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__26; +x_37 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__22; +x_38 = l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__3(x_36, x_37); +x_39 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__26; 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___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__28; +x_41 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__28; 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___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__25; +x_43 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__25; x_44 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); @@ -1323,7 +1332,7 @@ x_45 = 1; 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); -x_47 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__15; +x_47 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__15; x_48 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -1333,15 +1342,15 @@ lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_8); x_50 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_50, 0, x_35); lean_ctor_set(x_50, 1, x_49); -x_51 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__19; +x_51 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__19; x_52 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); -x_53 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__21; +x_53 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__21; x_54 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); -x_55 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__18; +x_55 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__18; x_56 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); @@ -1354,19 +1363,19 @@ 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_dec(x_23); -x_58 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__32; +x_58 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__32; x_59 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_59, 0, x_35); lean_ctor_set(x_59, 1, x_58); -x_60 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__19; +x_60 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__19; x_61 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_59); -x_62 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__21; +x_62 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__21; x_63 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_63, 0, x_61); lean_ctor_set(x_63, 1, x_62); -x_64 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__18; +x_64 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__18; x_65 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); @@ -1378,31 +1387,31 @@ return x_66; } } } -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___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_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1(x_2); +x_3 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__2___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__2___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_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__2(x_2); +x_3 = l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__2(x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -1411,7 +1420,7 @@ static lean_object* _init_l_Lean_Meta_instReprFunIndInfo___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____boxed), 2, 0); return x_1; } } @@ -1423,7 +1432,7 @@ x_1 = l_Lean_Meta_instReprFunIndInfo___closed__1; return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__1() { _start: { lean_object* x_1; @@ -1431,7 +1440,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__2() { _start: { lean_object* x_1; @@ -1439,7 +1448,7 @@ x_1 = lean_mk_string_unchecked("Meta", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__3() { _start: { lean_object* x_1; @@ -1447,22 +1456,22 @@ x_1 = lean_mk_string_unchecked("funIndInfoExt", 13, 13); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__1; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__2; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__2; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__4; x_3 = l_Lean_mkMapDeclarationExtension___rarg(x_2, x_1); return x_3; } @@ -2124,7 +2133,7 @@ static lean_object* _init_l_Lean_Meta_setFunIndInfo___closed__6() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("!(funIndInfoExt.contains ( __do_lift._@.Lean.Meta.Tactic.FunIndInfo._hyg.446.0 ) funIndInfo.funIndName)\n ", 106, 106); +x_1 = lean_mk_string_unchecked("!(funIndInfoExt.contains ( __do_lift._@.Lean.Meta.Tactic.FunIndInfo._hyg.455.0 ) funIndInfo.funIndName)\n ", 106, 106); return x_1; } } @@ -2503,97 +2512,98 @@ l_Lean_Meta_instReprFunIndParamKind___closed__1 = _init_l_Lean_Meta_instReprFunI lean_mark_persistent(l_Lean_Meta_instReprFunIndParamKind___closed__1); l_Lean_Meta_instReprFunIndParamKind = _init_l_Lean_Meta_instReprFunIndParamKind(); lean_mark_persistent(l_Lean_Meta_instReprFunIndParamKind); +l_Lean_Meta_instInhabitedFunIndParamKind = _init_l_Lean_Meta_instInhabitedFunIndParamKind(); l_Lean_Meta_instInhabitedFunIndInfo___closed__1 = _init_l_Lean_Meta_instInhabitedFunIndInfo___closed__1(); lean_mark_persistent(l_Lean_Meta_instInhabitedFunIndInfo___closed__1); l_Lean_Meta_instInhabitedFunIndInfo___closed__2 = _init_l_Lean_Meta_instInhabitedFunIndInfo___closed__2(); lean_mark_persistent(l_Lean_Meta_instInhabitedFunIndInfo___closed__2); l_Lean_Meta_instInhabitedFunIndInfo = _init_l_Lean_Meta_instInhabitedFunIndInfo(); lean_mark_persistent(l_Lean_Meta_instInhabitedFunIndInfo); -l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__1 = _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__1(); -lean_mark_persistent(l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__1); -l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__2 = _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__2(); -lean_mark_persistent(l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__2); -l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__3 = _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__3(); -lean_mark_persistent(l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__3); -l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__4 = _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__4(); -lean_mark_persistent(l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____spec__1___closed__4); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__1 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__1); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__2 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__2); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__3 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__3); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__4 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__4); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__5 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__5); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__6 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__6); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__7 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__7); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__8 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__8); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__9 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__9); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__10 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__10); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__11 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__11); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__12 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__12(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__12); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__13 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__13(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__13); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__14 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__14(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__14); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__15 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__15(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__15); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__16 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__16(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__16); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__17 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__17(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__17); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__18 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__18(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__18); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__19 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__19(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__19); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__20 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__20(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__20); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__21 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__21(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__21); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__22 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__22(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__22); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__23 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__23(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__23); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__24 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__24(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__24); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__25 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__25(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__25); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__26 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__26(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__26); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__27 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__27(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__27); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__28 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__28(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__28); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__29 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__29(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__29); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__30 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__30(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__30); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__31 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__31(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__31); -l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__32 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__32(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_186____closed__32); +l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__1 = _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__1(); +lean_mark_persistent(l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__1); +l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__2 = _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__2(); +lean_mark_persistent(l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__2); +l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__3 = _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__3(); +lean_mark_persistent(l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__3); +l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__4 = _init_l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__4(); +lean_mark_persistent(l_repr___at___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____spec__1___closed__4); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__1 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__1); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__2 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__2); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__3 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__3); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__4 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__4); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__5 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__5); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__6 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__6); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__7 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__7); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__8 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__8); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__9 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__9); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__10 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__10); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__11 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__11(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__11); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__12 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__12(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__12); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__13 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__13(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__13); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__14 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__14(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__14); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__15 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__15(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__15); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__16 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__16(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__16); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__17 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__17(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__17); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__18 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__18(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__18); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__19 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__19(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__19); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__20 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__20(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__20); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__21 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__21(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__21); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__22 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__22(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__22); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__23 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__23(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__23); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__24 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__24(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__24); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__25 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__25(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__25); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__26 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__26(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__26); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__27 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__27(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__27); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__28 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__28(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__28); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__29 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__29(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__29); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__30 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__30(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__30); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__31 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__31(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__31); +l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__32 = _init_l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__32(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_FunIndInfo_0__Lean_Meta_reprFunIndInfo____x40_Lean_Meta_Tactic_FunIndInfo___hyg_195____closed__32); l_Lean_Meta_instReprFunIndInfo___closed__1 = _init_l_Lean_Meta_instReprFunIndInfo___closed__1(); lean_mark_persistent(l_Lean_Meta_instReprFunIndInfo___closed__1); l_Lean_Meta_instReprFunIndInfo = _init_l_Lean_Meta_instReprFunIndInfo(); lean_mark_persistent(l_Lean_Meta_instReprFunIndInfo); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264____closed__4); -if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_264_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273____closed__4); +if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_FunIndInfo___hyg_273_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_funIndInfoExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_funIndInfoExt); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat.c index e3b01c02bf..1d72754b1b 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat.c @@ -65,6 +65,7 @@ lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__23; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_667____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1288____closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__10; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_251_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1288____closed__3; @@ -110,11 +111,14 @@ static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___h static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_416____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_126____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_959____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__3; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_167____closed__3; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_374____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1165____closed__2; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_44_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_542____closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_791____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__4; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__15; @@ -123,12 +127,15 @@ static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___h static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_292____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1000____closed__3; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_500_(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__1; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__5; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1206____closed__2; +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1288____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__13; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_917____closed__3; +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__7; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1124____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_626____closed__2; @@ -1579,6 +1586,80 @@ x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cooper", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____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_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1124____closed__1; +x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__2; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__22; +x_2 = lean_unsigned_to_nat(1329u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329_(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_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__2; +x_3 = 0; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__3; +x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__1() { +_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_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1124____closed__1; +x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__2; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1000____closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_3____closed__22; +x_2 = lean_unsigned_to_nat(1370u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370_(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_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__1; +x_3 = 0; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__2; +x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* initialize_Lean_Util_Trace(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr(uint8_t builtin, lean_object*); @@ -1944,6 +2025,22 @@ lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___ if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1288_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__1); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__2); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329____closed__3); +if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1329_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__1); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370____closed__2); +if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_1370_(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/Meta/Tactic/Grind/Arith/Cutsat/DvdCnstr.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/DvdCnstr.c index 5d480631dc..a1be48176a 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/DvdCnstr.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/DvdCnstr.c @@ -24,7 +24,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__4; uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_Lean_Meta_Grind_reportIssue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr___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_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__3; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_toPoly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_gcdExt(lean_object*, lean_object*); @@ -44,11 +43,14 @@ lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__7___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_Grind_Arith_Cutsat_DvdCnstr_norm___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applySubsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8___closed__1; lean_object* l_Lean_PersistentArray_set___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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*); @@ -56,12 +58,12 @@ lean_object* l_Lean_Meta_getIntValue_x3f(lean_object*, lean_object*, lean_object static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8___closed__2; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applySubsts___spec__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__1; uint8_t l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_isTrivial(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__1; -static lean_object* l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___boxed(lean_object**); @@ -70,12 +72,12 @@ lean_object* l_Lean_Expr_appArg(lean_object*, lean_object*); lean_object* l_outOfBounds___rarg(lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applySubsts___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11___closed__1; lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_mul(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__8; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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* l_Int_Linear_Poly_gcdCoeffs(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__2; @@ -83,9 +85,8 @@ uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hy static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___closed__1; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applySubsts___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__1; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383_(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__1; lean_object* l_Int_Linear_Poly_findVarToSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -98,11 +99,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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_nat_abs(lean_object*); lean_object* l_Lean_Meta_mkOfEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__7; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__2; lean_object* l_Int_Linear_Poly_norm(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___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*); @@ -121,20 +124,19 @@ lean_object* l_Lean_Meta_Grind_Arith_Cutsat_inconsistent(lean_object*, lean_obje lean_object* l_Lean_Meta_Grind_mkEqTrueProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_throwUnexpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___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* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applySubsts___spec__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_Grind_Arith_Cutsat_DvdCnstr_applyEq___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_Grind_isEqFalse(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_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481____closed__1; lean_object* l_Int_Linear_Poly_updateOccs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_combine_x27(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__5___closed__2; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applySubsts___spec__1___closed__6; lean_object* l_Lean_Meta_Grind_isEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -142,7 +144,6 @@ lean_object* l_Lean_Meta_isInstDvdInt(lean_object*, lean_object*, lean_object*, lean_object* l_Int_Linear_Poly_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___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_int_ediv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___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_int_neg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___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*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -154,61 +155,7 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___cl LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_satisfied(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(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; uint8_t x_14; -x_13 = l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -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); -x_16 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_2); -lean_ctor_set(x_16, 2, x_3); -lean_ctor_set(x_16, 3, x_15); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_19, 0, x_1); -lean_ctor_set(x_19, 1, x_2); -lean_ctor_set(x_19, 2, x_3); -lean_ctor_set(x_19, 3, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_13; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -217,7 +164,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -226,132 +173,136 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm(lean_object* x_1) { _start: { -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_11 = lean_ctor_get(x_1, 1); -lean_inc(x_11); -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -lean_inc(x_12); -x_13 = l_Int_Linear_Poly_gcdCoeffs(x_11, x_12); -x_14 = l_Int_Linear_Poly_getConst(x_11); -x_15 = lean_int_emod(x_14, x_13); -lean_dec(x_14); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__1; -x_17 = lean_int_dec_eq(x_15, x_16); -lean_dec(x_15); -if (x_17 == 0) +lean_object* x_2; lean_object* x_3; uint8_t x_4; +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 = l_Int_Linear_Poly_isSorted(x_3); +if (x_4 == 0) { -lean_object* x_18; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_10); +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; +x_5 = l_Int_Linear_Poly_norm(x_3); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_1); +lean_inc(x_5); +lean_inc(x_2); +x_7 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_5); +lean_ctor_set(x_7, 2, x_6); +lean_inc(x_2); +x_8 = l_Int_Linear_Poly_gcdCoeffs(x_5, x_2); +x_9 = l_Int_Linear_Poly_getConst(x_5); +x_10 = lean_int_emod(x_9, x_8); +lean_dec(x_9); +x_11 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__1; +x_12 = lean_int_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +else +{ +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__2; +x_14 = lean_int_dec_eq(x_8, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_int_ediv(x_2, x_8); +lean_dec(x_2); +x_16 = l_Int_Linear_Poly_div(x_8, x_5); +lean_dec(x_8); +x_17 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_17, 0, x_7); +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); return x_18; } else { -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__2; -x_20 = lean_int_dec_eq(x_13, x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_int_ediv(x_12, x_13); -lean_dec(x_12); -x_22 = l_Int_Linear_Poly_div(x_13, x_11); -lean_dec(x_13); -x_23 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_23, 0, x_1); -x_24 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_21, x_22, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_24; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} } else { -lean_object* x_25; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_10); -return x_25; -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__1() { -_start: +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_inc(x_2); +x_19 = l_Int_Linear_Poly_gcdCoeffs(x_3, x_2); +x_20 = l_Int_Linear_Poly_getConst(x_3); +x_21 = lean_int_emod(x_20, x_19); +lean_dec(x_20); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__1; +x_23 = lean_int_dec_eq(x_21, x_22); +lean_dec(x_21); +if (x_23 == 0) { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___boxed), 10, 0); +lean_dec(x_19); +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +else +{ +lean_object* x_24; uint8_t x_25; +x_24 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__2; +x_25 = lean_int_dec_eq(x_19, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_int_ediv(x_2, x_19); +lean_dec(x_2); +x_27 = l_Int_Linear_Poly_div(x_19, x_3); +lean_dec(x_19); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_1); +x_29 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_28); +return x_29; +} +else +{ +lean_dec(x_19); +lean_dec(x_3); +lean_dec(x_2); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm(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; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__1; -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); -x_13 = l_Int_Linear_Poly_isSorted(x_12); -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; -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -x_15 = l_Int_Linear_Poly_norm(x_12); -x_16 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_16, 0, x_1); -x_17 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_14, x_15, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -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_apply_10(x_11, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -return x_20; } -else -{ -lean_object* x_21; -lean_dec(x_12); -x_21 = lean_apply_10(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___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_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_16; lean_object* x_17; +lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_alloc_ctor(7, 3, 0); lean_ctor_set(x_16, 0, x_1); lean_ctor_set(x_16, 1, x_2); lean_ctor_set(x_16, 2, x_3); -x_17 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_4); +lean_ctor_set(x_17, 1, x_5); +lean_ctor_set(x_17, 2, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; } } static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__1() { @@ -1719,7 +1670,7 @@ lean_inc(x_11); x_37 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_35); if (lean_obj_tag(x_37) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); @@ -1732,126 +1683,124 @@ x_43 = l_Int_Linear_Poly_combine_x27(x_42, x_39, x_41); lean_ctor_set_tag(x_33, 4); lean_ctor_set(x_33, 1, x_8); lean_ctor_set(x_33, 0, x_7); -x_44 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_9, x_43, x_33, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_38); -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_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; -x_48 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_47, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_46); -x_49 = lean_ctor_get(x_48, 0); +x_44 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_44, 0, x_9); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_33); +x_45 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; +x_46 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_38); +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_object* x_50; +x_49 = lean_ctor_get(x_46, 1); lean_inc(x_49); -x_50 = lean_unbox(x_49); -lean_dec(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -x_52 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); -return x_52; +lean_dec(x_46); +x_50 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_44, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_49); +return x_50; } else { -uint8_t x_53; -x_53 = !lean_is_exclusive(x_48); -if (x_53 == 0) +uint8_t x_51; +x_51 = !lean_is_exclusive(x_46); +if (x_51 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = lean_ctor_get(x_48, 1); -x_55 = lean_ctor_get(x_48, 0); -lean_dec(x_55); -lean_inc(x_45); -x_56 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_54); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = lean_ctor_get(x_46, 1); +x_53 = lean_ctor_get(x_46, 0); +lean_dec(x_53); +lean_inc(x_44); +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_44, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_52); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_58 = lean_ctor_get(x_56, 0); -x_59 = lean_ctor_get(x_56, 1); -x_60 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -lean_ctor_set_tag(x_56, 7); -lean_ctor_set(x_56, 1, x_58); -lean_ctor_set(x_56, 0, x_60); -lean_ctor_set_tag(x_48, 7); -lean_ctor_set(x_48, 1, x_60); -lean_ctor_set(x_48, 0, x_56); -x_61 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_47, x_48, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_59); -x_62 = lean_ctor_get(x_61, 1); +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_56 = lean_ctor_get(x_54, 0); +x_57 = lean_ctor_get(x_54, 1); +x_58 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_56); +lean_ctor_set(x_54, 0, x_58); +lean_ctor_set_tag(x_46, 7); +lean_ctor_set(x_46, 1, x_58); +lean_ctor_set(x_46, 0, x_54); +x_59 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_45, x_46, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_44, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_60); +return x_61; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_62 = lean_ctor_get(x_54, 0); +x_63 = lean_ctor_get(x_54, 1); +lean_inc(x_63); lean_inc(x_62); -lean_dec(x_61); -x_63 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); -return x_63; +lean_dec(x_54); +x_64 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_62); +lean_ctor_set_tag(x_46, 7); +lean_ctor_set(x_46, 1, x_64); +lean_ctor_set(x_46, 0, x_65); +x_66 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_45, x_46, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_63); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); +x_68 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_44, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_67); +return x_68; +} } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_64 = lean_ctor_get(x_56, 0); -x_65 = lean_ctor_get(x_56, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_56); -x_66 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -x_67 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_64); -lean_ctor_set_tag(x_48, 7); -lean_ctor_set(x_48, 1, x_66); -lean_ctor_set(x_48, 0, x_67); -x_68 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_47, x_48, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_65); -x_69 = lean_ctor_get(x_68, 1); +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; +x_69 = lean_ctor_get(x_46, 1); lean_inc(x_69); -lean_dec(x_68); -x_70 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_69); -return x_70; -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_71 = lean_ctor_get(x_48, 1); +lean_dec(x_46); +lean_inc(x_44); +x_70 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_44, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_69); +x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); -lean_dec(x_48); -lean_inc(x_45); -x_72 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_71); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_75 = x_72; +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_73 = x_70; } else { - lean_dec_ref(x_72); - x_75 = lean_box(0); + lean_dec_ref(x_70); + x_73 = lean_box(0); } -x_76 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_75)) { - x_77 = lean_alloc_ctor(7, 2, 0); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_73)) { + x_75 = lean_alloc_ctor(7, 2, 0); } else { - x_77 = x_75; - lean_ctor_set_tag(x_77, 7); + x_75 = x_73; + lean_ctor_set_tag(x_75, 7); } -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_73); -x_78 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -x_79 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_47, x_78, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_74); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_80); -return x_81; +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_71); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_45, x_76, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_44, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_78); +return x_79; } } } else { -uint8_t x_82; +uint8_t x_80; lean_free_object(x_33); lean_dec(x_18); lean_dec(x_17); @@ -1866,31 +1815,31 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_82 = !lean_is_exclusive(x_37); -if (x_82 == 0) +x_80 = !lean_is_exclusive(x_37); +if (x_80 == 0) { return x_37; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_37, 0); -x_84 = lean_ctor_get(x_37, 1); -lean_inc(x_84); -lean_inc(x_83); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_37, 0); +x_82 = lean_ctor_get(x_37, 1); +lean_inc(x_82); +lean_inc(x_81); lean_dec(x_37); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } else { -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_33, 1); -lean_inc(x_86); +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_33, 1); +lean_inc(x_84); lean_dec(x_33); lean_inc(x_18); lean_inc(x_17); @@ -1900,98 +1849,96 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_87 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_86); -if (lean_obj_tag(x_87) == 0) +x_85 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_84); +if (lean_obj_tag(x_85) == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_89 = l_Int_Linear_Poly_mul(x_3, x_4); -x_90 = lean_int_neg(x_5); -x_91 = l_Int_Linear_Poly_mul(x_6, x_90); -lean_dec(x_90); -x_92 = lean_unsigned_to_nat(100000000u); -x_93 = l_Int_Linear_Poly_combine_x27(x_92, x_89, x_91); -x_94 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_94, 0, x_7); -lean_ctor_set(x_94, 1, x_8); -x_95 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_9, x_93, x_94, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_88); +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; uint8_t x_97; +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = l_Int_Linear_Poly_mul(x_3, x_4); +x_88 = lean_int_neg(x_5); +x_89 = l_Int_Linear_Poly_mul(x_6, x_88); +lean_dec(x_88); +x_90 = lean_unsigned_to_nat(100000000u); +x_91 = l_Int_Linear_Poly_combine_x27(x_90, x_87, x_89); +x_92 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_92, 0, x_7); +lean_ctor_set(x_92, 1, x_8); +x_93 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_93, 0, x_9); +lean_ctor_set(x_93, 1, x_91); +lean_ctor_set(x_93, 2, x_92); +x_94 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; +x_95 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_94, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_86); x_96 = lean_ctor_get(x_95, 0); lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; -x_99 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_98, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_97); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_unbox(x_100); -lean_dec(x_100); -if (x_101 == 0) +x_97 = lean_unbox(x_96); +lean_dec(x_96); +if (x_97 == 0) { -lean_object* x_102; lean_object* x_103; -x_102 = lean_ctor_get(x_99, 1); -lean_inc(x_102); -lean_dec(x_99); -x_103 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_96, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_102); -return x_103; +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_95, 1); +lean_inc(x_98); +lean_dec(x_95); +x_99 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_93, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_98); +return x_99; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_104 = lean_ctor_get(x_99, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_105 = x_99; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_100 = lean_ctor_get(x_95, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_101 = x_95; } else { - lean_dec_ref(x_99); + lean_dec_ref(x_95); + x_101 = lean_box(0); +} +lean_inc(x_93); +x_102 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_93, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_100); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_105 = x_102; +} else { + lean_dec_ref(x_102); x_105 = lean_box(0); } -lean_inc(x_96); -x_106 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_96, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_104); -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 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_109)) { - x_111 = lean_alloc_ctor(7, 2, 0); -} else { - x_111 = x_109; - lean_ctor_set_tag(x_111, 7); -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_107); +x_106 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; if (lean_is_scalar(x_105)) { - x_112 = lean_alloc_ctor(7, 2, 0); + x_107 = lean_alloc_ctor(7, 2, 0); } else { - x_112 = x_105; - lean_ctor_set_tag(x_112, 7); + x_107 = x_105; + lean_ctor_set_tag(x_107, 7); } -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_110); -x_113 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_98, x_112, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_108); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_115 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_96, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_114); -return x_115; +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_103); +if (lean_is_scalar(x_101)) { + x_108 = lean_alloc_ctor(7, 2, 0); +} else { + x_108 = x_101; + lean_ctor_set_tag(x_108, 7); +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_94, x_108, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_104); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +lean_dec(x_109); +x_111 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_93, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_110); +return x_111; } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -2005,53 +1952,49 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_116 = lean_ctor_get(x_87, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_87, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_118 = x_87; +x_112 = lean_ctor_get(x_85, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_85, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_114 = x_85; } else { - lean_dec_ref(x_87); - x_118 = lean_box(0); + lean_dec_ref(x_85); + x_114 = lean_box(0); } -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); } else { - x_119 = x_118; + x_115 = x_114; } -lean_ctor_set(x_119, 0, x_116); -lean_ctor_set(x_119, 1, x_117); -return x_119; +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; } } } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_120 = lean_ctor_get(x_23, 0); -x_121 = lean_ctor_get(x_23, 1); -x_122 = lean_ctor_get(x_23, 2); -x_123 = lean_ctor_get(x_23, 3); -x_124 = lean_ctor_get(x_23, 4); -x_125 = lean_ctor_get(x_23, 5); -x_126 = lean_ctor_get(x_23, 6); -x_127 = lean_ctor_get(x_23, 7); -x_128 = lean_ctor_get(x_23, 8); -x_129 = lean_ctor_get(x_23, 9); -x_130 = lean_ctor_get(x_23, 10); -x_131 = lean_ctor_get(x_23, 11); -x_132 = lean_ctor_get_uint8(x_23, sizeof(void*)*14); -x_133 = lean_ctor_get(x_23, 12); -x_134 = lean_ctor_get(x_23, 13); -lean_inc(x_134); -lean_inc(x_133); -lean_inc(x_131); +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; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_116 = lean_ctor_get(x_23, 0); +x_117 = lean_ctor_get(x_23, 1); +x_118 = lean_ctor_get(x_23, 2); +x_119 = lean_ctor_get(x_23, 3); +x_120 = lean_ctor_get(x_23, 4); +x_121 = lean_ctor_get(x_23, 5); +x_122 = lean_ctor_get(x_23, 6); +x_123 = lean_ctor_get(x_23, 7); +x_124 = lean_ctor_get(x_23, 8); +x_125 = lean_ctor_get(x_23, 9); +x_126 = lean_ctor_get(x_23, 10); +x_127 = lean_ctor_get(x_23, 11); +x_128 = lean_ctor_get_uint8(x_23, sizeof(void*)*14); +x_129 = lean_ctor_get(x_23, 12); +x_130 = lean_ctor_get(x_23, 13); lean_inc(x_130); lean_inc(x_129); -lean_inc(x_128); lean_inc(x_127); lean_inc(x_126); lean_inc(x_125); @@ -2060,36 +2003,40 @@ lean_inc(x_123); lean_inc(x_122); lean_inc(x_121); lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); lean_dec(x_23); -x_135 = lean_box(0); -x_136 = l_Lean_PersistentArray_set___rarg(x_122, x_1, x_135); -x_137 = lean_alloc_ctor(0, 14, 1); -lean_ctor_set(x_137, 0, x_120); -lean_ctor_set(x_137, 1, x_121); -lean_ctor_set(x_137, 2, x_136); -lean_ctor_set(x_137, 3, x_123); -lean_ctor_set(x_137, 4, x_124); -lean_ctor_set(x_137, 5, x_125); -lean_ctor_set(x_137, 6, x_126); -lean_ctor_set(x_137, 7, x_127); -lean_ctor_set(x_137, 8, x_128); -lean_ctor_set(x_137, 9, x_129); -lean_ctor_set(x_137, 10, x_130); -lean_ctor_set(x_137, 11, x_131); -lean_ctor_set(x_137, 12, x_133); -lean_ctor_set(x_137, 13, x_134); -lean_ctor_set_uint8(x_137, sizeof(void*)*14, x_132); -lean_ctor_set(x_22, 1, x_137); -x_138 = lean_st_ref_set(x_11, x_21, x_24); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_140 = x_138; +x_131 = lean_box(0); +x_132 = l_Lean_PersistentArray_set___rarg(x_118, x_1, x_131); +x_133 = lean_alloc_ctor(0, 14, 1); +lean_ctor_set(x_133, 0, x_116); +lean_ctor_set(x_133, 1, x_117); +lean_ctor_set(x_133, 2, x_132); +lean_ctor_set(x_133, 3, x_119); +lean_ctor_set(x_133, 4, x_120); +lean_ctor_set(x_133, 5, x_121); +lean_ctor_set(x_133, 6, x_122); +lean_ctor_set(x_133, 7, x_123); +lean_ctor_set(x_133, 8, x_124); +lean_ctor_set(x_133, 9, x_125); +lean_ctor_set(x_133, 10, x_126); +lean_ctor_set(x_133, 11, x_127); +lean_ctor_set(x_133, 12, x_129); +lean_ctor_set(x_133, 13, x_130); +lean_ctor_set_uint8(x_133, sizeof(void*)*14, x_128); +lean_ctor_set(x_22, 1, x_133); +x_134 = lean_st_ref_set(x_11, x_21, x_24); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + x_136 = x_134; } else { - lean_dec_ref(x_138); - x_140 = lean_box(0); + lean_dec_ref(x_134); + x_136 = lean_box(0); } lean_inc(x_18); lean_inc(x_17); @@ -2099,104 +2046,102 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_141 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_139); -if (lean_obj_tag(x_141) == 0) +x_137 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_135); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -lean_dec(x_141); -x_143 = l_Int_Linear_Poly_mul(x_3, x_4); -x_144 = lean_int_neg(x_5); -x_145 = l_Int_Linear_Poly_mul(x_6, x_144); -lean_dec(x_144); -x_146 = lean_unsigned_to_nat(100000000u); -x_147 = l_Int_Linear_Poly_combine_x27(x_146, x_143, x_145); -if (lean_is_scalar(x_140)) { - x_148 = lean_alloc_ctor(4, 2, 0); -} else { - x_148 = x_140; - lean_ctor_set_tag(x_148, 4); -} -lean_ctor_set(x_148, 0, x_7); -lean_ctor_set(x_148, 1, x_8); -x_149 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_9, x_147, x_148, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_142); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -lean_dec(x_149); -x_152 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; -x_153 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_152, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_151); -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_unbox(x_154); -lean_dec(x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; -x_156 = lean_ctor_get(x_153, 1); -lean_inc(x_156); -lean_dec(x_153); -x_157 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_150, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_156); -return x_157; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_158 = lean_ctor_get(x_153, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_153)) { - lean_ctor_release(x_153, 0); - lean_ctor_release(x_153, 1); - x_159 = x_153; -} else { - lean_dec_ref(x_153); - x_159 = lean_box(0); -} -lean_inc(x_150); -x_160 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_150, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_158); -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); -lean_inc(x_162); -if (lean_is_exclusive(x_160)) { - lean_ctor_release(x_160, 0); - lean_ctor_release(x_160, 1); - x_163 = x_160; -} else { - lean_dec_ref(x_160); - x_163 = lean_box(0); -} -x_164 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_163)) { - x_165 = lean_alloc_ctor(7, 2, 0); -} else { - x_165 = x_163; - lean_ctor_set_tag(x_165, 7); -} -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_161); -if (lean_is_scalar(x_159)) { - x_166 = lean_alloc_ctor(7, 2, 0); -} else { - x_166 = x_159; - lean_ctor_set_tag(x_166, 7); -} -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_152, x_166, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_162); -x_168 = lean_ctor_get(x_167, 1); -lean_inc(x_168); -lean_dec(x_167); -x_169 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_150, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_168); -return x_169; -} -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +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; uint8_t x_149; +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec(x_137); +x_139 = l_Int_Linear_Poly_mul(x_3, x_4); +x_140 = lean_int_neg(x_5); +x_141 = l_Int_Linear_Poly_mul(x_6, x_140); lean_dec(x_140); +x_142 = lean_unsigned_to_nat(100000000u); +x_143 = l_Int_Linear_Poly_combine_x27(x_142, x_139, x_141); +if (lean_is_scalar(x_136)) { + x_144 = lean_alloc_ctor(4, 2, 0); +} else { + x_144 = x_136; + lean_ctor_set_tag(x_144, 4); +} +lean_ctor_set(x_144, 0, x_7); +lean_ctor_set(x_144, 1, x_8); +x_145 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_145, 0, x_9); +lean_ctor_set(x_145, 1, x_143); +lean_ctor_set(x_145, 2, x_144); +x_146 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; +x_147 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_146, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_138); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_unbox(x_148); +lean_dec(x_148); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_ctor_get(x_147, 1); +lean_inc(x_150); +lean_dec(x_147); +x_151 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_145, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_150); +return x_151; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_152 = lean_ctor_get(x_147, 1); +lean_inc(x_152); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_153 = x_147; +} else { + lean_dec_ref(x_147); + x_153 = lean_box(0); +} +lean_inc(x_145); +x_154 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_145, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_152); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_154, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_157 = x_154; +} else { + lean_dec_ref(x_154); + x_157 = lean_box(0); +} +x_158 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_157)) { + x_159 = lean_alloc_ctor(7, 2, 0); +} else { + x_159 = x_157; + lean_ctor_set_tag(x_159, 7); +} +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_155); +if (lean_is_scalar(x_153)) { + x_160 = lean_alloc_ctor(7, 2, 0); +} else { + x_160 = x_153; + lean_ctor_set_tag(x_160, 7); +} +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +x_161 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_146, x_160, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_156); +x_162 = lean_ctor_get(x_161, 1); +lean_inc(x_162); +lean_dec(x_161); +x_163 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_145, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_162); +return x_163; +} +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_136); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -2210,64 +2155,64 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_170 = lean_ctor_get(x_141, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_141, 1); -lean_inc(x_171); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_172 = x_141; +x_164 = lean_ctor_get(x_137, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_137, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_166 = x_137; } else { - lean_dec_ref(x_141); - x_172 = lean_box(0); + lean_dec_ref(x_137); + x_166 = lean_box(0); } -if (lean_is_scalar(x_172)) { - x_173 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(1, 2, 0); } else { - x_173 = x_172; + x_167 = x_166; } -lean_ctor_set(x_173, 0, x_170); -lean_ctor_set(x_173, 1, x_171); -return x_173; +lean_ctor_set(x_167, 0, x_164); +lean_ctor_set(x_167, 1, x_165); +return x_167; } } } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_174 = lean_ctor_get(x_22, 0); -lean_inc(x_174); +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_168 = lean_ctor_get(x_22, 0); +lean_inc(x_168); lean_dec(x_22); -x_175 = lean_ctor_get(x_23, 0); +x_169 = lean_ctor_get(x_23, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_23, 1); +lean_inc(x_170); +x_171 = lean_ctor_get(x_23, 2); +lean_inc(x_171); +x_172 = lean_ctor_get(x_23, 3); +lean_inc(x_172); +x_173 = lean_ctor_get(x_23, 4); +lean_inc(x_173); +x_174 = lean_ctor_get(x_23, 5); +lean_inc(x_174); +x_175 = lean_ctor_get(x_23, 6); lean_inc(x_175); -x_176 = lean_ctor_get(x_23, 1); +x_176 = lean_ctor_get(x_23, 7); lean_inc(x_176); -x_177 = lean_ctor_get(x_23, 2); +x_177 = lean_ctor_get(x_23, 8); lean_inc(x_177); -x_178 = lean_ctor_get(x_23, 3); +x_178 = lean_ctor_get(x_23, 9); lean_inc(x_178); -x_179 = lean_ctor_get(x_23, 4); +x_179 = lean_ctor_get(x_23, 10); lean_inc(x_179); -x_180 = lean_ctor_get(x_23, 5); +x_180 = lean_ctor_get(x_23, 11); lean_inc(x_180); -x_181 = lean_ctor_get(x_23, 6); -lean_inc(x_181); -x_182 = lean_ctor_get(x_23, 7); +x_181 = lean_ctor_get_uint8(x_23, sizeof(void*)*14); +x_182 = lean_ctor_get(x_23, 12); lean_inc(x_182); -x_183 = lean_ctor_get(x_23, 8); +x_183 = lean_ctor_get(x_23, 13); lean_inc(x_183); -x_184 = lean_ctor_get(x_23, 9); -lean_inc(x_184); -x_185 = lean_ctor_get(x_23, 10); -lean_inc(x_185); -x_186 = lean_ctor_get(x_23, 11); -lean_inc(x_186); -x_187 = lean_ctor_get_uint8(x_23, sizeof(void*)*14); -x_188 = lean_ctor_get(x_23, 12); -lean_inc(x_188); -x_189 = lean_ctor_get(x_23, 13); -lean_inc(x_189); if (lean_is_exclusive(x_23)) { lean_ctor_release(x_23, 0); lean_ctor_release(x_23, 1); @@ -2283,47 +2228,47 @@ if (lean_is_exclusive(x_23)) { lean_ctor_release(x_23, 11); lean_ctor_release(x_23, 12); lean_ctor_release(x_23, 13); - x_190 = x_23; + x_184 = x_23; } else { lean_dec_ref(x_23); - x_190 = lean_box(0); + x_184 = lean_box(0); } -x_191 = lean_box(0); -x_192 = l_Lean_PersistentArray_set___rarg(x_177, x_1, x_191); -if (lean_is_scalar(x_190)) { - x_193 = lean_alloc_ctor(0, 14, 1); +x_185 = lean_box(0); +x_186 = l_Lean_PersistentArray_set___rarg(x_171, x_1, x_185); +if (lean_is_scalar(x_184)) { + x_187 = lean_alloc_ctor(0, 14, 1); } else { - x_193 = x_190; + x_187 = x_184; } -lean_ctor_set(x_193, 0, x_175); -lean_ctor_set(x_193, 1, x_176); -lean_ctor_set(x_193, 2, x_192); -lean_ctor_set(x_193, 3, x_178); -lean_ctor_set(x_193, 4, x_179); -lean_ctor_set(x_193, 5, x_180); -lean_ctor_set(x_193, 6, x_181); -lean_ctor_set(x_193, 7, x_182); -lean_ctor_set(x_193, 8, x_183); -lean_ctor_set(x_193, 9, x_184); -lean_ctor_set(x_193, 10, x_185); -lean_ctor_set(x_193, 11, x_186); -lean_ctor_set(x_193, 12, x_188); -lean_ctor_set(x_193, 13, x_189); -lean_ctor_set_uint8(x_193, sizeof(void*)*14, x_187); -x_194 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_194, 0, x_174); -lean_ctor_set(x_194, 1, x_193); -lean_ctor_set(x_21, 13, x_194); -x_195 = lean_st_ref_set(x_11, x_21, x_24); -x_196 = lean_ctor_get(x_195, 1); -lean_inc(x_196); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_197 = x_195; +lean_ctor_set(x_187, 0, x_169); +lean_ctor_set(x_187, 1, x_170); +lean_ctor_set(x_187, 2, x_186); +lean_ctor_set(x_187, 3, x_172); +lean_ctor_set(x_187, 4, x_173); +lean_ctor_set(x_187, 5, x_174); +lean_ctor_set(x_187, 6, x_175); +lean_ctor_set(x_187, 7, x_176); +lean_ctor_set(x_187, 8, x_177); +lean_ctor_set(x_187, 9, x_178); +lean_ctor_set(x_187, 10, x_179); +lean_ctor_set(x_187, 11, x_180); +lean_ctor_set(x_187, 12, x_182); +lean_ctor_set(x_187, 13, x_183); +lean_ctor_set_uint8(x_187, sizeof(void*)*14, x_181); +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_168); +lean_ctor_set(x_188, 1, x_187); +lean_ctor_set(x_21, 13, x_188); +x_189 = lean_st_ref_set(x_11, x_21, x_24); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_189)) { + lean_ctor_release(x_189, 0); + lean_ctor_release(x_189, 1); + x_191 = x_189; } else { - lean_dec_ref(x_195); - x_197 = lean_box(0); + lean_dec_ref(x_189); + x_191 = lean_box(0); } lean_inc(x_18); lean_inc(x_17); @@ -2333,104 +2278,102 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_198 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_196); -if (lean_obj_tag(x_198) == 0) +x_192 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_190); +if (lean_obj_tag(x_192) == 0) { -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; uint8_t x_212; -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec(x_198); -x_200 = l_Int_Linear_Poly_mul(x_3, x_4); -x_201 = lean_int_neg(x_5); -x_202 = l_Int_Linear_Poly_mul(x_6, x_201); -lean_dec(x_201); -x_203 = lean_unsigned_to_nat(100000000u); -x_204 = l_Int_Linear_Poly_combine_x27(x_203, x_200, x_202); -if (lean_is_scalar(x_197)) { - x_205 = lean_alloc_ctor(4, 2, 0); +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; +x_193 = lean_ctor_get(x_192, 1); +lean_inc(x_193); +lean_dec(x_192); +x_194 = l_Int_Linear_Poly_mul(x_3, x_4); +x_195 = lean_int_neg(x_5); +x_196 = l_Int_Linear_Poly_mul(x_6, x_195); +lean_dec(x_195); +x_197 = lean_unsigned_to_nat(100000000u); +x_198 = l_Int_Linear_Poly_combine_x27(x_197, x_194, x_196); +if (lean_is_scalar(x_191)) { + x_199 = lean_alloc_ctor(4, 2, 0); } else { - x_205 = x_197; - lean_ctor_set_tag(x_205, 4); + x_199 = x_191; + lean_ctor_set_tag(x_199, 4); } -lean_ctor_set(x_205, 0, x_7); -lean_ctor_set(x_205, 1, x_8); -x_206 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_9, x_204, x_205, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_199); -x_207 = lean_ctor_get(x_206, 0); +lean_ctor_set(x_199, 0, x_7); +lean_ctor_set(x_199, 1, x_8); +x_200 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_200, 0, x_9); +lean_ctor_set(x_200, 1, x_198); +lean_ctor_set(x_200, 2, x_199); +x_201 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; +x_202 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_201, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_193); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_unbox(x_203); +lean_dec(x_203); +if (x_204 == 0) +{ +lean_object* x_205; lean_object* x_206; +x_205 = lean_ctor_get(x_202, 1); +lean_inc(x_205); +lean_dec(x_202); +x_206 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_200, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, 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; +x_207 = lean_ctor_get(x_202, 1); lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -lean_dec(x_206); -x_209 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; -x_210 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_209, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_208); -x_211 = lean_ctor_get(x_210, 0); +if (lean_is_exclusive(x_202)) { + lean_ctor_release(x_202, 0); + lean_ctor_release(x_202, 1); + x_208 = x_202; +} else { + lean_dec_ref(x_202); + x_208 = lean_box(0); +} +lean_inc(x_200); +x_209 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_200, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_207); +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); lean_inc(x_211); -x_212 = lean_unbox(x_211); -lean_dec(x_211); -if (x_212 == 0) -{ -lean_object* x_213; lean_object* x_214; -x_213 = lean_ctor_get(x_210, 1); -lean_inc(x_213); -lean_dec(x_210); -x_214 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_207, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_213); -return x_214; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_215 = lean_ctor_get(x_210, 1); -lean_inc(x_215); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - x_216 = x_210; +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + x_212 = x_209; } else { - lean_dec_ref(x_210); - x_216 = lean_box(0); + lean_dec_ref(x_209); + x_212 = lean_box(0); } -lean_inc(x_207); -x_217 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_207, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_215); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -if (lean_is_exclusive(x_217)) { - lean_ctor_release(x_217, 0); - lean_ctor_release(x_217, 1); - x_220 = x_217; +x_213 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_212)) { + x_214 = lean_alloc_ctor(7, 2, 0); } else { - lean_dec_ref(x_217); - x_220 = lean_box(0); + x_214 = x_212; + lean_ctor_set_tag(x_214, 7); } -x_221 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_220)) { - x_222 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_210); +if (lean_is_scalar(x_208)) { + x_215 = lean_alloc_ctor(7, 2, 0); } else { - x_222 = x_220; - lean_ctor_set_tag(x_222, 7); + x_215 = x_208; + lean_ctor_set_tag(x_215, 7); } -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_218); -if (lean_is_scalar(x_216)) { - x_223 = lean_alloc_ctor(7, 2, 0); -} else { - x_223 = x_216; - lean_ctor_set_tag(x_223, 7); -} -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_221); -x_224 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_209, x_223, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_219); -x_225 = lean_ctor_get(x_224, 1); -lean_inc(x_225); -lean_dec(x_224); -x_226 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_207, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_225); -return x_226; +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_201, x_215, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_211); +x_217 = lean_ctor_get(x_216, 1); +lean_inc(x_217); +lean_dec(x_216); +x_218 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_200, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_217); +return x_218; } } else { -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_197); +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_dec(x_191); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -2444,54 +2387,47 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_227 = lean_ctor_get(x_198, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_198, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_229 = x_198; +x_219 = lean_ctor_get(x_192, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_192, 1); +lean_inc(x_220); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_221 = x_192; } else { - lean_dec_ref(x_198); - x_229 = lean_box(0); + lean_dec_ref(x_192); + x_221 = lean_box(0); } -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_221)) { + x_222 = lean_alloc_ctor(1, 2, 0); } else { - x_230 = x_229; + x_222 = x_221; } -lean_ctor_set(x_230, 0, x_227); -lean_ctor_set(x_230, 1, x_228); -return x_230; +lean_ctor_set(x_222, 0, x_219); +lean_ctor_set(x_222, 1, x_220); +return x_222; } } } else { -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_231 = lean_ctor_get(x_21, 0); -x_232 = lean_ctor_get(x_21, 1); -x_233 = lean_ctor_get(x_21, 2); -x_234 = lean_ctor_get(x_21, 3); -x_235 = lean_ctor_get(x_21, 4); -x_236 = lean_ctor_get(x_21, 5); -x_237 = lean_ctor_get(x_21, 6); -x_238 = lean_ctor_get_uint8(x_21, sizeof(void*)*15); -x_239 = lean_ctor_get(x_21, 7); -x_240 = lean_ctor_get(x_21, 8); -x_241 = lean_ctor_get(x_21, 9); -x_242 = lean_ctor_get(x_21, 10); -x_243 = lean_ctor_get(x_21, 11); -x_244 = lean_ctor_get(x_21, 12); -x_245 = lean_ctor_get(x_21, 14); -lean_inc(x_245); -lean_inc(x_244); -lean_inc(x_243); -lean_inc(x_242); -lean_inc(x_241); -lean_inc(x_240); -lean_inc(x_239); +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; uint8_t x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_223 = lean_ctor_get(x_21, 0); +x_224 = lean_ctor_get(x_21, 1); +x_225 = lean_ctor_get(x_21, 2); +x_226 = lean_ctor_get(x_21, 3); +x_227 = lean_ctor_get(x_21, 4); +x_228 = lean_ctor_get(x_21, 5); +x_229 = lean_ctor_get(x_21, 6); +x_230 = lean_ctor_get_uint8(x_21, sizeof(void*)*15); +x_231 = lean_ctor_get(x_21, 7); +x_232 = lean_ctor_get(x_21, 8); +x_233 = lean_ctor_get(x_21, 9); +x_234 = lean_ctor_get(x_21, 10); +x_235 = lean_ctor_get(x_21, 11); +x_236 = lean_ctor_get(x_21, 12); +x_237 = lean_ctor_get(x_21, 14); lean_inc(x_237); lean_inc(x_236); lean_inc(x_235); @@ -2499,46 +2435,53 @@ lean_inc(x_234); lean_inc(x_233); lean_inc(x_232); lean_inc(x_231); +lean_inc(x_229); +lean_inc(x_228); +lean_inc(x_227); +lean_inc(x_226); +lean_inc(x_225); +lean_inc(x_224); +lean_inc(x_223); lean_dec(x_21); -x_246 = lean_ctor_get(x_22, 0); -lean_inc(x_246); +x_238 = lean_ctor_get(x_22, 0); +lean_inc(x_238); if (lean_is_exclusive(x_22)) { lean_ctor_release(x_22, 0); lean_ctor_release(x_22, 1); - x_247 = x_22; + x_239 = x_22; } else { lean_dec_ref(x_22); - x_247 = lean_box(0); + x_239 = lean_box(0); } -x_248 = lean_ctor_get(x_23, 0); +x_240 = lean_ctor_get(x_23, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_23, 1); +lean_inc(x_241); +x_242 = lean_ctor_get(x_23, 2); +lean_inc(x_242); +x_243 = lean_ctor_get(x_23, 3); +lean_inc(x_243); +x_244 = lean_ctor_get(x_23, 4); +lean_inc(x_244); +x_245 = lean_ctor_get(x_23, 5); +lean_inc(x_245); +x_246 = lean_ctor_get(x_23, 6); +lean_inc(x_246); +x_247 = lean_ctor_get(x_23, 7); +lean_inc(x_247); +x_248 = lean_ctor_get(x_23, 8); lean_inc(x_248); -x_249 = lean_ctor_get(x_23, 1); +x_249 = lean_ctor_get(x_23, 9); lean_inc(x_249); -x_250 = lean_ctor_get(x_23, 2); +x_250 = lean_ctor_get(x_23, 10); lean_inc(x_250); -x_251 = lean_ctor_get(x_23, 3); +x_251 = lean_ctor_get(x_23, 11); lean_inc(x_251); -x_252 = lean_ctor_get(x_23, 4); -lean_inc(x_252); -x_253 = lean_ctor_get(x_23, 5); +x_252 = lean_ctor_get_uint8(x_23, sizeof(void*)*14); +x_253 = lean_ctor_get(x_23, 12); lean_inc(x_253); -x_254 = lean_ctor_get(x_23, 6); +x_254 = lean_ctor_get(x_23, 13); lean_inc(x_254); -x_255 = lean_ctor_get(x_23, 7); -lean_inc(x_255); -x_256 = lean_ctor_get(x_23, 8); -lean_inc(x_256); -x_257 = lean_ctor_get(x_23, 9); -lean_inc(x_257); -x_258 = lean_ctor_get(x_23, 10); -lean_inc(x_258); -x_259 = lean_ctor_get(x_23, 11); -lean_inc(x_259); -x_260 = lean_ctor_get_uint8(x_23, sizeof(void*)*14); -x_261 = lean_ctor_get(x_23, 12); -lean_inc(x_261); -x_262 = lean_ctor_get(x_23, 13); -lean_inc(x_262); if (lean_is_exclusive(x_23)) { lean_ctor_release(x_23, 0); lean_ctor_release(x_23, 1); @@ -2554,68 +2497,68 @@ if (lean_is_exclusive(x_23)) { lean_ctor_release(x_23, 11); lean_ctor_release(x_23, 12); lean_ctor_release(x_23, 13); - x_263 = x_23; + x_255 = x_23; } else { lean_dec_ref(x_23); + x_255 = lean_box(0); +} +x_256 = lean_box(0); +x_257 = l_Lean_PersistentArray_set___rarg(x_242, x_1, x_256); +if (lean_is_scalar(x_255)) { + x_258 = lean_alloc_ctor(0, 14, 1); +} else { + x_258 = x_255; +} +lean_ctor_set(x_258, 0, x_240); +lean_ctor_set(x_258, 1, x_241); +lean_ctor_set(x_258, 2, x_257); +lean_ctor_set(x_258, 3, x_243); +lean_ctor_set(x_258, 4, x_244); +lean_ctor_set(x_258, 5, x_245); +lean_ctor_set(x_258, 6, x_246); +lean_ctor_set(x_258, 7, x_247); +lean_ctor_set(x_258, 8, x_248); +lean_ctor_set(x_258, 9, x_249); +lean_ctor_set(x_258, 10, x_250); +lean_ctor_set(x_258, 11, x_251); +lean_ctor_set(x_258, 12, x_253); +lean_ctor_set(x_258, 13, x_254); +lean_ctor_set_uint8(x_258, sizeof(void*)*14, x_252); +if (lean_is_scalar(x_239)) { + x_259 = lean_alloc_ctor(0, 2, 0); +} else { + x_259 = x_239; +} +lean_ctor_set(x_259, 0, x_238); +lean_ctor_set(x_259, 1, x_258); +x_260 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_260, 0, x_223); +lean_ctor_set(x_260, 1, x_224); +lean_ctor_set(x_260, 2, x_225); +lean_ctor_set(x_260, 3, x_226); +lean_ctor_set(x_260, 4, x_227); +lean_ctor_set(x_260, 5, x_228); +lean_ctor_set(x_260, 6, x_229); +lean_ctor_set(x_260, 7, x_231); +lean_ctor_set(x_260, 8, x_232); +lean_ctor_set(x_260, 9, x_233); +lean_ctor_set(x_260, 10, x_234); +lean_ctor_set(x_260, 11, x_235); +lean_ctor_set(x_260, 12, x_236); +lean_ctor_set(x_260, 13, x_259); +lean_ctor_set(x_260, 14, x_237); +lean_ctor_set_uint8(x_260, sizeof(void*)*15, x_230); +x_261 = lean_st_ref_set(x_11, x_260, x_24); +x_262 = lean_ctor_get(x_261, 1); +lean_inc(x_262); +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + lean_ctor_release(x_261, 1); + x_263 = x_261; +} else { + lean_dec_ref(x_261); x_263 = lean_box(0); } -x_264 = lean_box(0); -x_265 = l_Lean_PersistentArray_set___rarg(x_250, x_1, x_264); -if (lean_is_scalar(x_263)) { - x_266 = lean_alloc_ctor(0, 14, 1); -} else { - x_266 = x_263; -} -lean_ctor_set(x_266, 0, x_248); -lean_ctor_set(x_266, 1, x_249); -lean_ctor_set(x_266, 2, x_265); -lean_ctor_set(x_266, 3, x_251); -lean_ctor_set(x_266, 4, x_252); -lean_ctor_set(x_266, 5, x_253); -lean_ctor_set(x_266, 6, x_254); -lean_ctor_set(x_266, 7, x_255); -lean_ctor_set(x_266, 8, x_256); -lean_ctor_set(x_266, 9, x_257); -lean_ctor_set(x_266, 10, x_258); -lean_ctor_set(x_266, 11, x_259); -lean_ctor_set(x_266, 12, x_261); -lean_ctor_set(x_266, 13, x_262); -lean_ctor_set_uint8(x_266, sizeof(void*)*14, x_260); -if (lean_is_scalar(x_247)) { - x_267 = lean_alloc_ctor(0, 2, 0); -} else { - x_267 = x_247; -} -lean_ctor_set(x_267, 0, x_246); -lean_ctor_set(x_267, 1, x_266); -x_268 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_268, 0, x_231); -lean_ctor_set(x_268, 1, x_232); -lean_ctor_set(x_268, 2, x_233); -lean_ctor_set(x_268, 3, x_234); -lean_ctor_set(x_268, 4, x_235); -lean_ctor_set(x_268, 5, x_236); -lean_ctor_set(x_268, 6, x_237); -lean_ctor_set(x_268, 7, x_239); -lean_ctor_set(x_268, 8, x_240); -lean_ctor_set(x_268, 9, x_241); -lean_ctor_set(x_268, 10, x_242); -lean_ctor_set(x_268, 11, x_243); -lean_ctor_set(x_268, 12, x_244); -lean_ctor_set(x_268, 13, x_267); -lean_ctor_set(x_268, 14, x_245); -lean_ctor_set_uint8(x_268, sizeof(void*)*15, x_238); -x_269 = lean_st_ref_set(x_11, x_268, x_24); -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - x_271 = x_269; -} else { - lean_dec_ref(x_269); - x_271 = lean_box(0); -} lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -2624,104 +2567,102 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_272 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_270); -if (lean_obj_tag(x_272) == 0) +x_264 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_262); +if (lean_obj_tag(x_264) == 0) { -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; -x_273 = lean_ctor_get(x_272, 1); -lean_inc(x_273); -lean_dec(x_272); -x_274 = l_Int_Linear_Poly_mul(x_3, x_4); -x_275 = lean_int_neg(x_5); -x_276 = l_Int_Linear_Poly_mul(x_6, x_275); +lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; +x_265 = lean_ctor_get(x_264, 1); +lean_inc(x_265); +lean_dec(x_264); +x_266 = l_Int_Linear_Poly_mul(x_3, x_4); +x_267 = lean_int_neg(x_5); +x_268 = l_Int_Linear_Poly_mul(x_6, x_267); +lean_dec(x_267); +x_269 = lean_unsigned_to_nat(100000000u); +x_270 = l_Int_Linear_Poly_combine_x27(x_269, x_266, x_268); +if (lean_is_scalar(x_263)) { + x_271 = lean_alloc_ctor(4, 2, 0); +} else { + x_271 = x_263; + lean_ctor_set_tag(x_271, 4); +} +lean_ctor_set(x_271, 0, x_7); +lean_ctor_set(x_271, 1, x_8); +x_272 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_272, 0, x_9); +lean_ctor_set(x_272, 1, x_270); +lean_ctor_set(x_272, 2, x_271); +x_273 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; +x_274 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_273, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_265); +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +x_276 = lean_unbox(x_275); lean_dec(x_275); -x_277 = lean_unsigned_to_nat(100000000u); -x_278 = l_Int_Linear_Poly_combine_x27(x_277, x_274, x_276); -if (lean_is_scalar(x_271)) { - x_279 = lean_alloc_ctor(4, 2, 0); -} else { - x_279 = x_271; - lean_ctor_set_tag(x_279, 4); +if (x_276 == 0) +{ +lean_object* x_277; lean_object* x_278; +x_277 = lean_ctor_get(x_274, 1); +lean_inc(x_277); +lean_dec(x_274); +x_278 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_272, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_277); +return x_278; } -lean_ctor_set(x_279, 0, x_7); -lean_ctor_set(x_279, 1, x_8); -x_280 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_9, x_278, x_279, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_273); -x_281 = lean_ctor_get(x_280, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_280, 1); +else +{ +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; +x_279 = lean_ctor_get(x_274, 1); +lean_inc(x_279); +if (lean_is_exclusive(x_274)) { + lean_ctor_release(x_274, 0); + lean_ctor_release(x_274, 1); + x_280 = x_274; +} else { + lean_dec_ref(x_274); + x_280 = lean_box(0); +} +lean_inc(x_272); +x_281 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_272, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_279); +x_282 = lean_ctor_get(x_281, 0); lean_inc(x_282); -lean_dec(x_280); -x_283 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__4; -x_284 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_283, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_282); -x_285 = lean_ctor_get(x_284, 0); -lean_inc(x_285); -x_286 = lean_unbox(x_285); -lean_dec(x_285); -if (x_286 == 0) -{ -lean_object* x_287; lean_object* x_288; -x_287 = lean_ctor_get(x_284, 1); -lean_inc(x_287); -lean_dec(x_284); -x_288 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_281, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_287); -return x_288; +x_283 = lean_ctor_get(x_281, 1); +lean_inc(x_283); +if (lean_is_exclusive(x_281)) { + lean_ctor_release(x_281, 0); + lean_ctor_release(x_281, 1); + x_284 = x_281; +} else { + lean_dec_ref(x_281); + x_284 = lean_box(0); } -else -{ -lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_289 = lean_ctor_get(x_284, 1); +x_285 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_284)) { + x_286 = lean_alloc_ctor(7, 2, 0); +} else { + x_286 = x_284; + lean_ctor_set_tag(x_286, 7); +} +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_282); +if (lean_is_scalar(x_280)) { + x_287 = lean_alloc_ctor(7, 2, 0); +} else { + x_287 = x_280; + lean_ctor_set_tag(x_287, 7); +} +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_285); +x_288 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_273, x_287, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_283); +x_289 = lean_ctor_get(x_288, 1); lean_inc(x_289); -if (lean_is_exclusive(x_284)) { - lean_ctor_release(x_284, 0); - lean_ctor_release(x_284, 1); - x_290 = x_284; -} else { - lean_dec_ref(x_284); - x_290 = lean_box(0); -} -lean_inc(x_281); -x_291 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_281, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_289); -x_292 = lean_ctor_get(x_291, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_291, 1); -lean_inc(x_293); -if (lean_is_exclusive(x_291)) { - lean_ctor_release(x_291, 0); - lean_ctor_release(x_291, 1); - x_294 = x_291; -} else { - lean_dec_ref(x_291); - x_294 = lean_box(0); -} -x_295 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_294)) { - x_296 = lean_alloc_ctor(7, 2, 0); -} else { - x_296 = x_294; - lean_ctor_set_tag(x_296, 7); -} -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_292); -if (lean_is_scalar(x_290)) { - x_297 = lean_alloc_ctor(7, 2, 0); -} else { - x_297 = x_290; - lean_ctor_set_tag(x_297, 7); -} -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_295); -x_298 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_283, x_297, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_293); -x_299 = lean_ctor_get(x_298, 1); -lean_inc(x_299); -lean_dec(x_298); -x_300 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_281, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_299); -return x_300; +lean_dec(x_288); +x_290 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_272, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_289); +return x_290; } } else { -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -lean_dec(x_271); +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +lean_dec(x_263); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -2735,26 +2676,26 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_301 = lean_ctor_get(x_272, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_272, 1); -lean_inc(x_302); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - x_303 = x_272; +x_291 = lean_ctor_get(x_264, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_264, 1); +lean_inc(x_292); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_293 = x_264; } else { - lean_dec_ref(x_272); - x_303 = lean_box(0); + lean_dec_ref(x_264); + x_293 = lean_box(0); } -if (lean_is_scalar(x_303)) { - x_304 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_293)) { + x_294 = lean_alloc_ctor(1, 2, 0); } else { - x_304 = x_303; + x_294 = x_293; } -lean_ctor_set(x_304, 0, x_301); -lean_ctor_set(x_304, 1, x_302); -return x_304; +lean_ctor_set(x_294, 0, x_291); +lean_ctor_set(x_294, 1, x_292); +return x_294; } } } @@ -2830,7 +2771,7 @@ lean_dec(x_26); x_29 = !lean_is_exclusive(x_27); if (x_29 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 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_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; uint8_t x_43; x_30 = lean_ctor_get(x_27, 0); x_31 = lean_ctor_get(x_27, 1); x_32 = lean_int_mul(x_30, x_23); @@ -2857,396 +2798,390 @@ lean_inc(x_6); lean_ctor_set_tag(x_27, 3); lean_ctor_set(x_27, 1, x_1); lean_ctor_set(x_27, 0, x_6); -x_39 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_36, x_17, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___closed__2; -x_43 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_42, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_41); -x_44 = lean_ctor_get(x_43, 0); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_17); +lean_ctor_set(x_39, 2, x_27); +x_40 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___closed__2; +x_41 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_unbox(x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_41, 1); lean_inc(x_44); -x_45 = lean_unbox(x_44); -lean_dec(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_dec(x_43); -x_47 = lean_box(0); -x_48 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_40, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_47, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_46); +lean_dec(x_41); +x_45 = lean_box(0); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_39, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_45, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_44); lean_dec(x_20); lean_dec(x_5); -return x_48; +return x_46; } else { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_43); -if (x_49 == 0) +uint8_t x_47; +x_47 = !lean_is_exclusive(x_41); +if (x_47 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_50 = lean_ctor_get(x_43, 1); -x_51 = lean_ctor_get(x_43, 0); -lean_dec(x_51); -lean_inc(x_40); -x_52 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_50); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = lean_ctor_get(x_41, 1); +x_49 = lean_ctor_get(x_41, 0); +lean_dec(x_49); +lean_inc(x_39); +x_50 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_48); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_ctor_get(x_52, 1); -x_56 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -lean_ctor_set_tag(x_52, 7); -lean_ctor_set(x_52, 1, x_54); -lean_ctor_set(x_52, 0, x_56); -lean_ctor_set_tag(x_43, 7); -lean_ctor_set(x_43, 1, x_56); -lean_ctor_set(x_43, 0, x_52); -x_57 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_42, x_43, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_55); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_52 = lean_ctor_get(x_50, 0); +x_53 = lean_ctor_get(x_50, 1); +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +lean_ctor_set_tag(x_50, 7); +lean_ctor_set(x_50, 1, x_52); +lean_ctor_set(x_50, 0, x_54); +lean_ctor_set_tag(x_41, 7); +lean_ctor_set(x_41, 1, x_54); +lean_ctor_set(x_41, 0, x_50); +x_55 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_40, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_53); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_39, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_57); +lean_dec(x_56); +lean_dec(x_20); +lean_dec(x_5); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_59 = lean_ctor_get(x_50, 0); +x_60 = lean_ctor_get(x_50, 1); +lean_inc(x_60); lean_inc(x_59); -lean_dec(x_57); -x_60 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_40, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_58, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_59); -lean_dec(x_58); +lean_dec(x_50); +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set_tag(x_41, 7); +lean_ctor_set(x_41, 1, x_61); +lean_ctor_set(x_41, 0, x_62); +x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_40, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_60); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_39, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_64, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_65); +lean_dec(x_64); lean_dec(x_20); lean_dec(x_5); -return x_60; +return x_66; +} } 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; -x_61 = lean_ctor_get(x_52, 0); -x_62 = lean_ctor_get(x_52, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_52); -x_63 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -x_64 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -lean_ctor_set_tag(x_43, 7); -lean_ctor_set(x_43, 1, x_63); -lean_ctor_set(x_43, 0, x_64); -x_65 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_42, x_43, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_62); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_67 = lean_ctor_get(x_41, 1); lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_40, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_66, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_67); -lean_dec(x_66); -lean_dec(x_20); -lean_dec(x_5); -return x_68; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_69 = lean_ctor_get(x_43, 1); +lean_dec(x_41); +lean_inc(x_39); +x_68 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_67); +x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); -lean_dec(x_43); -lean_inc(x_40); -x_70 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_73 = x_70; +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_71 = x_68; } else { - lean_dec_ref(x_70); - x_73 = lean_box(0); + lean_dec_ref(x_68); + x_71 = lean_box(0); } -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_73)) { - x_75 = lean_alloc_ctor(7, 2, 0); +x_72 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_71)) { + x_73 = lean_alloc_ctor(7, 2, 0); } else { - x_75 = x_73; - lean_ctor_set_tag(x_75, 7); + x_73 = x_71; + lean_ctor_set_tag(x_73, 7); } -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_71); -x_76 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_42, x_76, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_72); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_40, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_78, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_79); -lean_dec(x_78); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_69); +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +x_75 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_40, x_74, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_70); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_39, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_76, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_77); +lean_dec(x_76); lean_dec(x_20); lean_dec(x_5); -return x_80; +return x_78; } } } else { -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; uint8_t x_97; -x_81 = lean_ctor_get(x_27, 0); -x_82 = lean_ctor_get(x_27, 1); -lean_inc(x_82); -lean_inc(x_81); +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; uint8_t x_93; +x_79 = lean_ctor_get(x_27, 0); +x_80 = lean_ctor_get(x_27, 1); +lean_inc(x_80); +lean_inc(x_79); lean_dec(x_27); -x_83 = lean_int_mul(x_81, x_23); -lean_dec(x_81); +x_81 = lean_int_mul(x_79, x_23); +lean_dec(x_79); lean_inc(x_4); -x_84 = l_Int_Linear_Poly_mul(x_4, x_83); -lean_dec(x_83); -x_85 = lean_int_mul(x_82, x_3); -lean_dec(x_82); +x_82 = l_Int_Linear_Poly_mul(x_4, x_81); +lean_dec(x_81); +x_83 = lean_int_mul(x_80, x_3); +lean_dec(x_80); lean_inc(x_21); -x_86 = l_Int_Linear_Poly_mul(x_21, x_85); -lean_dec(x_85); -x_87 = lean_int_mul(x_3, x_23); +x_84 = l_Int_Linear_Poly_mul(x_21, x_83); +lean_dec(x_83); +x_85 = lean_int_mul(x_3, x_23); lean_dec(x_23); -x_88 = lean_unsigned_to_nat(100000000u); -x_89 = l_Int_Linear_Poly_combine_x27(x_88, x_84, x_86); +x_86 = lean_unsigned_to_nat(100000000u); +x_87 = l_Int_Linear_Poly_combine_x27(x_86, x_82, x_84); lean_inc(x_5); lean_inc(x_28); -lean_ctor_set(x_17, 2, x_89); +lean_ctor_set(x_17, 2, x_87); lean_ctor_set(x_17, 1, x_5); lean_ctor_set(x_17, 0, x_28); lean_inc(x_1); lean_inc(x_6); -x_90 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_90, 0, x_6); -lean_ctor_set(x_90, 1, x_1); -x_91 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_87, x_17, x_90, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_88 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_88, 0, x_6); +lean_ctor_set(x_88, 1, x_1); +x_89 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_89, 0, x_85); +lean_ctor_set(x_89, 1, x_17); +lean_ctor_set(x_89, 2, x_88); +x_90 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___closed__2; +x_91 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_90, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); x_92 = lean_ctor_get(x_91, 0); lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___closed__2; -x_95 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_94, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_93); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_unbox(x_96); -lean_dec(x_96); -if (x_97 == 0) +x_93 = lean_unbox(x_92); +lean_dec(x_92); +if (x_93 == 0) { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_dec(x_95); -x_99 = lean_box(0); -x_100 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_92, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_99, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_98); +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +lean_dec(x_91); +x_95 = lean_box(0); +x_96 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_89, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_95, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_94); lean_dec(x_20); lean_dec(x_5); -return x_100; +return x_96; } else { -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; -x_101 = lean_ctor_get(x_95, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_102 = x_95; +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; +x_97 = lean_ctor_get(x_91, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_98 = x_91; } else { - lean_dec_ref(x_95); + lean_dec_ref(x_91); + x_98 = lean_box(0); +} +lean_inc(x_89); +x_99 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_89, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_97); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_102 = x_99; +} else { + lean_dec_ref(x_99); x_102 = lean_box(0); } -lean_inc(x_92); -x_103 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_92, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_101); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_106 = x_103; -} else { - lean_dec_ref(x_103); - x_106 = lean_box(0); -} -x_107 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_106)) { - x_108 = lean_alloc_ctor(7, 2, 0); -} else { - x_108 = x_106; - lean_ctor_set_tag(x_108, 7); -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_104); +x_103 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; if (lean_is_scalar(x_102)) { - x_109 = lean_alloc_ctor(7, 2, 0); + x_104 = lean_alloc_ctor(7, 2, 0); } else { - x_109 = x_102; - lean_ctor_set_tag(x_109, 7); + x_104 = x_102; + lean_ctor_set_tag(x_104, 7); } -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_107); -x_110 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_94, x_109, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_105); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_92, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_111, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_112); -lean_dec(x_111); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_100); +if (lean_is_scalar(x_98)) { + x_105 = lean_alloc_ctor(7, 2, 0); +} else { + x_105 = x_98; + lean_ctor_set_tag(x_105, 7); +} +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_90, x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_101); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_89, x_4, x_20, x_2, x_21, x_6, x_1, x_28, x_107, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_108); +lean_dec(x_107); lean_dec(x_20); lean_dec(x_5); -return x_113; +return x_109; } } } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; 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; uint8_t x_140; -x_114 = lean_ctor_get(x_17, 0); -x_115 = lean_ctor_get(x_17, 2); -lean_inc(x_115); -lean_inc(x_114); +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; uint8_t x_134; +x_110 = lean_ctor_get(x_17, 0); +x_111 = lean_ctor_get(x_17, 2); +lean_inc(x_111); +lean_inc(x_110); lean_dec(x_17); -x_116 = lean_ctor_get(x_1, 0); +x_112 = lean_ctor_get(x_1, 0); +lean_inc(x_112); +x_113 = lean_int_mul(x_2, x_112); +x_114 = lean_int_mul(x_110, x_3); +x_115 = l_Lean_Meta_Grind_Arith_Cutsat_gcdExt(x_113, x_114); +lean_dec(x_114); +lean_dec(x_113); +x_116 = lean_ctor_get(x_115, 1); lean_inc(x_116); -x_117 = lean_int_mul(x_2, x_116); -x_118 = lean_int_mul(x_114, x_3); -x_119 = l_Lean_Meta_Grind_Arith_Cutsat_gcdExt(x_117, x_118); -lean_dec(x_118); -lean_dec(x_117); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 0); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_124 = x_120; +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_116, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_120 = x_116; } else { - lean_dec_ref(x_120); - x_124 = lean_box(0); + lean_dec_ref(x_116); + x_120 = lean_box(0); } -x_125 = lean_int_mul(x_122, x_116); -lean_dec(x_122); +x_121 = lean_int_mul(x_118, x_112); +lean_dec(x_118); lean_inc(x_4); -x_126 = l_Int_Linear_Poly_mul(x_4, x_125); -lean_dec(x_125); -x_127 = lean_int_mul(x_123, x_3); +x_122 = l_Int_Linear_Poly_mul(x_4, x_121); +lean_dec(x_121); +x_123 = lean_int_mul(x_119, x_3); +lean_dec(x_119); +lean_inc(x_111); +x_124 = l_Int_Linear_Poly_mul(x_111, x_123); lean_dec(x_123); -lean_inc(x_115); -x_128 = l_Int_Linear_Poly_mul(x_115, x_127); -lean_dec(x_127); -x_129 = lean_int_mul(x_3, x_116); -lean_dec(x_116); -x_130 = lean_unsigned_to_nat(100000000u); -x_131 = l_Int_Linear_Poly_combine_x27(x_130, x_126, x_128); +x_125 = lean_int_mul(x_3, x_112); +lean_dec(x_112); +x_126 = lean_unsigned_to_nat(100000000u); +x_127 = l_Int_Linear_Poly_combine_x27(x_126, x_122, x_124); lean_inc(x_5); -lean_inc(x_121); -x_132 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_132, 0, x_121); -lean_ctor_set(x_132, 1, x_5); -lean_ctor_set(x_132, 2, x_131); +lean_inc(x_117); +x_128 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_128, 0, x_117); +lean_ctor_set(x_128, 1, x_5); +lean_ctor_set(x_128, 2, x_127); lean_inc(x_1); lean_inc(x_6); -if (lean_is_scalar(x_124)) { - x_133 = lean_alloc_ctor(3, 2, 0); +if (lean_is_scalar(x_120)) { + x_129 = lean_alloc_ctor(3, 2, 0); } else { - x_133 = x_124; - lean_ctor_set_tag(x_133, 3); + x_129 = x_120; + lean_ctor_set_tag(x_129, 3); } -lean_ctor_set(x_133, 0, x_6); -lean_ctor_set(x_133, 1, x_1); -x_134 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_129, x_132, x_133, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___closed__2; -x_138 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_137, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_136); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_unbox(x_139); -lean_dec(x_139); -if (x_140 == 0) +lean_ctor_set(x_129, 0, x_6); +lean_ctor_set(x_129, 1, x_1); +x_130 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_130, 0, x_125); +lean_ctor_set(x_130, 1, x_128); +lean_ctor_set(x_130, 2, x_129); +x_131 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__4___closed__2; +x_132 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_131, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_unbox(x_133); +lean_dec(x_133); +if (x_134 == 0) { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_138, 1); -lean_inc(x_141); -lean_dec(x_138); -x_142 = lean_box(0); -x_143 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_135, x_4, x_114, x_2, x_115, x_6, x_1, x_121, x_142, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_141); -lean_dec(x_114); +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_132, 1); +lean_inc(x_135); +lean_dec(x_132); +x_136 = lean_box(0); +x_137 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_130, x_4, x_110, x_2, x_111, x_6, x_1, x_117, x_136, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_135); +lean_dec(x_110); lean_dec(x_5); -return x_143; +return x_137; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_144 = lean_ctor_get(x_138, 1); -lean_inc(x_144); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_145 = x_138; +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_138 = lean_ctor_get(x_132, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + x_139 = x_132; } else { - lean_dec_ref(x_138); - x_145 = lean_box(0); + lean_dec_ref(x_132); + x_139 = lean_box(0); } -lean_inc(x_135); -x_146 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_135, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_144); -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_130); +x_140 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_130, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_138); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_140, 1); +lean_inc(x_142); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_143 = x_140; +} else { + lean_dec_ref(x_140); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(7, 2, 0); +} else { + x_145 = x_143; + lean_ctor_set_tag(x_145, 7); +} +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_141); +if (lean_is_scalar(x_139)) { + x_146 = lean_alloc_ctor(7, 2, 0); +} else { + x_146 = x_139; + lean_ctor_set_tag(x_146, 7); +} +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_144); +x_147 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_131, x_146, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_142); +x_148 = lean_ctor_get(x_147, 0); lean_inc(x_148); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - x_149 = x_146; -} else { - lean_dec_ref(x_146); - x_149 = lean_box(0); -} -x_150 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_149)) { - x_151 = lean_alloc_ctor(7, 2, 0); -} else { - x_151 = x_149; - lean_ctor_set_tag(x_151, 7); -} -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_147); -if (lean_is_scalar(x_145)) { - x_152 = lean_alloc_ctor(7, 2, 0); -} else { - x_152 = x_145; - lean_ctor_set_tag(x_152, 7); -} -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_137, x_152, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_148); -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -lean_dec(x_153); -x_156 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_135, x_4, x_114, x_2, x_115, x_6, x_1, x_121, x_154, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_155); -lean_dec(x_154); -lean_dec(x_114); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3(x_5, x_130, x_4, x_110, x_2, x_111, x_6, x_1, x_117, x_148, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_149); +lean_dec(x_148); +lean_dec(x_110); lean_dec(x_5); -return x_156; +return x_150; } } } @@ -4025,106 +3960,236 @@ return x_57; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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_Meta_Grind_Arith_Cutsat_DvdCnstr_norm(x_1, 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_12; lean_object* x_13; +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_1); +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -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); -lean_inc(x_9); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applySubsts(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -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_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -x_20 = l_Int_Linear_Poly_isUnsatDvd(x_18, x_19); -lean_dec(x_19); +x_16 = lean_box(0); +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 = lean_box(0); +x_19 = lean_alloc_ctor(0, 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) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_box(0); -x_22 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8(x_16, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -return x_22; +return x_13; } else { -lean_object* x_23; lean_object* x_24; -x_23 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_23, 0, x_16); -x_24 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_24) == 0) +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__1() { +_start: { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unsat", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__2() { +_start: { -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; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__1; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm(x_1); +lean_inc(x_9); +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applySubsts(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +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_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_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +x_18 = l_Int_Linear_Poly_isUnsatDvd(x_16, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8(x_14, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +return x_20; } 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; +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__2; +x_22 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_box(0); +x_27 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__9(x_14, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +return x_27; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_22, 1); +x_30 = lean_ctor_get(x_22, 0); +lean_dec(x_30); +lean_inc(x_14); +x_31 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 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; lean_object* x_39; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +x_35 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_33); +lean_ctor_set(x_31, 0, x_35); +lean_ctor_set_tag(x_22, 7); +lean_ctor_set(x_22, 1, x_35); +lean_ctor_set(x_22, 0, x_31); +x_36 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_21, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__9(x_14, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); +lean_dec(x_37); +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; lean_object* x_46; lean_object* x_47; +x_40 = lean_ctor_get(x_31, 0); +x_41 = lean_ctor_get(x_31, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_31); +x_42 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +lean_ctor_set_tag(x_22, 7); +lean_ctor_set(x_22, 1, x_42); +lean_ctor_set(x_22, 0, x_43); +x_44 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_21, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +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_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__9(x_14, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_46); +lean_dec(x_45); +return x_47; } } else { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_24); -if (x_31 == 0) -{ -return x_24; +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_22, 1); +lean_inc(x_48); +lean_dec(x_22); +lean_inc(x_14); +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_48); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_52 = x_49; +} else { + lean_dec_ref(x_49); + x_52 = lean_box(0); } -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_24, 0); -x_33 = lean_ctor_get(x_24, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_24); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +x_53 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_52)) { + x_54 = lean_alloc_ctor(7, 2, 0); +} else { + x_54 = x_52; + lean_ctor_set_tag(x_54, 7); +} +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_50); +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_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_21, x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_51); +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_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__9(x_14, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +lean_dec(x_57); +return x_59; } } } } else { -uint8_t x_35; +uint8_t x_60; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4133,54 +4198,160 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_35 = !lean_is_exclusive(x_15); -if (x_35 == 0) +x_60 = !lean_is_exclusive(x_13); +if (x_60 == 0) { -return x_15; +return x_13; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_15, 0); -x_37 = lean_ctor_get(x_15, 1); -lean_inc(x_37); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_13, 0); +x_62 = lean_ctor_get(x_13, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_13); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__3___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11___closed__1; +x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_box(0); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, 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; uint8_t x_23; +x_20 = lean_ctor_get(x_13, 1); +x_21 = lean_ctor_get(x_13, 0); +lean_dec(x_21); +lean_inc(x_1); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +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_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +lean_ctor_set_tag(x_22, 7); +lean_ctor_set(x_22, 1, x_24); +lean_ctor_set(x_22, 0, x_26); +lean_ctor_set_tag(x_13, 7); +lean_ctor_set(x_13, 1, x_26); +lean_ctor_set(x_13, 0, x_22); +x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +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_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10(x_1, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, 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; +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 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +lean_ctor_set_tag(x_13, 7); +lean_ctor_set(x_13, 1, x_33); +lean_ctor_set(x_13, 0, x_34); +x_35 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec(x_15); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10(x_1, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); +lean_dec(x_36); return x_38; } } -} else { -uint8_t x_39; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_39 = !lean_is_exclusive(x_12); -if (x_39 == 0) -{ -return x_12; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_12, 0); -x_41 = lean_ctor_get(x_12, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_39 = lean_ctor_get(x_13, 1); +lean_inc(x_39); +lean_dec(x_13); +lean_inc(x_1); +x_40 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_39); +x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_12); -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; +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_43 = x_40; +} else { + lean_dec_ref(x_40); + x_43 = lean_box(0); +} +x_44 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_43)) { + x_45 = lean_alloc_ctor(7, 2, 0); +} else { + x_45 = x_43; + lean_ctor_set_tag(x_45, 7); +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_41); +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_12, x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_42); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10(x_1, 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; } } } @@ -4274,7 +4445,7 @@ x_44 = lean_ctor_get(x_41, 1); lean_inc(x_44); lean_dec(x_41); x_45 = lean_box(0); -x_46 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__9(x_1, x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_44); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11(x_1, x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_44); return x_46; } else @@ -4390,7 +4561,7 @@ x_63 = lean_ctor_get(x_60, 1); lean_inc(x_63); lean_dec(x_60); x_64 = lean_box(0); -x_65 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__9(x_1, x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_59, x_9, x_63); +x_65 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11(x_1, x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_59, x_9, x_63); return x_65; } else @@ -4629,6 +4800,24 @@ lean_dec(x_2); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__1() { _start: { @@ -4908,7 +5097,7 @@ lean_inc(x_9); x_64 = l_Lean_Meta_mkOfEqTrue(x_62, x_9, x_10, x_11, x_12, x_63); if (lean_obj_tag(x_64) == 0) { -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; uint8_t x_73; +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_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); @@ -4916,126 +5105,124 @@ lean_inc(x_66); lean_dec(x_64); lean_ctor_set_tag(x_15, 0); lean_ctor_set(x_15, 0, x_65); -x_67 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_41, x_59, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__4; -x_71 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_70, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_69); -x_72 = lean_ctor_get(x_71, 0); +x_67 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_67, 0, x_41); +lean_ctor_set(x_67, 1, x_59); +lean_ctor_set(x_67, 2, x_15); +x_68 = l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__4; +x_69 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_unbox(x_70); +lean_dec(x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +x_72 = lean_ctor_get(x_69, 1); lean_inc(x_72); -x_73 = lean_unbox(x_72); -lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -lean_dec(x_71); -x_75 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_74); -return x_75; +lean_dec(x_69); +x_73 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_72); +return x_73; } else { -uint8_t x_76; -x_76 = !lean_is_exclusive(x_71); -if (x_76 == 0) +uint8_t x_74; +x_74 = !lean_is_exclusive(x_69); +if (x_74 == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_77 = lean_ctor_get(x_71, 1); -x_78 = lean_ctor_get(x_71, 0); -lean_dec(x_78); -lean_inc(x_68); -x_79 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_77); -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) +lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_75 = lean_ctor_get(x_69, 1); +x_76 = lean_ctor_get(x_69, 0); +lean_dec(x_76); +lean_inc(x_67); +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_75); +x_78 = !lean_is_exclusive(x_77); +if (x_78 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_81 = lean_ctor_get(x_79, 0); -x_82 = lean_ctor_get(x_79, 1); -x_83 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -lean_ctor_set_tag(x_79, 7); -lean_ctor_set(x_79, 1, x_81); -lean_ctor_set(x_79, 0, x_83); -lean_ctor_set_tag(x_71, 7); -lean_ctor_set(x_71, 1, x_83); -lean_ctor_set(x_71, 0, x_79); -x_84 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_70, x_71, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); -x_85 = lean_ctor_get(x_84, 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; +x_79 = lean_ctor_get(x_77, 0); +x_80 = lean_ctor_get(x_77, 1); +x_81 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +lean_ctor_set_tag(x_77, 7); +lean_ctor_set(x_77, 1, x_79); +lean_ctor_set(x_77, 0, x_81); +lean_ctor_set_tag(x_69, 7); +lean_ctor_set(x_69, 1, x_81); +lean_ctor_set(x_69, 0, x_77); +x_82 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_68, x_69, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_80); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_83); +return x_84; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_85 = lean_ctor_get(x_77, 0); +x_86 = lean_ctor_get(x_77, 1); +lean_inc(x_86); lean_inc(x_85); -lean_dec(x_84); -x_86 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_85); -return x_86; +lean_dec(x_77); +x_87 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +lean_ctor_set_tag(x_69, 7); +lean_ctor_set(x_69, 1, x_87); +lean_ctor_set(x_69, 0, x_88); +x_89 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_68, x_69, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_86); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90); +return x_91; +} } 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; -x_87 = lean_ctor_get(x_79, 0); -x_88 = lean_ctor_get(x_79, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_79); -x_89 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -x_90 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_87); -lean_ctor_set_tag(x_71, 7); -lean_ctor_set(x_71, 1, x_89); -lean_ctor_set(x_71, 0, x_90); -x_91 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_70, x_71, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_88); -x_92 = lean_ctor_get(x_91, 1); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_92 = lean_ctor_get(x_69, 1); lean_inc(x_92); -lean_dec(x_91); -x_93 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); -return x_93; -} -} -else -{ -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; -x_94 = lean_ctor_get(x_71, 1); +lean_dec(x_69); +lean_inc(x_67); +x_93 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); +x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); -lean_dec(x_71); -lean_inc(x_68); -x_95 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_94); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_98 = x_95; +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_96 = x_93; } else { - lean_dec_ref(x_95); - x_98 = lean_box(0); + lean_dec_ref(x_93); + x_96 = lean_box(0); } -x_99 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_98)) { - x_100 = lean_alloc_ctor(7, 2, 0); +x_97 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; +if (lean_is_scalar(x_96)) { + x_98 = lean_alloc_ctor(7, 2, 0); } else { - x_100 = x_98; - lean_ctor_set_tag(x_100, 7); + x_98 = x_96; + lean_ctor_set_tag(x_98, 7); } -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_96); -x_101 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_70, x_101, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_97); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_104 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_103); -return x_104; +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_94); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_68, x_99, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_95); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +x_102 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_101); +return x_102; } } } else { -uint8_t x_105; +uint8_t x_103; lean_dec(x_59); lean_free_object(x_15); lean_dec(x_41); @@ -5047,29 +5234,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_105 = !lean_is_exclusive(x_64); -if (x_105 == 0) +x_103 = !lean_is_exclusive(x_64); +if (x_103 == 0) { return x_64; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_64, 0); -x_107 = lean_ctor_get(x_64, 1); -lean_inc(x_107); -lean_inc(x_106); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_64, 0); +x_105 = lean_ctor_get(x_64, 1); +lean_inc(x_105); +lean_inc(x_104); lean_dec(x_64); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; } } } else { -uint8_t x_109; +uint8_t x_107; lean_dec(x_59); lean_free_object(x_15); lean_dec(x_41); @@ -5081,29 +5268,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_109 = !lean_is_exclusive(x_61); -if (x_109 == 0) +x_107 = !lean_is_exclusive(x_61); +if (x_107 == 0) { return x_61; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_61, 0); -x_111 = lean_ctor_get(x_61, 1); -lean_inc(x_111); -lean_inc(x_110); +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_61, 0); +x_109 = lean_ctor_get(x_61, 1); +lean_inc(x_109); +lean_inc(x_108); lean_dec(x_61); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; } } } else { -uint8_t x_113; +uint8_t x_111; lean_free_object(x_15); lean_dec(x_41); lean_dec(x_12); @@ -5115,30 +5302,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_113 = !lean_is_exclusive(x_58); -if (x_113 == 0) +x_111 = !lean_is_exclusive(x_58); +if (x_111 == 0) { return x_58; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_58, 0); -x_115 = lean_ctor_get(x_58, 1); -lean_inc(x_115); -lean_inc(x_114); +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_58, 0); +x_113 = lean_ctor_get(x_58, 1); +lean_inc(x_113); +lean_inc(x_112); lean_dec(x_58); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; } } } } else { -uint8_t x_117; +uint8_t x_115; lean_free_object(x_15); lean_dec(x_41); lean_dec(x_12); @@ -5151,50 +5338,50 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_117 = !lean_is_exclusive(x_42); -if (x_117 == 0) +x_115 = !lean_is_exclusive(x_42); +if (x_115 == 0) { return x_42; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_42, 0); -x_119 = lean_ctor_get(x_42, 1); -lean_inc(x_119); -lean_inc(x_118); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_42, 0); +x_117 = lean_ctor_get(x_42, 1); +lean_inc(x_117); +lean_inc(x_116); lean_dec(x_42); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; } } } else { -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_15, 0); -lean_inc(x_121); +lean_object* x_119; lean_object* x_120; +x_119 = lean_ctor_get(x_15, 0); +lean_inc(x_119); lean_dec(x_15); lean_inc(x_2); -x_122 = l_Lean_Meta_Grind_isEqTrue(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); -if (lean_obj_tag(x_122) == 0) +x_120 = l_Lean_Meta_Grind_isEqTrue(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_123; uint8_t x_124; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_unbox(x_123); -lean_dec(x_123); -if (x_124 == 0) -{ -lean_object* x_125; lean_object* x_126; +lean_object* x_121; uint8_t x_122; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_unbox(x_121); lean_dec(x_121); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_119); lean_dec(x_3); -x_125 = lean_ctor_get(x_122, 1); -lean_inc(x_125); -lean_dec(x_122); -x_126 = l_Lean_Meta_Grind_isEqFalse(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_125); +x_123 = lean_ctor_get(x_120, 1); +lean_inc(x_123); +lean_dec(x_120); +x_124 = l_Lean_Meta_Grind_isEqFalse(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_123); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5203,60 +5390,77 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -if (lean_obj_tag(x_126) == 0) +if (lean_obj_tag(x_124) == 0) { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; +} else { + lean_dec_ref(x_124); + x_126 = lean_box(0); +} +x_127 = lean_box(0); +if (lean_is_scalar(x_126)) { + x_128 = lean_alloc_ctor(0, 2, 0); +} else { x_128 = x_126; -} else { - lean_dec_ref(x_126); - x_128 = lean_box(0); } -x_129 = lean_box(0); -if (lean_is_scalar(x_128)) { - x_130 = lean_alloc_ctor(0, 2, 0); -} else { - x_130 = x_128; -} -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_127); -return x_130; +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_125); +return x_128; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_131 = lean_ctor_get(x_126, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_126, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_133 = x_126; +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_129 = lean_ctor_get(x_124, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_124, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_131 = x_124; } else { - lean_dec_ref(x_126); - x_133 = lean_box(0); + lean_dec_ref(x_124); + x_131 = lean_box(0); } -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_131)) { + x_132 = lean_alloc_ctor(1, 2, 0); } else { - x_134 = x_133; + x_132 = x_131; } -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_132); -return x_134; +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set(x_132, 1, x_130); +return x_132; } } else { -lean_object* x_135; lean_object* x_136; -x_135 = lean_ctor_get(x_122, 1); +lean_object* x_133; lean_object* x_134; +x_133 = lean_ctor_get(x_120, 1); +lean_inc(x_133); +lean_dec(x_120); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_134 = l_Lean_Meta_Grind_Arith_Cutsat_toPoly(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_133); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_134, 0); lean_inc(x_135); -lean_dec(x_122); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -5265,125 +5469,141 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_136 = l_Lean_Meta_Grind_Arith_Cutsat_toPoly(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_135); -if (lean_obj_tag(x_136) == 0) +x_137 = l_Lean_Meta_Grind_mkEqTrueProof(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_136); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_137, 0); lean_inc(x_138); -lean_dec(x_136); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec(x_137); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_139 = l_Lean_Meta_Grind_mkEqTrueProof(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_138); -if (lean_obj_tag(x_139) == 0) +x_140 = l_Lean_Meta_mkOfEqTrue(x_138, x_9, x_10, x_11, x_12, x_139); +if (lean_obj_tag(x_140) == 0) { -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_141 = lean_ctor_get(x_140, 0); lean_inc(x_141); -lean_dec(x_139); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_142 = l_Lean_Meta_mkOfEqTrue(x_140, x_9, x_10, x_11, x_12, x_141); -if (lean_obj_tag(x_142) == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -x_145 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_145, 0, x_143); -x_146 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_121, x_137, x_145, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_144); +x_142 = lean_ctor_get(x_140, 1); +lean_inc(x_142); +lean_dec(x_140); +x_143 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_143, 0, x_141); +x_144 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_144, 0, x_119); +lean_ctor_set(x_144, 1, x_135); +lean_ctor_set(x_144, 2, x_143); +x_145 = l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__4; +x_146 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_145, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_142); x_147 = lean_ctor_get(x_146, 0); lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -lean_dec(x_146); -x_149 = l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__4; -x_150 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_149, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_148); -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_unbox(x_151); -lean_dec(x_151); -if (x_152 == 0) +x_148 = lean_unbox(x_147); +lean_dec(x_147); +if (x_148 == 0) { -lean_object* x_153; lean_object* x_154; -x_153 = lean_ctor_get(x_150, 1); -lean_inc(x_153); -lean_dec(x_150); -x_154 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_147, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_153); -return x_154; +lean_object* x_149; lean_object* x_150; +x_149 = lean_ctor_get(x_146, 1); +lean_inc(x_149); +lean_dec(x_146); +x_150 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_144, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_149); +return x_150; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_155 = lean_ctor_get(x_150, 1); -lean_inc(x_155); -if (lean_is_exclusive(x_150)) { - lean_ctor_release(x_150, 0); - lean_ctor_release(x_150, 1); - x_156 = x_150; +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_151 = lean_ctor_get(x_146, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_152 = x_146; } else { - lean_dec_ref(x_150); + lean_dec_ref(x_146); + x_152 = lean_box(0); +} +lean_inc(x_144); +x_153 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_144, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_151); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_156 = x_153; +} else { + lean_dec_ref(x_153); x_156 = lean_box(0); } -lean_inc(x_147); -x_157 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_147, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_155); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - x_160 = x_157; -} else { - lean_dec_ref(x_157); - x_160 = lean_box(0); -} -x_161 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; -if (lean_is_scalar(x_160)) { - x_162 = lean_alloc_ctor(7, 2, 0); -} else { - x_162 = x_160; - lean_ctor_set_tag(x_162, 7); -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_158); +x_157 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__6; if (lean_is_scalar(x_156)) { - x_163 = lean_alloc_ctor(7, 2, 0); + x_158 = lean_alloc_ctor(7, 2, 0); } else { - x_163 = x_156; - lean_ctor_set_tag(x_163, 7); + x_158 = x_156; + lean_ctor_set_tag(x_158, 7); } -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_149, x_163, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_159); -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -lean_dec(x_164); -x_166 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_147, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_165); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_154); +if (lean_is_scalar(x_152)) { + x_159 = lean_alloc_ctor(7, 2, 0); +} else { + x_159 = x_152; + lean_ctor_set_tag(x_159, 7); +} +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_145, x_159, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_155); +x_161 = lean_ctor_get(x_160, 1); +lean_inc(x_161); +lean_dec(x_160); +x_162 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_144, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_161); +return x_162; +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_135); +lean_dec(x_119); +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); +x_163 = lean_ctor_get(x_140, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_140, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_165 = x_140; +} else { + lean_dec_ref(x_140); + x_165 = lean_box(0); +} +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 2, 0); +} else { + x_166 = x_165; +} +lean_ctor_set(x_166, 0, x_163); +lean_ctor_set(x_166, 1, x_164); return x_166; } } else { lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_dec(x_137); -lean_dec(x_121); +lean_dec(x_135); +lean_dec(x_119); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5392,16 +5612,16 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_167 = lean_ctor_get(x_142, 0); +x_167 = lean_ctor_get(x_137, 0); lean_inc(x_167); -x_168 = lean_ctor_get(x_142, 1); +x_168 = lean_ctor_get(x_137, 1); lean_inc(x_168); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_169 = x_142; +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_169 = x_137; } else { - lean_dec_ref(x_142); + lean_dec_ref(x_137); x_169 = lean_box(0); } if (lean_is_scalar(x_169)) { @@ -5417,8 +5637,7 @@ return x_170; else { lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -lean_dec(x_137); -lean_dec(x_121); +lean_dec(x_119); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5427,16 +5646,17 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_171 = lean_ctor_get(x_139, 0); +lean_dec(x_2); +x_171 = lean_ctor_get(x_134, 0); lean_inc(x_171); -x_172 = lean_ctor_get(x_139, 1); +x_172 = lean_ctor_get(x_134, 1); lean_inc(x_172); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - x_173 = x_139; +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + x_173 = x_134; } else { - lean_dec_ref(x_139); + lean_dec_ref(x_134); x_173 = lean_box(0); } if (lean_is_scalar(x_173)) { @@ -5449,10 +5669,11 @@ lean_ctor_set(x_174, 1, x_172); return x_174; } } +} else { lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -lean_dec(x_121); +lean_dec(x_119); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5461,17 +5682,18 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_3); lean_dec(x_2); -x_175 = lean_ctor_get(x_136, 0); +x_175 = lean_ctor_get(x_120, 0); lean_inc(x_175); -x_176 = lean_ctor_get(x_136, 1); +x_176 = lean_ctor_get(x_120, 1); lean_inc(x_176); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_177 = x_136; +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_177 = x_120; } else { - lean_dec_ref(x_136); + lean_dec_ref(x_120); x_177 = lean_box(0); } if (lean_is_scalar(x_177)) { @@ -5485,10 +5707,10 @@ return x_178; } } } +} else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_dec(x_121); +uint8_t x_179; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5499,60 +5721,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_179 = lean_ctor_get(x_122, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_122, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_181 = x_122; -} else { - lean_dec_ref(x_122); - x_181 = lean_box(0); -} -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(1, 2, 0); -} else { - x_182 = x_181; -} -lean_ctor_set(x_182, 0, x_179); -lean_ctor_set(x_182, 1, x_180); -return x_182; -} -} -} -} -else -{ -uint8_t x_183; -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_3); -lean_dec(x_2); -x_183 = !lean_is_exclusive(x_14); -if (x_183 == 0) +x_179 = !lean_is_exclusive(x_14); +if (x_179 == 0) { return x_14; } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_14, 0); -x_185 = lean_ctor_get(x_14, 1); -lean_inc(x_185); -lean_inc(x_184); +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_14, 0); +x_181 = lean_ctor_get(x_14, 1); +lean_inc(x_181); +lean_inc(x_180); lean_dec(x_14); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -return x_186; +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; } } } @@ -5937,7 +6122,7 @@ lean_dec(x_4); return x_14; } } -static lean_object* _init_l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481____closed__1() { _start: { lean_object* x_1; @@ -5945,13 +6130,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd), 1 return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481_(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_Meta_Grind_Arith_Cutsat_propagateDvd___closed__2; x_3 = 0; -x_4 = l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383____closed__1; +x_4 = l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481____closed__1; x_5 = l___private_Lean_Meta_Tactic_Grind_PropagatorAttr_0__Lean_Meta_Grind_registerBuiltinPropagatorCore(x_2, x_3, x_4, x_1); return x_5; } @@ -5981,12 +6166,10 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___lambda__1___closed__2); l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_norm___closed__2); l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_applyEq___closed__2(); @@ -6039,6 +6222,12 @@ l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8___closed__2 = _init_l lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8___closed__2); l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8___closed__3(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__8___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__10___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert___lambda__11___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___lambda__1___closed__2(); @@ -6051,9 +6240,9 @@ l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___closed__1 = _init_l_Lean_Meta_Grin lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___closed__2(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_propagateDvd___closed__2); -l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383____closed__1 = _init_l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383____closed__1); -if (builtin) {res = l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2383_(lean_io_mk_world()); +l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481____closed__1 = _init_l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481____closed__1); +if (builtin) {res = l___regBuiltin_Lean_Meta_Grind_Arith_Cutsat_propagateDvd_declare__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr___hyg_2481_(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/Grind/Arith/Cutsat/EqCnstr.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/EqCnstr.c index 2ac8eb2607..a98065a2b3 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/EqCnstr.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/EqCnstr.c @@ -40,16 +40,18 @@ uint8_t lean_usize_dec_le(size_t, size_t); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__9___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___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_Grind_Arith_Cutsat_DiseqCnstr_assert___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_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewDiseqImpl___lambda__1___closed__5; lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_Cutsat_mkVar___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___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*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); lean_object* l_Int_Linear_Poly_addConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_split___spec__3___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__4; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore(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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_SupportedTermKind_toCtorIdx___boxed(lean_object*); uint8_t l_Int_Linear_Poly_isNegEq(lean_object*, lean_object*); @@ -73,17 +75,16 @@ uint8_t l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_isTrivial(lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_toPoly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___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_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__1; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Int_Linear_Poly_substVar___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_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateLowers___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*); uint8_t l_Int_Linear_Poly_isUnsatEq(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__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* lean_int_emod(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__9; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDiseqs___spec__1(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_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -91,7 +92,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_T LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__5; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_split___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_SupportedTermKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -113,7 +113,6 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___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_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__2(lean_object*, size_t, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___spec__3(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_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewDiseqImpl___lambda__1___closed__2; @@ -121,9 +120,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lamb LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___lambda__1(uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___spec__5(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_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateLeCnstrs___spec__1(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_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_set___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___spec__5___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -134,7 +132,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lam LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__3(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_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4___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_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -158,22 +156,21 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_T LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__19___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_split___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewDiseqImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_split___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts___spec__1___closed__3; lean_object* l_Lean_throwError___at_Int_Linear_Poly_updateOccs___spec__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_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___lambda__3(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* l_Lean_MessageData_ofFormat(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__5; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Int_Linear_Poly_substVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_norm___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_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_split___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_outOfBounds___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__13___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__8; @@ -187,7 +184,6 @@ static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__13(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_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___spec__4___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDiseqs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -227,6 +223,7 @@ lean_object* l_Lean_Meta_Grind_Arith_Cutsat_isAdd(lean_object*, lean_object*, le LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_internalize___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_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_SupportedTermKind_toCtorIdx(uint8_t); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___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*); @@ -255,8 +252,8 @@ lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(lean_object*, lean_o lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___lambda__2___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__1; lean_object* lean_grind_mk_eq_proof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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* l_Int_Linear_Poly_getConst(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_SupportedTermKind_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___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*); @@ -279,17 +276,16 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_T static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewEqImpl___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewEqLitImpl___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__5___boxed(lean_object**); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__2; lean_object* l_Int_Linear_Poly_norm(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__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* l_Lean_Name_mkStr2(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewEqLitImpl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_internalize(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_Lean_PersistentHashMap_containsAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent(lean_object*, uint8_t); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resetAssignmentFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__6; @@ -302,11 +298,10 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_T LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___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*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_mkDiseqProof_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateOccsAt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Int_Linear_Poly_isSorted(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__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_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__10___boxed(lean_object**); lean_object* l_Int_Linear_Poly_gcdCoeffs_x27(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__15(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_object*); @@ -319,20 +314,16 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_T lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm___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_Grind_Arith_Cutsat_inconsistent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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* l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__5(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__1(lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -349,10 +340,11 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lam static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_split___closed__5; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__19(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_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__1; uint64_t l_Lean_Meta_Grind_instHashableENodeKey_unsafe__1(lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___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_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_isMul(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_updateOccs(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_RBNode_forIn_visit___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateOccs___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*); @@ -361,12 +353,11 @@ size_t lean_array_size(lean_object*); lean_object* l_Lean_instInhabitedPersistentArray(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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* l_Int_Linear_Poly_combine_x27(lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDiseqs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -379,7 +370,6 @@ lean_object* l_Int_Linear_Poly_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_SupportedTermKind_noConfusion___rarg___lambda__1(lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__2; lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_neg(lean_object*); @@ -392,7 +382,6 @@ lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___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_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* lean_process_cutsat_eq_lit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__1; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_get_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateUppers___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*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts___spec__1___closed__2; @@ -403,7 +392,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___lam LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__18___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewEqImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewDiseqImpl___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateLeCnstrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateLowers___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*); @@ -415,8 +403,8 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processNewEqImpl___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_splitDiseqs(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_Lean_PersistentHashMap_containsAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__6(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_norm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_norm(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Int_Linear_Poly_substVar(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: @@ -722,154 +710,71 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_norm(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_Meta_Grind_Arith_Cutsat_EqCnstr_norm(lean_object* x_1) { _start: { -lean_object* x_11; uint8_t x_12; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -x_12 = l_Int_Linear_Poly_isSorted(x_11); -if (x_12 == 0) +lean_object* x_2; uint8_t x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Int_Linear_Poly_isSorted(x_2); +if (x_3 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = l_Int_Linear_Poly_norm(x_11); -x_14 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_14, 0, x_1); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_15; +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = l_Int_Linear_Poly_norm(x_2); +x_5 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_5, 0, x_1); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +return x_6; } else { -lean_object* x_16; -lean_dec(x_11); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_10); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_norm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_norm(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm(lean_object* x_1) { _start: { -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +lean_object* x_2; uint8_t x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Int_Linear_Poly_isSorted(x_2); +if (x_3 == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_2); -lean_ctor_set(x_15, 2, x_14); -lean_ctor_set(x_12, 0, x_15); -return x_12; +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = l_Int_Linear_Poly_norm(x_2); +x_5 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_5, 0, x_1); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +return x_6; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -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); -x_18 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_2); -lean_ctor_set(x_18, 2, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; uint8_t x_12; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -x_12 = l_Int_Linear_Poly_isSorted(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = l_Int_Linear_Poly_norm(x_11); -x_14 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_14, 0, x_1); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_15; -} -else -{ -lean_object* x_16; -lean_dec(x_11); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_10); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_1; +} } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; +lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_alloc_ctor(5, 3, 0); lean_ctor_set(x_15, 0, x_1); lean_ctor_set(x_15, 1, x_2); lean_ctor_set(x_15, 2, x_3); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_4); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_14); +return x_17; } } static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__1() { @@ -1417,19 +1322,16 @@ return x_13; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_alloc_ctor(5, 3, 0); lean_ctor_set(x_15, 0, x_1); lean_ctor_set(x_15, 1, x_2); lean_ctor_set(x_15, 2, x_3); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); -return x_19; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_4); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts(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) { @@ -2852,7 +2754,7 @@ lean_inc(x_22); x_50 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(x_50) == 0) { -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_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_50, 1); lean_inc(x_51); lean_dec(x_50); @@ -2862,12 +2764,9 @@ lean_inc(x_1); x_54 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_54, 0, x_22); lean_ctor_set(x_54, 1, x_1); -x_55 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -2876,21 +2775,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_58 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_56, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); -if (lean_obj_tag(x_58) == 0) +x_56 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_55, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_60; -x_35 = x_59; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_58; +x_35 = x_57; goto block_45; } else { -uint8_t x_61; +uint8_t x_59; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -2904,29 +2803,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_61 = !lean_is_exclusive(x_58); -if (x_61 == 0) +x_59 = !lean_is_exclusive(x_56); +if (x_59 == 0) { -return x_58; +return x_56; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_58, 0); -x_63 = lean_ctor_get(x_58, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_58); -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; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_65; +uint8_t x_63; lean_dec(x_46); lean_dec(x_33); lean_dec(x_32); @@ -2942,50 +2841,47 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_65 = !lean_is_exclusive(x_50); -if (x_65 == 0) +x_63 = !lean_is_exclusive(x_50); +if (x_63 == 0) { return x_50; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_50, 0); -x_67 = lean_ctor_get(x_50, 1); -lean_inc(x_67); -lean_inc(x_66); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_50, 0); +x_65 = lean_ctor_get(x_50, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_50); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +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; } } } } else { -lean_object* x_69; +lean_object* x_67; lean_inc(x_22); -x_69 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_69) == 0) +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_67) == 0) { -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_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_72 = l_Int_Linear_Poly_addConst(x_46, x_71); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_70 = l_Int_Linear_Poly_addConst(x_46, x_69); lean_inc(x_1); -x_73 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_73, 0, x_22); -lean_ctor_set(x_73, 1, x_1); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_72, x_73, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_70); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); +x_71 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_71, 0, x_22); +lean_ctor_set(x_71, 1, x_1); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -2994,21 +2890,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_77 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_75, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_76); -if (lean_obj_tag(x_77) == 0) +x_73 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_72, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_68); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_79; -x_35 = x_78; +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_75 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_75; +x_35 = x_74; goto block_45; } else { -uint8_t x_80; +uint8_t x_76; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -3022,29 +2918,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_80 = !lean_is_exclusive(x_77); -if (x_80 == 0) +x_76 = !lean_is_exclusive(x_73); +if (x_76 == 0) { -return x_77; +return x_73; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_77, 0); -x_82 = lean_ctor_get(x_77, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_77); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_73, 0); +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_73); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } else { -uint8_t x_84; +uint8_t x_80; lean_dec(x_46); lean_dec(x_33); lean_dec(x_32); @@ -3060,23 +2956,23 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_84 = !lean_is_exclusive(x_69); -if (x_84 == 0) +x_80 = !lean_is_exclusive(x_67); +if (x_80 == 0) { -return x_69; +return x_67; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_69, 0); -x_86 = lean_ctor_get(x_69, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_69); -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_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_67, 0); +x_82 = lean_ctor_get(x_67, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_67); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } @@ -3504,7 +3400,7 @@ lean_inc(x_22); x_55 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(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_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); lean_dec(x_55); @@ -3514,12 +3410,9 @@ lean_inc(x_1); x_59 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_59, 0, x_22); lean_ctor_set(x_59, 1, x_1); -x_60 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_56); -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_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -3528,21 +3421,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_63 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_61, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); -if (lean_obj_tag(x_63) == 0) +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_60, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_56); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_65; -x_35 = x_64; +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_63; +x_35 = x_62; goto block_50; } else { -uint8_t x_66; +uint8_t x_64; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -3556,29 +3449,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_66 = !lean_is_exclusive(x_63); -if (x_66 == 0) +x_64 = !lean_is_exclusive(x_61); +if (x_64 == 0) { -return x_63; +return x_61; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_63, 0); -x_68 = lean_ctor_get(x_63, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_63); -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; +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_61, 0); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_61); +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; } } } else { -uint8_t x_70; +uint8_t x_68; lean_dec(x_51); lean_dec(x_33); lean_dec(x_32); @@ -3594,50 +3487,47 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_55); -if (x_70 == 0) +x_68 = !lean_is_exclusive(x_55); +if (x_68 == 0) { return x_55; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_55, 0); -x_72 = lean_ctor_get(x_55, 1); -lean_inc(x_72); -lean_inc(x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_55, 0); +x_70 = lean_ctor_get(x_55, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_55); -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; +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; } } } } else { -lean_object* x_74; +lean_object* x_72; lean_inc(x_22); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_74) == 0) +x_72 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_72) == 0) { -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; -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_77 = l_Int_Linear_Poly_addConst(x_51, x_76); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_75 = l_Int_Linear_Poly_addConst(x_51, x_74); lean_inc(x_1); -x_78 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_78, 0, x_22); -lean_ctor_set(x_78, 1, x_1); -x_79 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_77, x_78, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_75); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); +x_76 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_76, 0, x_22); +lean_ctor_set(x_76, 1, x_1); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -3646,21 +3536,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_82 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_80, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_81); -if (lean_obj_tag(x_82) == 0) +x_78 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_77, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_73); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_84; -x_35 = x_83; +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_80; +x_35 = x_79; goto block_50; } else { -uint8_t x_85; +uint8_t x_81; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -3674,29 +3564,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_82); -if (x_85 == 0) +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) { -return x_82; +return x_78; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_82, 0); -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_82); -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; +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_78); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } else { -uint8_t x_89; +uint8_t x_85; lean_dec(x_51); lean_dec(x_33); lean_dec(x_32); @@ -3712,23 +3602,23 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_89 = !lean_is_exclusive(x_74); -if (x_89 == 0) +x_85 = !lean_is_exclusive(x_72); +if (x_85 == 0) { -return x_74; +return x_72; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_74, 0); -x_91 = lean_ctor_get(x_74, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_74); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_72, 0); +x_87 = lean_ctor_get(x_72, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_72); +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; } } } @@ -4419,7 +4309,7 @@ lean_inc(x_22); x_50 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(x_50) == 0) { -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_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_50, 1); lean_inc(x_51); lean_dec(x_50); @@ -4429,12 +4319,9 @@ lean_inc(x_1); x_54 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_54, 0, x_22); lean_ctor_set(x_54, 1, x_1); -x_55 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -4443,21 +4330,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_58 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_56, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); -if (lean_obj_tag(x_58) == 0) +x_56 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_55, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_60; -x_35 = x_59; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_58; +x_35 = x_57; goto block_45; } else { -uint8_t x_61; +uint8_t x_59; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -4471,29 +4358,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_61 = !lean_is_exclusive(x_58); -if (x_61 == 0) +x_59 = !lean_is_exclusive(x_56); +if (x_59 == 0) { -return x_58; +return x_56; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_58, 0); -x_63 = lean_ctor_get(x_58, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_58); -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; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_65; +uint8_t x_63; lean_dec(x_46); lean_dec(x_33); lean_dec(x_32); @@ -4509,50 +4396,47 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_65 = !lean_is_exclusive(x_50); -if (x_65 == 0) +x_63 = !lean_is_exclusive(x_50); +if (x_63 == 0) { return x_50; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_50, 0); -x_67 = lean_ctor_get(x_50, 1); -lean_inc(x_67); -lean_inc(x_66); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_50, 0); +x_65 = lean_ctor_get(x_50, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_50); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +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; } } } } else { -lean_object* x_69; +lean_object* x_67; lean_inc(x_22); -x_69 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_69) == 0) +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_67) == 0) { -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_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_72 = l_Int_Linear_Poly_addConst(x_46, x_71); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_70 = l_Int_Linear_Poly_addConst(x_46, x_69); lean_inc(x_1); -x_73 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_73, 0, x_22); -lean_ctor_set(x_73, 1, x_1); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_72, x_73, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_70); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); +x_71 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_71, 0, x_22); +lean_ctor_set(x_71, 1, x_1); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -4561,21 +4445,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_77 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_75, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_76); -if (lean_obj_tag(x_77) == 0) +x_73 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_72, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_68); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_79; -x_35 = x_78; +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_75 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_75; +x_35 = x_74; goto block_45; } else { -uint8_t x_80; +uint8_t x_76; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -4589,29 +4473,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_80 = !lean_is_exclusive(x_77); -if (x_80 == 0) +x_76 = !lean_is_exclusive(x_73); +if (x_76 == 0) { -return x_77; +return x_73; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_77, 0); -x_82 = lean_ctor_get(x_77, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_77); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_73, 0); +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_73); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } else { -uint8_t x_84; +uint8_t x_80; lean_dec(x_46); lean_dec(x_33); lean_dec(x_32); @@ -4627,23 +4511,23 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_84 = !lean_is_exclusive(x_69); -if (x_84 == 0) +x_80 = !lean_is_exclusive(x_67); +if (x_80 == 0) { -return x_69; +return x_67; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_69, 0); -x_86 = lean_ctor_get(x_69, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_69); -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_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_67, 0); +x_82 = lean_ctor_get(x_67, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_67); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } @@ -5059,7 +4943,7 @@ lean_inc(x_22); x_55 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(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_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); lean_dec(x_55); @@ -5069,12 +4953,9 @@ lean_inc(x_1); x_59 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_59, 0, x_22); lean_ctor_set(x_59, 1, x_1); -x_60 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_56); -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_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -5083,21 +4964,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_63 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_61, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); -if (lean_obj_tag(x_63) == 0) +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_60, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_56); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_65; -x_35 = x_64; +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_63; +x_35 = x_62; goto block_50; } else { -uint8_t x_66; +uint8_t x_64; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -5111,29 +4992,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_66 = !lean_is_exclusive(x_63); -if (x_66 == 0) +x_64 = !lean_is_exclusive(x_61); +if (x_64 == 0) { -return x_63; +return x_61; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_63, 0); -x_68 = lean_ctor_get(x_63, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_63); -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; +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_61, 0); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_61); +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; } } } else { -uint8_t x_70; +uint8_t x_68; lean_dec(x_51); lean_dec(x_33); lean_dec(x_32); @@ -5149,50 +5030,47 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_55); -if (x_70 == 0) +x_68 = !lean_is_exclusive(x_55); +if (x_68 == 0) { return x_55; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_55, 0); -x_72 = lean_ctor_get(x_55, 1); -lean_inc(x_72); -lean_inc(x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_55, 0); +x_70 = lean_ctor_get(x_55, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_55); -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; +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; } } } } else { -lean_object* x_74; +lean_object* x_72; lean_inc(x_22); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_74) == 0) +x_72 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_72) == 0) { -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; -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_77 = l_Int_Linear_Poly_addConst(x_51, x_76); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_75 = l_Int_Linear_Poly_addConst(x_51, x_74); lean_inc(x_1); -x_78 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_78, 0, x_22); -lean_ctor_set(x_78, 1, x_1); -x_79 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_77, x_78, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_75); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); +x_76 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_76, 0, x_22); +lean_ctor_set(x_76, 1, x_1); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -5201,21 +5079,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_82 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_80, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_81); -if (lean_obj_tag(x_82) == 0) +x_78 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_77, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_73); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_84; -x_35 = x_83; +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_80; +x_35 = x_79; goto block_50; } else { -uint8_t x_85; +uint8_t x_81; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -5229,29 +5107,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_82); -if (x_85 == 0) +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) { -return x_82; +return x_78; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_82, 0); -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_82); -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; +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_78); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } else { -uint8_t x_89; +uint8_t x_85; lean_dec(x_51); lean_dec(x_33); lean_dec(x_32); @@ -5267,23 +5145,23 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_89 = !lean_is_exclusive(x_74); -if (x_89 == 0) +x_85 = !lean_is_exclusive(x_72); +if (x_85 == 0) { -return x_74; +return x_72; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_74, 0); -x_91 = lean_ctor_get(x_74, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_74); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_72, 0); +x_87 = lean_ctor_get(x_72, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_72); +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; } } } @@ -5964,7 +5842,7 @@ lean_inc(x_22); x_50 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(x_50) == 0) { -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_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_50, 1); lean_inc(x_51); lean_dec(x_50); @@ -5974,12 +5852,9 @@ lean_inc(x_1); x_54 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_54, 0, x_22); lean_ctor_set(x_54, 1, x_1); -x_55 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -5988,21 +5863,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_58 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_56, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); -if (lean_obj_tag(x_58) == 0) +x_56 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_55, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_60; -x_35 = x_59; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_58; +x_35 = x_57; goto block_45; } else { -uint8_t x_61; +uint8_t x_59; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -6016,29 +5891,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_61 = !lean_is_exclusive(x_58); -if (x_61 == 0) +x_59 = !lean_is_exclusive(x_56); +if (x_59 == 0) { -return x_58; +return x_56; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_58, 0); -x_63 = lean_ctor_get(x_58, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_58); -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; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_65; +uint8_t x_63; lean_dec(x_46); lean_dec(x_33); lean_dec(x_32); @@ -6054,50 +5929,47 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_65 = !lean_is_exclusive(x_50); -if (x_65 == 0) +x_63 = !lean_is_exclusive(x_50); +if (x_63 == 0) { return x_50; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_50, 0); -x_67 = lean_ctor_get(x_50, 1); -lean_inc(x_67); -lean_inc(x_66); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_50, 0); +x_65 = lean_ctor_get(x_50, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_50); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +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; } } } } else { -lean_object* x_69; +lean_object* x_67; lean_inc(x_22); -x_69 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_69) == 0) +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_67) == 0) { -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_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_72 = l_Int_Linear_Poly_addConst(x_46, x_71); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_70 = l_Int_Linear_Poly_addConst(x_46, x_69); lean_inc(x_1); -x_73 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_73, 0, x_22); -lean_ctor_set(x_73, 1, x_1); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_72, x_73, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_70); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); +x_71 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_71, 0, x_22); +lean_ctor_set(x_71, 1, x_1); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -6106,21 +5978,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_77 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_75, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_76); -if (lean_obj_tag(x_77) == 0) +x_73 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_72, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_68); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_79; -x_35 = x_78; +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_75 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_75; +x_35 = x_74; goto block_45; } else { -uint8_t x_80; +uint8_t x_76; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -6134,29 +6006,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_80 = !lean_is_exclusive(x_77); -if (x_80 == 0) +x_76 = !lean_is_exclusive(x_73); +if (x_76 == 0) { -return x_77; +return x_73; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_77, 0); -x_82 = lean_ctor_get(x_77, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_77); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_73, 0); +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_73); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } else { -uint8_t x_84; +uint8_t x_80; lean_dec(x_46); lean_dec(x_33); lean_dec(x_32); @@ -6172,23 +6044,23 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_84 = !lean_is_exclusive(x_69); -if (x_84 == 0) +x_80 = !lean_is_exclusive(x_67); +if (x_80 == 0) { -return x_69; +return x_67; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_69, 0); -x_86 = lean_ctor_get(x_69, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_69); -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_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_67, 0); +x_82 = lean_ctor_get(x_67, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_67); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } @@ -6604,7 +6476,7 @@ lean_inc(x_22); x_55 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(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_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); lean_dec(x_55); @@ -6614,12 +6486,9 @@ lean_inc(x_1); x_59 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_59, 0, x_22); lean_ctor_set(x_59, 1, x_1); -x_60 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_56); -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_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -6628,21 +6497,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_63 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_61, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); -if (lean_obj_tag(x_63) == 0) +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_60, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_56); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_65; -x_35 = x_64; +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_63; +x_35 = x_62; goto block_50; } else { -uint8_t x_66; +uint8_t x_64; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -6656,29 +6525,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_66 = !lean_is_exclusive(x_63); -if (x_66 == 0) +x_64 = !lean_is_exclusive(x_61); +if (x_64 == 0) { -return x_63; +return x_61; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_63, 0); -x_68 = lean_ctor_get(x_63, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_63); -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; +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_61, 0); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_61); +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; } } } else { -uint8_t x_70; +uint8_t x_68; lean_dec(x_51); lean_dec(x_33); lean_dec(x_32); @@ -6694,50 +6563,47 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_55); -if (x_70 == 0) +x_68 = !lean_is_exclusive(x_55); +if (x_68 == 0) { return x_55; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_55, 0); -x_72 = lean_ctor_get(x_55, 1); -lean_inc(x_72); -lean_inc(x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_55, 0); +x_70 = lean_ctor_get(x_55, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_55); -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; +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; } } } } else { -lean_object* x_74; +lean_object* x_72; lean_inc(x_22); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_74) == 0) +x_72 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_72) == 0) { -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; -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_77 = l_Int_Linear_Poly_addConst(x_51, x_76); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_75 = l_Int_Linear_Poly_addConst(x_51, x_74); lean_inc(x_1); -x_78 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_78, 0, x_22); -lean_ctor_set(x_78, 1, x_1); -x_79 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_77, x_78, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_75); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); +x_76 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_76, 0, x_22); +lean_ctor_set(x_76, 1, x_1); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -6746,21 +6612,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_82 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_80, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_81); -if (lean_obj_tag(x_82) == 0) +x_78 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_77, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_73); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_84; -x_35 = x_83; +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_80; +x_35 = x_79; goto block_50; } else { -uint8_t x_85; +uint8_t x_81; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -6774,29 +6640,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_82); -if (x_85 == 0) +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) { -return x_82; +return x_78; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_82, 0); -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_82); -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; +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_78); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } else { -uint8_t x_89; +uint8_t x_85; lean_dec(x_51); lean_dec(x_33); lean_dec(x_32); @@ -6812,23 +6678,23 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_89 = !lean_is_exclusive(x_74); -if (x_89 == 0) +x_85 = !lean_is_exclusive(x_72); +if (x_85 == 0) { -return x_74; +return x_72; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_74, 0); -x_91 = lean_ctor_get(x_74, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_74); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_72, 0); +x_87 = lean_ctor_get(x_72, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_72); +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; } } } @@ -7509,7 +7375,7 @@ lean_inc(x_22); x_50 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(x_50) == 0) { -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_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_50, 1); lean_inc(x_51); lean_dec(x_50); @@ -7519,12 +7385,9 @@ lean_inc(x_1); x_54 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_54, 0, x_22); lean_ctor_set(x_54, 1, x_1); -x_55 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -7533,21 +7396,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_58 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_56, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); -if (lean_obj_tag(x_58) == 0) +x_56 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_55, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_51); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_60; -x_35 = x_59; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_58; +x_35 = x_57; goto block_45; } else { -uint8_t x_61; +uint8_t x_59; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -7561,29 +7424,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_61 = !lean_is_exclusive(x_58); -if (x_61 == 0) +x_59 = !lean_is_exclusive(x_56); +if (x_59 == 0) { -return x_58; +return x_56; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_58, 0); -x_63 = lean_ctor_get(x_58, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_58); -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; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_65; +uint8_t x_63; lean_dec(x_46); lean_dec(x_33); lean_dec(x_32); @@ -7599,50 +7462,47 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_65 = !lean_is_exclusive(x_50); -if (x_65 == 0) +x_63 = !lean_is_exclusive(x_50); +if (x_63 == 0) { return x_50; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_50, 0); -x_67 = lean_ctor_get(x_50, 1); -lean_inc(x_67); -lean_inc(x_66); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_50, 0); +x_65 = lean_ctor_get(x_50, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_50); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +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; } } } } else { -lean_object* x_69; +lean_object* x_67; lean_inc(x_22); -x_69 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_69) == 0) +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_67) == 0) { -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_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_72 = l_Int_Linear_Poly_addConst(x_46, x_71); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_70 = l_Int_Linear_Poly_addConst(x_46, x_69); lean_inc(x_1); -x_73 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_73, 0, x_22); -lean_ctor_set(x_73, 1, x_1); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_72, x_73, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_70); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); +x_71 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_71, 0, x_22); +lean_ctor_set(x_71, 1, x_1); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -7651,21 +7511,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_77 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_75, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_76); -if (lean_obj_tag(x_77) == 0) +x_73 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_72, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_68); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_79; -x_35 = x_78; +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_75 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_75; +x_35 = x_74; goto block_45; } else { -uint8_t x_80; +uint8_t x_76; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -7679,29 +7539,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_80 = !lean_is_exclusive(x_77); -if (x_80 == 0) +x_76 = !lean_is_exclusive(x_73); +if (x_76 == 0) { -return x_77; +return x_73; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_77, 0); -x_82 = lean_ctor_get(x_77, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_77); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_73, 0); +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_73); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } else { -uint8_t x_84; +uint8_t x_80; lean_dec(x_46); lean_dec(x_33); lean_dec(x_32); @@ -7717,23 +7577,23 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_84 = !lean_is_exclusive(x_69); -if (x_84 == 0) +x_80 = !lean_is_exclusive(x_67); +if (x_80 == 0) { -return x_69; +return x_67; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_69, 0); -x_86 = lean_ctor_get(x_69, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_69); -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_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_67, 0); +x_82 = lean_ctor_get(x_67, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_67); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } @@ -8149,7 +8009,7 @@ lean_inc(x_22); x_55 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(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_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); lean_dec(x_55); @@ -8159,12 +8019,9 @@ lean_inc(x_1); x_59 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_59, 0, x_22); lean_ctor_set(x_59, 1, x_1); -x_60 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_56); -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_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -8173,21 +8030,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_63 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_61, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); -if (lean_obj_tag(x_63) == 0) +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_60, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_56); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_65; -x_35 = x_64; +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_63; +x_35 = x_62; goto block_50; } else { -uint8_t x_66; +uint8_t x_64; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -8201,29 +8058,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_66 = !lean_is_exclusive(x_63); -if (x_66 == 0) +x_64 = !lean_is_exclusive(x_61); +if (x_64 == 0) { -return x_63; +return x_61; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_63, 0); -x_68 = lean_ctor_get(x_63, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_63); -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; +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_61, 0); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_61); +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; } } } else { -uint8_t x_70; +uint8_t x_68; lean_dec(x_51); lean_dec(x_33); lean_dec(x_32); @@ -8239,50 +8096,47 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_55); -if (x_70 == 0) +x_68 = !lean_is_exclusive(x_55); +if (x_68 == 0) { return x_55; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_55, 0); -x_72 = lean_ctor_get(x_55, 1); -lean_inc(x_72); -lean_inc(x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_55, 0); +x_70 = lean_ctor_get(x_55, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_55); -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; +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; } } } } else { -lean_object* x_74; +lean_object* x_72; lean_inc(x_22); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_74) == 0) +x_72 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_72) == 0) { -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; -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_77 = l_Int_Linear_Poly_addConst(x_51, x_76); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_75 = l_Int_Linear_Poly_addConst(x_51, x_74); lean_inc(x_1); -x_78 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_78, 0, x_22); -lean_ctor_set(x_78, 1, x_1); -x_79 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_77, x_78, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_75); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); +x_76 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_76, 0, x_22); +lean_ctor_set(x_76, 1, x_1); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -8291,21 +8145,21 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_82 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_80, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_81); -if (lean_obj_tag(x_82) == 0) +x_78 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_77, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_73); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; -x_34 = x_84; -x_35 = x_83; +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__4; +x_34 = x_80; +x_35 = x_79; goto block_50; } else { -uint8_t x_85; +uint8_t x_81; lean_dec(x_33); lean_dec(x_32); lean_dec(x_18); @@ -8319,29 +8173,29 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_82); -if (x_85 == 0) +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) { -return x_82; +return x_78; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_82, 0); -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_82); -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; +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_78); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } else { -uint8_t x_89; +uint8_t x_85; lean_dec(x_51); lean_dec(x_33); lean_dec(x_32); @@ -8357,23 +8211,23 @@ lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_89 = !lean_is_exclusive(x_74); -if (x_89 == 0) +x_85 = !lean_is_exclusive(x_72); +if (x_85 == 0) { -return x_74; +return x_72; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_74, 0); -x_91 = lean_ctor_get(x_74, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_74); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_72, 0); +x_87 = lean_ctor_get(x_72, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_72); +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; } } } @@ -10870,10 +10724,40 @@ return x_59; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; +lean_object* x_12; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_30 = lean_ctor_get(x_1, 0); +lean_inc(x_30); +x_31 = l_Int_Linear_Poly_getConst(x_30); +x_32 = l_Int_Linear_Poly_gcdCoeffs(x_30, x_31); +x_33 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; +x_34 = lean_int_dec_eq(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = l_Int_Linear_Poly_div(x_32, x_30); +lean_dec(x_32); +x_36 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_36, 0, x_1); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_12 = x_37; +goto block_29; +} +else +{ +lean_dec(x_32); +lean_dec(x_30); +x_12 = x_1; +goto block_29; +} +block_29: +{ +lean_object* x_13; +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -10881,149 +10765,104 @@ 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_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); -x_13 = lean_unbox(x_12); -lean_dec(x_12); -if (x_13 == 0) +x_13 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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_11, 1); +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_box(0); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__2(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_16; -} -else -{ -uint8_t x_17; -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_17 = !lean_is_exclusive(x_11); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_11, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_11, 0, x_19); -return x_11; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_dec(x_11); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -else -{ -uint8_t x_23; -lean_dec(x_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_23 = !lean_is_exclusive(x_11); -if (x_23 == 0) -{ -return x_11; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_11); -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; -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__3), 10, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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) { -_start: -{ -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_1, 0); -lean_inc(x_12); -x_13 = l_Int_Linear_Poly_getConst(x_12); -x_14 = l_Int_Linear_Poly_gcdCoeffs(x_12, x_13); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4___closed__1; -x_16 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_findLe___spec__4___closed__1; -x_17 = lean_int_dec_eq(x_14, 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; -x_18 = l_Int_Linear_Poly_div(x_14, x_12); +x_15 = lean_unbox(x_14); lean_dec(x_14); -x_19 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_19, 0, x_1); -x_20 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_18, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -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_apply_10(x_15, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -return x_23; +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_box(0); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__2(x_12, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_18; } else { -lean_object* x_24; -lean_dec(x_14); +uint8_t x_19; lean_dec(x_12); -x_24 = lean_apply_10(x_15, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_13, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_13, 0, x_21); +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_dec(x_13); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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) { +else +{ +uint8_t x_25; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_25 = !lean_is_exclusive(x_13); +if (x_25 == 0) +{ +return x_13; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_13, 0); +x_27 = lean_ctor_get(x_13, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_13); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_11; lean_object* x_12; @@ -11034,7 +10873,7 @@ lean_ctor_set(x_12, 1, x_10); return x_12; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -11042,27 +10881,27 @@ x_1 = lean_mk_string_unchecked("trivial", 7, 7); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__1; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__2; x_3 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__2___closed__1; -x_4 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__1; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___boxed), 10, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4___boxed), 10, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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: { uint8_t x_12; @@ -11071,13 +10910,13 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_box(0); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__3(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_14; } else { lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__2; +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__2; x_16 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) @@ -11085,7 +10924,7 @@ 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_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__3; +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__3; x_21 = lean_unbox(x_18); lean_dec(x_18); if (x_21 == 0) @@ -11157,7 +10996,7 @@ x_42 = lean_ctor_get(x_16, 1); lean_inc(x_42); lean_inc(x_41); lean_dec(x_16); -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__3; +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__3; x_44 = lean_unbox(x_41); lean_dec(x_41); if (x_44 == 0) @@ -11209,96 +11048,91 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_norm(x_1); lean_inc(x_9); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applySubsts(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = l_Int_Linear_Poly_isUnsatDiseq(x_18); -lean_dec(x_18); -if (x_19 == 0) +x_17 = l_Int_Linear_Poly_isUnsatDiseq(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5(x_14, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +return x_19; +} +else { lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6(x_16, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +x_20 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_20, 0, x_14); +x_21 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +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_22; lean_object* x_23; -x_22 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_22, 0, x_16); -x_23 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); +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); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_23); -if (x_30 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) { -return x_23; +return x_21; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_23, 0); -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_23); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_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; } } } } else { -uint8_t x_34; +uint8_t x_32; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -11307,28 +11141,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_34 = !lean_is_exclusive(x_15); -if (x_34 == 0) +x_32 = !lean_is_exclusive(x_13); +if (x_32 == 0) { -return x_15; +return x_13; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_15, 0); -x_36 = lean_ctor_get(x_15, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_15); -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_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_13, 0); +x_34 = lean_ctor_get(x_13, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_13); +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; } } } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__1() { _start: { lean_object* x_1; @@ -11336,22 +11170,22 @@ x_1 = lean_mk_string_unchecked("assert", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__1; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__1; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__2; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__2; x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); @@ -11364,7 +11198,7 @@ x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); x_17 = lean_box(0); -x_18 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); return x_18; } else @@ -11398,7 +11232,7 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7(x_1, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6(x_1, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); lean_dec(x_28); return x_30; } @@ -11423,7 +11257,7 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7(x_1, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6(x_1, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); lean_dec(x_36); return x_38; } @@ -11466,7 +11300,7 @@ lean_inc(x_48); x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); lean_dec(x_47); -x_50 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7(x_1, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +x_50 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6(x_1, 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; } @@ -11500,7 +11334,7 @@ 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_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_16 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); return x_16; } else @@ -11630,20 +11464,20 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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: { lean_object* x_11; -x_11 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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_9); lean_dec(x_8); lean_dec(x_7); @@ -11656,6 +11490,15 @@ lean_dec(x_1); return x_11; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -11674,15 +11517,6 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___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: -{ -lean_object* x_12; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_2); -return x_12; -} -} static lean_object* _init_l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1() { _start: { @@ -11812,19 +11646,16 @@ return x_13; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_alloc_ctor(4, 3, 0); lean_ctor_set(x_15, 0, x_1); lean_ctor_set(x_15, 1, x_2); lean_ctor_set(x_15, 2, x_3); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); -return x_19; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_4); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts(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) { @@ -19448,7 +19279,7 @@ x_16 = lean_unsigned_to_nat(1u); x_17 = lean_nat_dec_eq(x_15, 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_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_18 = lean_int_neg(x_3); lean_inc(x_2); x_19 = l_Int_Linear_Poly_insert(x_18, x_2, x_4); @@ -19458,12 +19289,10 @@ lean_inc(x_2); x_21 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_21, 0, x_2); lean_ctor_set(x_21, 1, x_1); -x_22 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_20, x_19, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -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_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_19); +lean_ctor_set(x_22, 2, x_21); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -19472,16 +19301,16 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_25 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_24); -if (lean_obj_tag(x_25) == 0) +x_23 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_23) == 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_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__1(x_1, x_2, x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__1(x_1, x_2, x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_25); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -19490,12 +19319,12 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_26); -return x_28; +lean_dec(x_24); +return x_26; } else { -uint8_t x_29; +uint8_t x_27; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -19506,33 +19335,33 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_25); -if (x_29 == 0) +x_27 = !lean_is_exclusive(x_23); +if (x_27 == 0) { -return x_25; +return x_23; } 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_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_23); +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 { -lean_object* x_33; lean_object* x_34; +lean_object* x_31; lean_object* x_32; lean_dec(x_15); lean_dec(x_4); -x_33 = lean_box(0); -x_34 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__1(x_1, x_2, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_31 = lean_box(0); +x_32 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__1(x_1, x_2, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -19541,7 +19370,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_34; +return x_32; } } } @@ -19753,175 +19582,145 @@ x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4___closed__2; -x_12 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_11, x_2, x_3, 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_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_dec_eq(x_1, x_14); +x_16 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4___closed__2; +x_17 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (x_15 == 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_dec(x_12); -x_16 = lean_box(0); -x_17 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__3(x_1, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); -return x_17; -} -else +uint8_t x_43; +x_43 = !lean_is_exclusive(x_17); +if (x_43 == 0) { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_12); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_12, 1); -x_20 = lean_ctor_get(x_12, 0); -lean_dec(x_20); -lean_inc(x_1); -x_21 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -x_25 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__6; -lean_ctor_set_tag(x_21, 7); -lean_ctor_set(x_21, 1, x_23); -lean_ctor_set(x_21, 0, x_25); -lean_ctor_set_tag(x_12, 7); -lean_ctor_set(x_12, 1, x_25); -lean_ctor_set(x_12, 0, x_21); -x_26 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__3(x_1, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); -lean_dec(x_27); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -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 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__6; -x_33 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -lean_ctor_set_tag(x_12, 7); -lean_ctor_set(x_12, 1, x_32); -lean_ctor_set(x_12, 0, x_33); -x_34 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_31); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__3(x_1, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); -lean_dec(x_35); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_38 = lean_ctor_get(x_12, 1); -lean_inc(x_38); -lean_dec(x_12); -lean_inc(x_1); -x_39 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_42 = x_39; -} else { - lean_dec_ref(x_39); - x_42 = lean_box(0); -} -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__6; -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(7, 2, 0); -} else { - x_44 = x_42; - lean_ctor_set_tag(x_44, 7); -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_40); -x_45 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_41); -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_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_17, 0); +x_45 = lean_ctor_get(x_17, 1); +x_46 = lean_nat_to_int(x_1); +x_47 = l_Int_Linear_Poly_div(x_46, x_2); lean_dec(x_46); -x_49 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__3(x_1, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); -lean_dec(x_47); -return x_49; -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4), 10, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5___closed__1; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_dec_eq(x_1, 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; lean_object* x_23; -x_17 = lean_nat_to_int(x_1); -x_18 = l_Int_Linear_Poly_div(x_17, x_2); -lean_dec(x_17); -x_19 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_19, 0, x_3); -x_20 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -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_apply_10(x_14, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); -return x_23; +x_48 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_48, 0, x_3); +lean_ctor_set(x_17, 1, x_48); +lean_ctor_set(x_17, 0, x_47); +x_49 = lean_unbox(x_44); +lean_dec(x_44); +x_18 = x_17; +x_19 = x_49; +x_20 = x_45; +goto block_42; } else { -lean_object* x_24; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_50 = lean_ctor_get(x_17, 0); +x_51 = lean_ctor_get(x_17, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_17); +x_52 = lean_nat_to_int(x_1); +x_53 = l_Int_Linear_Poly_div(x_52, x_2); +lean_dec(x_52); +x_54 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_54, 0, x_3); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_unbox(x_50); +lean_dec(x_50); +x_18 = x_55; +x_19 = x_56; +x_20 = x_51; +goto block_42; +} +} +else +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_dec(x_2); lean_dec(x_1); -x_24 = lean_apply_10(x_14, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_24; +x_57 = lean_ctor_get(x_17, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_17, 1); +lean_inc(x_58); +lean_dec(x_17); +x_59 = lean_unbox(x_57); +lean_dec(x_57); +x_18 = x_3; +x_19 = x_59; +x_20 = x_58; +goto block_42; +} +block_42: +{ +if (x_19 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__3(x_18, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; +lean_inc(x_18); +x_23 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__6; +lean_ctor_set_tag(x_23, 7); +lean_ctor_set(x_23, 1, x_25); +lean_ctor_set(x_23, 0, x_27); +x_28 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_28, 0, x_23); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_16, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26); +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_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__3(x_18, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_31); +lean_dec(x_30); +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; +x_33 = lean_ctor_get(x_23, 0); +x_34 = lean_ctor_get(x_23, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_23); +x_35 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__6; +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_16, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_34); +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_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__3(x_18, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_40); +lean_dec(x_39); +return x_41; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -19941,7 +19740,7 @@ if (x_18 == 0) { lean_object* x_19; lean_object* x_20; x_19 = lean_box(0); -x_20 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5(x_13, x_12, x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4(x_13, x_12, x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_20; } else @@ -20003,27 +19802,19 @@ return x_32; } } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("le", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__1; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_applyEq___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__1; -x_4 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__1; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4___closed__1; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -20032,13 +19823,13 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_box(0); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_14; } else { lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__2; +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6___closed__1; x_16 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); @@ -20179,96 +19970,91 @@ return x_48; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_norm(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_norm(x_1); lean_inc(x_9); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_applySubsts(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = l_Int_Linear_Poly_isUnsatEq(x_18); -lean_dec(x_18); -if (x_19 == 0) +x_17 = l_Int_Linear_Poly_isUnsatEq(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6(x_14, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +return x_19; +} +else { lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7(x_16, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_14); +x_21 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +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_22; lean_object* x_23; -x_22 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_22, 0, x_16); -x_23 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); +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); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_23); -if (x_30 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) { -return x_23; +return x_21; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_23, 0); -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_23); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_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; } } } } else { -uint8_t x_34; +uint8_t x_32; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -20277,32 +20063,32 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_34 = !lean_is_exclusive(x_15); -if (x_34 == 0) +x_32 = !lean_is_exclusive(x_13); +if (x_32 == 0) { -return x_15; +return x_13; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_15, 0); -x_36 = lean_ctor_get(x_15, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_15); -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_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_13, 0); +x_34 = lean_ctor_get(x_13, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_13); +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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__2; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__2; x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); @@ -20315,7 +20101,7 @@ x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); x_17 = lean_box(0); -x_18 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__8(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); return x_18; } else @@ -20349,7 +20135,7 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__8(x_1, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7(x_1, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); lean_dec(x_28); return x_30; } @@ -20374,7 +20160,7 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__8(x_1, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7(x_1, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); lean_dec(x_36); return x_38; } @@ -20417,7 +20203,7 @@ lean_inc(x_48); x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); lean_dec(x_47); -x_50 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__8(x_1, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +x_50 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7(x_1, 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; } @@ -20451,7 +20237,7 @@ 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_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__9(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_16 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__8(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); return x_16; } else @@ -20559,15 +20345,24 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_4); return x_14; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -20595,15 +20390,6 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___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) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_2); -return x_12; -} -} LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -21518,7 +21304,7 @@ lean_inc(x_4); x_23 = lean_grind_mk_eq_proof(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); @@ -21528,18 +21314,15 @@ x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_14); lean_ctor_set(x_26, 1, x_17); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_22, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_grind_cutsat_assert_eq(x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -return x_30; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_grind_cutsat_assert_eq(x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +return x_28; } else { -uint8_t x_31; +uint8_t x_29; lean_dec(x_22); lean_dec(x_17); lean_dec(x_14); @@ -21551,29 +21334,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) { return x_23; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_inc(x_32); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +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 { -uint8_t x_35; +uint8_t x_33; lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); @@ -21585,29 +21368,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_16); -if (x_35 == 0) +x_33 = !lean_is_exclusive(x_16); +if (x_33 == 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_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_16, 0); +x_35 = lean_ctor_get(x_16, 1); +lean_inc(x_35); +lean_inc(x_34); 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; +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_39; +uint8_t x_37; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -21618,23 +21401,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_39 = !lean_is_exclusive(x_13); -if (x_39 == 0) +x_37 = !lean_is_exclusive(x_13); +if (x_37 == 0) { return x_13; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_13, 0); -x_41 = lean_ctor_get(x_13, 1); -lean_inc(x_41); -lean_inc(x_40); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_13, 0); +x_39 = lean_ctor_get(x_13, 1); +lean_inc(x_39); +lean_inc(x_38); lean_dec(x_13); -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; +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; } } } @@ -21897,7 +21680,7 @@ lean_inc(x_8); x_33 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); 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; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +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_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); @@ -21913,18 +21696,15 @@ x_40 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_40, 0, x_25); lean_ctor_set(x_40, 1, x_34); lean_ctor_set(x_40, 2, x_28); -x_41 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_39, x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -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 = lean_apply_10(x_30, x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); -return x_44; +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_apply_10(x_30, x_41, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); +return x_42; } else { -uint8_t x_45; +uint8_t x_43; lean_dec(x_28); lean_dec(x_25); lean_dec(x_11); @@ -21935,45 +21715,42 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_45 = !lean_is_exclusive(x_33); -if (x_45 == 0) +x_43 = !lean_is_exclusive(x_33); +if (x_43 == 0) { return x_33; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_33, 0); -x_47 = lean_ctor_get(x_33, 1); -lean_inc(x_47); -lean_inc(x_46); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_33, 0); +x_45 = lean_ctor_get(x_33, 1); +lean_inc(x_45); +lean_inc(x_44); lean_dec(x_33); -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; +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; } } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_object* x_47; lean_object* x_48; lean_dec(x_1); lean_ctor_set_tag(x_14, 0); lean_ctor_set(x_14, 0, x_28); -x_49 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_25, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_apply_10(x_30, x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -return x_52; +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_25); +lean_ctor_set(x_47, 1, x_14); +x_48 = lean_apply_10(x_30, x_47, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +return x_48; } } else { -uint8_t x_53; +uint8_t x_49; lean_dec(x_25); lean_free_object(x_14); lean_dec(x_23); @@ -21986,29 +21763,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_53 = !lean_is_exclusive(x_27); -if (x_53 == 0) +x_49 = !lean_is_exclusive(x_27); +if (x_49 == 0) { return x_27; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_27, 0); -x_55 = lean_ctor_get(x_27, 1); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_27, 0); +x_51 = lean_ctor_get(x_27, 1); +lean_inc(x_51); +lean_inc(x_50); lean_dec(x_27); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -uint8_t x_57; +uint8_t x_53; lean_free_object(x_14); lean_dec(x_23); lean_dec(x_11); @@ -22021,46 +21798,46 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_24); -if (x_57 == 0) +x_53 = !lean_is_exclusive(x_24); +if (x_53 == 0) { return x_24; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_24, 0); -x_59 = lean_ctor_get(x_24, 1); -lean_inc(x_59); -lean_inc(x_58); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_24, 0); +x_55 = lean_ctor_get(x_24, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_24); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_14, 0); -lean_inc(x_61); +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_14, 0); +lean_inc(x_57); lean_dec(x_14); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_2); -x_62 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); -if (lean_obj_tag(x_62) == 0) +x_58 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); +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); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -22070,59 +21847,56 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_65 = lean_grind_mk_eq_proof(x_2, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); -if (lean_obj_tag(x_65) == 0) +x_61 = lean_grind_mk_eq_proof(x_2, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_60); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Meta_Grind_Arith_Cutsat_processNewEqLitImpl___lambda__1___closed__1; -x_69 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1; -x_70 = lean_int_dec_eq(x_61, x_69); +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_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); lean_dec(x_61); -if (x_70 == 0) +x_64 = l_Lean_Meta_Grind_Arith_Cutsat_processNewEqLitImpl___lambda__1___closed__1; +x_65 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1; +x_66 = lean_int_dec_eq(x_57, x_65); +lean_dec(x_57); +if (x_66 == 0) { -lean_object* x_71; +lean_object* x_67; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_67); -if (lean_obj_tag(x_71) == 0) +x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +if (lean_obj_tag(x_67) == 0) { -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; -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); -x_74 = l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1; -lean_inc(x_72); -x_75 = l_Int_Linear_Poly_mul(x_72, x_74); -x_76 = lean_unsigned_to_nat(100000000u); -lean_inc(x_63); -x_77 = l_Int_Linear_Poly_combine_x27(x_76, x_63, x_75); -x_78 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_78, 0, x_63); -lean_ctor_set(x_78, 1, x_72); -lean_ctor_set(x_78, 2, x_66); -x_79 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_77, x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_73); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_apply_10(x_68, x_80, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_81); -return x_82; +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_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1; +lean_inc(x_68); +x_71 = l_Int_Linear_Poly_mul(x_68, x_70); +x_72 = lean_unsigned_to_nat(100000000u); +lean_inc(x_59); +x_73 = l_Int_Linear_Poly_combine_x27(x_72, x_59, x_71); +x_74 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_74, 0, x_59); +lean_ctor_set(x_74, 1, x_68); +lean_ctor_set(x_74, 2, x_62); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_apply_10(x_64, x_75, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69); +return x_76; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_66); -lean_dec(x_63); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_62); +lean_dec(x_59); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -22131,84 +21905,118 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_83 = lean_ctor_get(x_71, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_71, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_85 = x_71; +x_77 = lean_ctor_get(x_67, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_67, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_79 = x_67; } else { - lean_dec_ref(x_71); - x_85 = lean_box(0); + lean_dec_ref(x_67); + x_79 = lean_box(0); } -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(1, 2, 0); } else { - x_86 = x_85; + x_80 = x_79; } -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_84); -return x_86; +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +return x_80; } } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_dec(x_1); -x_87 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_87, 0, x_66); -x_88 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_63, x_87, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_67); -x_89 = lean_ctor_get(x_88, 0); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_62); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_59); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_apply_10(x_64, x_82, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +return x_83; +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_59); +lean_dec(x_57); +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_84 = lean_ctor_get(x_61, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_61, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_86 = x_61; +} else { + lean_dec_ref(x_61); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(1, 2, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_85); +return x_87; +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_57); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_88 = lean_ctor_get(x_58, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_58, 1); lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_apply_10(x_68, x_89, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_90); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_90 = x_58; +} else { + lean_dec_ref(x_58); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_89); return x_91; } } -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_63); -lean_dec(x_61); -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_92 = lean_ctor_get(x_65, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_65, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_94 = x_65; -} else { - lean_dec_ref(x_65); - x_94 = lean_box(0); -} -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(1, 2, 0); -} else { - x_95 = x_94; -} -lean_ctor_set(x_95, 0, x_92); -lean_ctor_set(x_95, 1, x_93); -return x_95; } } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_61); +uint8_t x_92; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -22219,60 +22027,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_96 = lean_ctor_get(x_62, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_62, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_98 = x_62; -} else { - lean_dec_ref(x_62); - x_98 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(1, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_97); -return x_99; -} -} -} -} -else -{ -uint8_t x_100; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_100 = !lean_is_exclusive(x_13); -if (x_100 == 0) +x_92 = !lean_is_exclusive(x_13); +if (x_92 == 0) { return x_13; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_13, 0); -x_102 = lean_ctor_get(x_13, 1); -lean_inc(x_102); -lean_inc(x_101); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_13, 0); +x_94 = lean_ctor_get(x_13, 1); +lean_inc(x_94); +lean_inc(x_93); lean_dec(x_13); -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; +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; } } } @@ -22527,7 +22298,7 @@ lean_inc(x_8); x_35 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); if (lean_obj_tag(x_35) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -22543,18 +22314,15 @@ x_42 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_42, 0, x_14); lean_ctor_set(x_42, 1, x_36); lean_ctor_set(x_42, 2, x_30); -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_41, x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_apply_10(x_31, x_44, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_45); -return x_46; +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_apply_10(x_31, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +return x_44; } else { -uint8_t x_47; +uint8_t x_45; lean_dec(x_30); lean_dec(x_14); lean_dec(x_11); @@ -22565,79 +22333,76 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_47 = !lean_is_exclusive(x_35); -if (x_47 == 0) +x_45 = !lean_is_exclusive(x_35); +if (x_45 == 0) { return x_35; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_35, 0); -x_49 = lean_ctor_get(x_35, 1); -lean_inc(x_49); -lean_inc(x_48); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_35, 0); +x_47 = lean_ctor_get(x_35, 1); +lean_inc(x_47); +lean_inc(x_46); lean_dec(x_35); -x_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; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -lean_object* x_51; uint8_t x_52; -x_51 = lean_ctor_get(x_32, 1); -lean_inc(x_51); +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_32, 1); +lean_inc(x_49); lean_dec(x_32); -x_52 = !lean_is_exclusive(x_33); -if (x_52 == 0) +x_50 = !lean_is_exclusive(x_33); +if (x_50 == 0) { -lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_53 = lean_ctor_get(x_33, 0); -x_54 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1; -x_55 = lean_int_dec_eq(x_53, x_54); -lean_dec(x_53); -if (x_55 == 0) +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = lean_ctor_get(x_33, 0); +x_52 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1; +x_53 = lean_int_dec_eq(x_51, x_52); +lean_dec(x_51); +if (x_53 == 0) { -lean_object* x_56; +lean_object* x_54; lean_free_object(x_33); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_56 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -if (lean_obj_tag(x_56) == 0) +x_54 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_49); +if (lean_obj_tag(x_54) == 0) { -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_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_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1; -lean_inc(x_57); -x_60 = l_Int_Linear_Poly_mul(x_57, x_59); -x_61 = lean_unsigned_to_nat(100000000u); +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_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 = l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1; +lean_inc(x_55); +x_58 = l_Int_Linear_Poly_mul(x_55, x_57); +x_59 = lean_unsigned_to_nat(100000000u); lean_inc(x_14); -x_62 = l_Int_Linear_Poly_combine_x27(x_61, x_14, x_60); -x_63 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_63, 0, x_14); -lean_ctor_set(x_63, 1, x_57); -lean_ctor_set(x_63, 2, x_30); -x_64 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_62, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_apply_10(x_31, x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_66); -return x_67; +x_60 = l_Int_Linear_Poly_combine_x27(x_59, x_14, x_58); +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_14); +lean_ctor_set(x_61, 1, x_55); +lean_ctor_set(x_61, 2, x_30); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_apply_10(x_31, x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_56); +return x_63; } else { -uint8_t x_68; +uint8_t x_64; lean_dec(x_30); lean_dec(x_14); lean_dec(x_11); @@ -22648,89 +22413,83 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_68 = !lean_is_exclusive(x_56); -if (x_68 == 0) +x_64 = !lean_is_exclusive(x_54); +if (x_64 == 0) { -return x_56; +return x_54; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_56, 0); -x_70 = lean_ctor_get(x_56, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_56); -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_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_54, 0); +x_66 = lean_ctor_get(x_54, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_54); +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; } } } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_68; lean_object* x_69; lean_dec(x_2); lean_ctor_set_tag(x_33, 0); lean_ctor_set(x_33, 0, x_30); -x_72 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_14, x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -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_apply_10(x_31, x_73, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_74); -return x_75; +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_14); +lean_ctor_set(x_68, 1, x_33); +x_69 = lean_apply_10(x_31, x_68, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_49); +return x_69; } } else { -lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_76 = lean_ctor_get(x_33, 0); -lean_inc(x_76); +lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_70 = lean_ctor_get(x_33, 0); +lean_inc(x_70); lean_dec(x_33); -x_77 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1; -x_78 = lean_int_dec_eq(x_76, x_77); -lean_dec(x_76); -if (x_78 == 0) +x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1; +x_72 = lean_int_dec_eq(x_70, x_71); +lean_dec(x_70); +if (x_72 == 0) { -lean_object* x_79; +lean_object* x_73; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_79 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -if (lean_obj_tag(x_79) == 0) +x_73 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_49); +if (lean_obj_tag(x_73) == 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; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1; -lean_inc(x_80); -x_83 = l_Int_Linear_Poly_mul(x_80, x_82); -x_84 = lean_unsigned_to_nat(100000000u); +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; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1; +lean_inc(x_74); +x_77 = l_Int_Linear_Poly_mul(x_74, x_76); +x_78 = lean_unsigned_to_nat(100000000u); lean_inc(x_14); -x_85 = l_Int_Linear_Poly_combine_x27(x_84, x_14, x_83); -x_86 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_86, 0, x_14); -lean_ctor_set(x_86, 1, x_80); -lean_ctor_set(x_86, 2, x_30); -x_87 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_85, x_86, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_81); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_apply_10(x_31, x_88, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_89); -return x_90; +x_79 = l_Int_Linear_Poly_combine_x27(x_78, x_14, x_77); +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_14); +lean_ctor_set(x_80, 1, x_74); +lean_ctor_set(x_80, 2, x_30); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_apply_10(x_31, x_81, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_75); +return x_82; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_dec(x_30); lean_dec(x_14); lean_dec(x_11); @@ -22741,49 +22500,46 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_91 = lean_ctor_get(x_79, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_79, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_93 = x_79; +x_83 = lean_ctor_get(x_73, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_73, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_85 = x_73; } else { - lean_dec_ref(x_79); - x_93 = lean_box(0); + lean_dec_ref(x_73); + x_85 = lean_box(0); } -if (lean_is_scalar(x_93)) { - x_94 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(1, 2, 0); } else { - x_94 = x_93; + x_86 = x_85; } -lean_ctor_set(x_94, 0, x_91); -lean_ctor_set(x_94, 1, x_92); -return x_94; +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_84); +return x_86; } } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_dec(x_2); -x_95 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_95, 0, x_30); -x_96 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_14, x_95, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_apply_10(x_31, x_97, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_98); -return x_99; +x_87 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_87, 0, x_30); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_14); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_apply_10(x_31, x_88, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_49); +return x_89; } } } } else { -uint8_t x_100; +uint8_t x_90; lean_dec(x_30); lean_dec(x_14); lean_dec(x_11); @@ -22795,30 +22551,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_100 = !lean_is_exclusive(x_32); -if (x_100 == 0) +x_90 = !lean_is_exclusive(x_32); +if (x_90 == 0) { return x_32; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_32, 0); -x_102 = lean_ctor_get(x_32, 1); -lean_inc(x_102); -lean_inc(x_101); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_32, 0); +x_92 = lean_ctor_get(x_32, 1); +lean_inc(x_92); +lean_inc(x_91); lean_dec(x_32); -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; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } } else { -uint8_t x_104; +uint8_t x_94; lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); @@ -22830,29 +22586,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_104 = !lean_is_exclusive(x_16); -if (x_104 == 0) +x_94 = !lean_is_exclusive(x_16); +if (x_94 == 0) { return x_16; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_16, 0); -x_106 = lean_ctor_get(x_16, 1); -lean_inc(x_106); -lean_inc(x_105); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_16, 0); +x_96 = lean_ctor_get(x_16, 1); +lean_inc(x_96); +lean_inc(x_95); lean_dec(x_16); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +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_108; +uint8_t x_98; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -22863,23 +22619,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_108 = !lean_is_exclusive(x_13); -if (x_108 == 0) +x_98 = !lean_is_exclusive(x_13); +if (x_98 == 0) { return x_13; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_13, 0); -x_110 = lean_ctor_get(x_13, 1); -lean_inc(x_110); -lean_inc(x_109); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_13, 0); +x_100 = lean_ctor_get(x_13, 1); +lean_inc(x_100); +lean_inc(x_99); lean_dec(x_13); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; +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; } } } @@ -23224,14 +22980,22 @@ return x_1; static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__5() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("le", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__4; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__5; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__7() { _start: { lean_object* x_1; @@ -23239,7 +23003,7 @@ x_1 = lean_mk_string_unchecked("Dvd", 3, 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__8() { _start: { lean_object* x_1; @@ -23247,12 +23011,12 @@ x_1 = lean_mk_string_unchecked("dvd", 3, 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__6; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__7; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__7; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__8; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } @@ -23282,12 +23046,12 @@ x_8 = lean_name_eq(x_6, x_7); if (x_8 == 0) { lean_object* x_9; uint8_t x_10; -x_9 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__5; +x_9 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__6; x_10 = lean_name_eq(x_6, x_9); if (x_10 == 0) { lean_object* x_11; uint8_t x_12; -x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__8; +x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__9; x_12 = lean_name_eq(x_6, x_11); if (x_12 == 0) { @@ -25220,18 +24984,16 @@ l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__2___closed__1 = _init lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__2___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__2___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__2___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__4___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__6___closed__3); -l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__8___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__5___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_assert___lambda__7___closed__2); l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1 = _init_l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1(); lean_mark_persistent(l_Int_Linear_Poly_pickVarToElim_x3f_go___closed__1); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_updateDvdCnstr___closed__1(); @@ -25254,12 +25016,8 @@ l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4___closed__1 = _ini lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4___closed__2(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__4___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__5___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__7___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assertImpl___lambda__6___closed__1); l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__2___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__2___closed__1(); l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__2___closed__2 = _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___spec__2___closed__2(); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_exprAsPoly___closed__1(); @@ -25322,6 +25080,8 @@ l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__7); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__8 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__8(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__8); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__9 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_isForbiddenParent___closed__9); l_Lean_PersistentHashMap_insertAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__2___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__2___closed__1(); lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___spec__2___closed__1); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___lambda__2___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_EqCnstr_0__Lean_Meta_Grind_Arith_Cutsat_internalizeCore___lambda__2___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/LeCnstr.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/LeCnstr.c index 0abcb95848..ce4739c424 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/LeCnstr.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/LeCnstr.c @@ -49,7 +49,6 @@ extern lean_object* l_Lean_maxRecDepthErrorMessage; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq(lean_object*, lean_object*, lean_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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___closed__1; lean_object* l_Int_Linear_Poly_addConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___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_EXPORT uint8_t l_Int_Linear_Poly_isNegEq(lean_object*, lean_object*); @@ -74,10 +73,10 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_A LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__18___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___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_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Int_Linear_Poly_isUnsatLe(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__20___boxed(lean_object**); lean_object* l_Int_Linear_Poly_coeff(lean_object*, lean_object*); @@ -98,7 +97,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_T LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__19(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___boxed(lean_object**); @@ -117,6 +115,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_propagateIfIntLe___lambd LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_toPolyLe_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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19(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_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__26(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -136,6 +135,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_Persisten LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_satisfied(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_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__2; lean_object* l_Lean_Meta_isInstLEInt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -169,8 +169,8 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_T LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applySubsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___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_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__10(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___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* l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__30(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* lean_grind_cutsat_assert_eq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -181,7 +181,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cu LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__14___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__14(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_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__8___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_toPolyLe_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*); @@ -219,14 +219,15 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Meta_Grind_Arit LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_findVarToSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___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* l_Lean_Meta_mkOfEqFalse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_toPolyLe_x3f___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___closed__1; +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr___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_PersistentArray_foldlM___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__16(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -265,6 +266,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arit static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_toPolyLe_x3f___lambda__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___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___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_PersistentArray_forIn___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__21(lean_object*, lean_object*, lean_object*, lean_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_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__23(lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Int_Linear_Poly_isSorted(lean_object*); @@ -278,12 +280,10 @@ lean_object* l_Lean_Meta_Grind_mkEqTrueProof(lean_object*, lean_object*, lean_ob LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_toPolyLe_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__22(lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__25(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_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___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_Grind_Arith_Cutsat_LeCnstr_assert___lambda__4___closed__5; LEAN_EXPORT lean_object* l_Int_Linear_Poly_isNegEq___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__6; @@ -305,9 +305,12 @@ lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedPersistentArray(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_propagateIfIntLe___lambda__2___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__20___boxed(lean_object**); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__2; lean_object* l_Int_Linear_Poly_combine_x27(lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -320,6 +323,7 @@ lean_object* l_Int_Linear_Poly_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_int_neg(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__19___boxed(lean_object**); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -361,156 +365,89 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___boxed(le LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applySubsts(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_throwMaxRecDepthAt___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applySubsts___spec__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_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__18(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_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm(lean_object* x_1) { _start: { -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +lean_object* x_2; uint8_t x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Int_Linear_Poly_isSorted(x_2); +if (x_3 == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_2); -lean_ctor_set(x_15, 2, x_14); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else +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_Int_Linear_Poly_norm(x_2); +x_5 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_5, 0, x_1); +lean_inc(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = l_Int_Linear_Poly_gcdCoeffs_x27(x_4); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_dec_eq(x_7, x_8); +if (x_9 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -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); -x_18 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_2); -lean_ctor_set(x_18, 2, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_nat_to_int(x_7); +x_11 = l_Int_Linear_Poly_div(x_10, x_4); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___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; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -x_12 = l_Int_Linear_Poly_gcdCoeffs_x27(x_11); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_dec_eq(x_12, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_nat_to_int(x_12); -x_16 = l_Int_Linear_Poly_div(x_15, x_11); -lean_dec(x_15); -x_17 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_17, 0, x_1); -x_18 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_18; +x_12 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_12, 0, x_6); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; } else { -lean_object* x_19; -lean_dec(x_12); -lean_dec(x_11); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_1); -lean_ctor_set(x_19, 1, x_10); -return x_19; +lean_dec(x_7); +lean_dec(x_4); +return x_6; } } -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___closed__1() { -_start: +else { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___lambda__1___boxed), 10, 0); +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Int_Linear_Poly_gcdCoeffs_x27(x_2); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_nat_to_int(x_14); +x_18 = l_Int_Linear_Poly_div(x_17, x_2); +lean_dec(x_17); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +else +{ +lean_dec(x_14); +lean_dec(x_2); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm(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; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___closed__1; -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -x_13 = l_Int_Linear_Poly_isSorted(x_12); -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; -x_14 = l_Int_Linear_Poly_norm(x_12); -x_15 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_15, 0, x_1); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -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_apply_10(x_11, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -return x_19; -} -else -{ -lean_object* x_20; -lean_dec(x_12); -x_20 = lean_apply_10(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_20; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___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_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; +lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_alloc_ctor(5, 3, 0); lean_ctor_set(x_15, 0, x_1); lean_ctor_set(x_15, 1, x_2); lean_ctor_set(x_15, 2, x_3); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_4); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_14); +return x_17; } } static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__1() { @@ -4722,7 +4659,7 @@ return x_61; } } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__1() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -4733,11 +4670,11 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__1; +x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__1; x_2 = lean_box(0); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4745,16 +4682,116 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__2; +x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = lean_grind_cutsat_assert_eq(x_1, 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) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +x_15 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__3; +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_dec(x_12); +x_17 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__3; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) +{ +return x_12; +} +else +{ +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_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; +} +} +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("debug", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("eq", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__2; +x_2 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__1; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__3; +x_4 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__2; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("new eq: ", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { @@ -4782,55 +4819,65 @@ 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_36; uint8_t x_37; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_46; uint8_t x_47; x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); +x_32 = lean_ctor_get(x_10, 1); +lean_inc(x_32); if (lean_is_exclusive(x_10)) { lean_ctor_release(x_10, 0); lean_ctor_release(x_10, 1); - x_24 = x_10; + x_33 = x_10; } else { lean_dec_ref(x_10); - x_24 = lean_box(0); + x_33 = lean_box(0); } -x_36 = lean_ctor_get(x_22, 0); -lean_inc(x_36); -x_37 = l_Int_Linear_Poly_isNegEq(x_2, x_36); -lean_dec(x_36); -if (x_37 == 0) +x_46 = lean_ctor_get(x_22, 0); +lean_inc(x_46); +x_47 = l_Int_Linear_Poly_isNegEq(x_2, x_46); +lean_dec(x_46); +if (x_47 == 0) { -lean_object* x_38; +lean_object* x_48; lean_dec(x_22); lean_inc(x_3); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_3); -x_25 = x_38; -x_26 = x_19; -goto block_35; +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_3); +x_34 = x_48; +x_35 = x_19; +goto block_45; } else { -lean_object* x_39; +lean_object* x_49; lean_inc(x_22); -x_39 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_39) == 0) +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_49) == 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; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); lean_inc(x_1); -x_41 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_41, 0, x_1); -lean_ctor_set(x_41, 1, x_22); +x_51 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_51, 0, x_1); +lean_ctor_set(x_51, 1, x_22); lean_inc(x_2); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_2, x_41, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; +x_54 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_53, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_50); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +lean_dec(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -4839,23 +4886,24 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_45 = lean_grind_cutsat_assert_eq(x_43, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); -if (lean_obj_tag(x_45) == 0) +x_59 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; -x_25 = x_47; -x_26 = x_46; -goto block_35; +lean_object* x_60; lean_object* x_61; +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_34 = x_60; +x_35 = x_61; +goto block_45; } else { -uint8_t x_48; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_62; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -4868,31 +4916,308 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) +x_62 = !lean_is_exclusive(x_59); +if (x_62 == 0) { -return x_45; +return x_59; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 0); -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_45); -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; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_59, 0); +x_64 = lean_ctor_get(x_59, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_59); +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_52; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_66; +x_66 = !lean_is_exclusive(x_54); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = lean_ctor_get(x_54, 1); +x_68 = lean_ctor_get(x_54, 0); +lean_dec(x_68); +lean_inc(x_52); +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_52, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_67); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_69, 0); +x_72 = lean_ctor_get(x_69, 1); +x_73 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +lean_ctor_set_tag(x_69, 7); +lean_ctor_set(x_69, 1, x_71); +lean_ctor_set(x_69, 0, x_73); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_74); +lean_ctor_set(x_54, 0, x_69); +x_75 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +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); +lean_inc(x_18); +lean_inc(x_17); +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_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_76, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_77); +lean_dec(x_76); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_34 = x_79; +x_35 = x_80; +goto block_45; +} +else +{ +uint8_t x_81; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) +{ +return x_78; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_78); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_85 = lean_ctor_get(x_69, 0); +x_86 = lean_ctor_get(x_69, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_69); +x_87 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +x_89 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_89); +lean_ctor_set(x_54, 0, x_88); +x_90 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_86); +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); +lean_inc(x_18); +lean_inc(x_17); +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_93 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_91, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_92); +lean_dec(x_91); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_34 = x_94; +x_35 = x_95; +goto block_45; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_96 = lean_ctor_get(x_93, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_93, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_98 = x_93; +} else { + lean_dec_ref(x_93); + x_98 = lean_box(0); +} +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_100 = lean_ctor_get(x_54, 1); +lean_inc(x_100); +lean_dec(x_54); +lean_inc(x_52); +x_101 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_52, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_100); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_104 = x_101; +} else { + lean_dec_ref(x_101); + x_104 = lean_box(0); +} +x_105 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +if (lean_is_scalar(x_104)) { + x_106 = lean_alloc_ctor(7, 2, 0); +} else { + x_106 = x_104; + lean_ctor_set_tag(x_106, 7); +} +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_102); +x_107 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_108, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_103); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +lean_inc(x_18); +lean_inc(x_17); +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_112 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_110, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_111); +lean_dec(x_110); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_34 = x_113; +x_35 = x_114; +goto block_45; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_115 = lean_ctor_get(x_112, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_112, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_117 = x_112; +} else { + lean_dec_ref(x_112); + x_117 = lean_box(0); +} +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_117; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +return x_118; +} +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_18); lean_dec(x_17); @@ -4906,31 +5231,31 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_39); -if (x_52 == 0) +x_119 = !lean_is_exclusive(x_49); +if (x_119 == 0) { -return x_39; +return x_49; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_39, 0); -x_54 = lean_ctor_get(x_39, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_39); -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; +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_49, 0); +x_121 = lean_ctor_get(x_49, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_49); +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; } } } -block_35: +block_31: { -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_23) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_25; lean_object* x_26; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -4943,43 +5268,92 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_25); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(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_24); +return x_26; } else { -lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); lean_dec(x_23); -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -lean_inc(x_6); -if (lean_is_scalar(x_24)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_24; -} -lean_ctor_set(x_31, 0, x_6); -lean_ctor_set(x_31, 1, x_30); -x_32 = 1; -x_33 = lean_usize_add(x_9, x_32); -x_9 = x_33; -x_10 = x_31; -x_19 = x_26; +x_28 = 1; +x_29 = lean_usize_add(x_9, x_28); +x_9 = x_29; +x_10 = x_27; +x_19 = x_24; goto _start; } } +block_45: +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_34); +if (lean_is_scalar(x_33)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_33; +} +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_32); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_23 = x_38; +x_24 = x_35; +goto block_31; +} +else +{ +uint8_t x_39; +lean_dec(x_32); +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_33; +} +lean_ctor_set(x_41, 0, x_6); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_34, 0, x_41); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_34, 0); +lean_inc(x_42); +lean_dec(x_34); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_33; +} +lean_ctor_set(x_43, 0, x_6); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_23 = x_44; +x_24 = x_35; +goto block_31; +} +} +} } } } @@ -5265,55 +5639,65 @@ 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_40; uint8_t x_41; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_51; uint8_t x_52; x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); +x_32 = lean_ctor_get(x_10, 1); +lean_inc(x_32); if (lean_is_exclusive(x_10)) { lean_ctor_release(x_10, 0); lean_ctor_release(x_10, 1); - x_24 = x_10; + x_33 = x_10; } else { lean_dec_ref(x_10); - x_24 = lean_box(0); + x_33 = lean_box(0); } -x_40 = lean_ctor_get(x_22, 0); -lean_inc(x_40); -x_41 = l_Int_Linear_Poly_isNegEq(x_2, x_40); -lean_dec(x_40); -if (x_41 == 0) +x_51 = lean_ctor_get(x_22, 0); +lean_inc(x_51); +x_52 = l_Int_Linear_Poly_isNegEq(x_2, x_51); +lean_dec(x_51); +if (x_52 == 0) { -lean_object* x_42; +lean_object* x_53; lean_dec(x_22); lean_inc(x_3); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_3); -x_25 = x_42; -x_26 = x_19; -goto block_39; +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_3); +x_34 = x_53; +x_35 = x_19; +goto block_50; } else { -lean_object* x_43; +lean_object* x_54; lean_inc(x_22); -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_43) == 0) +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); lean_inc(x_1); -x_45 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_22); +x_56 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_56, 0, x_1); +lean_ctor_set(x_56, 1, x_22); lean_inc(x_2); -x_46 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_2, x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_2); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; +x_59 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_55); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_unbox(x_60); +lean_dec(x_60); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -5322,23 +5706,24 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_49 = lean_grind_cutsat_assert_eq(x_47, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_48); -if (lean_obj_tag(x_49) == 0) +x_64 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_63, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; -x_25 = x_51; -x_26 = x_50; -goto block_39; +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_34 = x_65; +x_35 = x_66; +goto block_50; } else { -uint8_t x_52; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_67; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -5351,31 +5736,308 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_49); -if (x_52 == 0) +x_67 = !lean_is_exclusive(x_64); +if (x_67 == 0) { -return x_49; +return x_64; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_49, 0); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_49); -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; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_64, 0); +x_69 = lean_ctor_get(x_64, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_64); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -uint8_t x_56; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_71; +x_71 = !lean_is_exclusive(x_59); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_72 = lean_ctor_get(x_59, 1); +x_73 = lean_ctor_get(x_59, 0); +lean_dec(x_73); +lean_inc(x_57); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +x_75 = !lean_is_exclusive(x_74); +if (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; lean_object* x_82; lean_object* x_83; +x_76 = lean_ctor_get(x_74, 0); +x_77 = lean_ctor_get(x_74, 1); +x_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +lean_ctor_set_tag(x_74, 7); +lean_ctor_set(x_74, 1, x_76); +lean_ctor_set(x_74, 0, x_78); +x_79 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_79); +lean_ctor_set(x_59, 0, x_74); +x_80 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_77); +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_18); +lean_inc(x_17); +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_83 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_81, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +lean_dec(x_81); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_34 = x_84; +x_35 = x_85; +goto block_50; +} +else +{ +uint8_t x_86; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_86 = !lean_is_exclusive(x_83); +if (x_86 == 0) +{ +return x_83; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_83, 0); +x_88 = lean_ctor_get(x_83, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_83); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_90 = lean_ctor_get(x_74, 0); +x_91 = lean_ctor_get(x_74, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_74); +x_92 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +x_94 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_94); +lean_ctor_set(x_59, 0, x_93); +x_95 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_91); +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_18); +lean_inc(x_17); +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_98 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_96, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_97); +lean_dec(x_96); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_34 = x_99; +x_35 = x_100; +goto block_50; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_101 = lean_ctor_get(x_98, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_98, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_103 = x_98; +} else { + lean_dec_ref(x_98); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_105 = lean_ctor_get(x_59, 1); +lean_inc(x_105); +lean_dec(x_59); +lean_inc(x_57); +x_106 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_105); +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 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +if (lean_is_scalar(x_109)) { + x_111 = lean_alloc_ctor(7, 2, 0); +} else { + x_111 = x_109; + lean_ctor_set_tag(x_111, 7); +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_107); +x_112 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_113 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_113, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_108); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +lean_inc(x_18); +lean_inc(x_17); +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_117 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_115, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_116); +lean_dec(x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_34 = x_118; +x_35 = x_119; +goto block_50; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_120 = lean_ctor_get(x_117, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_117, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_122 = x_117; +} else { + lean_dec_ref(x_117); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_18); lean_dec(x_17); @@ -5389,31 +6051,31 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_43); -if (x_56 == 0) +x_124 = !lean_is_exclusive(x_54); +if (x_124 == 0) { -return x_43; +return x_54; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_43, 0); -x_58 = lean_ctor_get(x_43, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_43); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_54, 0); +x_126 = lean_ctor_get(x_54, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_54); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; } } } -block_39: +block_31: { -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_23) == 0) { -uint8_t x_27; +lean_object* x_25; lean_object* x_26; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -5426,67 +6088,118 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_25); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_ctor_set_tag(x_25, 1); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -if (lean_is_scalar(x_24)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_24; -} -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_23); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); lean_dec(x_23); -x_34 = lean_ctor_get(x_25, 0); -lean_inc(x_34); -lean_dec(x_25); -lean_inc(x_6); -if (lean_is_scalar(x_24)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_24; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } -lean_ctor_set(x_35, 0, x_6); -lean_ctor_set(x_35, 1, x_34); -x_36 = 1; -x_37 = lean_usize_add(x_9, x_36); -x_9 = x_37; -x_10 = x_35; -x_19 = x_26; +else +{ +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); +lean_dec(x_23); +x_28 = 1; +x_29 = lean_usize_add(x_9, x_28); +x_9 = x_29; +x_10 = x_27; +x_19 = x_24; goto _start; } } +block_50: +{ +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +if (lean_is_scalar(x_33)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_33; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_32); +lean_ctor_set(x_34, 0, x_39); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_40); +lean_dec(x_34); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +if (lean_is_scalar(x_33)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_33; +} +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_32); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_23 = x_43; +x_24 = x_35; +goto block_31; +} +} +else +{ +uint8_t x_44; +lean_dec(x_32); +x_44 = !lean_is_exclusive(x_34); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_34, 0); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_33; +} +lean_ctor_set(x_46, 0, x_6); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_34, 0, x_46); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_34, 0); +lean_inc(x_47); +lean_dec(x_34); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_33; +} +lean_ctor_set(x_48, 0, x_6); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_23 = x_49; +x_24 = x_35; +goto block_31; +} +} +} } } } @@ -6019,55 +6732,65 @@ 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_36; uint8_t x_37; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_46; uint8_t x_47; x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); +x_32 = lean_ctor_get(x_10, 1); +lean_inc(x_32); if (lean_is_exclusive(x_10)) { lean_ctor_release(x_10, 0); lean_ctor_release(x_10, 1); - x_24 = x_10; + x_33 = x_10; } else { lean_dec_ref(x_10); - x_24 = lean_box(0); + x_33 = lean_box(0); } -x_36 = lean_ctor_get(x_22, 0); -lean_inc(x_36); -x_37 = l_Int_Linear_Poly_isNegEq(x_2, x_36); -lean_dec(x_36); -if (x_37 == 0) +x_46 = lean_ctor_get(x_22, 0); +lean_inc(x_46); +x_47 = l_Int_Linear_Poly_isNegEq(x_2, x_46); +lean_dec(x_46); +if (x_47 == 0) { -lean_object* x_38; +lean_object* x_48; lean_dec(x_22); lean_inc(x_3); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_3); -x_25 = x_38; -x_26 = x_19; -goto block_35; +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_3); +x_34 = x_48; +x_35 = x_19; +goto block_45; } else { -lean_object* x_39; +lean_object* x_49; lean_inc(x_22); -x_39 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_39) == 0) +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_49) == 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; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); lean_inc(x_1); -x_41 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_41, 0, x_1); -lean_ctor_set(x_41, 1, x_22); +x_51 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_51, 0, x_1); +lean_ctor_set(x_51, 1, x_22); lean_inc(x_2); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_2, x_41, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; +x_54 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_53, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_50); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +lean_dec(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -6076,23 +6799,24 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_45 = lean_grind_cutsat_assert_eq(x_43, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); -if (lean_obj_tag(x_45) == 0) +x_59 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; -x_25 = x_47; -x_26 = x_46; -goto block_35; +lean_object* x_60; lean_object* x_61; +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_34 = x_60; +x_35 = x_61; +goto block_45; } else { -uint8_t x_48; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_62; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -6105,31 +6829,308 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) +x_62 = !lean_is_exclusive(x_59); +if (x_62 == 0) { -return x_45; +return x_59; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 0); -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_45); -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; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_59, 0); +x_64 = lean_ctor_get(x_59, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_59); +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_52; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_66; +x_66 = !lean_is_exclusive(x_54); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = lean_ctor_get(x_54, 1); +x_68 = lean_ctor_get(x_54, 0); +lean_dec(x_68); +lean_inc(x_52); +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_52, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_67); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_69, 0); +x_72 = lean_ctor_get(x_69, 1); +x_73 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +lean_ctor_set_tag(x_69, 7); +lean_ctor_set(x_69, 1, x_71); +lean_ctor_set(x_69, 0, x_73); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_74); +lean_ctor_set(x_54, 0, x_69); +x_75 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +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); +lean_inc(x_18); +lean_inc(x_17); +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_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_76, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_77); +lean_dec(x_76); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_34 = x_79; +x_35 = x_80; +goto block_45; +} +else +{ +uint8_t x_81; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) +{ +return x_78; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_78); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_85 = lean_ctor_get(x_69, 0); +x_86 = lean_ctor_get(x_69, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_69); +x_87 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +x_89 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_89); +lean_ctor_set(x_54, 0, x_88); +x_90 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_86); +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); +lean_inc(x_18); +lean_inc(x_17); +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_93 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_91, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_92); +lean_dec(x_91); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_34 = x_94; +x_35 = x_95; +goto block_45; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_96 = lean_ctor_get(x_93, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_93, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_98 = x_93; +} else { + lean_dec_ref(x_93); + x_98 = lean_box(0); +} +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_100 = lean_ctor_get(x_54, 1); +lean_inc(x_100); +lean_dec(x_54); +lean_inc(x_52); +x_101 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_52, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_100); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_104 = x_101; +} else { + lean_dec_ref(x_101); + x_104 = lean_box(0); +} +x_105 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +if (lean_is_scalar(x_104)) { + x_106 = lean_alloc_ctor(7, 2, 0); +} else { + x_106 = x_104; + lean_ctor_set_tag(x_106, 7); +} +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_102); +x_107 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_108, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_103); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +lean_inc(x_18); +lean_inc(x_17); +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_112 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_110, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_111); +lean_dec(x_110); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_34 = x_113; +x_35 = x_114; +goto block_45; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_115 = lean_ctor_get(x_112, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_112, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_117 = x_112; +} else { + lean_dec_ref(x_112); + x_117 = lean_box(0); +} +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_117; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +return x_118; +} +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_18); lean_dec(x_17); @@ -6143,31 +7144,31 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_39); -if (x_52 == 0) +x_119 = !lean_is_exclusive(x_49); +if (x_119 == 0) { -return x_39; +return x_49; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_39, 0); -x_54 = lean_ctor_get(x_39, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_39); -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; +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_49, 0); +x_121 = lean_ctor_get(x_49, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_49); +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; } } } -block_35: +block_31: { -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_23) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_25; lean_object* x_26; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -6180,43 +7181,92 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_25); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(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_24); +return x_26; } else { -lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); lean_dec(x_23); -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -lean_inc(x_6); -if (lean_is_scalar(x_24)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_24; -} -lean_ctor_set(x_31, 0, x_6); -lean_ctor_set(x_31, 1, x_30); -x_32 = 1; -x_33 = lean_usize_add(x_9, x_32); -x_9 = x_33; -x_10 = x_31; -x_19 = x_26; +x_28 = 1; +x_29 = lean_usize_add(x_9, x_28); +x_9 = x_29; +x_10 = x_27; +x_19 = x_24; goto _start; } } +block_45: +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_34); +if (lean_is_scalar(x_33)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_33; +} +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_32); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_23 = x_38; +x_24 = x_35; +goto block_31; +} +else +{ +uint8_t x_39; +lean_dec(x_32); +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_33; +} +lean_ctor_set(x_41, 0, x_6); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_34, 0, x_41); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_34, 0); +lean_inc(x_42); +lean_dec(x_34); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_33; +} +lean_ctor_set(x_43, 0, x_6); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_23 = x_44; +x_24 = x_35; +goto block_31; +} +} +} } } } @@ -6490,55 +7540,65 @@ 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_40; uint8_t x_41; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_51; uint8_t x_52; x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); +x_32 = lean_ctor_get(x_10, 1); +lean_inc(x_32); if (lean_is_exclusive(x_10)) { lean_ctor_release(x_10, 0); lean_ctor_release(x_10, 1); - x_24 = x_10; + x_33 = x_10; } else { lean_dec_ref(x_10); - x_24 = lean_box(0); + x_33 = lean_box(0); } -x_40 = lean_ctor_get(x_22, 0); -lean_inc(x_40); -x_41 = l_Int_Linear_Poly_isNegEq(x_2, x_40); -lean_dec(x_40); -if (x_41 == 0) +x_51 = lean_ctor_get(x_22, 0); +lean_inc(x_51); +x_52 = l_Int_Linear_Poly_isNegEq(x_2, x_51); +lean_dec(x_51); +if (x_52 == 0) { -lean_object* x_42; +lean_object* x_53; lean_dec(x_22); lean_inc(x_3); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_3); -x_25 = x_42; -x_26 = x_19; -goto block_39; +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_3); +x_34 = x_53; +x_35 = x_19; +goto block_50; } else { -lean_object* x_43; +lean_object* x_54; lean_inc(x_22); -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_43) == 0) +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); lean_inc(x_1); -x_45 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_22); +x_56 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_56, 0, x_1); +lean_ctor_set(x_56, 1, x_22); lean_inc(x_2); -x_46 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_2, x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_2); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; +x_59 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_55); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_unbox(x_60); +lean_dec(x_60); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -6547,23 +7607,24 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_49 = lean_grind_cutsat_assert_eq(x_47, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_48); -if (lean_obj_tag(x_49) == 0) +x_64 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_63, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; -x_25 = x_51; -x_26 = x_50; -goto block_39; +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_34 = x_65; +x_35 = x_66; +goto block_50; } else { -uint8_t x_52; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_67; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -6576,31 +7637,308 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_49); -if (x_52 == 0) +x_67 = !lean_is_exclusive(x_64); +if (x_67 == 0) { -return x_49; +return x_64; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_49, 0); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_49); -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; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_64, 0); +x_69 = lean_ctor_get(x_64, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_64); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -uint8_t x_56; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_71; +x_71 = !lean_is_exclusive(x_59); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_72 = lean_ctor_get(x_59, 1); +x_73 = lean_ctor_get(x_59, 0); +lean_dec(x_73); +lean_inc(x_57); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +x_75 = !lean_is_exclusive(x_74); +if (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; lean_object* x_82; lean_object* x_83; +x_76 = lean_ctor_get(x_74, 0); +x_77 = lean_ctor_get(x_74, 1); +x_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +lean_ctor_set_tag(x_74, 7); +lean_ctor_set(x_74, 1, x_76); +lean_ctor_set(x_74, 0, x_78); +x_79 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_79); +lean_ctor_set(x_59, 0, x_74); +x_80 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_77); +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_18); +lean_inc(x_17); +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_83 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_81, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +lean_dec(x_81); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_34 = x_84; +x_35 = x_85; +goto block_50; +} +else +{ +uint8_t x_86; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_86 = !lean_is_exclusive(x_83); +if (x_86 == 0) +{ +return x_83; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_83, 0); +x_88 = lean_ctor_get(x_83, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_83); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_90 = lean_ctor_get(x_74, 0); +x_91 = lean_ctor_get(x_74, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_74); +x_92 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +x_94 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_94); +lean_ctor_set(x_59, 0, x_93); +x_95 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_91); +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_18); +lean_inc(x_17); +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_98 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_96, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_97); +lean_dec(x_96); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_34 = x_99; +x_35 = x_100; +goto block_50; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_101 = lean_ctor_get(x_98, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_98, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_103 = x_98; +} else { + lean_dec_ref(x_98); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_105 = lean_ctor_get(x_59, 1); +lean_inc(x_105); +lean_dec(x_59); +lean_inc(x_57); +x_106 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_105); +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 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +if (lean_is_scalar(x_109)) { + x_111 = lean_alloc_ctor(7, 2, 0); +} else { + x_111 = x_109; + lean_ctor_set_tag(x_111, 7); +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_107); +x_112 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_113 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_113, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_108); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +lean_inc(x_18); +lean_inc(x_17); +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_117 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_115, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_116); +lean_dec(x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_34 = x_118; +x_35 = x_119; +goto block_50; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_120 = lean_ctor_get(x_117, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_117, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_122 = x_117; +} else { + lean_dec_ref(x_117); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_18); lean_dec(x_17); @@ -6614,31 +7952,31 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_43); -if (x_56 == 0) +x_124 = !lean_is_exclusive(x_54); +if (x_124 == 0) { -return x_43; +return x_54; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_43, 0); -x_58 = lean_ctor_get(x_43, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_43); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_54, 0); +x_126 = lean_ctor_get(x_54, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_54); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; } } } -block_39: +block_31: { -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_23) == 0) { -uint8_t x_27; +lean_object* x_25; lean_object* x_26; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -6651,67 +7989,118 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_25); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_ctor_set_tag(x_25, 1); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -if (lean_is_scalar(x_24)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_24; -} -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_23); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); lean_dec(x_23); -x_34 = lean_ctor_get(x_25, 0); -lean_inc(x_34); -lean_dec(x_25); -lean_inc(x_6); -if (lean_is_scalar(x_24)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_24; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } -lean_ctor_set(x_35, 0, x_6); -lean_ctor_set(x_35, 1, x_34); -x_36 = 1; -x_37 = lean_usize_add(x_9, x_36); -x_9 = x_37; -x_10 = x_35; -x_19 = x_26; +else +{ +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); +lean_dec(x_23); +x_28 = 1; +x_29 = lean_usize_add(x_9, x_28); +x_9 = x_29; +x_10 = x_27; +x_19 = x_24; goto _start; } } +block_50: +{ +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +if (lean_is_scalar(x_33)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_33; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_32); +lean_ctor_set(x_34, 0, x_39); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_40); +lean_dec(x_34); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +if (lean_is_scalar(x_33)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_33; +} +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_32); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_23 = x_43; +x_24 = x_35; +goto block_31; +} +} +else +{ +uint8_t x_44; +lean_dec(x_32); +x_44 = !lean_is_exclusive(x_34); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_34, 0); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_33; +} +lean_ctor_set(x_46, 0, x_6); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_34, 0, x_46); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_34, 0); +lean_inc(x_47); +lean_dec(x_34); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_33; +} +lean_ctor_set(x_48, 0, x_6); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_23 = x_49; +x_24 = x_35; +goto block_31; +} +} +} } } } @@ -7234,55 +8623,65 @@ 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_36; uint8_t x_37; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_46; uint8_t x_47; x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); +x_32 = lean_ctor_get(x_10, 1); +lean_inc(x_32); if (lean_is_exclusive(x_10)) { lean_ctor_release(x_10, 0); lean_ctor_release(x_10, 1); - x_24 = x_10; + x_33 = x_10; } else { lean_dec_ref(x_10); - x_24 = lean_box(0); + x_33 = lean_box(0); } -x_36 = lean_ctor_get(x_22, 0); -lean_inc(x_36); -x_37 = l_Int_Linear_Poly_isNegEq(x_2, x_36); -lean_dec(x_36); -if (x_37 == 0) +x_46 = lean_ctor_get(x_22, 0); +lean_inc(x_46); +x_47 = l_Int_Linear_Poly_isNegEq(x_2, x_46); +lean_dec(x_46); +if (x_47 == 0) { -lean_object* x_38; +lean_object* x_48; lean_dec(x_22); lean_inc(x_3); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_3); -x_25 = x_38; -x_26 = x_19; -goto block_35; +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_3); +x_34 = x_48; +x_35 = x_19; +goto block_45; } else { -lean_object* x_39; +lean_object* x_49; lean_inc(x_22); -x_39 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_39) == 0) +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_49) == 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; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); lean_inc(x_1); -x_41 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_41, 0, x_1); -lean_ctor_set(x_41, 1, x_22); +x_51 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_51, 0, x_1); +lean_ctor_set(x_51, 1, x_22); lean_inc(x_2); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_2, x_41, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; +x_54 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_53, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_50); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +lean_dec(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -7291,23 +8690,24 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_45 = lean_grind_cutsat_assert_eq(x_43, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); -if (lean_obj_tag(x_45) == 0) +x_59 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; -x_25 = x_47; -x_26 = x_46; -goto block_35; +lean_object* x_60; lean_object* x_61; +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_34 = x_60; +x_35 = x_61; +goto block_45; } else { -uint8_t x_48; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_62; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -7320,31 +8720,308 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) +x_62 = !lean_is_exclusive(x_59); +if (x_62 == 0) { -return x_45; +return x_59; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 0); -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_45); -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; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_59, 0); +x_64 = lean_ctor_get(x_59, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_59); +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_52; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_66; +x_66 = !lean_is_exclusive(x_54); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = lean_ctor_get(x_54, 1); +x_68 = lean_ctor_get(x_54, 0); +lean_dec(x_68); +lean_inc(x_52); +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_52, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_67); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_69, 0); +x_72 = lean_ctor_get(x_69, 1); +x_73 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +lean_ctor_set_tag(x_69, 7); +lean_ctor_set(x_69, 1, x_71); +lean_ctor_set(x_69, 0, x_73); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_74); +lean_ctor_set(x_54, 0, x_69); +x_75 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +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); +lean_inc(x_18); +lean_inc(x_17); +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_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_76, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_77); +lean_dec(x_76); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_34 = x_79; +x_35 = x_80; +goto block_45; +} +else +{ +uint8_t x_81; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) +{ +return x_78; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_78); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_85 = lean_ctor_get(x_69, 0); +x_86 = lean_ctor_get(x_69, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_69); +x_87 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +x_89 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_89); +lean_ctor_set(x_54, 0, x_88); +x_90 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_86); +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); +lean_inc(x_18); +lean_inc(x_17); +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_93 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_91, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_92); +lean_dec(x_91); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_34 = x_94; +x_35 = x_95; +goto block_45; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_96 = lean_ctor_get(x_93, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_93, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_98 = x_93; +} else { + lean_dec_ref(x_93); + x_98 = lean_box(0); +} +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_100 = lean_ctor_get(x_54, 1); +lean_inc(x_100); +lean_dec(x_54); +lean_inc(x_52); +x_101 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_52, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_100); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_104 = x_101; +} else { + lean_dec_ref(x_101); + x_104 = lean_box(0); +} +x_105 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +if (lean_is_scalar(x_104)) { + x_106 = lean_alloc_ctor(7, 2, 0); +} else { + x_106 = x_104; + lean_ctor_set_tag(x_106, 7); +} +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_102); +x_107 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_108, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_103); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +lean_inc(x_18); +lean_inc(x_17); +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_112 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_110, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_111); +lean_dec(x_110); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_34 = x_113; +x_35 = x_114; +goto block_45; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_115 = lean_ctor_get(x_112, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_112, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_117 = x_112; +} else { + lean_dec_ref(x_112); + x_117 = lean_box(0); +} +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_117; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +return x_118; +} +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_18); lean_dec(x_17); @@ -7358,31 +9035,31 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_39); -if (x_52 == 0) +x_119 = !lean_is_exclusive(x_49); +if (x_119 == 0) { -return x_39; +return x_49; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_39, 0); -x_54 = lean_ctor_get(x_39, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_39); -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; +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_49, 0); +x_121 = lean_ctor_get(x_49, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_49); +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; } } } -block_35: +block_31: { -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_23) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_25; lean_object* x_26; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -7395,43 +9072,92 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_25); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(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_24); +return x_26; } else { -lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); lean_dec(x_23); -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -lean_inc(x_6); -if (lean_is_scalar(x_24)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_24; -} -lean_ctor_set(x_31, 0, x_6); -lean_ctor_set(x_31, 1, x_30); -x_32 = 1; -x_33 = lean_usize_add(x_9, x_32); -x_9 = x_33; -x_10 = x_31; -x_19 = x_26; +x_28 = 1; +x_29 = lean_usize_add(x_9, x_28); +x_9 = x_29; +x_10 = x_27; +x_19 = x_24; goto _start; } } +block_45: +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_34); +if (lean_is_scalar(x_33)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_33; +} +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_32); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_23 = x_38; +x_24 = x_35; +goto block_31; +} +else +{ +uint8_t x_39; +lean_dec(x_32); +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_33; +} +lean_ctor_set(x_41, 0, x_6); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_34, 0, x_41); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_34, 0); +lean_inc(x_42); +lean_dec(x_34); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_33; +} +lean_ctor_set(x_43, 0, x_6); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_23 = x_44; +x_24 = x_35; +goto block_31; +} +} +} } } } @@ -7705,55 +9431,65 @@ 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_40; uint8_t x_41; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_51; uint8_t x_52; x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); +x_32 = lean_ctor_get(x_10, 1); +lean_inc(x_32); if (lean_is_exclusive(x_10)) { lean_ctor_release(x_10, 0); lean_ctor_release(x_10, 1); - x_24 = x_10; + x_33 = x_10; } else { lean_dec_ref(x_10); - x_24 = lean_box(0); + x_33 = lean_box(0); } -x_40 = lean_ctor_get(x_22, 0); -lean_inc(x_40); -x_41 = l_Int_Linear_Poly_isNegEq(x_2, x_40); -lean_dec(x_40); -if (x_41 == 0) +x_51 = lean_ctor_get(x_22, 0); +lean_inc(x_51); +x_52 = l_Int_Linear_Poly_isNegEq(x_2, x_51); +lean_dec(x_51); +if (x_52 == 0) { -lean_object* x_42; +lean_object* x_53; lean_dec(x_22); lean_inc(x_3); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_3); -x_25 = x_42; -x_26 = x_19; -goto block_39; +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_3); +x_34 = x_53; +x_35 = x_19; +goto block_50; } else { -lean_object* x_43; +lean_object* x_54; lean_inc(x_22); -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_43) == 0) +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); lean_inc(x_1); -x_45 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_22); +x_56 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_56, 0, x_1); +lean_ctor_set(x_56, 1, x_22); lean_inc(x_2); -x_46 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_2, x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_2); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; +x_59 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_55); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_unbox(x_60); +lean_dec(x_60); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -7762,23 +9498,24 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_49 = lean_grind_cutsat_assert_eq(x_47, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_48); -if (lean_obj_tag(x_49) == 0) +x_64 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_63, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; -x_25 = x_51; -x_26 = x_50; -goto block_39; +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_34 = x_65; +x_35 = x_66; +goto block_50; } else { -uint8_t x_52; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_67; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -7791,31 +9528,308 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_49); -if (x_52 == 0) +x_67 = !lean_is_exclusive(x_64); +if (x_67 == 0) { -return x_49; +return x_64; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_49, 0); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_49); -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; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_64, 0); +x_69 = lean_ctor_get(x_64, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_64); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -uint8_t x_56; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_71; +x_71 = !lean_is_exclusive(x_59); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_72 = lean_ctor_get(x_59, 1); +x_73 = lean_ctor_get(x_59, 0); +lean_dec(x_73); +lean_inc(x_57); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +x_75 = !lean_is_exclusive(x_74); +if (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; lean_object* x_82; lean_object* x_83; +x_76 = lean_ctor_get(x_74, 0); +x_77 = lean_ctor_get(x_74, 1); +x_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +lean_ctor_set_tag(x_74, 7); +lean_ctor_set(x_74, 1, x_76); +lean_ctor_set(x_74, 0, x_78); +x_79 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_79); +lean_ctor_set(x_59, 0, x_74); +x_80 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_77); +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_18); +lean_inc(x_17); +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_83 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_81, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +lean_dec(x_81); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_34 = x_84; +x_35 = x_85; +goto block_50; +} +else +{ +uint8_t x_86; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_86 = !lean_is_exclusive(x_83); +if (x_86 == 0) +{ +return x_83; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_83, 0); +x_88 = lean_ctor_get(x_83, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_83); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_90 = lean_ctor_get(x_74, 0); +x_91 = lean_ctor_get(x_74, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_74); +x_92 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +x_94 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_94); +lean_ctor_set(x_59, 0, x_93); +x_95 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_91); +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_18); +lean_inc(x_17); +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_98 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_96, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_97); +lean_dec(x_96); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_34 = x_99; +x_35 = x_100; +goto block_50; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_101 = lean_ctor_get(x_98, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_98, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_103 = x_98; +} else { + lean_dec_ref(x_98); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_105 = lean_ctor_get(x_59, 1); +lean_inc(x_105); +lean_dec(x_59); +lean_inc(x_57); +x_106 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_105); +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 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +if (lean_is_scalar(x_109)) { + x_111 = lean_alloc_ctor(7, 2, 0); +} else { + x_111 = x_109; + lean_ctor_set_tag(x_111, 7); +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_107); +x_112 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_113 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_113, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_108); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +lean_inc(x_18); +lean_inc(x_17); +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_117 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_115, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_116); +lean_dec(x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_34 = x_118; +x_35 = x_119; +goto block_50; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_120 = lean_ctor_get(x_117, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_117, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_122 = x_117; +} else { + lean_dec_ref(x_117); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_18); lean_dec(x_17); @@ -7829,31 +9843,31 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_43); -if (x_56 == 0) +x_124 = !lean_is_exclusive(x_54); +if (x_124 == 0) { -return x_43; +return x_54; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_43, 0); -x_58 = lean_ctor_get(x_43, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_43); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_54, 0); +x_126 = lean_ctor_get(x_54, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_54); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; } } } -block_39: +block_31: { -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_23) == 0) { -uint8_t x_27; +lean_object* x_25; lean_object* x_26; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -7866,67 +9880,118 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_25); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_ctor_set_tag(x_25, 1); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -if (lean_is_scalar(x_24)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_24; -} -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_23); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); lean_dec(x_23); -x_34 = lean_ctor_get(x_25, 0); -lean_inc(x_34); -lean_dec(x_25); -lean_inc(x_6); -if (lean_is_scalar(x_24)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_24; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } -lean_ctor_set(x_35, 0, x_6); -lean_ctor_set(x_35, 1, x_34); -x_36 = 1; -x_37 = lean_usize_add(x_9, x_36); -x_9 = x_37; -x_10 = x_35; -x_19 = x_26; +else +{ +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); +lean_dec(x_23); +x_28 = 1; +x_29 = lean_usize_add(x_9, x_28); +x_9 = x_29; +x_10 = x_27; +x_19 = x_24; goto _start; } } +block_50: +{ +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +if (lean_is_scalar(x_33)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_33; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_32); +lean_ctor_set(x_34, 0, x_39); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_40); +lean_dec(x_34); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +if (lean_is_scalar(x_33)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_33; +} +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_32); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_23 = x_43; +x_24 = x_35; +goto block_31; +} +} +else +{ +uint8_t x_44; +lean_dec(x_32); +x_44 = !lean_is_exclusive(x_34); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_34, 0); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_33; +} +lean_ctor_set(x_46, 0, x_6); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_34, 0, x_46); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_34, 0); +lean_inc(x_47); +lean_dec(x_34); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_33; +} +lean_ctor_set(x_48, 0, x_6); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_23 = x_49; +x_24 = x_35; +goto block_31; +} +} +} } } } @@ -8449,55 +10514,65 @@ 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_36; uint8_t x_37; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_46; uint8_t x_47; x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); +x_32 = lean_ctor_get(x_10, 1); +lean_inc(x_32); if (lean_is_exclusive(x_10)) { lean_ctor_release(x_10, 0); lean_ctor_release(x_10, 1); - x_24 = x_10; + x_33 = x_10; } else { lean_dec_ref(x_10); - x_24 = lean_box(0); + x_33 = lean_box(0); } -x_36 = lean_ctor_get(x_22, 0); -lean_inc(x_36); -x_37 = l_Int_Linear_Poly_isNegEq(x_2, x_36); -lean_dec(x_36); -if (x_37 == 0) +x_46 = lean_ctor_get(x_22, 0); +lean_inc(x_46); +x_47 = l_Int_Linear_Poly_isNegEq(x_2, x_46); +lean_dec(x_46); +if (x_47 == 0) { -lean_object* x_38; +lean_object* x_48; lean_dec(x_22); lean_inc(x_3); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_3); -x_25 = x_38; -x_26 = x_19; -goto block_35; +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_3); +x_34 = x_48; +x_35 = x_19; +goto block_45; } else { -lean_object* x_39; +lean_object* x_49; lean_inc(x_22); -x_39 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_39) == 0) +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_49) == 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; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); lean_inc(x_1); -x_41 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_41, 0, x_1); -lean_ctor_set(x_41, 1, x_22); +x_51 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_51, 0, x_1); +lean_ctor_set(x_51, 1, x_22); lean_inc(x_2); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_2, x_41, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; +x_54 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_53, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_50); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +lean_dec(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -8506,23 +10581,24 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_45 = lean_grind_cutsat_assert_eq(x_43, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); -if (lean_obj_tag(x_45) == 0) +x_59 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_57); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; -x_25 = x_47; -x_26 = x_46; -goto block_35; +lean_object* x_60; lean_object* x_61; +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_34 = x_60; +x_35 = x_61; +goto block_45; } else { -uint8_t x_48; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_62; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -8535,31 +10611,308 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) +x_62 = !lean_is_exclusive(x_59); +if (x_62 == 0) { -return x_45; +return x_59; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 0); -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_45); -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; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_59, 0); +x_64 = lean_ctor_get(x_59, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_59); +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_52; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_66; +x_66 = !lean_is_exclusive(x_54); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = lean_ctor_get(x_54, 1); +x_68 = lean_ctor_get(x_54, 0); +lean_dec(x_68); +lean_inc(x_52); +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_52, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_67); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_69, 0); +x_72 = lean_ctor_get(x_69, 1); +x_73 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +lean_ctor_set_tag(x_69, 7); +lean_ctor_set(x_69, 1, x_71); +lean_ctor_set(x_69, 0, x_73); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_74); +lean_ctor_set(x_54, 0, x_69); +x_75 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +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); +lean_inc(x_18); +lean_inc(x_17); +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_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_76, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_77); +lean_dec(x_76); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_34 = x_79; +x_35 = x_80; +goto block_45; +} +else +{ +uint8_t x_81; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) +{ +return x_78; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_78); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_85 = lean_ctor_get(x_69, 0); +x_86 = lean_ctor_get(x_69, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_69); +x_87 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +x_89 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_54, 7); +lean_ctor_set(x_54, 1, x_89); +lean_ctor_set(x_54, 0, x_88); +x_90 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_54, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_86); +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); +lean_inc(x_18); +lean_inc(x_17); +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_93 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_91, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_92); +lean_dec(x_91); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_34 = x_94; +x_35 = x_95; +goto block_45; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_96 = lean_ctor_get(x_93, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_93, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_98 = x_93; +} else { + lean_dec_ref(x_93); + x_98 = lean_box(0); +} +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_100 = lean_ctor_get(x_54, 1); +lean_inc(x_100); +lean_dec(x_54); +lean_inc(x_52); +x_101 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_52, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_100); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_104 = x_101; +} else { + lean_dec_ref(x_101); + x_104 = lean_box(0); +} +x_105 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +if (lean_is_scalar(x_104)) { + x_106 = lean_alloc_ctor(7, 2, 0); +} else { + x_106 = x_104; + lean_ctor_set_tag(x_106, 7); +} +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_102); +x_107 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_53, x_108, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_103); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +lean_inc(x_18); +lean_inc(x_17); +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_112 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_52, x_110, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_111); +lean_dec(x_110); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_34 = x_113; +x_35 = x_114; +goto block_45; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_115 = lean_ctor_get(x_112, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_112, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_117 = x_112; +} else { + lean_dec_ref(x_112); + x_117 = lean_box(0); +} +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_117; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +return x_118; +} +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_18); lean_dec(x_17); @@ -8573,31 +10926,31 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_39); -if (x_52 == 0) +x_119 = !lean_is_exclusive(x_49); +if (x_119 == 0) { -return x_39; +return x_49; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_39, 0); -x_54 = lean_ctor_get(x_39, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_39); -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; +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_49, 0); +x_121 = lean_ctor_get(x_49, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_49); +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; } } } -block_35: +block_31: { -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_23) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_25; lean_object* x_26; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -8610,43 +10963,92 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_25); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(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_24); +return x_26; } else { -lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); lean_dec(x_23); -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -lean_inc(x_6); -if (lean_is_scalar(x_24)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_24; -} -lean_ctor_set(x_31, 0, x_6); -lean_ctor_set(x_31, 1, x_30); -x_32 = 1; -x_33 = lean_usize_add(x_9, x_32); -x_9 = x_33; -x_10 = x_31; -x_19 = x_26; +x_28 = 1; +x_29 = lean_usize_add(x_9, x_28); +x_9 = x_29; +x_10 = x_27; +x_19 = x_24; goto _start; } } +block_45: +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_34); +if (lean_is_scalar(x_33)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_33; +} +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_32); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_23 = x_38; +x_24 = x_35; +goto block_31; +} +else +{ +uint8_t x_39; +lean_dec(x_32); +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_33; +} +lean_ctor_set(x_41, 0, x_6); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_34, 0, x_41); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_34, 0); +lean_inc(x_42); +lean_dec(x_34); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_33; +} +lean_ctor_set(x_43, 0, x_6); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_23 = x_44; +x_24 = x_35; +goto block_31; +} +} +} } } } @@ -8920,55 +11322,65 @@ 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_40; uint8_t x_41; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_51; uint8_t x_52; x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); +x_32 = lean_ctor_get(x_10, 1); +lean_inc(x_32); if (lean_is_exclusive(x_10)) { lean_ctor_release(x_10, 0); lean_ctor_release(x_10, 1); - x_24 = x_10; + x_33 = x_10; } else { lean_dec_ref(x_10); - x_24 = lean_box(0); + x_33 = lean_box(0); } -x_40 = lean_ctor_get(x_22, 0); -lean_inc(x_40); -x_41 = l_Int_Linear_Poly_isNegEq(x_2, x_40); -lean_dec(x_40); -if (x_41 == 0) +x_51 = lean_ctor_get(x_22, 0); +lean_inc(x_51); +x_52 = l_Int_Linear_Poly_isNegEq(x_2, x_51); +lean_dec(x_51); +if (x_52 == 0) { -lean_object* x_42; +lean_object* x_53; lean_dec(x_22); lean_inc(x_3); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_3); -x_25 = x_42; -x_26 = x_19; -goto block_39; +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_3); +x_34 = x_53; +x_35 = x_19; +goto block_50; } else { -lean_object* x_43; +lean_object* x_54; lean_inc(x_22); -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -if (lean_obj_tag(x_43) == 0) +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase(x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); lean_inc(x_1); -x_45 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_22); +x_56 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_56, 0, x_1); +lean_ctor_set(x_56, 1, x_22); lean_inc(x_2); -x_46 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_2, x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_2); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; +x_59 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_55); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_unbox(x_60); +lean_dec(x_60); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -8977,23 +11389,24 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_49 = lean_grind_cutsat_assert_eq(x_47, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_48); -if (lean_obj_tag(x_49) == 0) +x_64 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_63, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_62); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3; -x_25 = x_51; -x_26 = x_50; -goto block_39; +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_34 = x_65; +x_35 = x_66; +goto block_50; } else { -uint8_t x_52; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_67; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -9006,31 +11419,308 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_49); -if (x_52 == 0) +x_67 = !lean_is_exclusive(x_64); +if (x_67 == 0) { -return x_49; +return x_64; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_49, 0); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_49); -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; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_64, 0); +x_69 = lean_ctor_get(x_64, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_64); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -uint8_t x_56; -lean_dec(x_24); -lean_dec(x_23); +uint8_t x_71; +x_71 = !lean_is_exclusive(x_59); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_72 = lean_ctor_get(x_59, 1); +x_73 = lean_ctor_get(x_59, 0); +lean_dec(x_73); +lean_inc(x_57); +x_74 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_72); +x_75 = !lean_is_exclusive(x_74); +if (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; lean_object* x_82; lean_object* x_83; +x_76 = lean_ctor_get(x_74, 0); +x_77 = lean_ctor_get(x_74, 1); +x_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +lean_ctor_set_tag(x_74, 7); +lean_ctor_set(x_74, 1, x_76); +lean_ctor_set(x_74, 0, x_78); +x_79 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_79); +lean_ctor_set(x_59, 0, x_74); +x_80 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_77); +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_18); +lean_inc(x_17); +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_83 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_81, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +lean_dec(x_81); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_34 = x_84; +x_35 = x_85; +goto block_50; +} +else +{ +uint8_t x_86; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_86 = !lean_is_exclusive(x_83); +if (x_86 == 0) +{ +return x_83; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_83, 0); +x_88 = lean_ctor_get(x_83, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_83); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_90 = lean_ctor_get(x_74, 0); +x_91 = lean_ctor_get(x_74, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_74); +x_92 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +x_94 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_94); +lean_ctor_set(x_59, 0, x_93); +x_95 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_91); +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_18); +lean_inc(x_17); +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_98 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_96, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_97); +lean_dec(x_96); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_34 = x_99; +x_35 = x_100; +goto block_50; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_101 = lean_ctor_get(x_98, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_98, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_103 = x_98; +} else { + lean_dec_ref(x_98); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_105 = lean_ctor_get(x_59, 1); +lean_inc(x_105); +lean_dec(x_59); +lean_inc(x_57); +x_106 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_105); +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 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5; +if (lean_is_scalar(x_109)) { + x_111 = lean_alloc_ctor(7, 2, 0); +} else { + x_111 = x_109; + lean_ctor_set_tag(x_111, 7); +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_107); +x_112 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_113 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_58, x_113, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_108); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +lean_inc(x_18); +lean_inc(x_17); +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_117 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_57, x_115, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_116); +lean_dec(x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_34 = x_118; +x_35 = x_119; +goto block_50; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_17); +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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_120 = lean_ctor_get(x_117, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_117, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_122 = x_117; +} else { + lean_dec_ref(x_117); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_18); lean_dec(x_17); @@ -9044,31 +11734,31 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_43); -if (x_56 == 0) +x_124 = !lean_is_exclusive(x_54); +if (x_124 == 0) { -return x_43; +return x_54; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_43, 0); -x_58 = lean_ctor_get(x_43, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_43); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_54, 0); +x_126 = lean_ctor_get(x_54, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_54); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; } } } -block_39: +block_31: { -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_23) == 0) { -uint8_t x_27; +lean_object* x_25; lean_object* x_26; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -9081,67 +11771,118 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_25); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_ctor_set_tag(x_25, 1); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -if (lean_is_scalar(x_24)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_24; -} -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_23); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); lean_dec(x_23); -x_34 = lean_ctor_get(x_25, 0); -lean_inc(x_34); -lean_dec(x_25); -lean_inc(x_6); -if (lean_is_scalar(x_24)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_24; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } -lean_ctor_set(x_35, 0, x_6); -lean_ctor_set(x_35, 1, x_34); -x_36 = 1; -x_37 = lean_usize_add(x_9, x_36); -x_9 = x_37; -x_10 = x_35; -x_19 = x_26; +else +{ +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); +lean_dec(x_23); +x_28 = 1; +x_29 = lean_usize_add(x_9, x_28); +x_9 = x_29; +x_10 = x_27; +x_19 = x_24; goto _start; } } +block_50: +{ +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +if (lean_is_scalar(x_33)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_33; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_32); +lean_ctor_set(x_34, 0, x_39); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_40); +lean_dec(x_34); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +if (lean_is_scalar(x_33)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_33; +} +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_32); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_23 = x_43; +x_24 = x_35; +goto block_31; +} +} +else +{ +uint8_t x_44; +lean_dec(x_32); +x_44 = !lean_is_exclusive(x_34); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_34, 0); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_33; +} +lean_ctor_set(x_46, 0, x_6); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_34, 0, x_46); +x_23 = x_34; +x_24 = x_35; +goto block_31; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_34, 0); +lean_inc(x_47); +lean_dec(x_34); +lean_inc(x_6); +if (lean_is_scalar(x_33)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_33; +} +lean_ctor_set(x_48, 0, x_6); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_23 = x_49; +x_24 = x_35; +goto block_31; +} +} +} } } } @@ -9912,6 +12653,15 @@ lean_dec(x_4); return x_23; } } +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -11501,7 +14251,7 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_206; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_233; x_23 = lean_array_uget(x_8, x_10); x_24 = lean_ctor_get(x_11, 1); lean_inc(x_24); @@ -11517,38 +14267,38 @@ x_37 = lean_ctor_get(x_2, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_23, 0); lean_inc(x_38); -x_206 = l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(x_37, x_38); -if (x_206 == 0) +x_233 = l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(x_37, x_38); +if (x_233 == 0) { -uint8_t x_207; -x_207 = l_Int_Linear_Poly_isNegEq(x_37, x_38); -if (x_207 == 0) +uint8_t x_234; +x_234 = l_Int_Linear_Poly_isNegEq(x_37, x_38); +if (x_234 == 0) { -lean_object* x_208; +lean_object* x_235; lean_dec(x_38); lean_dec(x_37); lean_dec(x_23); lean_inc(x_4); -x_208 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_208, 0, x_4); -x_26 = x_208; +x_235 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_235, 0, x_4); +x_26 = x_235; x_27 = x_20; goto block_36; } else { -lean_object* x_209; -x_209 = lean_box(0); -x_39 = x_209; -goto block_205; +lean_object* x_236; +x_236 = lean_box(0); +x_39 = x_236; +goto block_232; } } else { -lean_object* x_210; -x_210 = lean_box(0); -x_39 = x_210; -goto block_205; +lean_object* x_237; +x_237 = lean_box(0); +x_39 = x_237; +goto block_232; } block_36: { @@ -11595,9 +14345,9 @@ x_20 = x_27; goto _start; } } -block_205: +block_232: { -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_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_dec(x_39); x_40 = lean_st_ref_take(x_12, x_20); x_41 = lean_ctor_get(x_40, 0); @@ -11606,271 +14356,218 @@ x_42 = lean_ctor_get(x_41, 13); lean_inc(x_42); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -x_45 = !lean_is_exclusive(x_41); -if (x_45 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_41, 13); +lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_45 = lean_ctor_get(x_40, 1); +x_46 = lean_ctor_get(x_40, 0); lean_dec(x_46); -x_47 = !lean_is_exclusive(x_42); +x_47 = !lean_is_exclusive(x_41); if (x_47 == 0) { lean_object* x_48; uint8_t x_49; -x_48 = lean_ctor_get(x_42, 1); +x_48 = lean_ctor_get(x_41, 13); lean_dec(x_48); -x_49 = !lean_is_exclusive(x_43); +x_49 = !lean_is_exclusive(x_42); if (x_49 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_50 = lean_ctor_get(x_43, 5); -x_51 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_50, x_1); +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_42, 1); +lean_dec(x_50); +x_51 = !lean_is_exclusive(x_43); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = lean_ctor_get(x_43, 5); +x_53 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_52, x_1); lean_dec(x_38); -lean_ctor_set(x_43, 5, x_51); -x_52 = lean_st_ref_set(x_12, x_41, x_44); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +lean_ctor_set(x_43, 5, x_53); +x_54 = lean_st_ref_set(x_12, x_41, x_45); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_54 = lean_ctor_get(x_52, 1); -x_55 = lean_ctor_get(x_52, 0); -lean_dec(x_55); -x_56 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_57 = l_Int_Linear_Poly_addConst(x_37, x_56); +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_54, 1); +x_57 = lean_ctor_get(x_54, 0); +lean_dec(x_57); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_59 = l_Int_Linear_Poly_addConst(x_37, x_58); lean_inc(x_2); -lean_ctor_set_tag(x_52, 6); -lean_ctor_set(x_52, 1, x_23); -lean_ctor_set(x_52, 0, x_2); -x_58 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_57, x_52, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_54); -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_60 = lean_ctor_get(x_58, 0); -x_61 = lean_ctor_get(x_58, 1); -x_62 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_62, 0, x_60); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_62); -x_64 = lean_box(0); -lean_ctor_set(x_58, 1, x_64); -lean_ctor_set(x_58, 0, x_63); -x_65 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_65, 0, x_58); -x_26 = x_65; -x_27 = x_61; +lean_ctor_set_tag(x_54, 6); +lean_ctor_set(x_54, 1, x_23); +lean_ctor_set(x_54, 0, x_2); +lean_ctor_set(x_40, 1, x_54); +lean_ctor_set(x_40, 0, x_59); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_40); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_box(0); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_26 = x_64; +x_27 = x_56; goto block_36; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_66 = lean_ctor_get(x_58, 0); -x_67 = lean_ctor_get(x_58, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_58); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_66); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_65 = lean_ctor_get(x_54, 1); +lean_inc(x_65); +lean_dec(x_54); +x_66 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_67 = l_Int_Linear_Poly_addConst(x_37, x_66); +lean_inc(x_2); +x_68 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_68, 0, x_2); +lean_ctor_set(x_68, 1, x_23); +lean_ctor_set(x_40, 1, x_68); +lean_ctor_set(x_40, 0, x_67); x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_70 = lean_box(0); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_26 = x_72; -x_27 = x_67; +lean_ctor_set(x_69, 0, x_40); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_box(0); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_26 = x_73; +x_27 = x_65; goto block_36; } } 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; 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_73 = lean_ctor_get(x_52, 1); -lean_inc(x_73); -lean_dec(x_52); -x_74 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_75 = l_Int_Linear_Poly_addConst(x_37, x_74); -lean_inc(x_2); -x_76 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_76, 0, x_2); -lean_ctor_set(x_76, 1, x_23); -x_77 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_75, x_76, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_73); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_80 = x_77; -} else { - lean_dec_ref(x_77); - x_80 = lean_box(0); -} -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_78); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_81); -x_83 = lean_box(0); -if (lean_is_scalar(x_80)) { - x_84 = lean_alloc_ctor(0, 2, 0); -} else { - x_84 = x_80; -} -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_26 = x_85; -x_27 = x_79; -goto block_36; -} -} -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; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_86 = lean_ctor_get(x_43, 0); -x_87 = lean_ctor_get(x_43, 1); -x_88 = lean_ctor_get(x_43, 2); -x_89 = lean_ctor_get(x_43, 3); -x_90 = lean_ctor_get(x_43, 4); -x_91 = lean_ctor_get(x_43, 5); -x_92 = lean_ctor_get(x_43, 6); -x_93 = lean_ctor_get(x_43, 7); -x_94 = lean_ctor_get(x_43, 8); -x_95 = lean_ctor_get(x_43, 9); -x_96 = lean_ctor_get(x_43, 10); -x_97 = lean_ctor_get(x_43, 11); -x_98 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); -x_99 = lean_ctor_get(x_43, 12); -x_100 = lean_ctor_get(x_43, 13); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); +lean_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; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_74 = lean_ctor_get(x_43, 0); +x_75 = lean_ctor_get(x_43, 1); +x_76 = lean_ctor_get(x_43, 2); +x_77 = lean_ctor_get(x_43, 3); +x_78 = lean_ctor_get(x_43, 4); +x_79 = lean_ctor_get(x_43, 5); +x_80 = lean_ctor_get(x_43, 6); +x_81 = lean_ctor_get(x_43, 7); +x_82 = lean_ctor_get(x_43, 8); +x_83 = lean_ctor_get(x_43, 9); +x_84 = lean_ctor_get(x_43, 10); +x_85 = lean_ctor_get(x_43, 11); +x_86 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); +x_87 = lean_ctor_get(x_43, 12); +x_88 = lean_ctor_get(x_43, 13); lean_inc(x_88); lean_inc(x_87); -lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_inc(x_74); lean_dec(x_43); -x_101 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_91, x_1); +x_89 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_79, x_1); lean_dec(x_38); -x_102 = lean_alloc_ctor(0, 14, 1); -lean_ctor_set(x_102, 0, x_86); -lean_ctor_set(x_102, 1, x_87); -lean_ctor_set(x_102, 2, x_88); -lean_ctor_set(x_102, 3, x_89); -lean_ctor_set(x_102, 4, x_90); -lean_ctor_set(x_102, 5, x_101); -lean_ctor_set(x_102, 6, x_92); -lean_ctor_set(x_102, 7, x_93); -lean_ctor_set(x_102, 8, x_94); -lean_ctor_set(x_102, 9, x_95); -lean_ctor_set(x_102, 10, x_96); -lean_ctor_set(x_102, 11, x_97); -lean_ctor_set(x_102, 12, x_99); -lean_ctor_set(x_102, 13, x_100); -lean_ctor_set_uint8(x_102, sizeof(void*)*14, x_98); -lean_ctor_set(x_42, 1, x_102); -x_103 = lean_st_ref_set(x_12, x_41, x_44); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; +x_90 = lean_alloc_ctor(0, 14, 1); +lean_ctor_set(x_90, 0, x_74); +lean_ctor_set(x_90, 1, x_75); +lean_ctor_set(x_90, 2, x_76); +lean_ctor_set(x_90, 3, x_77); +lean_ctor_set(x_90, 4, x_78); +lean_ctor_set(x_90, 5, x_89); +lean_ctor_set(x_90, 6, x_80); +lean_ctor_set(x_90, 7, x_81); +lean_ctor_set(x_90, 8, x_82); +lean_ctor_set(x_90, 9, x_83); +lean_ctor_set(x_90, 10, x_84); +lean_ctor_set(x_90, 11, x_85); +lean_ctor_set(x_90, 12, x_87); +lean_ctor_set(x_90, 13, x_88); +lean_ctor_set_uint8(x_90, sizeof(void*)*14, x_86); +lean_ctor_set(x_42, 1, x_90); +x_91 = lean_st_ref_set(x_12, x_41, x_45); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_93 = x_91; } else { - lean_dec_ref(x_103); - x_105 = lean_box(0); + lean_dec_ref(x_91); + x_93 = lean_box(0); } -x_106 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_107 = l_Int_Linear_Poly_addConst(x_37, x_106); +x_94 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_95 = l_Int_Linear_Poly_addConst(x_37, x_94); lean_inc(x_2); -if (lean_is_scalar(x_105)) { - x_108 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_93)) { + x_96 = lean_alloc_ctor(6, 2, 0); } else { - x_108 = x_105; - lean_ctor_set_tag(x_108, 6); + x_96 = x_93; + lean_ctor_set_tag(x_96, 6); } -lean_ctor_set(x_108, 0, x_2); -lean_ctor_set(x_108, 1, x_23); -x_109 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_107, x_108, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_104); -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_113, 0, x_110); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_113); -x_115 = lean_box(0); -if (lean_is_scalar(x_112)) { - x_116 = lean_alloc_ctor(0, 2, 0); -} else { - x_116 = x_112; -} -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_26 = x_117; -x_27 = x_111; +lean_ctor_set(x_96, 0, x_2); +lean_ctor_set(x_96, 1, x_23); +lean_ctor_set(x_40, 1, x_96); +lean_ctor_set(x_40, 0, x_95); +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_40); +x_98 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_98, 0, x_97); +x_99 = lean_box(0); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +x_101 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_101, 0, x_100); +x_26 = x_101; +x_27 = x_92; goto block_36; } } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_118 = lean_ctor_get(x_42, 0); -lean_inc(x_118); +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; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_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_102 = lean_ctor_get(x_42, 0); +lean_inc(x_102); lean_dec(x_42); -x_119 = lean_ctor_get(x_43, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_43, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_43, 2); -lean_inc(x_121); -x_122 = lean_ctor_get(x_43, 3); -lean_inc(x_122); -x_123 = lean_ctor_get(x_43, 4); -lean_inc(x_123); -x_124 = lean_ctor_get(x_43, 5); -lean_inc(x_124); -x_125 = lean_ctor_get(x_43, 6); -lean_inc(x_125); -x_126 = lean_ctor_get(x_43, 7); -lean_inc(x_126); -x_127 = lean_ctor_get(x_43, 8); -lean_inc(x_127); -x_128 = lean_ctor_get(x_43, 9); -lean_inc(x_128); -x_129 = lean_ctor_get(x_43, 10); -lean_inc(x_129); -x_130 = lean_ctor_get(x_43, 11); -lean_inc(x_130); -x_131 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); -x_132 = lean_ctor_get(x_43, 12); -lean_inc(x_132); -x_133 = lean_ctor_get(x_43, 13); -lean_inc(x_133); +x_103 = lean_ctor_get(x_43, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_43, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_43, 2); +lean_inc(x_105); +x_106 = lean_ctor_get(x_43, 3); +lean_inc(x_106); +x_107 = lean_ctor_get(x_43, 4); +lean_inc(x_107); +x_108 = lean_ctor_get(x_43, 5); +lean_inc(x_108); +x_109 = lean_ctor_get(x_43, 6); +lean_inc(x_109); +x_110 = lean_ctor_get(x_43, 7); +lean_inc(x_110); +x_111 = lean_ctor_get(x_43, 8); +lean_inc(x_111); +x_112 = lean_ctor_get(x_43, 9); +lean_inc(x_112); +x_113 = lean_ctor_get(x_43, 10); +lean_inc(x_113); +x_114 = lean_ctor_get(x_43, 11); +lean_inc(x_114); +x_115 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); +x_116 = lean_ctor_get(x_43, 12); +lean_inc(x_116); +x_117 = lean_ctor_get(x_43, 13); +lean_inc(x_117); if (lean_is_exclusive(x_43)) { lean_ctor_release(x_43, 0); lean_ctor_release(x_43, 1); @@ -11886,163 +14583,148 @@ if (lean_is_exclusive(x_43)) { lean_ctor_release(x_43, 11); lean_ctor_release(x_43, 12); lean_ctor_release(x_43, 13); - x_134 = x_43; + x_118 = x_43; } else { lean_dec_ref(x_43); - x_134 = lean_box(0); + x_118 = lean_box(0); } -x_135 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_124, x_1); +x_119 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_108, x_1); lean_dec(x_38); -if (lean_is_scalar(x_134)) { - x_136 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_118)) { + x_120 = lean_alloc_ctor(0, 14, 1); } else { - x_136 = x_134; + x_120 = x_118; } -lean_ctor_set(x_136, 0, x_119); -lean_ctor_set(x_136, 1, x_120); -lean_ctor_set(x_136, 2, x_121); -lean_ctor_set(x_136, 3, x_122); -lean_ctor_set(x_136, 4, x_123); -lean_ctor_set(x_136, 5, x_135); -lean_ctor_set(x_136, 6, x_125); -lean_ctor_set(x_136, 7, x_126); -lean_ctor_set(x_136, 8, x_127); -lean_ctor_set(x_136, 9, x_128); -lean_ctor_set(x_136, 10, x_129); -lean_ctor_set(x_136, 11, x_130); -lean_ctor_set(x_136, 12, x_132); -lean_ctor_set(x_136, 13, x_133); -lean_ctor_set_uint8(x_136, sizeof(void*)*14, x_131); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_118); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set(x_41, 13, x_137); -x_138 = lean_st_ref_set(x_12, x_41, x_44); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_140 = x_138; +lean_ctor_set(x_120, 0, x_103); +lean_ctor_set(x_120, 1, x_104); +lean_ctor_set(x_120, 2, x_105); +lean_ctor_set(x_120, 3, x_106); +lean_ctor_set(x_120, 4, x_107); +lean_ctor_set(x_120, 5, x_119); +lean_ctor_set(x_120, 6, x_109); +lean_ctor_set(x_120, 7, x_110); +lean_ctor_set(x_120, 8, x_111); +lean_ctor_set(x_120, 9, x_112); +lean_ctor_set(x_120, 10, x_113); +lean_ctor_set(x_120, 11, x_114); +lean_ctor_set(x_120, 12, x_116); +lean_ctor_set(x_120, 13, x_117); +lean_ctor_set_uint8(x_120, sizeof(void*)*14, x_115); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_102); +lean_ctor_set(x_121, 1, x_120); +lean_ctor_set(x_41, 13, x_121); +x_122 = lean_st_ref_set(x_12, x_41, x_45); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; } else { - lean_dec_ref(x_138); - x_140 = lean_box(0); + lean_dec_ref(x_122); + x_124 = lean_box(0); } -x_141 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_142 = l_Int_Linear_Poly_addConst(x_37, x_141); +x_125 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_126 = l_Int_Linear_Poly_addConst(x_37, x_125); lean_inc(x_2); -if (lean_is_scalar(x_140)) { - x_143 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_124)) { + x_127 = lean_alloc_ctor(6, 2, 0); } else { - x_143 = x_140; - lean_ctor_set_tag(x_143, 6); + x_127 = x_124; + lean_ctor_set_tag(x_127, 6); } -lean_ctor_set(x_143, 0, x_2); -lean_ctor_set(x_143, 1, x_23); -x_144 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_142, x_143, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_139); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_147 = x_144; -} else { - lean_dec_ref(x_144); - x_147 = lean_box(0); -} -x_148 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_148, 0, x_145); -x_149 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_149, 0, x_148); -x_150 = lean_box(0); -if (lean_is_scalar(x_147)) { - x_151 = lean_alloc_ctor(0, 2, 0); -} else { - x_151 = x_147; -} -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_152, 0, x_151); -x_26 = x_152; -x_27 = x_146; +lean_ctor_set(x_127, 0, x_2); +lean_ctor_set(x_127, 1, x_23); +lean_ctor_set(x_40, 1, x_127); +lean_ctor_set(x_40, 0, x_126); +x_128 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_128, 0, x_40); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_128); +x_130 = lean_box(0); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +x_132 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_26 = x_132; +x_27 = x_123; goto block_36; } } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_153 = lean_ctor_get(x_41, 0); -x_154 = lean_ctor_get(x_41, 1); -x_155 = lean_ctor_get(x_41, 2); -x_156 = lean_ctor_get(x_41, 3); -x_157 = lean_ctor_get(x_41, 4); -x_158 = lean_ctor_get(x_41, 5); -x_159 = lean_ctor_get(x_41, 6); -x_160 = lean_ctor_get_uint8(x_41, sizeof(void*)*15); -x_161 = lean_ctor_get(x_41, 7); -x_162 = lean_ctor_get(x_41, 8); -x_163 = lean_ctor_get(x_41, 9); -x_164 = lean_ctor_get(x_41, 10); -x_165 = lean_ctor_get(x_41, 11); -x_166 = lean_ctor_get(x_41, 12); -x_167 = lean_ctor_get(x_41, 14); -lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); -lean_inc(x_164); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_inc(x_156); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_133 = lean_ctor_get(x_41, 0); +x_134 = lean_ctor_get(x_41, 1); +x_135 = lean_ctor_get(x_41, 2); +x_136 = lean_ctor_get(x_41, 3); +x_137 = lean_ctor_get(x_41, 4); +x_138 = lean_ctor_get(x_41, 5); +x_139 = lean_ctor_get(x_41, 6); +x_140 = lean_ctor_get_uint8(x_41, sizeof(void*)*15); +x_141 = lean_ctor_get(x_41, 7); +x_142 = lean_ctor_get(x_41, 8); +x_143 = lean_ctor_get(x_41, 9); +x_144 = lean_ctor_get(x_41, 10); +x_145 = lean_ctor_get(x_41, 11); +x_146 = lean_ctor_get(x_41, 12); +x_147 = lean_ctor_get(x_41, 14); +lean_inc(x_147); +lean_inc(x_146); +lean_inc(x_145); +lean_inc(x_144); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +lean_inc(x_139); +lean_inc(x_138); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_inc(x_134); +lean_inc(x_133); lean_dec(x_41); -x_168 = lean_ctor_get(x_42, 0); -lean_inc(x_168); +x_148 = lean_ctor_get(x_42, 0); +lean_inc(x_148); if (lean_is_exclusive(x_42)) { lean_ctor_release(x_42, 0); lean_ctor_release(x_42, 1); - x_169 = x_42; + x_149 = x_42; } else { lean_dec_ref(x_42); - x_169 = lean_box(0); + x_149 = lean_box(0); } -x_170 = lean_ctor_get(x_43, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_43, 1); -lean_inc(x_171); -x_172 = lean_ctor_get(x_43, 2); -lean_inc(x_172); -x_173 = lean_ctor_get(x_43, 3); -lean_inc(x_173); -x_174 = lean_ctor_get(x_43, 4); -lean_inc(x_174); -x_175 = lean_ctor_get(x_43, 5); -lean_inc(x_175); -x_176 = lean_ctor_get(x_43, 6); -lean_inc(x_176); -x_177 = lean_ctor_get(x_43, 7); -lean_inc(x_177); -x_178 = lean_ctor_get(x_43, 8); -lean_inc(x_178); -x_179 = lean_ctor_get(x_43, 9); -lean_inc(x_179); -x_180 = lean_ctor_get(x_43, 10); -lean_inc(x_180); -x_181 = lean_ctor_get(x_43, 11); -lean_inc(x_181); -x_182 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); -x_183 = lean_ctor_get(x_43, 12); -lean_inc(x_183); -x_184 = lean_ctor_get(x_43, 13); -lean_inc(x_184); +x_150 = lean_ctor_get(x_43, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_43, 1); +lean_inc(x_151); +x_152 = lean_ctor_get(x_43, 2); +lean_inc(x_152); +x_153 = lean_ctor_get(x_43, 3); +lean_inc(x_153); +x_154 = lean_ctor_get(x_43, 4); +lean_inc(x_154); +x_155 = lean_ctor_get(x_43, 5); +lean_inc(x_155); +x_156 = lean_ctor_get(x_43, 6); +lean_inc(x_156); +x_157 = lean_ctor_get(x_43, 7); +lean_inc(x_157); +x_158 = lean_ctor_get(x_43, 8); +lean_inc(x_158); +x_159 = lean_ctor_get(x_43, 9); +lean_inc(x_159); +x_160 = lean_ctor_get(x_43, 10); +lean_inc(x_160); +x_161 = lean_ctor_get(x_43, 11); +lean_inc(x_161); +x_162 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); +x_163 = lean_ctor_get(x_43, 12); +lean_inc(x_163); +x_164 = lean_ctor_get(x_43, 13); +lean_inc(x_164); if (lean_is_exclusive(x_43)) { lean_ctor_release(x_43, 0); lean_ctor_release(x_43, 1); @@ -12058,108 +14740,298 @@ if (lean_is_exclusive(x_43)) { lean_ctor_release(x_43, 11); lean_ctor_release(x_43, 12); lean_ctor_release(x_43, 13); - x_185 = x_43; + x_165 = x_43; } else { lean_dec_ref(x_43); - x_185 = lean_box(0); + x_165 = lean_box(0); } -x_186 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_175, x_1); +x_166 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_155, x_1); lean_dec(x_38); -if (lean_is_scalar(x_185)) { - x_187 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_165)) { + x_167 = lean_alloc_ctor(0, 14, 1); } else { - x_187 = x_185; + x_167 = x_165; } -lean_ctor_set(x_187, 0, x_170); -lean_ctor_set(x_187, 1, x_171); -lean_ctor_set(x_187, 2, x_172); -lean_ctor_set(x_187, 3, x_173); -lean_ctor_set(x_187, 4, x_174); -lean_ctor_set(x_187, 5, x_186); -lean_ctor_set(x_187, 6, x_176); -lean_ctor_set(x_187, 7, x_177); -lean_ctor_set(x_187, 8, x_178); -lean_ctor_set(x_187, 9, x_179); -lean_ctor_set(x_187, 10, x_180); -lean_ctor_set(x_187, 11, x_181); -lean_ctor_set(x_187, 12, x_183); -lean_ctor_set(x_187, 13, x_184); -lean_ctor_set_uint8(x_187, sizeof(void*)*14, x_182); -if (lean_is_scalar(x_169)) { - x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_150); +lean_ctor_set(x_167, 1, x_151); +lean_ctor_set(x_167, 2, x_152); +lean_ctor_set(x_167, 3, x_153); +lean_ctor_set(x_167, 4, x_154); +lean_ctor_set(x_167, 5, x_166); +lean_ctor_set(x_167, 6, x_156); +lean_ctor_set(x_167, 7, x_157); +lean_ctor_set(x_167, 8, x_158); +lean_ctor_set(x_167, 9, x_159); +lean_ctor_set(x_167, 10, x_160); +lean_ctor_set(x_167, 11, x_161); +lean_ctor_set(x_167, 12, x_163); +lean_ctor_set(x_167, 13, x_164); +lean_ctor_set_uint8(x_167, sizeof(void*)*14, x_162); +if (lean_is_scalar(x_149)) { + x_168 = lean_alloc_ctor(0, 2, 0); } else { - x_188 = x_169; + x_168 = x_149; } -lean_ctor_set(x_188, 0, x_168); -lean_ctor_set(x_188, 1, x_187); -x_189 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_189, 0, x_153); -lean_ctor_set(x_189, 1, x_154); -lean_ctor_set(x_189, 2, x_155); -lean_ctor_set(x_189, 3, x_156); -lean_ctor_set(x_189, 4, x_157); -lean_ctor_set(x_189, 5, x_158); -lean_ctor_set(x_189, 6, x_159); -lean_ctor_set(x_189, 7, x_161); -lean_ctor_set(x_189, 8, x_162); -lean_ctor_set(x_189, 9, x_163); -lean_ctor_set(x_189, 10, x_164); -lean_ctor_set(x_189, 11, x_165); -lean_ctor_set(x_189, 12, x_166); -lean_ctor_set(x_189, 13, x_188); -lean_ctor_set(x_189, 14, x_167); -lean_ctor_set_uint8(x_189, sizeof(void*)*15, x_160); -x_190 = lean_st_ref_set(x_12, x_189, x_44); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - x_192 = x_190; +lean_ctor_set(x_168, 0, x_148); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_169, 0, x_133); +lean_ctor_set(x_169, 1, x_134); +lean_ctor_set(x_169, 2, x_135); +lean_ctor_set(x_169, 3, x_136); +lean_ctor_set(x_169, 4, x_137); +lean_ctor_set(x_169, 5, x_138); +lean_ctor_set(x_169, 6, x_139); +lean_ctor_set(x_169, 7, x_141); +lean_ctor_set(x_169, 8, x_142); +lean_ctor_set(x_169, 9, x_143); +lean_ctor_set(x_169, 10, x_144); +lean_ctor_set(x_169, 11, x_145); +lean_ctor_set(x_169, 12, x_146); +lean_ctor_set(x_169, 13, x_168); +lean_ctor_set(x_169, 14, x_147); +lean_ctor_set_uint8(x_169, sizeof(void*)*15, x_140); +x_170 = lean_st_ref_set(x_12, x_169, x_45); +x_171 = lean_ctor_get(x_170, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_172 = x_170; } else { - lean_dec_ref(x_190); - x_192 = lean_box(0); + lean_dec_ref(x_170); + x_172 = lean_box(0); } -x_193 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_194 = l_Int_Linear_Poly_addConst(x_37, x_193); +x_173 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_174 = l_Int_Linear_Poly_addConst(x_37, x_173); lean_inc(x_2); -if (lean_is_scalar(x_192)) { - x_195 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_172)) { + x_175 = lean_alloc_ctor(6, 2, 0); } else { - x_195 = x_192; - lean_ctor_set_tag(x_195, 6); + x_175 = x_172; + lean_ctor_set_tag(x_175, 6); } -lean_ctor_set(x_195, 0, x_2); -lean_ctor_set(x_195, 1, x_23); -x_196 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_194, x_195, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_191); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -if (lean_is_exclusive(x_196)) { - lean_ctor_release(x_196, 0); - lean_ctor_release(x_196, 1); - x_199 = x_196; +lean_ctor_set(x_175, 0, x_2); +lean_ctor_set(x_175, 1, x_23); +lean_ctor_set(x_40, 1, x_175); +lean_ctor_set(x_40, 0, x_174); +x_176 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_176, 0, x_40); +x_177 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_177, 0, x_176); +x_178 = lean_box(0); +x_179 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +x_180 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_180, 0, x_179); +x_26 = x_180; +x_27 = x_171; +goto block_36; +} +} +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; uint8_t x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_181 = lean_ctor_get(x_40, 1); +lean_inc(x_181); +lean_dec(x_40); +x_182 = lean_ctor_get(x_41, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_41, 1); +lean_inc(x_183); +x_184 = lean_ctor_get(x_41, 2); +lean_inc(x_184); +x_185 = lean_ctor_get(x_41, 3); +lean_inc(x_185); +x_186 = lean_ctor_get(x_41, 4); +lean_inc(x_186); +x_187 = lean_ctor_get(x_41, 5); +lean_inc(x_187); +x_188 = lean_ctor_get(x_41, 6); +lean_inc(x_188); +x_189 = lean_ctor_get_uint8(x_41, sizeof(void*)*15); +x_190 = lean_ctor_get(x_41, 7); +lean_inc(x_190); +x_191 = lean_ctor_get(x_41, 8); +lean_inc(x_191); +x_192 = lean_ctor_get(x_41, 9); +lean_inc(x_192); +x_193 = lean_ctor_get(x_41, 10); +lean_inc(x_193); +x_194 = lean_ctor_get(x_41, 11); +lean_inc(x_194); +x_195 = lean_ctor_get(x_41, 12); +lean_inc(x_195); +x_196 = lean_ctor_get(x_41, 14); +lean_inc(x_196); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + lean_ctor_release(x_41, 3); + lean_ctor_release(x_41, 4); + lean_ctor_release(x_41, 5); + lean_ctor_release(x_41, 6); + lean_ctor_release(x_41, 7); + lean_ctor_release(x_41, 8); + lean_ctor_release(x_41, 9); + lean_ctor_release(x_41, 10); + lean_ctor_release(x_41, 11); + lean_ctor_release(x_41, 12); + lean_ctor_release(x_41, 13); + lean_ctor_release(x_41, 14); + x_197 = x_41; } else { - lean_dec_ref(x_196); + lean_dec_ref(x_41); + x_197 = lean_box(0); +} +x_198 = lean_ctor_get(x_42, 0); +lean_inc(x_198); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_199 = x_42; +} else { + lean_dec_ref(x_42); x_199 = lean_box(0); } -x_200 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_200, 0, x_197); -x_201 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_201, 0, x_200); -x_202 = lean_box(0); -if (lean_is_scalar(x_199)) { - x_203 = lean_alloc_ctor(0, 2, 0); +x_200 = lean_ctor_get(x_43, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_43, 1); +lean_inc(x_201); +x_202 = lean_ctor_get(x_43, 2); +lean_inc(x_202); +x_203 = lean_ctor_get(x_43, 3); +lean_inc(x_203); +x_204 = lean_ctor_get(x_43, 4); +lean_inc(x_204); +x_205 = lean_ctor_get(x_43, 5); +lean_inc(x_205); +x_206 = lean_ctor_get(x_43, 6); +lean_inc(x_206); +x_207 = lean_ctor_get(x_43, 7); +lean_inc(x_207); +x_208 = lean_ctor_get(x_43, 8); +lean_inc(x_208); +x_209 = lean_ctor_get(x_43, 9); +lean_inc(x_209); +x_210 = lean_ctor_get(x_43, 10); +lean_inc(x_210); +x_211 = lean_ctor_get(x_43, 11); +lean_inc(x_211); +x_212 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); +x_213 = lean_ctor_get(x_43, 12); +lean_inc(x_213); +x_214 = lean_ctor_get(x_43, 13); +lean_inc(x_214); +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); + lean_ctor_release(x_43, 4); + lean_ctor_release(x_43, 5); + lean_ctor_release(x_43, 6); + lean_ctor_release(x_43, 7); + lean_ctor_release(x_43, 8); + lean_ctor_release(x_43, 9); + lean_ctor_release(x_43, 10); + lean_ctor_release(x_43, 11); + lean_ctor_release(x_43, 12); + lean_ctor_release(x_43, 13); + x_215 = x_43; } else { - x_203 = x_199; + lean_dec_ref(x_43); + x_215 = lean_box(0); } -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -x_204 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_204, 0, x_203); -x_26 = x_204; -x_27 = x_198; +x_216 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_205, x_1); +lean_dec(x_38); +if (lean_is_scalar(x_215)) { + x_217 = lean_alloc_ctor(0, 14, 1); +} else { + x_217 = x_215; +} +lean_ctor_set(x_217, 0, x_200); +lean_ctor_set(x_217, 1, x_201); +lean_ctor_set(x_217, 2, x_202); +lean_ctor_set(x_217, 3, x_203); +lean_ctor_set(x_217, 4, x_204); +lean_ctor_set(x_217, 5, x_216); +lean_ctor_set(x_217, 6, x_206); +lean_ctor_set(x_217, 7, x_207); +lean_ctor_set(x_217, 8, x_208); +lean_ctor_set(x_217, 9, x_209); +lean_ctor_set(x_217, 10, x_210); +lean_ctor_set(x_217, 11, x_211); +lean_ctor_set(x_217, 12, x_213); +lean_ctor_set(x_217, 13, x_214); +lean_ctor_set_uint8(x_217, sizeof(void*)*14, x_212); +if (lean_is_scalar(x_199)) { + x_218 = lean_alloc_ctor(0, 2, 0); +} else { + x_218 = x_199; +} +lean_ctor_set(x_218, 0, x_198); +lean_ctor_set(x_218, 1, x_217); +if (lean_is_scalar(x_197)) { + x_219 = lean_alloc_ctor(0, 15, 1); +} else { + x_219 = x_197; +} +lean_ctor_set(x_219, 0, x_182); +lean_ctor_set(x_219, 1, x_183); +lean_ctor_set(x_219, 2, x_184); +lean_ctor_set(x_219, 3, x_185); +lean_ctor_set(x_219, 4, x_186); +lean_ctor_set(x_219, 5, x_187); +lean_ctor_set(x_219, 6, x_188); +lean_ctor_set(x_219, 7, x_190); +lean_ctor_set(x_219, 8, x_191); +lean_ctor_set(x_219, 9, x_192); +lean_ctor_set(x_219, 10, x_193); +lean_ctor_set(x_219, 11, x_194); +lean_ctor_set(x_219, 12, x_195); +lean_ctor_set(x_219, 13, x_218); +lean_ctor_set(x_219, 14, x_196); +lean_ctor_set_uint8(x_219, sizeof(void*)*15, x_189); +x_220 = lean_st_ref_set(x_12, x_219, x_181); +x_221 = lean_ctor_get(x_220, 1); +lean_inc(x_221); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + x_222 = x_220; +} else { + lean_dec_ref(x_220); + x_222 = lean_box(0); +} +x_223 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_224 = l_Int_Linear_Poly_addConst(x_37, x_223); +lean_inc(x_2); +if (lean_is_scalar(x_222)) { + x_225 = lean_alloc_ctor(6, 2, 0); +} else { + x_225 = x_222; + lean_ctor_set_tag(x_225, 6); +} +lean_ctor_set(x_225, 0, x_2); +lean_ctor_set(x_225, 1, x_23); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +x_227 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_227, 0, x_226); +x_228 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_228, 0, x_227); +x_229 = lean_box(0); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_228); +lean_ctor_set(x_230, 1, x_229); +x_231 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_231, 0, x_230); +x_26 = x_231; +x_27 = x_221; goto block_36; } } @@ -12311,7 +15183,7 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_210; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_237; x_23 = lean_array_uget(x_8, x_10); x_24 = lean_ctor_get(x_11, 1); lean_inc(x_24); @@ -12327,38 +15199,38 @@ x_41 = lean_ctor_get(x_2, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_23, 0); lean_inc(x_42); -x_210 = l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(x_41, x_42); -if (x_210 == 0) +x_237 = l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(x_41, x_42); +if (x_237 == 0) { -uint8_t x_211; -x_211 = l_Int_Linear_Poly_isNegEq(x_41, x_42); -if (x_211 == 0) +uint8_t x_238; +x_238 = l_Int_Linear_Poly_isNegEq(x_41, x_42); +if (x_238 == 0) { -lean_object* x_212; +lean_object* x_239; lean_dec(x_42); lean_dec(x_41); lean_dec(x_23); lean_inc(x_4); -x_212 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_212, 0, x_4); -x_26 = x_212; +x_239 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_239, 0, x_4); +x_26 = x_239; x_27 = x_20; goto block_40; } else { -lean_object* x_213; -x_213 = lean_box(0); -x_43 = x_213; -goto block_209; +lean_object* x_240; +x_240 = lean_box(0); +x_43 = x_240; +goto block_236; } } else { -lean_object* x_214; -x_214 = lean_box(0); -x_43 = x_214; -goto block_209; +lean_object* x_241; +x_241 = lean_box(0); +x_43 = x_241; +goto block_236; } block_40: { @@ -12429,9 +15301,9 @@ x_20 = x_27; goto _start; } } -block_209: +block_236: { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_dec(x_43); x_44 = lean_st_ref_take(x_12, x_20); x_45 = lean_ctor_get(x_44, 0); @@ -12440,271 +15312,218 @@ x_46 = lean_ctor_get(x_45, 13); lean_inc(x_46); x_47 = lean_ctor_get(x_46, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -x_49 = !lean_is_exclusive(x_45); -if (x_49 == 0) +x_48 = !lean_is_exclusive(x_44); +if (x_48 == 0) { -lean_object* x_50; uint8_t x_51; -x_50 = lean_ctor_get(x_45, 13); +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = lean_ctor_get(x_44, 1); +x_50 = lean_ctor_get(x_44, 0); lean_dec(x_50); -x_51 = !lean_is_exclusive(x_46); +x_51 = !lean_is_exclusive(x_45); if (x_51 == 0) { lean_object* x_52; uint8_t x_53; -x_52 = lean_ctor_get(x_46, 1); +x_52 = lean_ctor_get(x_45, 13); lean_dec(x_52); -x_53 = !lean_is_exclusive(x_47); +x_53 = !lean_is_exclusive(x_46); if (x_53 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = lean_ctor_get(x_47, 5); -x_55 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_54, x_1); +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_46, 1); +lean_dec(x_54); +x_55 = !lean_is_exclusive(x_47); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = lean_ctor_get(x_47, 5); +x_57 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_56, x_1); lean_dec(x_42); -lean_ctor_set(x_47, 5, x_55); -x_56 = lean_st_ref_set(x_12, x_45, x_48); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +lean_ctor_set(x_47, 5, x_57); +x_58 = lean_st_ref_set(x_12, x_45, x_49); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_58 = lean_ctor_get(x_56, 1); -x_59 = lean_ctor_get(x_56, 0); -lean_dec(x_59); -x_60 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_61 = l_Int_Linear_Poly_addConst(x_41, x_60); +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_ctor_get(x_58, 1); +x_61 = lean_ctor_get(x_58, 0); +lean_dec(x_61); +x_62 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_63 = l_Int_Linear_Poly_addConst(x_41, x_62); lean_inc(x_2); -lean_ctor_set_tag(x_56, 6); -lean_ctor_set(x_56, 1, x_23); -lean_ctor_set(x_56, 0, x_2); -x_62 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_61, x_56, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_58); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_62, 1); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_64); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_66); -x_68 = lean_box(0); -lean_ctor_set(x_62, 1, x_68); -lean_ctor_set(x_62, 0, x_67); -x_69 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_69, 0, x_62); -x_26 = x_69; -x_27 = x_65; +lean_ctor_set_tag(x_58, 6); +lean_ctor_set(x_58, 1, x_23); +lean_ctor_set(x_58, 0, x_2); +lean_ctor_set(x_44, 1, x_58); +lean_ctor_set(x_44, 0, x_63); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_44); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_box(0); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_68, 0, x_67); +x_26 = x_68; +x_27 = x_60; goto block_40; } 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; -x_70 = lean_ctor_get(x_62, 0); -x_71 = lean_ctor_get(x_62, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_62); -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_70); +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_ctor_get(x_58, 1); +lean_inc(x_69); +lean_dec(x_58); +x_70 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_71 = l_Int_Linear_Poly_addConst(x_41, x_70); +lean_inc(x_2); +x_72 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_72, 0, x_2); +lean_ctor_set(x_72, 1, x_23); +lean_ctor_set(x_44, 1, x_72); +lean_ctor_set(x_44, 0, x_71); x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_72); -x_74 = lean_box(0); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_26 = x_76; -x_27 = x_71; +lean_ctor_set(x_73, 0, x_44); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = lean_box(0); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_26 = x_77; +x_27 = x_69; goto block_40; } } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_77 = lean_ctor_get(x_56, 1); -lean_inc(x_77); -lean_dec(x_56); -x_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_79 = l_Int_Linear_Poly_addConst(x_41, x_78); -lean_inc(x_2); -x_80 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_80, 0, x_2); -lean_ctor_set(x_80, 1, x_23); -x_81 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_79, x_80, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_77); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_84 = x_81; -} else { - lean_dec_ref(x_81); - x_84 = lean_box(0); -} -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_82); -x_86 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_86, 0, x_85); -x_87 = lean_box(0); -if (lean_is_scalar(x_84)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_84; -} -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_26 = x_89; -x_27 = x_83; -goto block_40; -} -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_90 = lean_ctor_get(x_47, 0); -x_91 = lean_ctor_get(x_47, 1); -x_92 = lean_ctor_get(x_47, 2); -x_93 = lean_ctor_get(x_47, 3); -x_94 = lean_ctor_get(x_47, 4); -x_95 = lean_ctor_get(x_47, 5); -x_96 = lean_ctor_get(x_47, 6); -x_97 = lean_ctor_get(x_47, 7); -x_98 = lean_ctor_get(x_47, 8); -x_99 = lean_ctor_get(x_47, 9); -x_100 = lean_ctor_get(x_47, 10); -x_101 = lean_ctor_get(x_47, 11); -x_102 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); -x_103 = lean_ctor_get(x_47, 12); -x_104 = lean_ctor_get(x_47, 13); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); +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; uint8_t 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; +x_78 = lean_ctor_get(x_47, 0); +x_79 = lean_ctor_get(x_47, 1); +x_80 = lean_ctor_get(x_47, 2); +x_81 = lean_ctor_get(x_47, 3); +x_82 = lean_ctor_get(x_47, 4); +x_83 = lean_ctor_get(x_47, 5); +x_84 = lean_ctor_get(x_47, 6); +x_85 = lean_ctor_get(x_47, 7); +x_86 = lean_ctor_get(x_47, 8); +x_87 = lean_ctor_get(x_47, 9); +x_88 = lean_ctor_get(x_47, 10); +x_89 = lean_ctor_get(x_47, 11); +x_90 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); +x_91 = lean_ctor_get(x_47, 12); +x_92 = lean_ctor_get(x_47, 13); lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); lean_dec(x_47); -x_105 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_95, x_1); +x_93 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_83, x_1); lean_dec(x_42); -x_106 = lean_alloc_ctor(0, 14, 1); -lean_ctor_set(x_106, 0, x_90); -lean_ctor_set(x_106, 1, x_91); -lean_ctor_set(x_106, 2, x_92); -lean_ctor_set(x_106, 3, x_93); -lean_ctor_set(x_106, 4, x_94); -lean_ctor_set(x_106, 5, x_105); -lean_ctor_set(x_106, 6, x_96); -lean_ctor_set(x_106, 7, x_97); -lean_ctor_set(x_106, 8, x_98); -lean_ctor_set(x_106, 9, x_99); -lean_ctor_set(x_106, 10, x_100); -lean_ctor_set(x_106, 11, x_101); -lean_ctor_set(x_106, 12, x_103); -lean_ctor_set(x_106, 13, x_104); -lean_ctor_set_uint8(x_106, sizeof(void*)*14, x_102); -lean_ctor_set(x_46, 1, x_106); -x_107 = lean_st_ref_set(x_12, x_45, x_48); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_109 = x_107; +x_94 = lean_alloc_ctor(0, 14, 1); +lean_ctor_set(x_94, 0, x_78); +lean_ctor_set(x_94, 1, x_79); +lean_ctor_set(x_94, 2, x_80); +lean_ctor_set(x_94, 3, x_81); +lean_ctor_set(x_94, 4, x_82); +lean_ctor_set(x_94, 5, x_93); +lean_ctor_set(x_94, 6, x_84); +lean_ctor_set(x_94, 7, x_85); +lean_ctor_set(x_94, 8, x_86); +lean_ctor_set(x_94, 9, x_87); +lean_ctor_set(x_94, 10, x_88); +lean_ctor_set(x_94, 11, x_89); +lean_ctor_set(x_94, 12, x_91); +lean_ctor_set(x_94, 13, x_92); +lean_ctor_set_uint8(x_94, sizeof(void*)*14, x_90); +lean_ctor_set(x_46, 1, x_94); +x_95 = lean_st_ref_set(x_12, x_45, x_49); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; } else { - lean_dec_ref(x_107); - x_109 = lean_box(0); + lean_dec_ref(x_95); + x_97 = lean_box(0); } -x_110 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_111 = l_Int_Linear_Poly_addConst(x_41, x_110); +x_98 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_99 = l_Int_Linear_Poly_addConst(x_41, x_98); lean_inc(x_2); -if (lean_is_scalar(x_109)) { - x_112 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_97)) { + x_100 = lean_alloc_ctor(6, 2, 0); } else { - x_112 = x_109; - lean_ctor_set_tag(x_112, 6); + x_100 = x_97; + lean_ctor_set_tag(x_100, 6); } -lean_ctor_set(x_112, 0, x_2); -lean_ctor_set(x_112, 1, x_23); -x_113 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_111, x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_108); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_116 = x_113; -} else { - lean_dec_ref(x_113); - x_116 = lean_box(0); -} -x_117 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_117, 0, x_114); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = lean_box(0); -if (lean_is_scalar(x_116)) { - x_120 = lean_alloc_ctor(0, 2, 0); -} else { - x_120 = x_116; -} -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_121, 0, x_120); -x_26 = x_121; -x_27 = x_115; +lean_ctor_set(x_100, 0, x_2); +lean_ctor_set(x_100, 1, x_23); +lean_ctor_set(x_44, 1, x_100); +lean_ctor_set(x_44, 0, x_99); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_44); +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_101); +x_103 = lean_box(0); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +x_105 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_105, 0, x_104); +x_26 = x_105; +x_27 = x_96; goto block_40; } } else { -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; uint8_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_122 = lean_ctor_get(x_46, 0); -lean_inc(x_122); +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; uint8_t 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; +x_106 = lean_ctor_get(x_46, 0); +lean_inc(x_106); lean_dec(x_46); -x_123 = lean_ctor_get(x_47, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_47, 1); -lean_inc(x_124); -x_125 = lean_ctor_get(x_47, 2); -lean_inc(x_125); -x_126 = lean_ctor_get(x_47, 3); -lean_inc(x_126); -x_127 = lean_ctor_get(x_47, 4); -lean_inc(x_127); -x_128 = lean_ctor_get(x_47, 5); -lean_inc(x_128); -x_129 = lean_ctor_get(x_47, 6); -lean_inc(x_129); -x_130 = lean_ctor_get(x_47, 7); -lean_inc(x_130); -x_131 = lean_ctor_get(x_47, 8); -lean_inc(x_131); -x_132 = lean_ctor_get(x_47, 9); -lean_inc(x_132); -x_133 = lean_ctor_get(x_47, 10); -lean_inc(x_133); -x_134 = lean_ctor_get(x_47, 11); -lean_inc(x_134); -x_135 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); -x_136 = lean_ctor_get(x_47, 12); -lean_inc(x_136); -x_137 = lean_ctor_get(x_47, 13); -lean_inc(x_137); +x_107 = lean_ctor_get(x_47, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_47, 1); +lean_inc(x_108); +x_109 = lean_ctor_get(x_47, 2); +lean_inc(x_109); +x_110 = lean_ctor_get(x_47, 3); +lean_inc(x_110); +x_111 = lean_ctor_get(x_47, 4); +lean_inc(x_111); +x_112 = lean_ctor_get(x_47, 5); +lean_inc(x_112); +x_113 = lean_ctor_get(x_47, 6); +lean_inc(x_113); +x_114 = lean_ctor_get(x_47, 7); +lean_inc(x_114); +x_115 = lean_ctor_get(x_47, 8); +lean_inc(x_115); +x_116 = lean_ctor_get(x_47, 9); +lean_inc(x_116); +x_117 = lean_ctor_get(x_47, 10); +lean_inc(x_117); +x_118 = lean_ctor_get(x_47, 11); +lean_inc(x_118); +x_119 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); +x_120 = lean_ctor_get(x_47, 12); +lean_inc(x_120); +x_121 = lean_ctor_get(x_47, 13); +lean_inc(x_121); if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 0); lean_ctor_release(x_47, 1); @@ -12720,163 +15539,148 @@ if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 11); lean_ctor_release(x_47, 12); lean_ctor_release(x_47, 13); - x_138 = x_47; + x_122 = x_47; } else { lean_dec_ref(x_47); - x_138 = lean_box(0); + x_122 = lean_box(0); } -x_139 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_128, x_1); +x_123 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_112, x_1); lean_dec(x_42); -if (lean_is_scalar(x_138)) { - x_140 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_122)) { + x_124 = lean_alloc_ctor(0, 14, 1); } else { - x_140 = x_138; + x_124 = x_122; } -lean_ctor_set(x_140, 0, x_123); -lean_ctor_set(x_140, 1, x_124); -lean_ctor_set(x_140, 2, x_125); -lean_ctor_set(x_140, 3, x_126); -lean_ctor_set(x_140, 4, x_127); -lean_ctor_set(x_140, 5, x_139); -lean_ctor_set(x_140, 6, x_129); -lean_ctor_set(x_140, 7, x_130); -lean_ctor_set(x_140, 8, x_131); -lean_ctor_set(x_140, 9, x_132); -lean_ctor_set(x_140, 10, x_133); -lean_ctor_set(x_140, 11, x_134); -lean_ctor_set(x_140, 12, x_136); -lean_ctor_set(x_140, 13, x_137); -lean_ctor_set_uint8(x_140, sizeof(void*)*14, x_135); -x_141 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_141, 0, x_122); -lean_ctor_set(x_141, 1, x_140); -lean_ctor_set(x_45, 13, x_141); -x_142 = lean_st_ref_set(x_12, x_45, x_48); -x_143 = lean_ctor_get(x_142, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_144 = x_142; +lean_ctor_set(x_124, 0, x_107); +lean_ctor_set(x_124, 1, x_108); +lean_ctor_set(x_124, 2, x_109); +lean_ctor_set(x_124, 3, x_110); +lean_ctor_set(x_124, 4, x_111); +lean_ctor_set(x_124, 5, x_123); +lean_ctor_set(x_124, 6, x_113); +lean_ctor_set(x_124, 7, x_114); +lean_ctor_set(x_124, 8, x_115); +lean_ctor_set(x_124, 9, x_116); +lean_ctor_set(x_124, 10, x_117); +lean_ctor_set(x_124, 11, x_118); +lean_ctor_set(x_124, 12, x_120); +lean_ctor_set(x_124, 13, x_121); +lean_ctor_set_uint8(x_124, sizeof(void*)*14, x_119); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_106); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_45, 13, x_125); +x_126 = lean_st_ref_set(x_12, x_45, x_49); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_128 = x_126; } else { - lean_dec_ref(x_142); - x_144 = lean_box(0); + lean_dec_ref(x_126); + x_128 = lean_box(0); } -x_145 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_146 = l_Int_Linear_Poly_addConst(x_41, x_145); +x_129 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_130 = l_Int_Linear_Poly_addConst(x_41, x_129); lean_inc(x_2); -if (lean_is_scalar(x_144)) { - x_147 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_128)) { + x_131 = lean_alloc_ctor(6, 2, 0); } else { - x_147 = x_144; - lean_ctor_set_tag(x_147, 6); + x_131 = x_128; + lean_ctor_set_tag(x_131, 6); } -lean_ctor_set(x_147, 0, x_2); -lean_ctor_set(x_147, 1, x_23); -x_148 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_146, x_147, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_143); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_151 = x_148; -} else { - lean_dec_ref(x_148); - x_151 = lean_box(0); -} -x_152 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_152, 0, x_149); -x_153 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_153, 0, x_152); -x_154 = lean_box(0); -if (lean_is_scalar(x_151)) { - x_155 = lean_alloc_ctor(0, 2, 0); -} else { - x_155 = x_151; -} -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -x_156 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_156, 0, x_155); -x_26 = x_156; -x_27 = x_150; +lean_ctor_set(x_131, 0, x_2); +lean_ctor_set(x_131, 1, x_23); +lean_ctor_set(x_44, 1, x_131); +lean_ctor_set(x_44, 0, x_130); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_44); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_134 = lean_box(0); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_26 = x_136; +x_27 = x_127; goto block_40; } } 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; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_157 = lean_ctor_get(x_45, 0); -x_158 = lean_ctor_get(x_45, 1); -x_159 = lean_ctor_get(x_45, 2); -x_160 = lean_ctor_get(x_45, 3); -x_161 = lean_ctor_get(x_45, 4); -x_162 = lean_ctor_get(x_45, 5); -x_163 = lean_ctor_get(x_45, 6); -x_164 = lean_ctor_get_uint8(x_45, sizeof(void*)*15); -x_165 = lean_ctor_get(x_45, 7); -x_166 = lean_ctor_get(x_45, 8); -x_167 = lean_ctor_get(x_45, 9); -x_168 = lean_ctor_get(x_45, 10); -x_169 = lean_ctor_get(x_45, 11); -x_170 = lean_ctor_get(x_45, 12); -x_171 = lean_ctor_get(x_45, 14); -lean_inc(x_171); -lean_inc(x_170); -lean_inc(x_169); -lean_inc(x_168); -lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); +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; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_137 = lean_ctor_get(x_45, 0); +x_138 = lean_ctor_get(x_45, 1); +x_139 = lean_ctor_get(x_45, 2); +x_140 = lean_ctor_get(x_45, 3); +x_141 = lean_ctor_get(x_45, 4); +x_142 = lean_ctor_get(x_45, 5); +x_143 = lean_ctor_get(x_45, 6); +x_144 = lean_ctor_get_uint8(x_45, sizeof(void*)*15); +x_145 = lean_ctor_get(x_45, 7); +x_146 = lean_ctor_get(x_45, 8); +x_147 = lean_ctor_get(x_45, 9); +x_148 = lean_ctor_get(x_45, 10); +x_149 = lean_ctor_get(x_45, 11); +x_150 = lean_ctor_get(x_45, 12); +x_151 = lean_ctor_get(x_45, 14); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_inc(x_146); +lean_inc(x_145); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_138); +lean_inc(x_137); lean_dec(x_45); -x_172 = lean_ctor_get(x_46, 0); -lean_inc(x_172); +x_152 = lean_ctor_get(x_46, 0); +lean_inc(x_152); if (lean_is_exclusive(x_46)) { lean_ctor_release(x_46, 0); lean_ctor_release(x_46, 1); - x_173 = x_46; + x_153 = x_46; } else { lean_dec_ref(x_46); - x_173 = lean_box(0); + x_153 = lean_box(0); } -x_174 = lean_ctor_get(x_47, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_47, 1); -lean_inc(x_175); -x_176 = lean_ctor_get(x_47, 2); -lean_inc(x_176); -x_177 = lean_ctor_get(x_47, 3); -lean_inc(x_177); -x_178 = lean_ctor_get(x_47, 4); -lean_inc(x_178); -x_179 = lean_ctor_get(x_47, 5); -lean_inc(x_179); -x_180 = lean_ctor_get(x_47, 6); -lean_inc(x_180); -x_181 = lean_ctor_get(x_47, 7); -lean_inc(x_181); -x_182 = lean_ctor_get(x_47, 8); -lean_inc(x_182); -x_183 = lean_ctor_get(x_47, 9); -lean_inc(x_183); -x_184 = lean_ctor_get(x_47, 10); -lean_inc(x_184); -x_185 = lean_ctor_get(x_47, 11); -lean_inc(x_185); -x_186 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); -x_187 = lean_ctor_get(x_47, 12); -lean_inc(x_187); -x_188 = lean_ctor_get(x_47, 13); -lean_inc(x_188); +x_154 = lean_ctor_get(x_47, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_47, 1); +lean_inc(x_155); +x_156 = lean_ctor_get(x_47, 2); +lean_inc(x_156); +x_157 = lean_ctor_get(x_47, 3); +lean_inc(x_157); +x_158 = lean_ctor_get(x_47, 4); +lean_inc(x_158); +x_159 = lean_ctor_get(x_47, 5); +lean_inc(x_159); +x_160 = lean_ctor_get(x_47, 6); +lean_inc(x_160); +x_161 = lean_ctor_get(x_47, 7); +lean_inc(x_161); +x_162 = lean_ctor_get(x_47, 8); +lean_inc(x_162); +x_163 = lean_ctor_get(x_47, 9); +lean_inc(x_163); +x_164 = lean_ctor_get(x_47, 10); +lean_inc(x_164); +x_165 = lean_ctor_get(x_47, 11); +lean_inc(x_165); +x_166 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); +x_167 = lean_ctor_get(x_47, 12); +lean_inc(x_167); +x_168 = lean_ctor_get(x_47, 13); +lean_inc(x_168); if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 0); lean_ctor_release(x_47, 1); @@ -12892,108 +15696,298 @@ if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 11); lean_ctor_release(x_47, 12); lean_ctor_release(x_47, 13); - x_189 = x_47; + x_169 = x_47; } else { lean_dec_ref(x_47); - x_189 = lean_box(0); + x_169 = lean_box(0); } -x_190 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_179, x_1); +x_170 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_159, x_1); lean_dec(x_42); -if (lean_is_scalar(x_189)) { - x_191 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_169)) { + x_171 = lean_alloc_ctor(0, 14, 1); } else { - x_191 = x_189; + x_171 = x_169; } -lean_ctor_set(x_191, 0, x_174); -lean_ctor_set(x_191, 1, x_175); -lean_ctor_set(x_191, 2, x_176); -lean_ctor_set(x_191, 3, x_177); -lean_ctor_set(x_191, 4, x_178); -lean_ctor_set(x_191, 5, x_190); -lean_ctor_set(x_191, 6, x_180); -lean_ctor_set(x_191, 7, x_181); -lean_ctor_set(x_191, 8, x_182); -lean_ctor_set(x_191, 9, x_183); -lean_ctor_set(x_191, 10, x_184); -lean_ctor_set(x_191, 11, x_185); -lean_ctor_set(x_191, 12, x_187); -lean_ctor_set(x_191, 13, x_188); -lean_ctor_set_uint8(x_191, sizeof(void*)*14, x_186); -if (lean_is_scalar(x_173)) { - x_192 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_154); +lean_ctor_set(x_171, 1, x_155); +lean_ctor_set(x_171, 2, x_156); +lean_ctor_set(x_171, 3, x_157); +lean_ctor_set(x_171, 4, x_158); +lean_ctor_set(x_171, 5, x_170); +lean_ctor_set(x_171, 6, x_160); +lean_ctor_set(x_171, 7, x_161); +lean_ctor_set(x_171, 8, x_162); +lean_ctor_set(x_171, 9, x_163); +lean_ctor_set(x_171, 10, x_164); +lean_ctor_set(x_171, 11, x_165); +lean_ctor_set(x_171, 12, x_167); +lean_ctor_set(x_171, 13, x_168); +lean_ctor_set_uint8(x_171, sizeof(void*)*14, x_166); +if (lean_is_scalar(x_153)) { + x_172 = lean_alloc_ctor(0, 2, 0); } else { - x_192 = x_173; + x_172 = x_153; } -lean_ctor_set(x_192, 0, x_172); -lean_ctor_set(x_192, 1, x_191); -x_193 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_193, 0, x_157); -lean_ctor_set(x_193, 1, x_158); -lean_ctor_set(x_193, 2, x_159); -lean_ctor_set(x_193, 3, x_160); -lean_ctor_set(x_193, 4, x_161); -lean_ctor_set(x_193, 5, x_162); -lean_ctor_set(x_193, 6, x_163); -lean_ctor_set(x_193, 7, x_165); -lean_ctor_set(x_193, 8, x_166); -lean_ctor_set(x_193, 9, x_167); -lean_ctor_set(x_193, 10, x_168); -lean_ctor_set(x_193, 11, x_169); -lean_ctor_set(x_193, 12, x_170); -lean_ctor_set(x_193, 13, x_192); -lean_ctor_set(x_193, 14, x_171); -lean_ctor_set_uint8(x_193, sizeof(void*)*15, x_164); -x_194 = lean_st_ref_set(x_12, x_193, x_48); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - x_196 = x_194; +lean_ctor_set(x_172, 0, x_152); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_173, 0, x_137); +lean_ctor_set(x_173, 1, x_138); +lean_ctor_set(x_173, 2, x_139); +lean_ctor_set(x_173, 3, x_140); +lean_ctor_set(x_173, 4, x_141); +lean_ctor_set(x_173, 5, x_142); +lean_ctor_set(x_173, 6, x_143); +lean_ctor_set(x_173, 7, x_145); +lean_ctor_set(x_173, 8, x_146); +lean_ctor_set(x_173, 9, x_147); +lean_ctor_set(x_173, 10, x_148); +lean_ctor_set(x_173, 11, x_149); +lean_ctor_set(x_173, 12, x_150); +lean_ctor_set(x_173, 13, x_172); +lean_ctor_set(x_173, 14, x_151); +lean_ctor_set_uint8(x_173, sizeof(void*)*15, x_144); +x_174 = lean_st_ref_set(x_12, x_173, x_49); +x_175 = lean_ctor_get(x_174, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_176 = x_174; } else { - lean_dec_ref(x_194); - x_196 = lean_box(0); + lean_dec_ref(x_174); + x_176 = lean_box(0); } -x_197 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_198 = l_Int_Linear_Poly_addConst(x_41, x_197); +x_177 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_178 = l_Int_Linear_Poly_addConst(x_41, x_177); lean_inc(x_2); -if (lean_is_scalar(x_196)) { - x_199 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_176)) { + x_179 = lean_alloc_ctor(6, 2, 0); } else { - x_199 = x_196; - lean_ctor_set_tag(x_199, 6); + x_179 = x_176; + lean_ctor_set_tag(x_179, 6); } -lean_ctor_set(x_199, 0, x_2); -lean_ctor_set(x_199, 1, x_23); -x_200 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_198, x_199, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_195); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_200)) { - lean_ctor_release(x_200, 0); - lean_ctor_release(x_200, 1); - x_203 = x_200; +lean_ctor_set(x_179, 0, x_2); +lean_ctor_set(x_179, 1, x_23); +lean_ctor_set(x_44, 1, x_179); +lean_ctor_set(x_44, 0, x_178); +x_180 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_180, 0, x_44); +x_181 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_181, 0, x_180); +x_182 = lean_box(0); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +x_184 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_184, 0, x_183); +x_26 = x_184; +x_27 = x_175; +goto block_40; +} +} +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; uint8_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_185 = lean_ctor_get(x_44, 1); +lean_inc(x_185); +lean_dec(x_44); +x_186 = lean_ctor_get(x_45, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_45, 1); +lean_inc(x_187); +x_188 = lean_ctor_get(x_45, 2); +lean_inc(x_188); +x_189 = lean_ctor_get(x_45, 3); +lean_inc(x_189); +x_190 = lean_ctor_get(x_45, 4); +lean_inc(x_190); +x_191 = lean_ctor_get(x_45, 5); +lean_inc(x_191); +x_192 = lean_ctor_get(x_45, 6); +lean_inc(x_192); +x_193 = lean_ctor_get_uint8(x_45, sizeof(void*)*15); +x_194 = lean_ctor_get(x_45, 7); +lean_inc(x_194); +x_195 = lean_ctor_get(x_45, 8); +lean_inc(x_195); +x_196 = lean_ctor_get(x_45, 9); +lean_inc(x_196); +x_197 = lean_ctor_get(x_45, 10); +lean_inc(x_197); +x_198 = lean_ctor_get(x_45, 11); +lean_inc(x_198); +x_199 = lean_ctor_get(x_45, 12); +lean_inc(x_199); +x_200 = lean_ctor_get(x_45, 14); +lean_inc(x_200); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + lean_ctor_release(x_45, 2); + lean_ctor_release(x_45, 3); + lean_ctor_release(x_45, 4); + lean_ctor_release(x_45, 5); + lean_ctor_release(x_45, 6); + lean_ctor_release(x_45, 7); + lean_ctor_release(x_45, 8); + lean_ctor_release(x_45, 9); + lean_ctor_release(x_45, 10); + lean_ctor_release(x_45, 11); + lean_ctor_release(x_45, 12); + lean_ctor_release(x_45, 13); + lean_ctor_release(x_45, 14); + x_201 = x_45; } else { - lean_dec_ref(x_200); + lean_dec_ref(x_45); + x_201 = lean_box(0); +} +x_202 = lean_ctor_get(x_46, 0); +lean_inc(x_202); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_203 = x_46; +} else { + lean_dec_ref(x_46); x_203 = lean_box(0); } -x_204 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_204, 0, x_201); -x_205 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_205, 0, x_204); -x_206 = lean_box(0); -if (lean_is_scalar(x_203)) { - x_207 = lean_alloc_ctor(0, 2, 0); +x_204 = lean_ctor_get(x_47, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_47, 1); +lean_inc(x_205); +x_206 = lean_ctor_get(x_47, 2); +lean_inc(x_206); +x_207 = lean_ctor_get(x_47, 3); +lean_inc(x_207); +x_208 = lean_ctor_get(x_47, 4); +lean_inc(x_208); +x_209 = lean_ctor_get(x_47, 5); +lean_inc(x_209); +x_210 = lean_ctor_get(x_47, 6); +lean_inc(x_210); +x_211 = lean_ctor_get(x_47, 7); +lean_inc(x_211); +x_212 = lean_ctor_get(x_47, 8); +lean_inc(x_212); +x_213 = lean_ctor_get(x_47, 9); +lean_inc(x_213); +x_214 = lean_ctor_get(x_47, 10); +lean_inc(x_214); +x_215 = lean_ctor_get(x_47, 11); +lean_inc(x_215); +x_216 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); +x_217 = lean_ctor_get(x_47, 12); +lean_inc(x_217); +x_218 = lean_ctor_get(x_47, 13); +lean_inc(x_218); +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); + lean_ctor_release(x_47, 4); + lean_ctor_release(x_47, 5); + lean_ctor_release(x_47, 6); + lean_ctor_release(x_47, 7); + lean_ctor_release(x_47, 8); + lean_ctor_release(x_47, 9); + lean_ctor_release(x_47, 10); + lean_ctor_release(x_47, 11); + lean_ctor_release(x_47, 12); + lean_ctor_release(x_47, 13); + x_219 = x_47; } else { - x_207 = x_203; + lean_dec_ref(x_47); + x_219 = lean_box(0); } -lean_ctor_set(x_207, 0, x_205); -lean_ctor_set(x_207, 1, x_206); -x_208 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_208, 0, x_207); -x_26 = x_208; -x_27 = x_202; +x_220 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_209, x_1); +lean_dec(x_42); +if (lean_is_scalar(x_219)) { + x_221 = lean_alloc_ctor(0, 14, 1); +} else { + x_221 = x_219; +} +lean_ctor_set(x_221, 0, x_204); +lean_ctor_set(x_221, 1, x_205); +lean_ctor_set(x_221, 2, x_206); +lean_ctor_set(x_221, 3, x_207); +lean_ctor_set(x_221, 4, x_208); +lean_ctor_set(x_221, 5, x_220); +lean_ctor_set(x_221, 6, x_210); +lean_ctor_set(x_221, 7, x_211); +lean_ctor_set(x_221, 8, x_212); +lean_ctor_set(x_221, 9, x_213); +lean_ctor_set(x_221, 10, x_214); +lean_ctor_set(x_221, 11, x_215); +lean_ctor_set(x_221, 12, x_217); +lean_ctor_set(x_221, 13, x_218); +lean_ctor_set_uint8(x_221, sizeof(void*)*14, x_216); +if (lean_is_scalar(x_203)) { + x_222 = lean_alloc_ctor(0, 2, 0); +} else { + x_222 = x_203; +} +lean_ctor_set(x_222, 0, x_202); +lean_ctor_set(x_222, 1, x_221); +if (lean_is_scalar(x_201)) { + x_223 = lean_alloc_ctor(0, 15, 1); +} else { + x_223 = x_201; +} +lean_ctor_set(x_223, 0, x_186); +lean_ctor_set(x_223, 1, x_187); +lean_ctor_set(x_223, 2, x_188); +lean_ctor_set(x_223, 3, x_189); +lean_ctor_set(x_223, 4, x_190); +lean_ctor_set(x_223, 5, x_191); +lean_ctor_set(x_223, 6, x_192); +lean_ctor_set(x_223, 7, x_194); +lean_ctor_set(x_223, 8, x_195); +lean_ctor_set(x_223, 9, x_196); +lean_ctor_set(x_223, 10, x_197); +lean_ctor_set(x_223, 11, x_198); +lean_ctor_set(x_223, 12, x_199); +lean_ctor_set(x_223, 13, x_222); +lean_ctor_set(x_223, 14, x_200); +lean_ctor_set_uint8(x_223, sizeof(void*)*15, x_193); +x_224 = lean_st_ref_set(x_12, x_223, x_185); +x_225 = lean_ctor_get(x_224, 1); +lean_inc(x_225); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + x_226 = x_224; +} else { + lean_dec_ref(x_224); + x_226 = lean_box(0); +} +x_227 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_228 = l_Int_Linear_Poly_addConst(x_41, x_227); +lean_inc(x_2); +if (lean_is_scalar(x_226)) { + x_229 = lean_alloc_ctor(6, 2, 0); +} else { + x_229 = x_226; + lean_ctor_set_tag(x_229, 6); +} +lean_ctor_set(x_229, 0, x_2); +lean_ctor_set(x_229, 1, x_23); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_228); +lean_ctor_set(x_230, 1, x_229); +x_231 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_231, 0, x_230); +x_232 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_232, 0, x_231); +x_233 = lean_box(0); +x_234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_233); +x_235 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_235, 0, x_234); +x_26 = x_235; +x_27 = x_225; goto block_40; } } @@ -13303,7 +16297,7 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_206; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_233; x_23 = lean_array_uget(x_8, x_10); x_24 = lean_ctor_get(x_11, 1); lean_inc(x_24); @@ -13319,38 +16313,38 @@ x_37 = lean_ctor_get(x_2, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_23, 0); lean_inc(x_38); -x_206 = l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(x_37, x_38); -if (x_206 == 0) +x_233 = l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(x_37, x_38); +if (x_233 == 0) { -uint8_t x_207; -x_207 = l_Int_Linear_Poly_isNegEq(x_37, x_38); -if (x_207 == 0) +uint8_t x_234; +x_234 = l_Int_Linear_Poly_isNegEq(x_37, x_38); +if (x_234 == 0) { -lean_object* x_208; +lean_object* x_235; lean_dec(x_38); lean_dec(x_37); lean_dec(x_23); lean_inc(x_4); -x_208 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_208, 0, x_4); -x_26 = x_208; +x_235 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_235, 0, x_4); +x_26 = x_235; x_27 = x_20; goto block_36; } else { -lean_object* x_209; -x_209 = lean_box(0); -x_39 = x_209; -goto block_205; +lean_object* x_236; +x_236 = lean_box(0); +x_39 = x_236; +goto block_232; } } else { -lean_object* x_210; -x_210 = lean_box(0); -x_39 = x_210; -goto block_205; +lean_object* x_237; +x_237 = lean_box(0); +x_39 = x_237; +goto block_232; } block_36: { @@ -13397,9 +16391,9 @@ x_20 = x_27; goto _start; } } -block_205: +block_232: { -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_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_dec(x_39); x_40 = lean_st_ref_take(x_12, x_20); x_41 = lean_ctor_get(x_40, 0); @@ -13408,271 +16402,218 @@ x_42 = lean_ctor_get(x_41, 13); lean_inc(x_42); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -x_45 = !lean_is_exclusive(x_41); -if (x_45 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_41, 13); +lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_45 = lean_ctor_get(x_40, 1); +x_46 = lean_ctor_get(x_40, 0); lean_dec(x_46); -x_47 = !lean_is_exclusive(x_42); +x_47 = !lean_is_exclusive(x_41); if (x_47 == 0) { lean_object* x_48; uint8_t x_49; -x_48 = lean_ctor_get(x_42, 1); +x_48 = lean_ctor_get(x_41, 13); lean_dec(x_48); -x_49 = !lean_is_exclusive(x_43); +x_49 = !lean_is_exclusive(x_42); if (x_49 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_50 = lean_ctor_get(x_43, 5); -x_51 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_50, x_1); +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_42, 1); +lean_dec(x_50); +x_51 = !lean_is_exclusive(x_43); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = lean_ctor_get(x_43, 5); +x_53 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_52, x_1); lean_dec(x_38); -lean_ctor_set(x_43, 5, x_51); -x_52 = lean_st_ref_set(x_12, x_41, x_44); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +lean_ctor_set(x_43, 5, x_53); +x_54 = lean_st_ref_set(x_12, x_41, x_45); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_54 = lean_ctor_get(x_52, 1); -x_55 = lean_ctor_get(x_52, 0); -lean_dec(x_55); -x_56 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_57 = l_Int_Linear_Poly_addConst(x_37, x_56); +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_54, 1); +x_57 = lean_ctor_get(x_54, 0); +lean_dec(x_57); +x_58 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_59 = l_Int_Linear_Poly_addConst(x_37, x_58); lean_inc(x_2); -lean_ctor_set_tag(x_52, 6); -lean_ctor_set(x_52, 1, x_23); -lean_ctor_set(x_52, 0, x_2); -x_58 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_57, x_52, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_54); -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_60 = lean_ctor_get(x_58, 0); -x_61 = lean_ctor_get(x_58, 1); -x_62 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_62, 0, x_60); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_62); -x_64 = lean_box(0); -lean_ctor_set(x_58, 1, x_64); -lean_ctor_set(x_58, 0, x_63); -x_65 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_65, 0, x_58); -x_26 = x_65; -x_27 = x_61; +lean_ctor_set_tag(x_54, 6); +lean_ctor_set(x_54, 1, x_23); +lean_ctor_set(x_54, 0, x_2); +lean_ctor_set(x_40, 1, x_54); +lean_ctor_set(x_40, 0, x_59); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_40); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_box(0); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_26 = x_64; +x_27 = x_56; goto block_36; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_66 = lean_ctor_get(x_58, 0); -x_67 = lean_ctor_get(x_58, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_58); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_66); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_65 = lean_ctor_get(x_54, 1); +lean_inc(x_65); +lean_dec(x_54); +x_66 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_67 = l_Int_Linear_Poly_addConst(x_37, x_66); +lean_inc(x_2); +x_68 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_68, 0, x_2); +lean_ctor_set(x_68, 1, x_23); +lean_ctor_set(x_40, 1, x_68); +lean_ctor_set(x_40, 0, x_67); x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_70 = lean_box(0); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_26 = x_72; -x_27 = x_67; +lean_ctor_set(x_69, 0, x_40); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_box(0); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_26 = x_73; +x_27 = x_65; goto block_36; } } 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; 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_73 = lean_ctor_get(x_52, 1); -lean_inc(x_73); -lean_dec(x_52); -x_74 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_75 = l_Int_Linear_Poly_addConst(x_37, x_74); -lean_inc(x_2); -x_76 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_76, 0, x_2); -lean_ctor_set(x_76, 1, x_23); -x_77 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_75, x_76, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_73); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_80 = x_77; -} else { - lean_dec_ref(x_77); - x_80 = lean_box(0); -} -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_78); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_81); -x_83 = lean_box(0); -if (lean_is_scalar(x_80)) { - x_84 = lean_alloc_ctor(0, 2, 0); -} else { - x_84 = x_80; -} -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_26 = x_85; -x_27 = x_79; -goto block_36; -} -} -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; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_86 = lean_ctor_get(x_43, 0); -x_87 = lean_ctor_get(x_43, 1); -x_88 = lean_ctor_get(x_43, 2); -x_89 = lean_ctor_get(x_43, 3); -x_90 = lean_ctor_get(x_43, 4); -x_91 = lean_ctor_get(x_43, 5); -x_92 = lean_ctor_get(x_43, 6); -x_93 = lean_ctor_get(x_43, 7); -x_94 = lean_ctor_get(x_43, 8); -x_95 = lean_ctor_get(x_43, 9); -x_96 = lean_ctor_get(x_43, 10); -x_97 = lean_ctor_get(x_43, 11); -x_98 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); -x_99 = lean_ctor_get(x_43, 12); -x_100 = lean_ctor_get(x_43, 13); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); +lean_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; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_74 = lean_ctor_get(x_43, 0); +x_75 = lean_ctor_get(x_43, 1); +x_76 = lean_ctor_get(x_43, 2); +x_77 = lean_ctor_get(x_43, 3); +x_78 = lean_ctor_get(x_43, 4); +x_79 = lean_ctor_get(x_43, 5); +x_80 = lean_ctor_get(x_43, 6); +x_81 = lean_ctor_get(x_43, 7); +x_82 = lean_ctor_get(x_43, 8); +x_83 = lean_ctor_get(x_43, 9); +x_84 = lean_ctor_get(x_43, 10); +x_85 = lean_ctor_get(x_43, 11); +x_86 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); +x_87 = lean_ctor_get(x_43, 12); +x_88 = lean_ctor_get(x_43, 13); lean_inc(x_88); lean_inc(x_87); -lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_inc(x_74); lean_dec(x_43); -x_101 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_91, x_1); +x_89 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_79, x_1); lean_dec(x_38); -x_102 = lean_alloc_ctor(0, 14, 1); -lean_ctor_set(x_102, 0, x_86); -lean_ctor_set(x_102, 1, x_87); -lean_ctor_set(x_102, 2, x_88); -lean_ctor_set(x_102, 3, x_89); -lean_ctor_set(x_102, 4, x_90); -lean_ctor_set(x_102, 5, x_101); -lean_ctor_set(x_102, 6, x_92); -lean_ctor_set(x_102, 7, x_93); -lean_ctor_set(x_102, 8, x_94); -lean_ctor_set(x_102, 9, x_95); -lean_ctor_set(x_102, 10, x_96); -lean_ctor_set(x_102, 11, x_97); -lean_ctor_set(x_102, 12, x_99); -lean_ctor_set(x_102, 13, x_100); -lean_ctor_set_uint8(x_102, sizeof(void*)*14, x_98); -lean_ctor_set(x_42, 1, x_102); -x_103 = lean_st_ref_set(x_12, x_41, x_44); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; +x_90 = lean_alloc_ctor(0, 14, 1); +lean_ctor_set(x_90, 0, x_74); +lean_ctor_set(x_90, 1, x_75); +lean_ctor_set(x_90, 2, x_76); +lean_ctor_set(x_90, 3, x_77); +lean_ctor_set(x_90, 4, x_78); +lean_ctor_set(x_90, 5, x_89); +lean_ctor_set(x_90, 6, x_80); +lean_ctor_set(x_90, 7, x_81); +lean_ctor_set(x_90, 8, x_82); +lean_ctor_set(x_90, 9, x_83); +lean_ctor_set(x_90, 10, x_84); +lean_ctor_set(x_90, 11, x_85); +lean_ctor_set(x_90, 12, x_87); +lean_ctor_set(x_90, 13, x_88); +lean_ctor_set_uint8(x_90, sizeof(void*)*14, x_86); +lean_ctor_set(x_42, 1, x_90); +x_91 = lean_st_ref_set(x_12, x_41, x_45); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_93 = x_91; } else { - lean_dec_ref(x_103); - x_105 = lean_box(0); + lean_dec_ref(x_91); + x_93 = lean_box(0); } -x_106 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_107 = l_Int_Linear_Poly_addConst(x_37, x_106); +x_94 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_95 = l_Int_Linear_Poly_addConst(x_37, x_94); lean_inc(x_2); -if (lean_is_scalar(x_105)) { - x_108 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_93)) { + x_96 = lean_alloc_ctor(6, 2, 0); } else { - x_108 = x_105; - lean_ctor_set_tag(x_108, 6); + x_96 = x_93; + lean_ctor_set_tag(x_96, 6); } -lean_ctor_set(x_108, 0, x_2); -lean_ctor_set(x_108, 1, x_23); -x_109 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_107, x_108, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_104); -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_113, 0, x_110); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_113); -x_115 = lean_box(0); -if (lean_is_scalar(x_112)) { - x_116 = lean_alloc_ctor(0, 2, 0); -} else { - x_116 = x_112; -} -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_26 = x_117; -x_27 = x_111; +lean_ctor_set(x_96, 0, x_2); +lean_ctor_set(x_96, 1, x_23); +lean_ctor_set(x_40, 1, x_96); +lean_ctor_set(x_40, 0, x_95); +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_40); +x_98 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_98, 0, x_97); +x_99 = lean_box(0); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +x_101 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_101, 0, x_100); +x_26 = x_101; +x_27 = x_92; goto block_36; } } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_118 = lean_ctor_get(x_42, 0); -lean_inc(x_118); +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; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_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_102 = lean_ctor_get(x_42, 0); +lean_inc(x_102); lean_dec(x_42); -x_119 = lean_ctor_get(x_43, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_43, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_43, 2); -lean_inc(x_121); -x_122 = lean_ctor_get(x_43, 3); -lean_inc(x_122); -x_123 = lean_ctor_get(x_43, 4); -lean_inc(x_123); -x_124 = lean_ctor_get(x_43, 5); -lean_inc(x_124); -x_125 = lean_ctor_get(x_43, 6); -lean_inc(x_125); -x_126 = lean_ctor_get(x_43, 7); -lean_inc(x_126); -x_127 = lean_ctor_get(x_43, 8); -lean_inc(x_127); -x_128 = lean_ctor_get(x_43, 9); -lean_inc(x_128); -x_129 = lean_ctor_get(x_43, 10); -lean_inc(x_129); -x_130 = lean_ctor_get(x_43, 11); -lean_inc(x_130); -x_131 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); -x_132 = lean_ctor_get(x_43, 12); -lean_inc(x_132); -x_133 = lean_ctor_get(x_43, 13); -lean_inc(x_133); +x_103 = lean_ctor_get(x_43, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_43, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_43, 2); +lean_inc(x_105); +x_106 = lean_ctor_get(x_43, 3); +lean_inc(x_106); +x_107 = lean_ctor_get(x_43, 4); +lean_inc(x_107); +x_108 = lean_ctor_get(x_43, 5); +lean_inc(x_108); +x_109 = lean_ctor_get(x_43, 6); +lean_inc(x_109); +x_110 = lean_ctor_get(x_43, 7); +lean_inc(x_110); +x_111 = lean_ctor_get(x_43, 8); +lean_inc(x_111); +x_112 = lean_ctor_get(x_43, 9); +lean_inc(x_112); +x_113 = lean_ctor_get(x_43, 10); +lean_inc(x_113); +x_114 = lean_ctor_get(x_43, 11); +lean_inc(x_114); +x_115 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); +x_116 = lean_ctor_get(x_43, 12); +lean_inc(x_116); +x_117 = lean_ctor_get(x_43, 13); +lean_inc(x_117); if (lean_is_exclusive(x_43)) { lean_ctor_release(x_43, 0); lean_ctor_release(x_43, 1); @@ -13688,163 +16629,148 @@ if (lean_is_exclusive(x_43)) { lean_ctor_release(x_43, 11); lean_ctor_release(x_43, 12); lean_ctor_release(x_43, 13); - x_134 = x_43; + x_118 = x_43; } else { lean_dec_ref(x_43); - x_134 = lean_box(0); + x_118 = lean_box(0); } -x_135 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_124, x_1); +x_119 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_108, x_1); lean_dec(x_38); -if (lean_is_scalar(x_134)) { - x_136 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_118)) { + x_120 = lean_alloc_ctor(0, 14, 1); } else { - x_136 = x_134; + x_120 = x_118; } -lean_ctor_set(x_136, 0, x_119); -lean_ctor_set(x_136, 1, x_120); -lean_ctor_set(x_136, 2, x_121); -lean_ctor_set(x_136, 3, x_122); -lean_ctor_set(x_136, 4, x_123); -lean_ctor_set(x_136, 5, x_135); -lean_ctor_set(x_136, 6, x_125); -lean_ctor_set(x_136, 7, x_126); -lean_ctor_set(x_136, 8, x_127); -lean_ctor_set(x_136, 9, x_128); -lean_ctor_set(x_136, 10, x_129); -lean_ctor_set(x_136, 11, x_130); -lean_ctor_set(x_136, 12, x_132); -lean_ctor_set(x_136, 13, x_133); -lean_ctor_set_uint8(x_136, sizeof(void*)*14, x_131); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_118); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set(x_41, 13, x_137); -x_138 = lean_st_ref_set(x_12, x_41, x_44); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_140 = x_138; +lean_ctor_set(x_120, 0, x_103); +lean_ctor_set(x_120, 1, x_104); +lean_ctor_set(x_120, 2, x_105); +lean_ctor_set(x_120, 3, x_106); +lean_ctor_set(x_120, 4, x_107); +lean_ctor_set(x_120, 5, x_119); +lean_ctor_set(x_120, 6, x_109); +lean_ctor_set(x_120, 7, x_110); +lean_ctor_set(x_120, 8, x_111); +lean_ctor_set(x_120, 9, x_112); +lean_ctor_set(x_120, 10, x_113); +lean_ctor_set(x_120, 11, x_114); +lean_ctor_set(x_120, 12, x_116); +lean_ctor_set(x_120, 13, x_117); +lean_ctor_set_uint8(x_120, sizeof(void*)*14, x_115); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_102); +lean_ctor_set(x_121, 1, x_120); +lean_ctor_set(x_41, 13, x_121); +x_122 = lean_st_ref_set(x_12, x_41, x_45); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; } else { - lean_dec_ref(x_138); - x_140 = lean_box(0); + lean_dec_ref(x_122); + x_124 = lean_box(0); } -x_141 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_142 = l_Int_Linear_Poly_addConst(x_37, x_141); +x_125 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_126 = l_Int_Linear_Poly_addConst(x_37, x_125); lean_inc(x_2); -if (lean_is_scalar(x_140)) { - x_143 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_124)) { + x_127 = lean_alloc_ctor(6, 2, 0); } else { - x_143 = x_140; - lean_ctor_set_tag(x_143, 6); + x_127 = x_124; + lean_ctor_set_tag(x_127, 6); } -lean_ctor_set(x_143, 0, x_2); -lean_ctor_set(x_143, 1, x_23); -x_144 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_142, x_143, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_139); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_147 = x_144; -} else { - lean_dec_ref(x_144); - x_147 = lean_box(0); -} -x_148 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_148, 0, x_145); -x_149 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_149, 0, x_148); -x_150 = lean_box(0); -if (lean_is_scalar(x_147)) { - x_151 = lean_alloc_ctor(0, 2, 0); -} else { - x_151 = x_147; -} -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_152, 0, x_151); -x_26 = x_152; -x_27 = x_146; +lean_ctor_set(x_127, 0, x_2); +lean_ctor_set(x_127, 1, x_23); +lean_ctor_set(x_40, 1, x_127); +lean_ctor_set(x_40, 0, x_126); +x_128 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_128, 0, x_40); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_128); +x_130 = lean_box(0); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +x_132 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_26 = x_132; +x_27 = x_123; goto block_36; } } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_153 = lean_ctor_get(x_41, 0); -x_154 = lean_ctor_get(x_41, 1); -x_155 = lean_ctor_get(x_41, 2); -x_156 = lean_ctor_get(x_41, 3); -x_157 = lean_ctor_get(x_41, 4); -x_158 = lean_ctor_get(x_41, 5); -x_159 = lean_ctor_get(x_41, 6); -x_160 = lean_ctor_get_uint8(x_41, sizeof(void*)*15); -x_161 = lean_ctor_get(x_41, 7); -x_162 = lean_ctor_get(x_41, 8); -x_163 = lean_ctor_get(x_41, 9); -x_164 = lean_ctor_get(x_41, 10); -x_165 = lean_ctor_get(x_41, 11); -x_166 = lean_ctor_get(x_41, 12); -x_167 = lean_ctor_get(x_41, 14); -lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); -lean_inc(x_164); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_inc(x_156); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_133 = lean_ctor_get(x_41, 0); +x_134 = lean_ctor_get(x_41, 1); +x_135 = lean_ctor_get(x_41, 2); +x_136 = lean_ctor_get(x_41, 3); +x_137 = lean_ctor_get(x_41, 4); +x_138 = lean_ctor_get(x_41, 5); +x_139 = lean_ctor_get(x_41, 6); +x_140 = lean_ctor_get_uint8(x_41, sizeof(void*)*15); +x_141 = lean_ctor_get(x_41, 7); +x_142 = lean_ctor_get(x_41, 8); +x_143 = lean_ctor_get(x_41, 9); +x_144 = lean_ctor_get(x_41, 10); +x_145 = lean_ctor_get(x_41, 11); +x_146 = lean_ctor_get(x_41, 12); +x_147 = lean_ctor_get(x_41, 14); +lean_inc(x_147); +lean_inc(x_146); +lean_inc(x_145); +lean_inc(x_144); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +lean_inc(x_139); +lean_inc(x_138); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_inc(x_134); +lean_inc(x_133); lean_dec(x_41); -x_168 = lean_ctor_get(x_42, 0); -lean_inc(x_168); +x_148 = lean_ctor_get(x_42, 0); +lean_inc(x_148); if (lean_is_exclusive(x_42)) { lean_ctor_release(x_42, 0); lean_ctor_release(x_42, 1); - x_169 = x_42; + x_149 = x_42; } else { lean_dec_ref(x_42); - x_169 = lean_box(0); + x_149 = lean_box(0); } -x_170 = lean_ctor_get(x_43, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_43, 1); -lean_inc(x_171); -x_172 = lean_ctor_get(x_43, 2); -lean_inc(x_172); -x_173 = lean_ctor_get(x_43, 3); -lean_inc(x_173); -x_174 = lean_ctor_get(x_43, 4); -lean_inc(x_174); -x_175 = lean_ctor_get(x_43, 5); -lean_inc(x_175); -x_176 = lean_ctor_get(x_43, 6); -lean_inc(x_176); -x_177 = lean_ctor_get(x_43, 7); -lean_inc(x_177); -x_178 = lean_ctor_get(x_43, 8); -lean_inc(x_178); -x_179 = lean_ctor_get(x_43, 9); -lean_inc(x_179); -x_180 = lean_ctor_get(x_43, 10); -lean_inc(x_180); -x_181 = lean_ctor_get(x_43, 11); -lean_inc(x_181); -x_182 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); -x_183 = lean_ctor_get(x_43, 12); -lean_inc(x_183); -x_184 = lean_ctor_get(x_43, 13); -lean_inc(x_184); +x_150 = lean_ctor_get(x_43, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_43, 1); +lean_inc(x_151); +x_152 = lean_ctor_get(x_43, 2); +lean_inc(x_152); +x_153 = lean_ctor_get(x_43, 3); +lean_inc(x_153); +x_154 = lean_ctor_get(x_43, 4); +lean_inc(x_154); +x_155 = lean_ctor_get(x_43, 5); +lean_inc(x_155); +x_156 = lean_ctor_get(x_43, 6); +lean_inc(x_156); +x_157 = lean_ctor_get(x_43, 7); +lean_inc(x_157); +x_158 = lean_ctor_get(x_43, 8); +lean_inc(x_158); +x_159 = lean_ctor_get(x_43, 9); +lean_inc(x_159); +x_160 = lean_ctor_get(x_43, 10); +lean_inc(x_160); +x_161 = lean_ctor_get(x_43, 11); +lean_inc(x_161); +x_162 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); +x_163 = lean_ctor_get(x_43, 12); +lean_inc(x_163); +x_164 = lean_ctor_get(x_43, 13); +lean_inc(x_164); if (lean_is_exclusive(x_43)) { lean_ctor_release(x_43, 0); lean_ctor_release(x_43, 1); @@ -13860,108 +16786,298 @@ if (lean_is_exclusive(x_43)) { lean_ctor_release(x_43, 11); lean_ctor_release(x_43, 12); lean_ctor_release(x_43, 13); - x_185 = x_43; + x_165 = x_43; } else { lean_dec_ref(x_43); - x_185 = lean_box(0); + x_165 = lean_box(0); } -x_186 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_175, x_1); +x_166 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_155, x_1); lean_dec(x_38); -if (lean_is_scalar(x_185)) { - x_187 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_165)) { + x_167 = lean_alloc_ctor(0, 14, 1); } else { - x_187 = x_185; + x_167 = x_165; } -lean_ctor_set(x_187, 0, x_170); -lean_ctor_set(x_187, 1, x_171); -lean_ctor_set(x_187, 2, x_172); -lean_ctor_set(x_187, 3, x_173); -lean_ctor_set(x_187, 4, x_174); -lean_ctor_set(x_187, 5, x_186); -lean_ctor_set(x_187, 6, x_176); -lean_ctor_set(x_187, 7, x_177); -lean_ctor_set(x_187, 8, x_178); -lean_ctor_set(x_187, 9, x_179); -lean_ctor_set(x_187, 10, x_180); -lean_ctor_set(x_187, 11, x_181); -lean_ctor_set(x_187, 12, x_183); -lean_ctor_set(x_187, 13, x_184); -lean_ctor_set_uint8(x_187, sizeof(void*)*14, x_182); -if (lean_is_scalar(x_169)) { - x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_150); +lean_ctor_set(x_167, 1, x_151); +lean_ctor_set(x_167, 2, x_152); +lean_ctor_set(x_167, 3, x_153); +lean_ctor_set(x_167, 4, x_154); +lean_ctor_set(x_167, 5, x_166); +lean_ctor_set(x_167, 6, x_156); +lean_ctor_set(x_167, 7, x_157); +lean_ctor_set(x_167, 8, x_158); +lean_ctor_set(x_167, 9, x_159); +lean_ctor_set(x_167, 10, x_160); +lean_ctor_set(x_167, 11, x_161); +lean_ctor_set(x_167, 12, x_163); +lean_ctor_set(x_167, 13, x_164); +lean_ctor_set_uint8(x_167, sizeof(void*)*14, x_162); +if (lean_is_scalar(x_149)) { + x_168 = lean_alloc_ctor(0, 2, 0); } else { - x_188 = x_169; + x_168 = x_149; } -lean_ctor_set(x_188, 0, x_168); -lean_ctor_set(x_188, 1, x_187); -x_189 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_189, 0, x_153); -lean_ctor_set(x_189, 1, x_154); -lean_ctor_set(x_189, 2, x_155); -lean_ctor_set(x_189, 3, x_156); -lean_ctor_set(x_189, 4, x_157); -lean_ctor_set(x_189, 5, x_158); -lean_ctor_set(x_189, 6, x_159); -lean_ctor_set(x_189, 7, x_161); -lean_ctor_set(x_189, 8, x_162); -lean_ctor_set(x_189, 9, x_163); -lean_ctor_set(x_189, 10, x_164); -lean_ctor_set(x_189, 11, x_165); -lean_ctor_set(x_189, 12, x_166); -lean_ctor_set(x_189, 13, x_188); -lean_ctor_set(x_189, 14, x_167); -lean_ctor_set_uint8(x_189, sizeof(void*)*15, x_160); -x_190 = lean_st_ref_set(x_12, x_189, x_44); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - x_192 = x_190; +lean_ctor_set(x_168, 0, x_148); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_169, 0, x_133); +lean_ctor_set(x_169, 1, x_134); +lean_ctor_set(x_169, 2, x_135); +lean_ctor_set(x_169, 3, x_136); +lean_ctor_set(x_169, 4, x_137); +lean_ctor_set(x_169, 5, x_138); +lean_ctor_set(x_169, 6, x_139); +lean_ctor_set(x_169, 7, x_141); +lean_ctor_set(x_169, 8, x_142); +lean_ctor_set(x_169, 9, x_143); +lean_ctor_set(x_169, 10, x_144); +lean_ctor_set(x_169, 11, x_145); +lean_ctor_set(x_169, 12, x_146); +lean_ctor_set(x_169, 13, x_168); +lean_ctor_set(x_169, 14, x_147); +lean_ctor_set_uint8(x_169, sizeof(void*)*15, x_140); +x_170 = lean_st_ref_set(x_12, x_169, x_45); +x_171 = lean_ctor_get(x_170, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_172 = x_170; } else { - lean_dec_ref(x_190); - x_192 = lean_box(0); + lean_dec_ref(x_170); + x_172 = lean_box(0); } -x_193 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_194 = l_Int_Linear_Poly_addConst(x_37, x_193); +x_173 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_174 = l_Int_Linear_Poly_addConst(x_37, x_173); lean_inc(x_2); -if (lean_is_scalar(x_192)) { - x_195 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_172)) { + x_175 = lean_alloc_ctor(6, 2, 0); } else { - x_195 = x_192; - lean_ctor_set_tag(x_195, 6); + x_175 = x_172; + lean_ctor_set_tag(x_175, 6); } -lean_ctor_set(x_195, 0, x_2); -lean_ctor_set(x_195, 1, x_23); -x_196 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_194, x_195, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_191); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -if (lean_is_exclusive(x_196)) { - lean_ctor_release(x_196, 0); - lean_ctor_release(x_196, 1); - x_199 = x_196; +lean_ctor_set(x_175, 0, x_2); +lean_ctor_set(x_175, 1, x_23); +lean_ctor_set(x_40, 1, x_175); +lean_ctor_set(x_40, 0, x_174); +x_176 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_176, 0, x_40); +x_177 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_177, 0, x_176); +x_178 = lean_box(0); +x_179 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +x_180 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_180, 0, x_179); +x_26 = x_180; +x_27 = x_171; +goto block_36; +} +} +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; uint8_t x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_181 = lean_ctor_get(x_40, 1); +lean_inc(x_181); +lean_dec(x_40); +x_182 = lean_ctor_get(x_41, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_41, 1); +lean_inc(x_183); +x_184 = lean_ctor_get(x_41, 2); +lean_inc(x_184); +x_185 = lean_ctor_get(x_41, 3); +lean_inc(x_185); +x_186 = lean_ctor_get(x_41, 4); +lean_inc(x_186); +x_187 = lean_ctor_get(x_41, 5); +lean_inc(x_187); +x_188 = lean_ctor_get(x_41, 6); +lean_inc(x_188); +x_189 = lean_ctor_get_uint8(x_41, sizeof(void*)*15); +x_190 = lean_ctor_get(x_41, 7); +lean_inc(x_190); +x_191 = lean_ctor_get(x_41, 8); +lean_inc(x_191); +x_192 = lean_ctor_get(x_41, 9); +lean_inc(x_192); +x_193 = lean_ctor_get(x_41, 10); +lean_inc(x_193); +x_194 = lean_ctor_get(x_41, 11); +lean_inc(x_194); +x_195 = lean_ctor_get(x_41, 12); +lean_inc(x_195); +x_196 = lean_ctor_get(x_41, 14); +lean_inc(x_196); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + lean_ctor_release(x_41, 3); + lean_ctor_release(x_41, 4); + lean_ctor_release(x_41, 5); + lean_ctor_release(x_41, 6); + lean_ctor_release(x_41, 7); + lean_ctor_release(x_41, 8); + lean_ctor_release(x_41, 9); + lean_ctor_release(x_41, 10); + lean_ctor_release(x_41, 11); + lean_ctor_release(x_41, 12); + lean_ctor_release(x_41, 13); + lean_ctor_release(x_41, 14); + x_197 = x_41; } else { - lean_dec_ref(x_196); + lean_dec_ref(x_41); + x_197 = lean_box(0); +} +x_198 = lean_ctor_get(x_42, 0); +lean_inc(x_198); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_199 = x_42; +} else { + lean_dec_ref(x_42); x_199 = lean_box(0); } -x_200 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_200, 0, x_197); -x_201 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_201, 0, x_200); -x_202 = lean_box(0); -if (lean_is_scalar(x_199)) { - x_203 = lean_alloc_ctor(0, 2, 0); +x_200 = lean_ctor_get(x_43, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_43, 1); +lean_inc(x_201); +x_202 = lean_ctor_get(x_43, 2); +lean_inc(x_202); +x_203 = lean_ctor_get(x_43, 3); +lean_inc(x_203); +x_204 = lean_ctor_get(x_43, 4); +lean_inc(x_204); +x_205 = lean_ctor_get(x_43, 5); +lean_inc(x_205); +x_206 = lean_ctor_get(x_43, 6); +lean_inc(x_206); +x_207 = lean_ctor_get(x_43, 7); +lean_inc(x_207); +x_208 = lean_ctor_get(x_43, 8); +lean_inc(x_208); +x_209 = lean_ctor_get(x_43, 9); +lean_inc(x_209); +x_210 = lean_ctor_get(x_43, 10); +lean_inc(x_210); +x_211 = lean_ctor_get(x_43, 11); +lean_inc(x_211); +x_212 = lean_ctor_get_uint8(x_43, sizeof(void*)*14); +x_213 = lean_ctor_get(x_43, 12); +lean_inc(x_213); +x_214 = lean_ctor_get(x_43, 13); +lean_inc(x_214); +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); + lean_ctor_release(x_43, 4); + lean_ctor_release(x_43, 5); + lean_ctor_release(x_43, 6); + lean_ctor_release(x_43, 7); + lean_ctor_release(x_43, 8); + lean_ctor_release(x_43, 9); + lean_ctor_release(x_43, 10); + lean_ctor_release(x_43, 11); + lean_ctor_release(x_43, 12); + lean_ctor_release(x_43, 13); + x_215 = x_43; } else { - x_203 = x_199; + lean_dec_ref(x_43); + x_215 = lean_box(0); } -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -x_204 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_204, 0, x_203); -x_26 = x_204; -x_27 = x_198; +x_216 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_38, x_3, x_205, x_1); +lean_dec(x_38); +if (lean_is_scalar(x_215)) { + x_217 = lean_alloc_ctor(0, 14, 1); +} else { + x_217 = x_215; +} +lean_ctor_set(x_217, 0, x_200); +lean_ctor_set(x_217, 1, x_201); +lean_ctor_set(x_217, 2, x_202); +lean_ctor_set(x_217, 3, x_203); +lean_ctor_set(x_217, 4, x_204); +lean_ctor_set(x_217, 5, x_216); +lean_ctor_set(x_217, 6, x_206); +lean_ctor_set(x_217, 7, x_207); +lean_ctor_set(x_217, 8, x_208); +lean_ctor_set(x_217, 9, x_209); +lean_ctor_set(x_217, 10, x_210); +lean_ctor_set(x_217, 11, x_211); +lean_ctor_set(x_217, 12, x_213); +lean_ctor_set(x_217, 13, x_214); +lean_ctor_set_uint8(x_217, sizeof(void*)*14, x_212); +if (lean_is_scalar(x_199)) { + x_218 = lean_alloc_ctor(0, 2, 0); +} else { + x_218 = x_199; +} +lean_ctor_set(x_218, 0, x_198); +lean_ctor_set(x_218, 1, x_217); +if (lean_is_scalar(x_197)) { + x_219 = lean_alloc_ctor(0, 15, 1); +} else { + x_219 = x_197; +} +lean_ctor_set(x_219, 0, x_182); +lean_ctor_set(x_219, 1, x_183); +lean_ctor_set(x_219, 2, x_184); +lean_ctor_set(x_219, 3, x_185); +lean_ctor_set(x_219, 4, x_186); +lean_ctor_set(x_219, 5, x_187); +lean_ctor_set(x_219, 6, x_188); +lean_ctor_set(x_219, 7, x_190); +lean_ctor_set(x_219, 8, x_191); +lean_ctor_set(x_219, 9, x_192); +lean_ctor_set(x_219, 10, x_193); +lean_ctor_set(x_219, 11, x_194); +lean_ctor_set(x_219, 12, x_195); +lean_ctor_set(x_219, 13, x_218); +lean_ctor_set(x_219, 14, x_196); +lean_ctor_set_uint8(x_219, sizeof(void*)*15, x_189); +x_220 = lean_st_ref_set(x_12, x_219, x_181); +x_221 = lean_ctor_get(x_220, 1); +lean_inc(x_221); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + x_222 = x_220; +} else { + lean_dec_ref(x_220); + x_222 = lean_box(0); +} +x_223 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_224 = l_Int_Linear_Poly_addConst(x_37, x_223); +lean_inc(x_2); +if (lean_is_scalar(x_222)) { + x_225 = lean_alloc_ctor(6, 2, 0); +} else { + x_225 = x_222; + lean_ctor_set_tag(x_225, 6); +} +lean_ctor_set(x_225, 0, x_2); +lean_ctor_set(x_225, 1, x_23); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +x_227 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_227, 0, x_226); +x_228 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_228, 0, x_227); +x_229 = lean_box(0); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_228); +lean_ctor_set(x_230, 1, x_229); +x_231 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_231, 0, x_230); +x_26 = x_231; +x_27 = x_221; goto block_36; } } @@ -14113,7 +17229,7 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_210; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_237; x_23 = lean_array_uget(x_8, x_10); x_24 = lean_ctor_get(x_11, 1); lean_inc(x_24); @@ -14129,38 +17245,38 @@ x_41 = lean_ctor_get(x_2, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_23, 0); lean_inc(x_42); -x_210 = l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(x_41, x_42); -if (x_210 == 0) +x_237 = l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(x_41, x_42); +if (x_237 == 0) { -uint8_t x_211; -x_211 = l_Int_Linear_Poly_isNegEq(x_41, x_42); -if (x_211 == 0) +uint8_t x_238; +x_238 = l_Int_Linear_Poly_isNegEq(x_41, x_42); +if (x_238 == 0) { -lean_object* x_212; +lean_object* x_239; lean_dec(x_42); lean_dec(x_41); lean_dec(x_23); lean_inc(x_4); -x_212 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_212, 0, x_4); -x_26 = x_212; +x_239 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_239, 0, x_4); +x_26 = x_239; x_27 = x_20; goto block_40; } else { -lean_object* x_213; -x_213 = lean_box(0); -x_43 = x_213; -goto block_209; +lean_object* x_240; +x_240 = lean_box(0); +x_43 = x_240; +goto block_236; } } else { -lean_object* x_214; -x_214 = lean_box(0); -x_43 = x_214; -goto block_209; +lean_object* x_241; +x_241 = lean_box(0); +x_43 = x_241; +goto block_236; } block_40: { @@ -14231,9 +17347,9 @@ x_20 = x_27; goto _start; } } -block_209: +block_236: { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_dec(x_43); x_44 = lean_st_ref_take(x_12, x_20); x_45 = lean_ctor_get(x_44, 0); @@ -14242,271 +17358,218 @@ x_46 = lean_ctor_get(x_45, 13); lean_inc(x_46); x_47 = lean_ctor_get(x_46, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -x_49 = !lean_is_exclusive(x_45); -if (x_49 == 0) +x_48 = !lean_is_exclusive(x_44); +if (x_48 == 0) { -lean_object* x_50; uint8_t x_51; -x_50 = lean_ctor_get(x_45, 13); +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = lean_ctor_get(x_44, 1); +x_50 = lean_ctor_get(x_44, 0); lean_dec(x_50); -x_51 = !lean_is_exclusive(x_46); +x_51 = !lean_is_exclusive(x_45); if (x_51 == 0) { lean_object* x_52; uint8_t x_53; -x_52 = lean_ctor_get(x_46, 1); +x_52 = lean_ctor_get(x_45, 13); lean_dec(x_52); -x_53 = !lean_is_exclusive(x_47); +x_53 = !lean_is_exclusive(x_46); if (x_53 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = lean_ctor_get(x_47, 5); -x_55 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_54, x_1); +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_46, 1); +lean_dec(x_54); +x_55 = !lean_is_exclusive(x_47); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = lean_ctor_get(x_47, 5); +x_57 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_56, x_1); lean_dec(x_42); -lean_ctor_set(x_47, 5, x_55); -x_56 = lean_st_ref_set(x_12, x_45, x_48); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +lean_ctor_set(x_47, 5, x_57); +x_58 = lean_st_ref_set(x_12, x_45, x_49); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_58 = lean_ctor_get(x_56, 1); -x_59 = lean_ctor_get(x_56, 0); -lean_dec(x_59); -x_60 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_61 = l_Int_Linear_Poly_addConst(x_41, x_60); +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_ctor_get(x_58, 1); +x_61 = lean_ctor_get(x_58, 0); +lean_dec(x_61); +x_62 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_63 = l_Int_Linear_Poly_addConst(x_41, x_62); lean_inc(x_2); -lean_ctor_set_tag(x_56, 6); -lean_ctor_set(x_56, 1, x_23); -lean_ctor_set(x_56, 0, x_2); -x_62 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_61, x_56, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_58); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_62, 1); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_64); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_66); -x_68 = lean_box(0); -lean_ctor_set(x_62, 1, x_68); -lean_ctor_set(x_62, 0, x_67); -x_69 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_69, 0, x_62); -x_26 = x_69; -x_27 = x_65; +lean_ctor_set_tag(x_58, 6); +lean_ctor_set(x_58, 1, x_23); +lean_ctor_set(x_58, 0, x_2); +lean_ctor_set(x_44, 1, x_58); +lean_ctor_set(x_44, 0, x_63); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_44); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_box(0); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_68, 0, x_67); +x_26 = x_68; +x_27 = x_60; goto block_40; } 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; -x_70 = lean_ctor_get(x_62, 0); -x_71 = lean_ctor_get(x_62, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_62); -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_70); +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_ctor_get(x_58, 1); +lean_inc(x_69); +lean_dec(x_58); +x_70 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_71 = l_Int_Linear_Poly_addConst(x_41, x_70); +lean_inc(x_2); +x_72 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_72, 0, x_2); +lean_ctor_set(x_72, 1, x_23); +lean_ctor_set(x_44, 1, x_72); +lean_ctor_set(x_44, 0, x_71); x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_72); -x_74 = lean_box(0); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_26 = x_76; -x_27 = x_71; +lean_ctor_set(x_73, 0, x_44); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = lean_box(0); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_26 = x_77; +x_27 = x_69; goto block_40; } } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_77 = lean_ctor_get(x_56, 1); -lean_inc(x_77); -lean_dec(x_56); -x_78 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_79 = l_Int_Linear_Poly_addConst(x_41, x_78); -lean_inc(x_2); -x_80 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_80, 0, x_2); -lean_ctor_set(x_80, 1, x_23); -x_81 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_79, x_80, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_77); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_84 = x_81; -} else { - lean_dec_ref(x_81); - x_84 = lean_box(0); -} -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_82); -x_86 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_86, 0, x_85); -x_87 = lean_box(0); -if (lean_is_scalar(x_84)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_84; -} -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_26 = x_89; -x_27 = x_83; -goto block_40; -} -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_90 = lean_ctor_get(x_47, 0); -x_91 = lean_ctor_get(x_47, 1); -x_92 = lean_ctor_get(x_47, 2); -x_93 = lean_ctor_get(x_47, 3); -x_94 = lean_ctor_get(x_47, 4); -x_95 = lean_ctor_get(x_47, 5); -x_96 = lean_ctor_get(x_47, 6); -x_97 = lean_ctor_get(x_47, 7); -x_98 = lean_ctor_get(x_47, 8); -x_99 = lean_ctor_get(x_47, 9); -x_100 = lean_ctor_get(x_47, 10); -x_101 = lean_ctor_get(x_47, 11); -x_102 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); -x_103 = lean_ctor_get(x_47, 12); -x_104 = lean_ctor_get(x_47, 13); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); +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; uint8_t 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; +x_78 = lean_ctor_get(x_47, 0); +x_79 = lean_ctor_get(x_47, 1); +x_80 = lean_ctor_get(x_47, 2); +x_81 = lean_ctor_get(x_47, 3); +x_82 = lean_ctor_get(x_47, 4); +x_83 = lean_ctor_get(x_47, 5); +x_84 = lean_ctor_get(x_47, 6); +x_85 = lean_ctor_get(x_47, 7); +x_86 = lean_ctor_get(x_47, 8); +x_87 = lean_ctor_get(x_47, 9); +x_88 = lean_ctor_get(x_47, 10); +x_89 = lean_ctor_get(x_47, 11); +x_90 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); +x_91 = lean_ctor_get(x_47, 12); +x_92 = lean_ctor_get(x_47, 13); lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); lean_dec(x_47); -x_105 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_95, x_1); +x_93 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_83, x_1); lean_dec(x_42); -x_106 = lean_alloc_ctor(0, 14, 1); -lean_ctor_set(x_106, 0, x_90); -lean_ctor_set(x_106, 1, x_91); -lean_ctor_set(x_106, 2, x_92); -lean_ctor_set(x_106, 3, x_93); -lean_ctor_set(x_106, 4, x_94); -lean_ctor_set(x_106, 5, x_105); -lean_ctor_set(x_106, 6, x_96); -lean_ctor_set(x_106, 7, x_97); -lean_ctor_set(x_106, 8, x_98); -lean_ctor_set(x_106, 9, x_99); -lean_ctor_set(x_106, 10, x_100); -lean_ctor_set(x_106, 11, x_101); -lean_ctor_set(x_106, 12, x_103); -lean_ctor_set(x_106, 13, x_104); -lean_ctor_set_uint8(x_106, sizeof(void*)*14, x_102); -lean_ctor_set(x_46, 1, x_106); -x_107 = lean_st_ref_set(x_12, x_45, x_48); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_109 = x_107; +x_94 = lean_alloc_ctor(0, 14, 1); +lean_ctor_set(x_94, 0, x_78); +lean_ctor_set(x_94, 1, x_79); +lean_ctor_set(x_94, 2, x_80); +lean_ctor_set(x_94, 3, x_81); +lean_ctor_set(x_94, 4, x_82); +lean_ctor_set(x_94, 5, x_93); +lean_ctor_set(x_94, 6, x_84); +lean_ctor_set(x_94, 7, x_85); +lean_ctor_set(x_94, 8, x_86); +lean_ctor_set(x_94, 9, x_87); +lean_ctor_set(x_94, 10, x_88); +lean_ctor_set(x_94, 11, x_89); +lean_ctor_set(x_94, 12, x_91); +lean_ctor_set(x_94, 13, x_92); +lean_ctor_set_uint8(x_94, sizeof(void*)*14, x_90); +lean_ctor_set(x_46, 1, x_94); +x_95 = lean_st_ref_set(x_12, x_45, x_49); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; } else { - lean_dec_ref(x_107); - x_109 = lean_box(0); + lean_dec_ref(x_95); + x_97 = lean_box(0); } -x_110 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_111 = l_Int_Linear_Poly_addConst(x_41, x_110); +x_98 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_99 = l_Int_Linear_Poly_addConst(x_41, x_98); lean_inc(x_2); -if (lean_is_scalar(x_109)) { - x_112 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_97)) { + x_100 = lean_alloc_ctor(6, 2, 0); } else { - x_112 = x_109; - lean_ctor_set_tag(x_112, 6); + x_100 = x_97; + lean_ctor_set_tag(x_100, 6); } -lean_ctor_set(x_112, 0, x_2); -lean_ctor_set(x_112, 1, x_23); -x_113 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_111, x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_108); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_116 = x_113; -} else { - lean_dec_ref(x_113); - x_116 = lean_box(0); -} -x_117 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_117, 0, x_114); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = lean_box(0); -if (lean_is_scalar(x_116)) { - x_120 = lean_alloc_ctor(0, 2, 0); -} else { - x_120 = x_116; -} -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_121, 0, x_120); -x_26 = x_121; -x_27 = x_115; +lean_ctor_set(x_100, 0, x_2); +lean_ctor_set(x_100, 1, x_23); +lean_ctor_set(x_44, 1, x_100); +lean_ctor_set(x_44, 0, x_99); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_44); +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_101); +x_103 = lean_box(0); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +x_105 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_105, 0, x_104); +x_26 = x_105; +x_27 = x_96; goto block_40; } } else { -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; uint8_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_122 = lean_ctor_get(x_46, 0); -lean_inc(x_122); +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; uint8_t 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; +x_106 = lean_ctor_get(x_46, 0); +lean_inc(x_106); lean_dec(x_46); -x_123 = lean_ctor_get(x_47, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_47, 1); -lean_inc(x_124); -x_125 = lean_ctor_get(x_47, 2); -lean_inc(x_125); -x_126 = lean_ctor_get(x_47, 3); -lean_inc(x_126); -x_127 = lean_ctor_get(x_47, 4); -lean_inc(x_127); -x_128 = lean_ctor_get(x_47, 5); -lean_inc(x_128); -x_129 = lean_ctor_get(x_47, 6); -lean_inc(x_129); -x_130 = lean_ctor_get(x_47, 7); -lean_inc(x_130); -x_131 = lean_ctor_get(x_47, 8); -lean_inc(x_131); -x_132 = lean_ctor_get(x_47, 9); -lean_inc(x_132); -x_133 = lean_ctor_get(x_47, 10); -lean_inc(x_133); -x_134 = lean_ctor_get(x_47, 11); -lean_inc(x_134); -x_135 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); -x_136 = lean_ctor_get(x_47, 12); -lean_inc(x_136); -x_137 = lean_ctor_get(x_47, 13); -lean_inc(x_137); +x_107 = lean_ctor_get(x_47, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_47, 1); +lean_inc(x_108); +x_109 = lean_ctor_get(x_47, 2); +lean_inc(x_109); +x_110 = lean_ctor_get(x_47, 3); +lean_inc(x_110); +x_111 = lean_ctor_get(x_47, 4); +lean_inc(x_111); +x_112 = lean_ctor_get(x_47, 5); +lean_inc(x_112); +x_113 = lean_ctor_get(x_47, 6); +lean_inc(x_113); +x_114 = lean_ctor_get(x_47, 7); +lean_inc(x_114); +x_115 = lean_ctor_get(x_47, 8); +lean_inc(x_115); +x_116 = lean_ctor_get(x_47, 9); +lean_inc(x_116); +x_117 = lean_ctor_get(x_47, 10); +lean_inc(x_117); +x_118 = lean_ctor_get(x_47, 11); +lean_inc(x_118); +x_119 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); +x_120 = lean_ctor_get(x_47, 12); +lean_inc(x_120); +x_121 = lean_ctor_get(x_47, 13); +lean_inc(x_121); if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 0); lean_ctor_release(x_47, 1); @@ -14522,163 +17585,148 @@ if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 11); lean_ctor_release(x_47, 12); lean_ctor_release(x_47, 13); - x_138 = x_47; + x_122 = x_47; } else { lean_dec_ref(x_47); - x_138 = lean_box(0); + x_122 = lean_box(0); } -x_139 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_128, x_1); +x_123 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_112, x_1); lean_dec(x_42); -if (lean_is_scalar(x_138)) { - x_140 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_122)) { + x_124 = lean_alloc_ctor(0, 14, 1); } else { - x_140 = x_138; + x_124 = x_122; } -lean_ctor_set(x_140, 0, x_123); -lean_ctor_set(x_140, 1, x_124); -lean_ctor_set(x_140, 2, x_125); -lean_ctor_set(x_140, 3, x_126); -lean_ctor_set(x_140, 4, x_127); -lean_ctor_set(x_140, 5, x_139); -lean_ctor_set(x_140, 6, x_129); -lean_ctor_set(x_140, 7, x_130); -lean_ctor_set(x_140, 8, x_131); -lean_ctor_set(x_140, 9, x_132); -lean_ctor_set(x_140, 10, x_133); -lean_ctor_set(x_140, 11, x_134); -lean_ctor_set(x_140, 12, x_136); -lean_ctor_set(x_140, 13, x_137); -lean_ctor_set_uint8(x_140, sizeof(void*)*14, x_135); -x_141 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_141, 0, x_122); -lean_ctor_set(x_141, 1, x_140); -lean_ctor_set(x_45, 13, x_141); -x_142 = lean_st_ref_set(x_12, x_45, x_48); -x_143 = lean_ctor_get(x_142, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_144 = x_142; +lean_ctor_set(x_124, 0, x_107); +lean_ctor_set(x_124, 1, x_108); +lean_ctor_set(x_124, 2, x_109); +lean_ctor_set(x_124, 3, x_110); +lean_ctor_set(x_124, 4, x_111); +lean_ctor_set(x_124, 5, x_123); +lean_ctor_set(x_124, 6, x_113); +lean_ctor_set(x_124, 7, x_114); +lean_ctor_set(x_124, 8, x_115); +lean_ctor_set(x_124, 9, x_116); +lean_ctor_set(x_124, 10, x_117); +lean_ctor_set(x_124, 11, x_118); +lean_ctor_set(x_124, 12, x_120); +lean_ctor_set(x_124, 13, x_121); +lean_ctor_set_uint8(x_124, sizeof(void*)*14, x_119); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_106); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_45, 13, x_125); +x_126 = lean_st_ref_set(x_12, x_45, x_49); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_128 = x_126; } else { - lean_dec_ref(x_142); - x_144 = lean_box(0); + lean_dec_ref(x_126); + x_128 = lean_box(0); } -x_145 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_146 = l_Int_Linear_Poly_addConst(x_41, x_145); +x_129 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_130 = l_Int_Linear_Poly_addConst(x_41, x_129); lean_inc(x_2); -if (lean_is_scalar(x_144)) { - x_147 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_128)) { + x_131 = lean_alloc_ctor(6, 2, 0); } else { - x_147 = x_144; - lean_ctor_set_tag(x_147, 6); + x_131 = x_128; + lean_ctor_set_tag(x_131, 6); } -lean_ctor_set(x_147, 0, x_2); -lean_ctor_set(x_147, 1, x_23); -x_148 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_146, x_147, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_143); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_151 = x_148; -} else { - lean_dec_ref(x_148); - x_151 = lean_box(0); -} -x_152 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_152, 0, x_149); -x_153 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_153, 0, x_152); -x_154 = lean_box(0); -if (lean_is_scalar(x_151)) { - x_155 = lean_alloc_ctor(0, 2, 0); -} else { - x_155 = x_151; -} -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -x_156 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_156, 0, x_155); -x_26 = x_156; -x_27 = x_150; +lean_ctor_set(x_131, 0, x_2); +lean_ctor_set(x_131, 1, x_23); +lean_ctor_set(x_44, 1, x_131); +lean_ctor_set(x_44, 0, x_130); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_44); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_134 = lean_box(0); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_26 = x_136; +x_27 = x_127; goto block_40; } } 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; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_157 = lean_ctor_get(x_45, 0); -x_158 = lean_ctor_get(x_45, 1); -x_159 = lean_ctor_get(x_45, 2); -x_160 = lean_ctor_get(x_45, 3); -x_161 = lean_ctor_get(x_45, 4); -x_162 = lean_ctor_get(x_45, 5); -x_163 = lean_ctor_get(x_45, 6); -x_164 = lean_ctor_get_uint8(x_45, sizeof(void*)*15); -x_165 = lean_ctor_get(x_45, 7); -x_166 = lean_ctor_get(x_45, 8); -x_167 = lean_ctor_get(x_45, 9); -x_168 = lean_ctor_get(x_45, 10); -x_169 = lean_ctor_get(x_45, 11); -x_170 = lean_ctor_get(x_45, 12); -x_171 = lean_ctor_get(x_45, 14); -lean_inc(x_171); -lean_inc(x_170); -lean_inc(x_169); -lean_inc(x_168); -lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); +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; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_137 = lean_ctor_get(x_45, 0); +x_138 = lean_ctor_get(x_45, 1); +x_139 = lean_ctor_get(x_45, 2); +x_140 = lean_ctor_get(x_45, 3); +x_141 = lean_ctor_get(x_45, 4); +x_142 = lean_ctor_get(x_45, 5); +x_143 = lean_ctor_get(x_45, 6); +x_144 = lean_ctor_get_uint8(x_45, sizeof(void*)*15); +x_145 = lean_ctor_get(x_45, 7); +x_146 = lean_ctor_get(x_45, 8); +x_147 = lean_ctor_get(x_45, 9); +x_148 = lean_ctor_get(x_45, 10); +x_149 = lean_ctor_get(x_45, 11); +x_150 = lean_ctor_get(x_45, 12); +x_151 = lean_ctor_get(x_45, 14); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_inc(x_146); +lean_inc(x_145); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_138); +lean_inc(x_137); lean_dec(x_45); -x_172 = lean_ctor_get(x_46, 0); -lean_inc(x_172); +x_152 = lean_ctor_get(x_46, 0); +lean_inc(x_152); if (lean_is_exclusive(x_46)) { lean_ctor_release(x_46, 0); lean_ctor_release(x_46, 1); - x_173 = x_46; + x_153 = x_46; } else { lean_dec_ref(x_46); - x_173 = lean_box(0); + x_153 = lean_box(0); } -x_174 = lean_ctor_get(x_47, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_47, 1); -lean_inc(x_175); -x_176 = lean_ctor_get(x_47, 2); -lean_inc(x_176); -x_177 = lean_ctor_get(x_47, 3); -lean_inc(x_177); -x_178 = lean_ctor_get(x_47, 4); -lean_inc(x_178); -x_179 = lean_ctor_get(x_47, 5); -lean_inc(x_179); -x_180 = lean_ctor_get(x_47, 6); -lean_inc(x_180); -x_181 = lean_ctor_get(x_47, 7); -lean_inc(x_181); -x_182 = lean_ctor_get(x_47, 8); -lean_inc(x_182); -x_183 = lean_ctor_get(x_47, 9); -lean_inc(x_183); -x_184 = lean_ctor_get(x_47, 10); -lean_inc(x_184); -x_185 = lean_ctor_get(x_47, 11); -lean_inc(x_185); -x_186 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); -x_187 = lean_ctor_get(x_47, 12); -lean_inc(x_187); -x_188 = lean_ctor_get(x_47, 13); -lean_inc(x_188); +x_154 = lean_ctor_get(x_47, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_47, 1); +lean_inc(x_155); +x_156 = lean_ctor_get(x_47, 2); +lean_inc(x_156); +x_157 = lean_ctor_get(x_47, 3); +lean_inc(x_157); +x_158 = lean_ctor_get(x_47, 4); +lean_inc(x_158); +x_159 = lean_ctor_get(x_47, 5); +lean_inc(x_159); +x_160 = lean_ctor_get(x_47, 6); +lean_inc(x_160); +x_161 = lean_ctor_get(x_47, 7); +lean_inc(x_161); +x_162 = lean_ctor_get(x_47, 8); +lean_inc(x_162); +x_163 = lean_ctor_get(x_47, 9); +lean_inc(x_163); +x_164 = lean_ctor_get(x_47, 10); +lean_inc(x_164); +x_165 = lean_ctor_get(x_47, 11); +lean_inc(x_165); +x_166 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); +x_167 = lean_ctor_get(x_47, 12); +lean_inc(x_167); +x_168 = lean_ctor_get(x_47, 13); +lean_inc(x_168); if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 0); lean_ctor_release(x_47, 1); @@ -14694,108 +17742,298 @@ if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 11); lean_ctor_release(x_47, 12); lean_ctor_release(x_47, 13); - x_189 = x_47; + x_169 = x_47; } else { lean_dec_ref(x_47); - x_189 = lean_box(0); + x_169 = lean_box(0); } -x_190 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_179, x_1); +x_170 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_159, x_1); lean_dec(x_42); -if (lean_is_scalar(x_189)) { - x_191 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_169)) { + x_171 = lean_alloc_ctor(0, 14, 1); } else { - x_191 = x_189; + x_171 = x_169; } -lean_ctor_set(x_191, 0, x_174); -lean_ctor_set(x_191, 1, x_175); -lean_ctor_set(x_191, 2, x_176); -lean_ctor_set(x_191, 3, x_177); -lean_ctor_set(x_191, 4, x_178); -lean_ctor_set(x_191, 5, x_190); -lean_ctor_set(x_191, 6, x_180); -lean_ctor_set(x_191, 7, x_181); -lean_ctor_set(x_191, 8, x_182); -lean_ctor_set(x_191, 9, x_183); -lean_ctor_set(x_191, 10, x_184); -lean_ctor_set(x_191, 11, x_185); -lean_ctor_set(x_191, 12, x_187); -lean_ctor_set(x_191, 13, x_188); -lean_ctor_set_uint8(x_191, sizeof(void*)*14, x_186); -if (lean_is_scalar(x_173)) { - x_192 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_154); +lean_ctor_set(x_171, 1, x_155); +lean_ctor_set(x_171, 2, x_156); +lean_ctor_set(x_171, 3, x_157); +lean_ctor_set(x_171, 4, x_158); +lean_ctor_set(x_171, 5, x_170); +lean_ctor_set(x_171, 6, x_160); +lean_ctor_set(x_171, 7, x_161); +lean_ctor_set(x_171, 8, x_162); +lean_ctor_set(x_171, 9, x_163); +lean_ctor_set(x_171, 10, x_164); +lean_ctor_set(x_171, 11, x_165); +lean_ctor_set(x_171, 12, x_167); +lean_ctor_set(x_171, 13, x_168); +lean_ctor_set_uint8(x_171, sizeof(void*)*14, x_166); +if (lean_is_scalar(x_153)) { + x_172 = lean_alloc_ctor(0, 2, 0); } else { - x_192 = x_173; + x_172 = x_153; } -lean_ctor_set(x_192, 0, x_172); -lean_ctor_set(x_192, 1, x_191); -x_193 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_193, 0, x_157); -lean_ctor_set(x_193, 1, x_158); -lean_ctor_set(x_193, 2, x_159); -lean_ctor_set(x_193, 3, x_160); -lean_ctor_set(x_193, 4, x_161); -lean_ctor_set(x_193, 5, x_162); -lean_ctor_set(x_193, 6, x_163); -lean_ctor_set(x_193, 7, x_165); -lean_ctor_set(x_193, 8, x_166); -lean_ctor_set(x_193, 9, x_167); -lean_ctor_set(x_193, 10, x_168); -lean_ctor_set(x_193, 11, x_169); -lean_ctor_set(x_193, 12, x_170); -lean_ctor_set(x_193, 13, x_192); -lean_ctor_set(x_193, 14, x_171); -lean_ctor_set_uint8(x_193, sizeof(void*)*15, x_164); -x_194 = lean_st_ref_set(x_12, x_193, x_48); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - x_196 = x_194; +lean_ctor_set(x_172, 0, x_152); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_173, 0, x_137); +lean_ctor_set(x_173, 1, x_138); +lean_ctor_set(x_173, 2, x_139); +lean_ctor_set(x_173, 3, x_140); +lean_ctor_set(x_173, 4, x_141); +lean_ctor_set(x_173, 5, x_142); +lean_ctor_set(x_173, 6, x_143); +lean_ctor_set(x_173, 7, x_145); +lean_ctor_set(x_173, 8, x_146); +lean_ctor_set(x_173, 9, x_147); +lean_ctor_set(x_173, 10, x_148); +lean_ctor_set(x_173, 11, x_149); +lean_ctor_set(x_173, 12, x_150); +lean_ctor_set(x_173, 13, x_172); +lean_ctor_set(x_173, 14, x_151); +lean_ctor_set_uint8(x_173, sizeof(void*)*15, x_144); +x_174 = lean_st_ref_set(x_12, x_173, x_49); +x_175 = lean_ctor_get(x_174, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_176 = x_174; } else { - lean_dec_ref(x_194); - x_196 = lean_box(0); + lean_dec_ref(x_174); + x_176 = lean_box(0); } -x_197 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_198 = l_Int_Linear_Poly_addConst(x_41, x_197); +x_177 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_178 = l_Int_Linear_Poly_addConst(x_41, x_177); lean_inc(x_2); -if (lean_is_scalar(x_196)) { - x_199 = lean_alloc_ctor(6, 2, 0); +if (lean_is_scalar(x_176)) { + x_179 = lean_alloc_ctor(6, 2, 0); } else { - x_199 = x_196; - lean_ctor_set_tag(x_199, 6); + x_179 = x_176; + lean_ctor_set_tag(x_179, 6); } -lean_ctor_set(x_199, 0, x_2); -lean_ctor_set(x_199, 1, x_23); -x_200 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_198, x_199, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_195); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_200)) { - lean_ctor_release(x_200, 0); - lean_ctor_release(x_200, 1); - x_203 = x_200; +lean_ctor_set(x_179, 0, x_2); +lean_ctor_set(x_179, 1, x_23); +lean_ctor_set(x_44, 1, x_179); +lean_ctor_set(x_44, 0, x_178); +x_180 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_180, 0, x_44); +x_181 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_181, 0, x_180); +x_182 = lean_box(0); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +x_184 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_184, 0, x_183); +x_26 = x_184; +x_27 = x_175; +goto block_40; +} +} +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; uint8_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_185 = lean_ctor_get(x_44, 1); +lean_inc(x_185); +lean_dec(x_44); +x_186 = lean_ctor_get(x_45, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_45, 1); +lean_inc(x_187); +x_188 = lean_ctor_get(x_45, 2); +lean_inc(x_188); +x_189 = lean_ctor_get(x_45, 3); +lean_inc(x_189); +x_190 = lean_ctor_get(x_45, 4); +lean_inc(x_190); +x_191 = lean_ctor_get(x_45, 5); +lean_inc(x_191); +x_192 = lean_ctor_get(x_45, 6); +lean_inc(x_192); +x_193 = lean_ctor_get_uint8(x_45, sizeof(void*)*15); +x_194 = lean_ctor_get(x_45, 7); +lean_inc(x_194); +x_195 = lean_ctor_get(x_45, 8); +lean_inc(x_195); +x_196 = lean_ctor_get(x_45, 9); +lean_inc(x_196); +x_197 = lean_ctor_get(x_45, 10); +lean_inc(x_197); +x_198 = lean_ctor_get(x_45, 11); +lean_inc(x_198); +x_199 = lean_ctor_get(x_45, 12); +lean_inc(x_199); +x_200 = lean_ctor_get(x_45, 14); +lean_inc(x_200); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + lean_ctor_release(x_45, 2); + lean_ctor_release(x_45, 3); + lean_ctor_release(x_45, 4); + lean_ctor_release(x_45, 5); + lean_ctor_release(x_45, 6); + lean_ctor_release(x_45, 7); + lean_ctor_release(x_45, 8); + lean_ctor_release(x_45, 9); + lean_ctor_release(x_45, 10); + lean_ctor_release(x_45, 11); + lean_ctor_release(x_45, 12); + lean_ctor_release(x_45, 13); + lean_ctor_release(x_45, 14); + x_201 = x_45; } else { - lean_dec_ref(x_200); + lean_dec_ref(x_45); + x_201 = lean_box(0); +} +x_202 = lean_ctor_get(x_46, 0); +lean_inc(x_202); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_203 = x_46; +} else { + lean_dec_ref(x_46); x_203 = lean_box(0); } -x_204 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_204, 0, x_201); -x_205 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_205, 0, x_204); -x_206 = lean_box(0); -if (lean_is_scalar(x_203)) { - x_207 = lean_alloc_ctor(0, 2, 0); +x_204 = lean_ctor_get(x_47, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_47, 1); +lean_inc(x_205); +x_206 = lean_ctor_get(x_47, 2); +lean_inc(x_206); +x_207 = lean_ctor_get(x_47, 3); +lean_inc(x_207); +x_208 = lean_ctor_get(x_47, 4); +lean_inc(x_208); +x_209 = lean_ctor_get(x_47, 5); +lean_inc(x_209); +x_210 = lean_ctor_get(x_47, 6); +lean_inc(x_210); +x_211 = lean_ctor_get(x_47, 7); +lean_inc(x_211); +x_212 = lean_ctor_get(x_47, 8); +lean_inc(x_212); +x_213 = lean_ctor_get(x_47, 9); +lean_inc(x_213); +x_214 = lean_ctor_get(x_47, 10); +lean_inc(x_214); +x_215 = lean_ctor_get(x_47, 11); +lean_inc(x_215); +x_216 = lean_ctor_get_uint8(x_47, sizeof(void*)*14); +x_217 = lean_ctor_get(x_47, 12); +lean_inc(x_217); +x_218 = lean_ctor_get(x_47, 13); +lean_inc(x_218); +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); + lean_ctor_release(x_47, 4); + lean_ctor_release(x_47, 5); + lean_ctor_release(x_47, 6); + lean_ctor_release(x_47, 7); + lean_ctor_release(x_47, 8); + lean_ctor_release(x_47, 9); + lean_ctor_release(x_47, 10); + lean_ctor_release(x_47, 11); + lean_ctor_release(x_47, 12); + lean_ctor_release(x_47, 13); + x_219 = x_47; } else { - x_207 = x_203; + lean_dec_ref(x_47); + x_219 = lean_box(0); } -lean_ctor_set(x_207, 0, x_205); -lean_ctor_set(x_207, 1, x_206); -x_208 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_208, 0, x_207); -x_26 = x_208; -x_27 = x_202; +x_220 = l_Lean_PersistentArray_modify___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__14(x_42, x_3, x_209, x_1); +lean_dec(x_42); +if (lean_is_scalar(x_219)) { + x_221 = lean_alloc_ctor(0, 14, 1); +} else { + x_221 = x_219; +} +lean_ctor_set(x_221, 0, x_204); +lean_ctor_set(x_221, 1, x_205); +lean_ctor_set(x_221, 2, x_206); +lean_ctor_set(x_221, 3, x_207); +lean_ctor_set(x_221, 4, x_208); +lean_ctor_set(x_221, 5, x_220); +lean_ctor_set(x_221, 6, x_210); +lean_ctor_set(x_221, 7, x_211); +lean_ctor_set(x_221, 8, x_212); +lean_ctor_set(x_221, 9, x_213); +lean_ctor_set(x_221, 10, x_214); +lean_ctor_set(x_221, 11, x_215); +lean_ctor_set(x_221, 12, x_217); +lean_ctor_set(x_221, 13, x_218); +lean_ctor_set_uint8(x_221, sizeof(void*)*14, x_216); +if (lean_is_scalar(x_203)) { + x_222 = lean_alloc_ctor(0, 2, 0); +} else { + x_222 = x_203; +} +lean_ctor_set(x_222, 0, x_202); +lean_ctor_set(x_222, 1, x_221); +if (lean_is_scalar(x_201)) { + x_223 = lean_alloc_ctor(0, 15, 1); +} else { + x_223 = x_201; +} +lean_ctor_set(x_223, 0, x_186); +lean_ctor_set(x_223, 1, x_187); +lean_ctor_set(x_223, 2, x_188); +lean_ctor_set(x_223, 3, x_189); +lean_ctor_set(x_223, 4, x_190); +lean_ctor_set(x_223, 5, x_191); +lean_ctor_set(x_223, 6, x_192); +lean_ctor_set(x_223, 7, x_194); +lean_ctor_set(x_223, 8, x_195); +lean_ctor_set(x_223, 9, x_196); +lean_ctor_set(x_223, 10, x_197); +lean_ctor_set(x_223, 11, x_198); +lean_ctor_set(x_223, 12, x_199); +lean_ctor_set(x_223, 13, x_222); +lean_ctor_set(x_223, 14, x_200); +lean_ctor_set_uint8(x_223, sizeof(void*)*15, x_193); +x_224 = lean_st_ref_set(x_12, x_223, x_185); +x_225 = lean_ctor_get(x_224, 1); +lean_inc(x_225); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + x_226 = x_224; +} else { + lean_dec_ref(x_224); + x_226 = lean_box(0); +} +x_227 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_228 = l_Int_Linear_Poly_addConst(x_41, x_227); +lean_inc(x_2); +if (lean_is_scalar(x_226)) { + x_229 = lean_alloc_ctor(6, 2, 0); +} else { + x_229 = x_226; + lean_ctor_set_tag(x_229, 6); +} +lean_ctor_set(x_229, 0, x_2); +lean_ctor_set(x_229, 1, x_23); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_228); +lean_ctor_set(x_230, 1, x_229); +x_231 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_231, 0, x_230); +x_232 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_232, 0, x_231); +x_233 = lean_box(0); +x_234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_233); +x_235 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_235, 0, x_234); +x_26 = x_235; +x_27 = x_225; goto block_40; } } @@ -17905,160 +21143,259 @@ return x_57; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___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) { _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_Meta_Grind_Arith_Cutsat_LeCnstr_norm(x_1, 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_12; lean_object* x_13; +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_1); +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -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); -lean_inc(x_9); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applySubsts(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +x_16 = lean_box(0); +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_15); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = l_Int_Linear_Poly_isUnsatLe(x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__7(x_16, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -return x_21; +lean_dec(x_13); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_16); -x_23 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_23) == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +return x_13; +} +else { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -x_26 = lean_box(0); -lean_ctor_set(x_23, 0, x_26); +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; } -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; } } +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unsat", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__2; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__3; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__4___closed__1; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm(x_1); +lean_inc(x_9); +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applySubsts(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(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_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_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = l_Int_Linear_Poly_isUnsatLe(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__7(x_14, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +return x_19; +} else { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_23); -if (x_30 == 0) +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__2; +x_21 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) { -return x_23; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_box(0); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__8(x_14, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +return x_26; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_23, 0); -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_23); -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_27; +x_27 = !lean_is_exclusive(x_21); +if (x_27 == 0) { -uint8_t x_34; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_34 = !lean_is_exclusive(x_15); -if (x_34 == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_21, 1); +x_29 = lean_ctor_get(x_21, 0); +lean_dec(x_29); +lean_inc(x_14); +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -return x_15; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_15, 0); -x_36 = lean_ctor_get(x_15, 1); +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_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +lean_ctor_set_tag(x_30, 7); +lean_ctor_set(x_30, 1, x_32); +lean_ctor_set(x_30, 0, x_34); +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_34); +lean_ctor_set(x_21, 0, x_30); +x_35 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_20, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_15); -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; -} -} +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__8(x_14, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); +lean_dec(x_36); +return x_38; } else { -uint8_t x_38; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_38 = !lean_is_exclusive(x_12); -if (x_38 == 0) -{ -return x_12; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_12, 0); -x_40 = lean_ctor_get(x_12, 1); +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_39 = lean_ctor_get(x_30, 0); +x_40 = lean_ctor_get(x_30, 1); lean_inc(x_40); lean_inc(x_39); -lean_dec(x_12); -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_dec(x_30); +x_41 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +x_42 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_41); +lean_ctor_set(x_21, 0, x_42); +x_43 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_20, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__8(x_14, x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +lean_dec(x_44); +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; lean_object* x_58; +x_47 = lean_ctor_get(x_21, 1); +lean_inc(x_47); +lean_dec(x_21); +lean_inc(x_14); +x_48 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_51 = x_48; +} else { + lean_dec_ref(x_48); + x_51 = lean_box(0); +} +x_52 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__7; +if (lean_is_scalar(x_51)) { + x_53 = lean_alloc_ctor(7, 2, 0); +} else { + x_53 = x_51; + lean_ctor_set_tag(x_53, 7); +} +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_49); +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_20, x_54, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__8(x_14, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_57); +lean_dec(x_56); +return x_58; +} +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_59 = !lean_is_exclusive(x_13); +if (x_59 == 0) +{ +return x_13; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_13, 0); +x_61 = lean_ctor_get(x_13, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_13); +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; } } } @@ -18090,7 +21427,7 @@ 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_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__8(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_16 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); return x_16; } else @@ -18300,6 +21637,15 @@ lean_dec(x_2); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_reportNonNormalized___closed__1() { _start: { @@ -19081,7 +22427,7 @@ lean_inc(x_7); x_27 = l_Lean_Meta_mkOfEqFalse(x_25, x_7, x_8, x_9, x_10, x_26); if (lean_obj_tag(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; lean_object* x_37; lean_object* x_38; +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_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -19095,18 +22441,15 @@ x_33 = l_Int_Linear_Poly_addConst(x_31, x_32); x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_22); lean_ctor_set(x_34, 1, x_28); -x_35 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_33, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_apply_10(x_23, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); -return x_38; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_10(x_23, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +return x_36; } else { -uint8_t x_39; +uint8_t x_37; lean_dec(x_22); lean_dec(x_10); lean_dec(x_9); @@ -19116,29 +22459,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_39 = !lean_is_exclusive(x_27); -if (x_39 == 0) +x_37 = !lean_is_exclusive(x_27); +if (x_37 == 0) { return x_27; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_27, 0); -x_41 = lean_ctor_get(x_27, 1); -lean_inc(x_41); -lean_inc(x_40); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_27, 0); +x_39 = lean_ctor_get(x_27, 1); +lean_inc(x_39); +lean_inc(x_38); lean_dec(x_27); -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; +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_43; +uint8_t x_41; lean_dec(x_22); lean_dec(x_10); lean_dec(x_9); @@ -19148,29 +22491,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_43 = !lean_is_exclusive(x_24); -if (x_43 == 0) +x_41 = !lean_is_exclusive(x_24); +if (x_41 == 0) { return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_24, 0); -x_45 = lean_ctor_get(x_24, 1); -lean_inc(x_45); -lean_inc(x_44); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_24, 0); +x_43 = lean_ctor_get(x_24, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_24); -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_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 { -lean_object* x_47; +lean_object* x_45; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -19179,39 +22522,69 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_47 = l_Lean_Meta_Grind_mkEqTrueProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_47) == 0) +x_45 = l_Lean_Meta_Grind_mkEqTrueProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -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); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_50 = l_Lean_Meta_mkOfEqTrue(x_48, x_7, x_8, x_9, x_10, x_49); -if (lean_obj_tag(x_50) == 0) +x_48 = l_Lean_Meta_mkOfEqTrue(x_46, x_7, x_8, x_9, x_10, x_47); +if (lean_obj_tag(x_48) == 0) { -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_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); lean_ctor_set_tag(x_13, 0); -lean_ctor_set(x_13, 0, x_51); -x_53 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_22, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); +lean_ctor_set(x_13, 0, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_22); +lean_ctor_set(x_51, 1, x_13); +x_52 = lean_apply_10(x_23, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50); +return x_52; +} +else +{ +uint8_t x_53; +lean_free_object(x_13); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_53 = !lean_is_exclusive(x_48); +if (x_53 == 0) +{ +return x_48; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_48, 0); +x_55 = lean_ctor_get(x_48, 1); lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_apply_10(x_23, x_54, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +lean_inc(x_54); +lean_dec(x_48); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); return x_56; } +} +} else { uint8_t x_57; @@ -19225,19 +22598,19 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_57 = !lean_is_exclusive(x_50); +x_57 = !lean_is_exclusive(x_45); if (x_57 == 0) { -return x_50; +return x_45; } else { lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_50, 0); -x_59 = lean_ctor_get(x_50, 1); +x_58 = lean_ctor_get(x_45, 0); +x_59 = lean_ctor_get(x_45, 1); lean_inc(x_59); lean_inc(x_58); -lean_dec(x_50); +lean_dec(x_45); x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_58); lean_ctor_set(x_60, 1, x_59); @@ -19245,50 +22618,17 @@ return x_60; } } } -else -{ -uint8_t x_61; -lean_free_object(x_13); -lean_dec(x_22); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_61 = !lean_is_exclusive(x_47); -if (x_61 == 0) -{ -return x_47; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_47, 0); -x_63 = lean_ctor_get(x_47, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_47); -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 -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_13, 0); -lean_inc(x_65); +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_13, 0); +lean_inc(x_61); lean_dec(x_13); -x_66 = l_Lean_Meta_Grind_Arith_Cutsat_propagateIfIntLe___closed__1; +x_62 = l_Lean_Meta_Grind_Arith_Cutsat_propagateIfIntLe___closed__1; if (x_2 == 0) { -lean_object* x_67; +lean_object* x_63; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -19297,116 +22637,113 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_67 = l_Lean_Meta_Grind_mkEqFalseProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_67) == 0) +x_63 = l_Lean_Meta_Grind_mkEqFalseProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_70 = l_Lean_Meta_mkOfEqFalse(x_68, x_7, x_8, x_9, x_10, x_69); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Meta_Grind_Arith_Cutsat_propagateIfIntLe___closed__2; +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_74 = l_Int_Linear_Poly_mul(x_65, x_73); -x_75 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; -x_76 = l_Int_Linear_Poly_addConst(x_74, x_75); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_65); -lean_ctor_set(x_77, 1, x_71); -x_78 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_76, x_77, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_72); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); +lean_dec(x_63); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_66 = l_Lean_Meta_mkOfEqFalse(x_64, x_7, x_8, x_9, x_10, x_65); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_propagateIfIntLe___closed__2; +lean_inc(x_61); +x_70 = l_Int_Linear_Poly_mul(x_61, x_69); +x_71 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_refineWithDiseq_refineWithDiseqStep_x3f___spec__19___closed__1; +x_72 = l_Int_Linear_Poly_addConst(x_70, x_71); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_61); +lean_ctor_set(x_73, 1, x_67); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_apply_10(x_62, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_68); +return x_75; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_dec(x_61); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_76 = lean_ctor_get(x_66, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_66, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_78 = x_66; +} else { + lean_dec_ref(x_66); + x_78 = lean_box(0); +} +if (lean_is_scalar(x_78)) { + x_79 = lean_alloc_ctor(1, 2, 0); +} else { + x_79 = x_78; +} +lean_ctor_set(x_79, 0, x_76); +lean_ctor_set(x_79, 1, x_77); +return x_79; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_dec(x_61); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_80 = lean_ctor_get(x_63, 0); lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_apply_10(x_66, x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_80); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_65); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_82 = lean_ctor_get(x_70, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_70, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_84 = x_70; +x_81 = lean_ctor_get(x_63, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_82 = x_63; } else { - lean_dec_ref(x_70); - x_84 = lean_box(0); + lean_dec_ref(x_63); + x_82 = lean_box(0); } -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(1, 2, 0); } else { - x_85 = x_84; + x_83 = x_82; } -lean_ctor_set(x_85, 0, x_82); -lean_ctor_set(x_85, 1, x_83); -return x_85; +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_81); +return x_83; } } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_65); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_86 = lean_ctor_get(x_67, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_67, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_88 = x_67; -} else { - lean_dec_ref(x_67); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(1, 2, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); -return x_89; -} -} -else -{ -lean_object* x_90; +lean_object* x_84; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -19415,113 +22752,110 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_90 = l_Lean_Meta_Grind_mkEqTrueProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_90) == 0) +x_84 = l_Lean_Meta_Grind_mkEqTrueProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -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); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +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); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_93 = l_Lean_Meta_mkOfEqTrue(x_91, x_7, x_8, x_9, x_10, x_92); -if (lean_obj_tag(x_93) == 0) +x_87 = l_Lean_Meta_mkOfEqTrue(x_85, x_7, x_8, x_9, x_10, x_86); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_94 = lean_ctor_get(x_93, 0); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_90, 0, x_88); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_61); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_apply_10(x_62, x_91, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_89); +return x_92; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_61); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_93 = lean_ctor_get(x_87, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_87, 1); lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_94); -x_97 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_65, x_96, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_95); -x_98 = lean_ctor_get(x_97, 0); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_95 = x_87; +} else { + lean_dec_ref(x_87); + x_95 = lean_box(0); +} +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(1, 2, 0); +} else { + x_96 = x_95; +} +lean_ctor_set(x_96, 0, x_93); +lean_ctor_set(x_96, 1, x_94); +return x_96; +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_61); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_84, 1); lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_apply_10(x_66, x_98, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_99); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_99 = x_84; +} else { + lean_dec_ref(x_84); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); return x_100; } -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_65); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_101 = lean_ctor_get(x_93, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_93, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_103 = x_93; -} else { - lean_dec_ref(x_93); - x_103 = lean_box(0); -} -if (lean_is_scalar(x_103)) { - x_104 = lean_alloc_ctor(1, 2, 0); -} else { - x_104 = x_103; -} -lean_ctor_set(x_104, 0, x_101); -lean_ctor_set(x_104, 1, x_102); -return x_104; -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_65); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_105 = lean_ctor_get(x_90, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_90, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_107 = x_90; -} else { - lean_dec_ref(x_90); - x_107 = lean_box(0); -} -if (lean_is_scalar(x_107)) { - x_108 = lean_alloc_ctor(1, 2, 0); -} else { - x_108 = x_107; -} -lean_ctor_set(x_108, 0, x_105); -lean_ctor_set(x_108, 1, x_106); -return x_108; -} } } } } else { -uint8_t x_109; +uint8_t x_101; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19531,23 +22865,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_109 = !lean_is_exclusive(x_12); -if (x_109 == 0) +x_101 = !lean_is_exclusive(x_12); +if (x_101 == 0) { return x_12; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_12, 0); -x_111 = lean_ctor_get(x_12, 1); -lean_inc(x_111); -lean_inc(x_110); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_12, 0); +x_103 = lean_ctor_get(x_12, 1); +lean_inc(x_103); +lean_inc(x_102); lean_dec(x_12); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } } } @@ -19596,8 +22930,6 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_norm___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_applyEq___closed__2(); @@ -19638,12 +22970,22 @@ l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase lean_mark_persistent(l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___spec__15___closed__3); l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_erase___closed__1); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__1); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__2); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___lambda__1___closed__3); l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__1(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__1); l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__2(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__2); l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__3); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__4); +l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___spec__4___closed__5); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___closed__1); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_findEq___closed__2(); @@ -19666,6 +23008,10 @@ l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__7___closed__2 = _init_l_ lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__7___closed__2); l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__7___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__7___closed__3(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__7___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert___lambda__9___closed__2); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_reportNonNormalized___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_reportNonNormalized___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_reportNonNormalized___closed__1); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_reportNonNormalized___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr_0__Lean_Meta_Grind_Arith_Cutsat_reportNonNormalized___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Proof.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Proof.c index 8d68638b07..15823a6c46 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Proof.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Proof.c @@ -14,7 +14,6 @@ extern "C" { #endif static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__34; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__5; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__10; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__27; @@ -24,18 +23,22 @@ lean_object* l_Lean_mkNatLit(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__14; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__8; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__2(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__10; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__21; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__15; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__23; -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__6; +LEAN_EXPORT uint64_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1___rarg___boxed(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__3; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__16; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__3; @@ -43,39 +46,40 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed_ lean_object* l_Lean_mkApp7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__17; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___lambda__1___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__1; lean_object* l_Int_Linear_Poly_leadCoeff(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__17; lean_object* l_Lean_mkApp8(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*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_Grind_Arith_Cutsat_setInconsistent___closed__7; size_t lean_uint64_to_usize(uint64_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; lean_object* l_Int_Linear_Poly_addConst(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__5; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_collectDecVars(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__36; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__3; lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2; uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__29; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_gcdExt(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__7; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__15; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Int_Linear_Poly_isUnsatEq(lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__27; -uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(lean_object*, lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(uint64_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__1___boxed(lean_object**); extern lean_object* l___private_Lean_Expr_0__Lean_intLEPred; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___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_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__21; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__5; -lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(lean_object*, lean_object*); +lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(uint64_t, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__33; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(lean_object*, lean_object*, lean_object*); @@ -88,6 +92,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0 LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___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_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__25; lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__28; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__11; @@ -95,6 +100,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof(l LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___lambda__1___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__14; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__14; uint8_t lean_int_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__19; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_get__d__a(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,52 +112,56 @@ lean_object* l_Lean_Level_ofNat(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_markAsFound(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__9; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__23; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__13; lean_object* l_Lean_mkApp6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__17; +size_t lean_ptr_addr(lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__24; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_denoteExpr_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; -static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2; lean_object* lean_expr_abstract(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__13; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__13; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_collectDecVars___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__6; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__27; +uint64_t lean_usize_to_uint64(size_t); lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__20; lean_object* lean_nat_div(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__10; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__1___closed__1; lean_object* l_Lean_Meta_Grind_closeGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__19; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofFormat(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__30; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__6; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__9; lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__13; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__24; lean_object* l_Lean_RBNode_findCore___at_Lean_Meta_Closure_process___spec__1(lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__17; +lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__29; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -161,64 +171,64 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lam static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__7; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__26; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__3; -lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveBVar___spec__1(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__8; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_gcdCoeffs(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1(uint64_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__33; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__28; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__13; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__20; -static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_collectDecVars___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_get__d__a___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_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__15; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__16; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__4___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_collectDecVars(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__16; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___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_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__12; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__28; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; lean_object* l_Lean_mkIntLit(lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_Grind_Arith_Cutsat_withProofContext___spec__1___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*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__16; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__1; -static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__7; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__19; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__32; -double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_Arith_Int_ofPoly(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__2; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__2; -lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__14; +lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(uint64_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__15; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__35; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__1; lean_object* l_Int_Linear_Poly_getConst(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__20; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__19; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__14; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__9; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__14; -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__15; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__1___closed__2; lean_object* lean_int_mul(lean_object*, lean_object*); @@ -226,6 +236,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof__ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__15; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___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*); @@ -234,21 +245,19 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__26; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__12; +lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__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_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__7; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__1___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CollectDecVarsM_run___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__22; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__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_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__10; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__25; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__8; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12; -uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_foundBVar___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___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_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__22; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__14; @@ -264,7 +273,10 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed_ lean_object* l_Int_Linear_Poly_gcdCoeffs_x27(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__21; lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__10; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__35; +lean_object* l_Lean_Meta_Grind_Arith_Cutsat_inconsistent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___lambda__1(uint64_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___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_nat_mul(lean_object*, lean_object*); @@ -273,24 +285,23 @@ extern lean_object* l_Lean_reflBoolTrue; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_throwUnexpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__8; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__3; lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__11; +uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); size_t lean_usize_sub(size_t, size_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__13; lean_object* lean_array_mk(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__34; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__31; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__1___closed__3; -lean_object* l_Lean_isTracingEnabledForCore(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___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_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___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_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3; +uint64_t l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__8; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__18; lean_object* lean_array_uget(lean_object*, size_t); @@ -303,12 +314,12 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__31; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__25; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__11; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__6; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__2; lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr___boxed(lean_object*, lean_object*, lean_object*); @@ -321,7 +332,9 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__6; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1___boxed(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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__6; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); @@ -329,26 +342,22 @@ lean_object* l_Lean_Meta_Grind_Arith_Cutsat_get_x27(lean_object*, lean_object*, static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__10; lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__18; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__8; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__29; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__11; size_t lean_usize_land(size_t, size_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__10; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2___closed__19; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_get__d__a(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: @@ -676,434 +685,425 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(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; uint8_t x_16; +lean_object* x_13; uint64_t x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 2); -lean_inc(x_14); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(x_1); x_15 = lean_st_ref_get(x_3, x_12); 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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; size_t x_114; size_t x_115; lean_object* x_116; lean_object* x_117; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; size_t x_115; size_t x_116; lean_object* x_117; lean_object* x_118; x_17 = lean_ctor_get(x_15, 0); x_18 = lean_ctor_get(x_15, 1); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_14); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); +x_21 = 32; +x_22 = lean_uint64_shift_right(x_14, x_21); +x_23 = lean_uint64_xor(x_14, x_22); +x_24 = 16; +x_25 = lean_uint64_shift_right(x_23, x_24); +x_26 = lean_uint64_xor(x_23, x_25); +x_27 = lean_uint64_to_usize(x_26); +x_28 = lean_usize_of_nat(x_20); lean_dec(x_20); -x_30 = 1; -x_114 = lean_usize_sub(x_29, x_30); -x_115 = lean_usize_land(x_28, x_114); -x_116 = lean_array_uget(x_19, x_115); +x_29 = 1; +x_115 = lean_usize_sub(x_28, x_29); +x_116 = lean_usize_land(x_27, x_115); +x_117 = lean_array_uget(x_19, x_116); lean_dec(x_19); -x_117 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_116); -lean_dec(x_116); -if (lean_obj_tag(x_117) == 0) +x_118 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_117); +if (lean_obj_tag(x_118) == 0) { lean_free_object(x_15); switch (lean_obj_tag(x_13)) { case 0: { -lean_object* x_118; +lean_object* x_119; lean_dec(x_2); lean_dec(x_1); -x_118 = lean_ctor_get(x_13, 0); -lean_inc(x_118); +x_119 = lean_ctor_get(x_13, 0); +lean_inc(x_119); lean_dec(x_13); -x_31 = x_118; -x_32 = x_18; -goto block_113; +x_30 = x_119; +x_31 = x_18; +goto block_114; } case 1: { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_119 = lean_ctor_get(x_13, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_13, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_120 = lean_ctor_get(x_13, 0); lean_inc(x_120); -x_121 = lean_ctor_get(x_13, 2); +x_121 = lean_ctor_get(x_13, 1); lean_inc(x_121); +x_122 = lean_ctor_get(x_13, 2); +lean_inc(x_122); lean_dec(x_13); -x_122 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_119); x_123 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_120); -x_124 = lean_ctor_get(x_1, 0); -lean_inc(x_124); +x_124 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_121); +x_125 = lean_ctor_get(x_1, 0); +lean_inc(x_125); lean_dec(x_1); -x_125 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_124); -x_126 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__5; -x_127 = l_Lean_reflBoolTrue; -x_128 = l_Lean_mkApp6(x_126, x_2, x_122, x_123, x_125, x_127, x_121); -x_31 = x_128; -x_32 = x_18; -goto block_113; +x_126 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_125); +x_127 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__5; +x_128 = l_Lean_reflBoolTrue; +x_129 = l_Lean_mkApp6(x_127, x_2, x_123, x_124, x_126, x_128, x_122); +x_30 = x_129; +x_31 = x_18; +goto block_114; } case 2: { -lean_object* x_129; lean_object* x_130; -x_129 = lean_ctor_get(x_13, 0); -lean_inc(x_129); +lean_object* x_130; lean_object* x_131; +x_130 = lean_ctor_get(x_13, 0); +lean_inc(x_130); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_129); -x_130 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_129, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_130) == 0) +lean_inc(x_130); +x_131 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_130, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_131) == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_132 = lean_ctor_get(x_131, 0); lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_ctor_get(x_129, 0); +x_133 = lean_ctor_get(x_131, 1); lean_inc(x_133); -lean_dec(x_129); -x_134 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_133); -x_135 = lean_ctor_get(x_1, 0); -lean_inc(x_135); +lean_dec(x_131); +x_134 = lean_ctor_get(x_130, 0); +lean_inc(x_134); +lean_dec(x_130); +x_135 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_134); +x_136 = lean_ctor_get(x_1, 0); +lean_inc(x_136); lean_dec(x_1); -x_136 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_135); -x_137 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__8; -x_138 = l_Lean_reflBoolTrue; -x_139 = l_Lean_mkApp5(x_137, x_2, x_134, x_136, x_138, x_131); -x_31 = x_139; -x_32 = x_132; -goto block_113; +x_137 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_136); +x_138 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__8; +x_139 = l_Lean_reflBoolTrue; +x_140 = l_Lean_mkApp5(x_138, x_2, x_135, x_137, x_139, x_132); +x_30 = x_140; +x_31 = x_133; +goto block_114; } else { -uint8_t x_140; -lean_dec(x_129); -lean_dec(x_14); +uint8_t x_141; +lean_dec(x_130); lean_dec(x_2); lean_dec(x_1); -x_140 = !lean_is_exclusive(x_130); -if (x_140 == 0) +x_141 = !lean_is_exclusive(x_131); +if (x_141 == 0) { -return x_130; +return x_131; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_130, 0); -x_142 = lean_ctor_get(x_130, 1); +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_131, 0); +x_143 = lean_ctor_get(x_131, 1); +lean_inc(x_143); lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_130); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; +lean_dec(x_131); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; } } } case 3: { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_144 = lean_ctor_get(x_13, 0); -lean_inc(x_144); -lean_dec(x_13); -x_145 = lean_ctor_get(x_144, 0); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_145 = lean_ctor_get(x_13, 0); lean_inc(x_145); -x_146 = l_Int_Linear_Poly_getConst(x_145); -x_147 = l_Int_Linear_Poly_gcdCoeffs(x_145, x_146); +lean_dec(x_13); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = l_Int_Linear_Poly_getConst(x_146); +x_148 = l_Int_Linear_Poly_gcdCoeffs(x_146, x_147); lean_inc(x_2); -x_148 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_144, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_148) == 0) +x_149 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_145, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_149) == 0) { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_150 = lean_ctor_get(x_149, 0); lean_inc(x_150); -lean_dec(x_148); -x_151 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_145); -x_152 = lean_ctor_get(x_1, 0); -lean_inc(x_152); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_146); +x_153 = lean_ctor_get(x_1, 0); +lean_inc(x_153); lean_dec(x_1); -x_153 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_152); -x_154 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_155 = lean_int_dec_le(x_154, x_147); -if (x_155 == 0) +x_154 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_153); +x_155 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_156 = lean_int_dec_le(x_155, x_148); +if (x_156 == 0) { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_156 = lean_int_neg(x_147); -lean_dec(x_147); -x_157 = l_Int_toNat(x_156); -lean_dec(x_156); -x_158 = l_Lean_instToExprInt_mkNat(x_157); -x_159 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_160 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_161 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_162 = l_Lean_mkApp3(x_159, x_160, x_161, x_158); -x_163 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; -x_164 = l_Lean_reflBoolTrue; -x_165 = l_Lean_mkApp6(x_163, x_2, x_151, x_153, x_162, x_164, x_149); -x_31 = x_165; -x_32 = x_150; -goto block_113; +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_157 = lean_int_neg(x_148); +lean_dec(x_148); +x_158 = l_Int_toNat(x_157); +lean_dec(x_157); +x_159 = l_Lean_instToExprInt_mkNat(x_158); +x_160 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_161 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_162 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_163 = l_Lean_mkApp3(x_160, x_161, x_162, x_159); +x_164 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; +x_165 = l_Lean_reflBoolTrue; +x_166 = l_Lean_mkApp6(x_164, x_2, x_152, x_154, x_163, x_165, x_150); +x_30 = x_166; +x_31 = x_151; +goto block_114; } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_166 = l_Int_toNat(x_147); -lean_dec(x_147); -x_167 = l_Lean_instToExprInt_mkNat(x_166); -x_168 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; -x_169 = l_Lean_reflBoolTrue; -x_170 = l_Lean_mkApp6(x_168, x_2, x_151, x_153, x_167, x_169, x_149); -x_31 = x_170; -x_32 = x_150; -goto block_113; +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = l_Int_toNat(x_148); +lean_dec(x_148); +x_168 = l_Lean_instToExprInt_mkNat(x_167); +x_169 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; +x_170 = l_Lean_reflBoolTrue; +x_171 = l_Lean_mkApp6(x_169, x_2, x_152, x_154, x_168, x_170, x_150); +x_30 = x_171; +x_31 = x_151; +goto block_114; } } else { -uint8_t x_171; -lean_dec(x_147); -lean_dec(x_145); -lean_dec(x_14); +uint8_t x_172; +lean_dec(x_148); +lean_dec(x_146); lean_dec(x_2); lean_dec(x_1); -x_171 = !lean_is_exclusive(x_148); -if (x_171 == 0) +x_172 = !lean_is_exclusive(x_149); +if (x_172 == 0) { -return x_148; +return x_149; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_148, 0); -x_173 = lean_ctor_get(x_148, 1); +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_149, 0); +x_174 = lean_ctor_get(x_149, 1); +lean_inc(x_174); lean_inc(x_173); -lean_inc(x_172); -lean_dec(x_148); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_172); -lean_ctor_set(x_174, 1, x_173); -return x_174; +lean_dec(x_149); +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; } } } case 4: { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_175 = lean_ctor_get(x_13, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_13, 1); +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_176 = lean_ctor_get(x_13, 0); lean_inc(x_176); -x_177 = lean_ctor_get(x_13, 2); +x_177 = lean_ctor_get(x_13, 1); lean_inc(x_177); +x_178 = lean_ctor_get(x_13, 2); +lean_inc(x_178); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_176); -x_178 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_176, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_178) == 0) -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -lean_inc(x_2); lean_inc(x_177); -x_181 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_177, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_180); -if (lean_obj_tag(x_181) == 0) +x_179 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_177, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_179) == 0) { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_182 = lean_ctor_get(x_181, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_181, 1); -lean_inc(x_183); -lean_dec(x_181); -x_184 = l_Lean_mkNatLit(x_175); -x_185 = lean_ctor_get(x_176, 0); -lean_inc(x_185); -lean_dec(x_176); -x_186 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_185); -x_187 = lean_ctor_get(x_177, 0); -lean_inc(x_187); -lean_dec(x_177); -x_188 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_187); -x_189 = lean_ctor_get(x_1, 0); -lean_inc(x_189); -lean_dec(x_1); -x_190 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_189); -x_191 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__26; -x_192 = l_Lean_reflBoolTrue; -x_193 = l_Lean_mkApp8(x_191, x_2, x_184, x_186, x_188, x_190, x_192, x_179, x_182); -x_31 = x_193; -x_32 = x_183; -goto block_113; -} -else -{ -uint8_t x_194; +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_179, 1); +lean_inc(x_181); lean_dec(x_179); +lean_inc(x_2); +lean_inc(x_178); +x_182 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_178, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_181); +if (lean_obj_tag(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; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +lean_dec(x_182); +x_185 = l_Lean_mkNatLit(x_176); +x_186 = lean_ctor_get(x_177, 0); +lean_inc(x_186); lean_dec(x_177); -lean_dec(x_176); -lean_dec(x_175); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_194 = !lean_is_exclusive(x_181); -if (x_194 == 0) -{ -return x_181; -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_181, 0); -x_196 = lean_ctor_get(x_181, 1); -lean_inc(x_196); -lean_inc(x_195); -lean_dec(x_181); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -return x_197; -} -} -} -else -{ -uint8_t x_198; -lean_dec(x_177); -lean_dec(x_176); -lean_dec(x_175); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_198 = !lean_is_exclusive(x_178); -if (x_198 == 0) -{ -return x_178; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_178, 0); -x_200 = lean_ctor_get(x_178, 1); -lean_inc(x_200); -lean_inc(x_199); +x_187 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_186); +x_188 = lean_ctor_get(x_178, 0); +lean_inc(x_188); lean_dec(x_178); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -return x_201; +x_189 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_188); +x_190 = lean_ctor_get(x_1, 0); +lean_inc(x_190); +lean_dec(x_1); +x_191 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_190); +x_192 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__26; +x_193 = l_Lean_reflBoolTrue; +x_194 = l_Lean_mkApp8(x_192, x_2, x_185, x_187, x_189, x_191, x_193, x_180, x_183); +x_30 = x_194; +x_31 = x_184; +goto block_114; +} +else +{ +uint8_t x_195; +lean_dec(x_180); +lean_dec(x_178); +lean_dec(x_177); +lean_dec(x_176); +lean_dec(x_2); +lean_dec(x_1); +x_195 = !lean_is_exclusive(x_182); +if (x_195 == 0) +{ +return x_182; +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_196 = lean_ctor_get(x_182, 0); +x_197 = lean_ctor_get(x_182, 1); +lean_inc(x_197); +lean_inc(x_196); +lean_dec(x_182); +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +return x_198; +} +} +} +else +{ +uint8_t x_199; +lean_dec(x_178); +lean_dec(x_177); +lean_dec(x_176); +lean_dec(x_2); +lean_dec(x_1); +x_199 = !lean_is_exclusive(x_179); +if (x_199 == 0) +{ +return x_179; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; +x_200 = lean_ctor_get(x_179, 0); +x_201 = lean_ctor_get(x_179, 1); +lean_inc(x_201); +lean_inc(x_200); +lean_dec(x_179); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_200); +lean_ctor_set(x_202, 1, x_201); +return x_202; } } } default: { -lean_object* x_202; lean_object* x_203; lean_object* x_204; +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_dec(x_1); -x_202 = lean_ctor_get(x_13, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_13, 1); +x_203 = lean_ctor_get(x_13, 0); lean_inc(x_203); +x_204 = lean_ctor_get(x_13, 1); +lean_inc(x_204); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_202); -x_204 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_202, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_204) == 0) +lean_inc(x_203); +x_205 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_203, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_205) == 0) { -lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); +lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_206 = lean_ctor_get(x_205, 0); lean_inc(x_206); -lean_dec(x_204); -lean_inc(x_2); -lean_inc(x_203); -x_207 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_203, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_206); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -lean_dec(x_207); -x_210 = lean_ctor_get(x_202, 0); -lean_inc(x_210); -lean_dec(x_202); -x_211 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_210); -x_212 = lean_ctor_get(x_203, 0); -lean_inc(x_212); -lean_dec(x_203); -x_213 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_212); -x_214 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__29; -x_215 = l_Lean_reflBoolTrue; -x_216 = l_Lean_mkApp6(x_214, x_2, x_211, x_213, x_215, x_205, x_208); -x_31 = x_216; -x_32 = x_209; -goto block_113; -} -else -{ -uint8_t x_217; +x_207 = lean_ctor_get(x_205, 1); +lean_inc(x_207); lean_dec(x_205); +lean_inc(x_2); +lean_inc(x_204); +x_208 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_204, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_207); +if (lean_obj_tag(x_208) == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_209 = lean_ctor_get(x_208, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_208, 1); +lean_inc(x_210); +lean_dec(x_208); +x_211 = lean_ctor_get(x_203, 0); +lean_inc(x_211); lean_dec(x_203); -lean_dec(x_202); -lean_dec(x_14); -lean_dec(x_2); -x_217 = !lean_is_exclusive(x_207); -if (x_217 == 0) -{ -return x_207; -} -else -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_218 = lean_ctor_get(x_207, 0); -x_219 = lean_ctor_get(x_207, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_207); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_219); -return x_220; -} -} -} -else -{ -uint8_t x_221; -lean_dec(x_203); -lean_dec(x_202); -lean_dec(x_14); -lean_dec(x_2); -x_221 = !lean_is_exclusive(x_204); -if (x_221 == 0) -{ -return x_204; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_204, 0); -x_223 = lean_ctor_get(x_204, 1); -lean_inc(x_223); -lean_inc(x_222); +x_212 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_211); +x_213 = lean_ctor_get(x_204, 0); +lean_inc(x_213); lean_dec(x_204); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -return x_224; +x_214 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_213); +x_215 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__29; +x_216 = l_Lean_reflBoolTrue; +x_217 = l_Lean_mkApp6(x_215, x_2, x_212, x_214, x_216, x_206, x_209); +x_30 = x_217; +x_31 = x_210; +goto block_114; +} +else +{ +uint8_t x_218; +lean_dec(x_206); +lean_dec(x_204); +lean_dec(x_203); +lean_dec(x_2); +x_218 = !lean_is_exclusive(x_208); +if (x_218 == 0) +{ +return x_208; +} +else +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_208, 0); +x_220 = lean_ctor_get(x_208, 1); +lean_inc(x_220); +lean_inc(x_219); +lean_dec(x_208); +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_220); +return x_221; +} +} +} +else +{ +uint8_t x_222; +lean_dec(x_204); +lean_dec(x_203); +lean_dec(x_2); +x_222 = !lean_is_exclusive(x_205); +if (x_222 == 0) +{ +return x_205; +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; +x_223 = lean_ctor_get(x_205, 0); +x_224 = lean_ctor_get(x_205, 1); +lean_inc(x_224); +lean_inc(x_223); +lean_dec(x_205); +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_223); +lean_ctor_set(x_225, 1, x_224); +return x_225; } } } @@ -1111,53 +1111,54 @@ return x_224; } else { -lean_object* x_225; -lean_dec(x_14); +lean_object* x_226; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_225 = lean_ctor_get(x_117, 0); -lean_inc(x_225); -lean_dec(x_117); -lean_ctor_set(x_15, 0, x_225); +x_226 = lean_ctor_get(x_118, 0); +lean_inc(x_226); +lean_dec(x_118); +lean_ctor_set(x_15, 0, x_226); return x_15; } -block_113: +block_114: { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_st_ref_take(x_3, x_32); -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_st_ref_take(x_3, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) +lean_dec(x_32); +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; size_t x_42; lean_object* x_43; uint8_t x_44; -x_37 = lean_ctor_get(x_34, 0); -x_38 = lean_ctor_get(x_34, 1); -x_39 = lean_array_get_size(x_38); -x_40 = lean_usize_of_nat(x_39); -lean_dec(x_39); -x_41 = lean_usize_sub(x_40, x_30); -x_42 = lean_usize_land(x_28, x_41); -x_43 = lean_array_uget(x_38, x_42); -x_44 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_43); -if (x_44 == 0) +lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +x_38 = lean_array_get_size(x_37); +x_39 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_40 = lean_usize_sub(x_39, x_29); +x_41 = lean_usize_land(x_27, x_40); +x_42 = lean_array_uget(x_37, x_41); +lean_inc(x_42); +x_43 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_42); +if (x_43 == 0) { -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; uint8_t x_54; -x_45 = lean_unsigned_to_nat(1u); -x_46 = lean_nat_add(x_37, x_45); -lean_dec(x_37); -lean_inc(x_31); +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; uint8_t x_54; +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_add(x_36, x_44); +lean_dec(x_36); +x_46 = lean_box_uint64(x_14); +lean_inc(x_30); x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_14); -lean_ctor_set(x_47, 1, x_31); -lean_ctor_set(x_47, 2, x_43); -x_48 = lean_array_uset(x_38, x_42, x_47); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_30); +lean_ctor_set(x_47, 2, x_42); +x_48 = lean_array_uset(x_37, x_41, x_47); x_49 = lean_unsigned_to_nat(4u); -x_50 = lean_nat_mul(x_46, x_49); +x_50 = lean_nat_mul(x_45, x_49); x_51 = lean_unsigned_to_nat(3u); x_52 = lean_nat_div(x_50, x_51); lean_dec(x_50); @@ -1169,16 +1170,16 @@ if (x_54 == 0) { lean_object* x_55; lean_object* x_56; uint8_t x_57; x_55 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_48); -lean_ctor_set(x_34, 1, x_55); -lean_ctor_set(x_34, 0, x_46); -x_56 = lean_st_ref_set(x_3, x_34, x_35); +lean_ctor_set(x_33, 1, x_55); +lean_ctor_set(x_33, 0, x_45); +x_56 = lean_st_ref_set(x_3, x_33, x_34); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) { lean_object* x_58; x_58 = lean_ctor_get(x_56, 0); lean_dec(x_58); -lean_ctor_set(x_56, 0, x_31); +lean_ctor_set(x_56, 0, x_30); return x_56; } else @@ -1188,7 +1189,7 @@ x_59 = lean_ctor_get(x_56, 1); lean_inc(x_59); lean_dec(x_56); x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_31); +lean_ctor_set(x_60, 0, x_30); lean_ctor_set(x_60, 1, x_59); return x_60; } @@ -1196,16 +1197,16 @@ return x_60; else { lean_object* x_61; uint8_t x_62; -lean_ctor_set(x_34, 1, x_48); -lean_ctor_set(x_34, 0, x_46); -x_61 = lean_st_ref_set(x_3, x_34, x_35); +lean_ctor_set(x_33, 1, x_48); +lean_ctor_set(x_33, 0, x_45); +x_61 = lean_st_ref_set(x_3, x_33, x_34); x_62 = !lean_is_exclusive(x_61); if (x_62 == 0) { lean_object* x_63; x_63 = lean_ctor_get(x_61, 0); lean_dec(x_63); -lean_ctor_set(x_61, 0, x_31); +lean_ctor_set(x_61, 0, x_30); return x_61; } else @@ -1215,7 +1216,7 @@ x_64 = lean_ctor_get(x_61, 1); lean_inc(x_64); lean_dec(x_61); x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_31); +lean_ctor_set(x_65, 0, x_30); lean_ctor_set(x_65, 1, x_64); return x_65; } @@ -1225,19 +1226,19 @@ else { 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_66 = lean_box(0); -x_67 = lean_array_uset(x_38, x_42, x_66); -lean_inc(x_31); -x_68 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_31, x_43); -x_69 = lean_array_uset(x_67, x_42, x_68); -lean_ctor_set(x_34, 1, x_69); -x_70 = lean_st_ref_set(x_3, x_34, x_35); +x_67 = lean_array_uset(x_37, x_41, x_66); +lean_inc(x_30); +x_68 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_30, x_42); +x_69 = lean_array_uset(x_67, x_41, x_68); +lean_ctor_set(x_33, 1, x_69); +x_70 = lean_st_ref_set(x_3, x_33, x_34); x_71 = !lean_is_exclusive(x_70); if (x_71 == 0) { lean_object* x_72; x_72 = lean_ctor_get(x_70, 0); lean_dec(x_72); -lean_ctor_set(x_70, 0, x_31); +lean_ctor_set(x_70, 0, x_30); return x_70; } else @@ -1247,7 +1248,7 @@ x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); lean_dec(x_70); x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_31); +lean_ctor_set(x_74, 0, x_30); lean_ctor_set(x_74, 1, x_73); return x_74; } @@ -1256,583 +1257,576 @@ return x_74; else { lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; size_t x_79; size_t x_80; lean_object* x_81; uint8_t x_82; -x_75 = lean_ctor_get(x_34, 0); -x_76 = lean_ctor_get(x_34, 1); +x_75 = lean_ctor_get(x_33, 0); +x_76 = lean_ctor_get(x_33, 1); lean_inc(x_76); lean_inc(x_75); -lean_dec(x_34); +lean_dec(x_33); x_77 = lean_array_get_size(x_76); x_78 = lean_usize_of_nat(x_77); lean_dec(x_77); -x_79 = lean_usize_sub(x_78, x_30); -x_80 = lean_usize_land(x_28, x_79); +x_79 = lean_usize_sub(x_78, x_29); +x_80 = lean_usize_land(x_27, x_79); x_81 = lean_array_uget(x_76, x_80); +lean_inc(x_81); x_82 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_81); if (x_82 == 0) { -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; uint8_t x_92; +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; uint8_t x_93; x_83 = lean_unsigned_to_nat(1u); x_84 = lean_nat_add(x_75, x_83); lean_dec(x_75); -lean_inc(x_31); -x_85 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_85, 0, x_14); -lean_ctor_set(x_85, 1, x_31); -lean_ctor_set(x_85, 2, x_81); -x_86 = lean_array_uset(x_76, x_80, x_85); -x_87 = lean_unsigned_to_nat(4u); -x_88 = lean_nat_mul(x_84, x_87); -x_89 = lean_unsigned_to_nat(3u); -x_90 = lean_nat_div(x_88, x_89); -lean_dec(x_88); -x_91 = lean_array_get_size(x_86); -x_92 = lean_nat_dec_le(x_90, x_91); +x_85 = lean_box_uint64(x_14); +lean_inc(x_30); +x_86 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_30); +lean_ctor_set(x_86, 2, x_81); +x_87 = lean_array_uset(x_76, x_80, x_86); +x_88 = lean_unsigned_to_nat(4u); +x_89 = lean_nat_mul(x_84, x_88); +x_90 = lean_unsigned_to_nat(3u); +x_91 = lean_nat_div(x_89, x_90); +lean_dec(x_89); +x_92 = lean_array_get_size(x_87); +x_93 = lean_nat_dec_le(x_91, x_92); +lean_dec(x_92); lean_dec(x_91); -lean_dec(x_90); -if (x_92 == 0) +if (x_93 == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_93 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_86); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_84); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_st_ref_set(x_3, x_94, x_35); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; +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_94 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_87); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_84); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_st_ref_set(x_3, x_95, x_34); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_96); + x_98 = lean_box(0); } -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(0, 2, 0); } else { - x_98 = x_97; + x_99 = x_98; } -lean_ctor_set(x_98, 0, x_31); -lean_ctor_set(x_98, 1, x_96); -return x_98; +lean_ctor_set(x_99, 0, x_30); +lean_ctor_set(x_99, 1, x_97); +return x_99; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_84); -lean_ctor_set(x_99, 1, x_86); -x_100 = lean_st_ref_set(x_3, x_99, x_35); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_84); +lean_ctor_set(x_100, 1, x_87); +x_101 = lean_st_ref_set(x_3, x_100, x_34); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; } else { - lean_dec_ref(x_100); - x_102 = lean_box(0); + lean_dec_ref(x_101); + x_103 = lean_box(0); } -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); } else { - x_103 = x_102; + x_104 = x_103; } -lean_ctor_set(x_103, 0, x_31); -lean_ctor_set(x_103, 1, x_101); -return x_103; +lean_ctor_set(x_104, 0, x_30); +lean_ctor_set(x_104, 1, x_102); +return x_104; } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_104 = lean_box(0); -x_105 = lean_array_uset(x_76, x_80, x_104); -lean_inc(x_31); -x_106 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_31, x_81); -x_107 = lean_array_uset(x_105, x_80, x_106); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_75); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_st_ref_set(x_3, x_108, x_35); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; +lean_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; +x_105 = lean_box(0); +x_106 = lean_array_uset(x_76, x_80, x_105); +lean_inc(x_30); +x_107 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_30, x_81); +x_108 = lean_array_uset(x_106, x_80, x_107); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_75); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_st_ref_set(x_3, x_109, x_34); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_112 = x_110; } else { - lean_dec_ref(x_109); - x_111 = lean_box(0); + lean_dec_ref(x_110); + x_112 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_113 = x_112; } -lean_ctor_set(x_112, 0, x_31); -lean_ctor_set(x_112, 1, x_110); -return x_112; +lean_ctor_set(x_113, 0, x_30); +lean_ctor_set(x_113, 1, x_111); +return x_113; } } } } else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint64_t x_230; uint64_t x_231; uint64_t x_232; uint64_t x_233; uint64_t x_234; uint64_t x_235; uint64_t x_236; size_t x_237; size_t x_238; size_t x_239; lean_object* x_240; lean_object* x_241; size_t x_285; size_t x_286; lean_object* x_287; lean_object* x_288; -x_226 = lean_ctor_get(x_15, 0); -x_227 = lean_ctor_get(x_15, 1); -lean_inc(x_227); -lean_inc(x_226); -lean_dec(x_15); -x_228 = lean_ctor_get(x_226, 1); +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint64_t x_231; uint64_t x_232; uint64_t x_233; uint64_t x_234; uint64_t x_235; uint64_t x_236; size_t x_237; size_t x_238; size_t x_239; lean_object* x_240; lean_object* x_241; size_t x_286; size_t x_287; lean_object* x_288; lean_object* x_289; +x_227 = lean_ctor_get(x_15, 0); +x_228 = lean_ctor_get(x_15, 1); lean_inc(x_228); -lean_dec(x_226); -x_229 = lean_array_get_size(x_228); -x_230 = lean_uint64_of_nat(x_14); +lean_inc(x_227); +lean_dec(x_15); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec(x_227); +x_230 = lean_array_get_size(x_229); x_231 = 32; -x_232 = lean_uint64_shift_right(x_230, x_231); -x_233 = lean_uint64_xor(x_230, x_232); +x_232 = lean_uint64_shift_right(x_14, x_231); +x_233 = lean_uint64_xor(x_14, x_232); x_234 = 16; x_235 = lean_uint64_shift_right(x_233, x_234); x_236 = lean_uint64_xor(x_233, x_235); x_237 = lean_uint64_to_usize(x_236); -x_238 = lean_usize_of_nat(x_229); -lean_dec(x_229); +x_238 = lean_usize_of_nat(x_230); +lean_dec(x_230); x_239 = 1; -x_285 = lean_usize_sub(x_238, x_239); -x_286 = lean_usize_land(x_237, x_285); -x_287 = lean_array_uget(x_228, x_286); -lean_dec(x_228); -x_288 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_287); -lean_dec(x_287); -if (lean_obj_tag(x_288) == 0) +x_286 = lean_usize_sub(x_238, x_239); +x_287 = lean_usize_land(x_237, x_286); +x_288 = lean_array_uget(x_229, x_287); +lean_dec(x_229); +x_289 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_288); +if (lean_obj_tag(x_289) == 0) { switch (lean_obj_tag(x_13)) { case 0: { -lean_object* x_289; +lean_object* x_290; lean_dec(x_2); lean_dec(x_1); -x_289 = lean_ctor_get(x_13, 0); -lean_inc(x_289); +x_290 = lean_ctor_get(x_13, 0); +lean_inc(x_290); lean_dec(x_13); -x_240 = x_289; -x_241 = x_227; -goto block_284; +x_240 = x_290; +x_241 = x_228; +goto block_285; } case 1: { -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_290 = lean_ctor_get(x_13, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_13, 1); +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; +x_291 = lean_ctor_get(x_13, 0); lean_inc(x_291); -x_292 = lean_ctor_get(x_13, 2); +x_292 = lean_ctor_get(x_13, 1); lean_inc(x_292); +x_293 = lean_ctor_get(x_13, 2); +lean_inc(x_293); lean_dec(x_13); -x_293 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_290); x_294 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_291); -x_295 = lean_ctor_get(x_1, 0); -lean_inc(x_295); +x_295 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_292); +x_296 = lean_ctor_get(x_1, 0); +lean_inc(x_296); lean_dec(x_1); -x_296 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_295); -x_297 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__5; -x_298 = l_Lean_reflBoolTrue; -x_299 = l_Lean_mkApp6(x_297, x_2, x_293, x_294, x_296, x_298, x_292); -x_240 = x_299; -x_241 = x_227; -goto block_284; +x_297 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_296); +x_298 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__5; +x_299 = l_Lean_reflBoolTrue; +x_300 = l_Lean_mkApp6(x_298, x_2, x_294, x_295, x_297, x_299, x_293); +x_240 = x_300; +x_241 = x_228; +goto block_285; } case 2: { -lean_object* x_300; lean_object* x_301; -x_300 = lean_ctor_get(x_13, 0); -lean_inc(x_300); +lean_object* x_301; lean_object* x_302; +x_301 = lean_ctor_get(x_13, 0); +lean_inc(x_301); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_300); -x_301 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_300, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_227); -if (lean_obj_tag(x_301) == 0) +lean_inc(x_301); +x_302 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_301, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_228); +if (lean_obj_tag(x_302) == 0) { -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +x_303 = lean_ctor_get(x_302, 0); lean_inc(x_303); -lean_dec(x_301); -x_304 = lean_ctor_get(x_300, 0); +x_304 = lean_ctor_get(x_302, 1); lean_inc(x_304); -lean_dec(x_300); -x_305 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_304); -x_306 = lean_ctor_get(x_1, 0); -lean_inc(x_306); +lean_dec(x_302); +x_305 = lean_ctor_get(x_301, 0); +lean_inc(x_305); +lean_dec(x_301); +x_306 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_305); +x_307 = lean_ctor_get(x_1, 0); +lean_inc(x_307); lean_dec(x_1); -x_307 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_306); -x_308 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__8; -x_309 = l_Lean_reflBoolTrue; -x_310 = l_Lean_mkApp5(x_308, x_2, x_305, x_307, x_309, x_302); -x_240 = x_310; -x_241 = x_303; -goto block_284; +x_308 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_307); +x_309 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__8; +x_310 = l_Lean_reflBoolTrue; +x_311 = l_Lean_mkApp5(x_309, x_2, x_306, x_308, x_310, x_303); +x_240 = x_311; +x_241 = x_304; +goto block_285; } else { -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -lean_dec(x_300); -lean_dec(x_14); +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; +lean_dec(x_301); lean_dec(x_2); lean_dec(x_1); -x_311 = lean_ctor_get(x_301, 0); -lean_inc(x_311); -x_312 = lean_ctor_get(x_301, 1); +x_312 = lean_ctor_get(x_302, 0); lean_inc(x_312); -if (lean_is_exclusive(x_301)) { - lean_ctor_release(x_301, 0); - lean_ctor_release(x_301, 1); - x_313 = x_301; +x_313 = lean_ctor_get(x_302, 1); +lean_inc(x_313); +if (lean_is_exclusive(x_302)) { + lean_ctor_release(x_302, 0); + lean_ctor_release(x_302, 1); + x_314 = x_302; } else { - lean_dec_ref(x_301); - x_313 = lean_box(0); + lean_dec_ref(x_302); + x_314 = lean_box(0); } -if (lean_is_scalar(x_313)) { - x_314 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_314)) { + x_315 = lean_alloc_ctor(1, 2, 0); } else { - x_314 = x_313; + x_315 = x_314; } -lean_ctor_set(x_314, 0, x_311); -lean_ctor_set(x_314, 1, x_312); -return x_314; +lean_ctor_set(x_315, 0, x_312); +lean_ctor_set(x_315, 1, x_313); +return x_315; } } case 3: { -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; -x_315 = lean_ctor_get(x_13, 0); -lean_inc(x_315); -lean_dec(x_13); -x_316 = lean_ctor_get(x_315, 0); +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_316 = lean_ctor_get(x_13, 0); lean_inc(x_316); -x_317 = l_Int_Linear_Poly_getConst(x_316); -x_318 = l_Int_Linear_Poly_gcdCoeffs(x_316, x_317); +lean_dec(x_13); +x_317 = lean_ctor_get(x_316, 0); +lean_inc(x_317); +x_318 = l_Int_Linear_Poly_getConst(x_317); +x_319 = l_Int_Linear_Poly_gcdCoeffs(x_317, x_318); lean_inc(x_2); -x_319 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_315, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_227); -if (lean_obj_tag(x_319) == 0) +x_320 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_316, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_228); +if (lean_obj_tag(x_320) == 0) { -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_320 = lean_ctor_get(x_319, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_319, 1); +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_321 = lean_ctor_get(x_320, 0); lean_inc(x_321); -lean_dec(x_319); -x_322 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_316); -x_323 = lean_ctor_get(x_1, 0); -lean_inc(x_323); +x_322 = lean_ctor_get(x_320, 1); +lean_inc(x_322); +lean_dec(x_320); +x_323 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_317); +x_324 = lean_ctor_get(x_1, 0); +lean_inc(x_324); lean_dec(x_1); -x_324 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_323); -x_325 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_326 = lean_int_dec_le(x_325, x_318); -if (x_326 == 0) +x_325 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_324); +x_326 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_327 = lean_int_dec_le(x_326, x_319); +if (x_327 == 0) { -lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; -x_327 = lean_int_neg(x_318); -lean_dec(x_318); -x_328 = l_Int_toNat(x_327); -lean_dec(x_327); -x_329 = l_Lean_instToExprInt_mkNat(x_328); -x_330 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_331 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_332 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_333 = l_Lean_mkApp3(x_330, x_331, x_332, x_329); -x_334 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; -x_335 = l_Lean_reflBoolTrue; -x_336 = l_Lean_mkApp6(x_334, x_2, x_322, x_324, x_333, x_335, x_320); -x_240 = x_336; -x_241 = x_321; -goto block_284; +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; +x_328 = lean_int_neg(x_319); +lean_dec(x_319); +x_329 = l_Int_toNat(x_328); +lean_dec(x_328); +x_330 = l_Lean_instToExprInt_mkNat(x_329); +x_331 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_332 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_333 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_334 = l_Lean_mkApp3(x_331, x_332, x_333, x_330); +x_335 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; +x_336 = l_Lean_reflBoolTrue; +x_337 = l_Lean_mkApp6(x_335, x_2, x_323, x_325, x_334, x_336, x_321); +x_240 = x_337; +x_241 = x_322; +goto block_285; } else { -lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; -x_337 = l_Int_toNat(x_318); -lean_dec(x_318); -x_338 = l_Lean_instToExprInt_mkNat(x_337); -x_339 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; -x_340 = l_Lean_reflBoolTrue; -x_341 = l_Lean_mkApp6(x_339, x_2, x_322, x_324, x_338, x_340, x_320); -x_240 = x_341; -x_241 = x_321; -goto block_284; +lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +x_338 = l_Int_toNat(x_319); +lean_dec(x_319); +x_339 = l_Lean_instToExprInt_mkNat(x_338); +x_340 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__11; +x_341 = l_Lean_reflBoolTrue; +x_342 = l_Lean_mkApp6(x_340, x_2, x_323, x_325, x_339, x_341, x_321); +x_240 = x_342; +x_241 = x_322; +goto block_285; } } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; -lean_dec(x_318); -lean_dec(x_316); -lean_dec(x_14); +lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; +lean_dec(x_319); +lean_dec(x_317); lean_dec(x_2); lean_dec(x_1); -x_342 = lean_ctor_get(x_319, 0); -lean_inc(x_342); -x_343 = lean_ctor_get(x_319, 1); +x_343 = lean_ctor_get(x_320, 0); lean_inc(x_343); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - x_344 = x_319; +x_344 = lean_ctor_get(x_320, 1); +lean_inc(x_344); +if (lean_is_exclusive(x_320)) { + lean_ctor_release(x_320, 0); + lean_ctor_release(x_320, 1); + x_345 = x_320; } else { - lean_dec_ref(x_319); - x_344 = lean_box(0); + lean_dec_ref(x_320); + x_345 = lean_box(0); } -if (lean_is_scalar(x_344)) { - x_345 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_345)) { + x_346 = lean_alloc_ctor(1, 2, 0); } else { - x_345 = x_344; + x_346 = x_345; } -lean_ctor_set(x_345, 0, x_342); -lean_ctor_set(x_345, 1, x_343); -return x_345; +lean_ctor_set(x_346, 0, x_343); +lean_ctor_set(x_346, 1, x_344); +return x_346; } } case 4: { -lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -x_346 = lean_ctor_get(x_13, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_13, 1); +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +x_347 = lean_ctor_get(x_13, 0); lean_inc(x_347); -x_348 = lean_ctor_get(x_13, 2); +x_348 = lean_ctor_get(x_13, 1); lean_inc(x_348); +x_349 = lean_ctor_get(x_13, 2); +lean_inc(x_349); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_347); -x_349 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_347, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_227); -if (lean_obj_tag(x_349) == 0) -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_349, 1); -lean_inc(x_351); -lean_dec(x_349); -lean_inc(x_2); lean_inc(x_348); -x_352 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_348, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_351); -if (lean_obj_tag(x_352) == 0) +x_350 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_348, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_228); +if (lean_obj_tag(x_350) == 0) { -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_353 = lean_ctor_get(x_352, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_352, 1); -lean_inc(x_354); -lean_dec(x_352); -x_355 = l_Lean_mkNatLit(x_346); -x_356 = lean_ctor_get(x_347, 0); -lean_inc(x_356); -lean_dec(x_347); -x_357 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_356); -x_358 = lean_ctor_get(x_348, 0); -lean_inc(x_358); -lean_dec(x_348); -x_359 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_358); -x_360 = lean_ctor_get(x_1, 0); -lean_inc(x_360); -lean_dec(x_1); -x_361 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_360); -x_362 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__26; -x_363 = l_Lean_reflBoolTrue; -x_364 = l_Lean_mkApp8(x_362, x_2, x_355, x_357, x_359, x_361, x_363, x_350, x_353); -x_240 = x_364; -x_241 = x_354; -goto block_284; -} -else -{ -lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; +lean_object* x_351; lean_object* x_352; lean_object* x_353; +x_351 = lean_ctor_get(x_350, 0); +lean_inc(x_351); +x_352 = lean_ctor_get(x_350, 1); +lean_inc(x_352); lean_dec(x_350); +lean_inc(x_2); +lean_inc(x_349); +x_353 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_349, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_352); +if (lean_obj_tag(x_353) == 0) +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_354 = lean_ctor_get(x_353, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_353, 1); +lean_inc(x_355); +lean_dec(x_353); +x_356 = l_Lean_mkNatLit(x_347); +x_357 = lean_ctor_get(x_348, 0); +lean_inc(x_357); +lean_dec(x_348); +x_358 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_357); +x_359 = lean_ctor_get(x_349, 0); +lean_inc(x_359); +lean_dec(x_349); +x_360 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_359); +x_361 = lean_ctor_get(x_1, 0); +lean_inc(x_361); +lean_dec(x_1); +x_362 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_361); +x_363 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__26; +x_364 = l_Lean_reflBoolTrue; +x_365 = l_Lean_mkApp8(x_363, x_2, x_356, x_358, x_360, x_362, x_364, x_351, x_354); +x_240 = x_365; +x_241 = x_355; +goto block_285; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; +lean_dec(x_351); +lean_dec(x_349); lean_dec(x_348); lean_dec(x_347); -lean_dec(x_346); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_365 = lean_ctor_get(x_352, 0); -lean_inc(x_365); -x_366 = lean_ctor_get(x_352, 1); +x_366 = lean_ctor_get(x_353, 0); lean_inc(x_366); -if (lean_is_exclusive(x_352)) { - lean_ctor_release(x_352, 0); - lean_ctor_release(x_352, 1); - x_367 = x_352; +x_367 = lean_ctor_get(x_353, 1); +lean_inc(x_367); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + x_368 = x_353; } else { - lean_dec_ref(x_352); - x_367 = lean_box(0); + lean_dec_ref(x_353); + x_368 = lean_box(0); } -if (lean_is_scalar(x_367)) { - x_368 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_368)) { + x_369 = lean_alloc_ctor(1, 2, 0); } else { - x_368 = x_367; + x_369 = x_368; } -lean_ctor_set(x_368, 0, x_365); -lean_ctor_set(x_368, 1, x_366); -return x_368; +lean_ctor_set(x_369, 0, x_366); +lean_ctor_set(x_369, 1, x_367); +return x_369; } } else { -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; +lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; +lean_dec(x_349); lean_dec(x_348); lean_dec(x_347); -lean_dec(x_346); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_369 = lean_ctor_get(x_349, 0); -lean_inc(x_369); -x_370 = lean_ctor_get(x_349, 1); +x_370 = lean_ctor_get(x_350, 0); lean_inc(x_370); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - x_371 = x_349; +x_371 = lean_ctor_get(x_350, 1); +lean_inc(x_371); +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + x_372 = x_350; } else { - lean_dec_ref(x_349); - x_371 = lean_box(0); + lean_dec_ref(x_350); + x_372 = lean_box(0); } -if (lean_is_scalar(x_371)) { - x_372 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_372)) { + x_373 = lean_alloc_ctor(1, 2, 0); } else { - x_372 = x_371; + x_373 = x_372; } -lean_ctor_set(x_372, 0, x_369); -lean_ctor_set(x_372, 1, x_370); -return x_372; +lean_ctor_set(x_373, 0, x_370); +lean_ctor_set(x_373, 1, x_371); +return x_373; } } default: { -lean_object* x_373; lean_object* x_374; lean_object* x_375; +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_dec(x_1); -x_373 = lean_ctor_get(x_13, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_13, 1); +x_374 = lean_ctor_get(x_13, 0); lean_inc(x_374); +x_375 = lean_ctor_get(x_13, 1); +lean_inc(x_375); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_373); -x_375 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_373, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_227); -if (lean_obj_tag(x_375) == 0) +lean_inc(x_374); +x_376 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_374, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_228); +if (lean_obj_tag(x_376) == 0) { -lean_object* x_376; lean_object* x_377; lean_object* x_378; -x_376 = lean_ctor_get(x_375, 0); -lean_inc(x_376); -x_377 = lean_ctor_get(x_375, 1); +lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_377 = lean_ctor_get(x_376, 0); lean_inc(x_377); -lean_dec(x_375); -lean_inc(x_2); -lean_inc(x_374); -x_378 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_374, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_377); -if (lean_obj_tag(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; -x_379 = lean_ctor_get(x_378, 0); -lean_inc(x_379); -x_380 = lean_ctor_get(x_378, 1); -lean_inc(x_380); -lean_dec(x_378); -x_381 = lean_ctor_get(x_373, 0); -lean_inc(x_381); -lean_dec(x_373); -x_382 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_381); -x_383 = lean_ctor_get(x_374, 0); -lean_inc(x_383); -lean_dec(x_374); -x_384 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_383); -x_385 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__29; -x_386 = l_Lean_reflBoolTrue; -x_387 = l_Lean_mkApp6(x_385, x_2, x_382, x_384, x_386, x_376, x_379); -x_240 = x_387; -x_241 = x_380; -goto block_284; -} -else -{ -lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; +x_378 = lean_ctor_get(x_376, 1); +lean_inc(x_378); lean_dec(x_376); +lean_inc(x_2); +lean_inc(x_375); +x_379 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_375, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_378); +if (lean_obj_tag(x_379) == 0) +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; +x_380 = lean_ctor_get(x_379, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_379, 1); +lean_inc(x_381); +lean_dec(x_379); +x_382 = lean_ctor_get(x_374, 0); +lean_inc(x_382); +lean_dec(x_374); +x_383 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_382); +x_384 = lean_ctor_get(x_375, 0); +lean_inc(x_384); +lean_dec(x_375); +x_385 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_384); +x_386 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__29; +x_387 = l_Lean_reflBoolTrue; +x_388 = l_Lean_mkApp6(x_386, x_2, x_383, x_385, x_387, x_377, x_380); +x_240 = x_388; +x_241 = x_381; +goto block_285; +} +else +{ +lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; +lean_dec(x_377); +lean_dec(x_375); lean_dec(x_374); -lean_dec(x_373); -lean_dec(x_14); lean_dec(x_2); -x_388 = lean_ctor_get(x_378, 0); -lean_inc(x_388); -x_389 = lean_ctor_get(x_378, 1); +x_389 = lean_ctor_get(x_379, 0); lean_inc(x_389); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - x_390 = x_378; +x_390 = lean_ctor_get(x_379, 1); +lean_inc(x_390); +if (lean_is_exclusive(x_379)) { + lean_ctor_release(x_379, 0); + lean_ctor_release(x_379, 1); + x_391 = x_379; } else { - lean_dec_ref(x_378); - x_390 = lean_box(0); + lean_dec_ref(x_379); + x_391 = lean_box(0); } -if (lean_is_scalar(x_390)) { - x_391 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_391)) { + x_392 = lean_alloc_ctor(1, 2, 0); } else { - x_391 = x_390; + x_392 = x_391; } -lean_ctor_set(x_391, 0, x_388); -lean_ctor_set(x_391, 1, x_389); -return x_391; +lean_ctor_set(x_392, 0, x_389); +lean_ctor_set(x_392, 1, x_390); +return x_392; } } else { -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; +lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +lean_dec(x_375); lean_dec(x_374); -lean_dec(x_373); -lean_dec(x_14); lean_dec(x_2); -x_392 = lean_ctor_get(x_375, 0); -lean_inc(x_392); -x_393 = lean_ctor_get(x_375, 1); +x_393 = lean_ctor_get(x_376, 0); lean_inc(x_393); -if (lean_is_exclusive(x_375)) { - lean_ctor_release(x_375, 0); - lean_ctor_release(x_375, 1); - x_394 = x_375; +x_394 = lean_ctor_get(x_376, 1); +lean_inc(x_394); +if (lean_is_exclusive(x_376)) { + lean_ctor_release(x_376, 0); + lean_ctor_release(x_376, 1); + x_395 = x_376; } else { - lean_dec_ref(x_375); - x_394 = lean_box(0); + lean_dec_ref(x_376); + x_395 = lean_box(0); } -if (lean_is_scalar(x_394)) { - x_395 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_395)) { + x_396 = lean_alloc_ctor(1, 2, 0); } else { - x_395 = x_394; + x_396 = x_395; } -lean_ctor_set(x_395, 0, x_392); -lean_ctor_set(x_395, 1, x_393); -return x_395; +lean_ctor_set(x_396, 0, x_393); +lean_ctor_set(x_396, 1, x_394); +return x_396; } } } } else { -lean_object* x_396; lean_object* x_397; -lean_dec(x_14); +lean_object* x_397; lean_object* x_398; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_396 = lean_ctor_get(x_288, 0); -lean_inc(x_396); -lean_dec(x_288); -x_397 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_397, 0, x_396); -lean_ctor_set(x_397, 1, x_227); -return x_397; +x_397 = lean_ctor_get(x_289, 0); +lean_inc(x_397); +lean_dec(x_289); +x_398 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_398, 0, x_397); +lean_ctor_set(x_398, 1, x_228); +return x_398; } -block_284: +block_285: { lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; size_t x_249; size_t x_250; size_t x_251; lean_object* x_252; uint8_t x_253; x_242 = lean_st_ref_take(x_3, x_241); @@ -1859,124 +1853,126 @@ lean_dec(x_248); x_250 = lean_usize_sub(x_249, x_239); x_251 = lean_usize_land(x_237, x_250); x_252 = lean_array_uget(x_246, x_251); +lean_inc(x_252); x_253 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_252); if (x_253 == 0) { -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; x_254 = lean_unsigned_to_nat(1u); x_255 = lean_nat_add(x_245, x_254); lean_dec(x_245); +x_256 = lean_box_uint64(x_14); lean_inc(x_240); -x_256 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_256, 0, x_14); -lean_ctor_set(x_256, 1, x_240); -lean_ctor_set(x_256, 2, x_252); -x_257 = lean_array_uset(x_246, x_251, x_256); -x_258 = lean_unsigned_to_nat(4u); -x_259 = lean_nat_mul(x_255, x_258); -x_260 = lean_unsigned_to_nat(3u); -x_261 = lean_nat_div(x_259, x_260); -lean_dec(x_259); -x_262 = lean_array_get_size(x_257); -x_263 = lean_nat_dec_le(x_261, x_262); +x_257 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_257, 0, x_256); +lean_ctor_set(x_257, 1, x_240); +lean_ctor_set(x_257, 2, x_252); +x_258 = lean_array_uset(x_246, x_251, x_257); +x_259 = lean_unsigned_to_nat(4u); +x_260 = lean_nat_mul(x_255, x_259); +x_261 = lean_unsigned_to_nat(3u); +x_262 = lean_nat_div(x_260, x_261); +lean_dec(x_260); +x_263 = lean_array_get_size(x_258); +x_264 = lean_nat_dec_le(x_262, x_263); +lean_dec(x_263); lean_dec(x_262); -lean_dec(x_261); -if (x_263 == 0) +if (x_264 == 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; -x_264 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_257); +lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_265 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_258); if (lean_is_scalar(x_247)) { - x_265 = lean_alloc_ctor(0, 2, 0); + x_266 = lean_alloc_ctor(0, 2, 0); } else { - x_265 = x_247; + x_266 = x_247; } -lean_ctor_set(x_265, 0, x_255); -lean_ctor_set(x_265, 1, x_264); -x_266 = lean_st_ref_set(x_3, x_265, x_244); -x_267 = lean_ctor_get(x_266, 1); -lean_inc(x_267); -if (lean_is_exclusive(x_266)) { - lean_ctor_release(x_266, 0); - lean_ctor_release(x_266, 1); - x_268 = x_266; +lean_ctor_set(x_266, 0, x_255); +lean_ctor_set(x_266, 1, x_265); +x_267 = lean_st_ref_set(x_3, x_266, x_244); +x_268 = lean_ctor_get(x_267, 1); +lean_inc(x_268); +if (lean_is_exclusive(x_267)) { + lean_ctor_release(x_267, 0); + lean_ctor_release(x_267, 1); + x_269 = x_267; } else { - lean_dec_ref(x_266); - x_268 = lean_box(0); + lean_dec_ref(x_267); + x_269 = lean_box(0); } -if (lean_is_scalar(x_268)) { - x_269 = lean_alloc_ctor(0, 2, 0); -} else { - x_269 = x_268; -} -lean_ctor_set(x_269, 0, x_240); -lean_ctor_set(x_269, 1, x_267); -return x_269; -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -if (lean_is_scalar(x_247)) { +if (lean_is_scalar(x_269)) { x_270 = lean_alloc_ctor(0, 2, 0); } else { - x_270 = x_247; + x_270 = x_269; } -lean_ctor_set(x_270, 0, x_255); -lean_ctor_set(x_270, 1, x_257); -x_271 = lean_st_ref_set(x_3, x_270, x_244); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; +lean_ctor_set(x_270, 0, x_240); +lean_ctor_set(x_270, 1, x_268); +return x_270; +} +else +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +if (lean_is_scalar(x_247)) { + x_271 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_271); - x_273 = lean_box(0); + x_271 = x_247; } -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_271, 0, x_255); +lean_ctor_set(x_271, 1, x_258); +x_272 = lean_st_ref_set(x_3, x_271, x_244); +x_273 = lean_ctor_get(x_272, 1); +lean_inc(x_273); +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + x_274 = x_272; } else { - x_274 = x_273; + lean_dec_ref(x_272); + x_274 = lean_box(0); } -lean_ctor_set(x_274, 0, x_240); -lean_ctor_set(x_274, 1, x_272); -return x_274; +if (lean_is_scalar(x_274)) { + x_275 = lean_alloc_ctor(0, 2, 0); +} else { + x_275 = x_274; +} +lean_ctor_set(x_275, 0, x_240); +lean_ctor_set(x_275, 1, x_273); +return x_275; } } else { -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_275 = lean_box(0); -x_276 = lean_array_uset(x_246, x_251, x_275); +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_276 = lean_box(0); +x_277 = lean_array_uset(x_246, x_251, x_276); lean_inc(x_240); -x_277 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_240, x_252); -x_278 = lean_array_uset(x_276, x_251, x_277); +x_278 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_240, x_252); +x_279 = lean_array_uset(x_277, x_251, x_278); if (lean_is_scalar(x_247)) { - x_279 = lean_alloc_ctor(0, 2, 0); + x_280 = lean_alloc_ctor(0, 2, 0); } else { - x_279 = x_247; + x_280 = x_247; } -lean_ctor_set(x_279, 0, x_245); -lean_ctor_set(x_279, 1, x_278); -x_280 = lean_st_ref_set(x_3, x_279, x_244); -x_281 = lean_ctor_get(x_280, 1); -lean_inc(x_281); -if (lean_is_exclusive(x_280)) { - lean_ctor_release(x_280, 0); - lean_ctor_release(x_280, 1); - x_282 = x_280; +lean_ctor_set(x_280, 0, x_245); +lean_ctor_set(x_280, 1, x_279); +x_281 = lean_st_ref_set(x_3, x_280, x_244); +x_282 = lean_ctor_get(x_281, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_281)) { + lean_ctor_release(x_281, 0); + lean_ctor_release(x_281, 1); + x_283 = x_281; } else { - lean_dec_ref(x_280); - x_282 = lean_box(0); + lean_dec_ref(x_281); + x_283 = lean_box(0); } -if (lean_is_scalar(x_282)) { - x_283 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_283)) { + x_284 = lean_alloc_ctor(0, 2, 0); } else { - x_283 = x_282; + x_284 = x_283; } -lean_ctor_set(x_283, 0, x_240); -lean_ctor_set(x_283, 1, x_281); -return x_283; +lean_ctor_set(x_284, 0, x_240); +lean_ctor_set(x_284, 1, x_282); +return x_284; } } } @@ -2329,1205 +2325,1187 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(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; uint8_t x_16; +lean_object* x_13; uint64_t x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 2); -lean_inc(x_14); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(x_1); x_15 = lean_st_ref_get(x_3, x_12); 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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; size_t x_114; size_t x_115; lean_object* x_116; lean_object* x_117; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; size_t x_115; size_t x_116; lean_object* x_117; lean_object* x_118; x_17 = lean_ctor_get(x_15, 0); x_18 = lean_ctor_get(x_15, 1); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_14); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); +x_21 = 32; +x_22 = lean_uint64_shift_right(x_14, x_21); +x_23 = lean_uint64_xor(x_14, x_22); +x_24 = 16; +x_25 = lean_uint64_shift_right(x_23, x_24); +x_26 = lean_uint64_xor(x_23, x_25); +x_27 = lean_uint64_to_usize(x_26); +x_28 = lean_usize_of_nat(x_20); lean_dec(x_20); -x_30 = 1; -x_114 = lean_usize_sub(x_29, x_30); -x_115 = lean_usize_land(x_28, x_114); -x_116 = lean_array_uget(x_19, x_115); +x_29 = 1; +x_115 = lean_usize_sub(x_28, x_29); +x_116 = lean_usize_land(x_27, x_115); +x_117 = lean_array_uget(x_19, x_116); lean_dec(x_19); -x_117 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_116); -lean_dec(x_116); -if (lean_obj_tag(x_117) == 0) +x_118 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_117); +if (lean_obj_tag(x_118) == 0) { lean_free_object(x_15); switch (lean_obj_tag(x_13)) { case 0: { -lean_object* x_118; +lean_object* x_119; lean_dec(x_2); lean_dec(x_1); -x_118 = lean_ctor_get(x_13, 0); -lean_inc(x_118); +x_119 = lean_ctor_get(x_13, 0); +lean_inc(x_119); lean_dec(x_13); -x_31 = x_118; -x_32 = x_18; -goto block_113; +x_30 = x_119; +x_31 = x_18; +goto block_114; } case 1: { -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_ctor_get(x_13, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_13, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_120 = lean_ctor_get(x_13, 0); lean_inc(x_120); +x_121 = lean_ctor_get(x_13, 1); +lean_inc(x_121); lean_dec(x_13); -x_121 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_119); -x_122 = lean_ctor_get(x_1, 0); -lean_inc(x_122); +x_122 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_120); +x_123 = lean_ctor_get(x_1, 0); +lean_inc(x_123); lean_dec(x_1); -x_123 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_122); -x_124 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__3; -x_125 = l_Lean_reflBoolTrue; -x_126 = l_Lean_mkApp5(x_124, x_2, x_121, x_123, x_125, x_120); -x_31 = x_126; -x_32 = x_18; -goto block_113; +x_124 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_123); +x_125 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__3; +x_126 = l_Lean_reflBoolTrue; +x_127 = l_Lean_mkApp5(x_125, x_2, x_122, x_124, x_126, x_121); +x_30 = x_127; +x_31 = x_18; +goto block_114; } case 2: { -lean_object* x_127; lean_object* x_128; -x_127 = lean_ctor_get(x_13, 0); -lean_inc(x_127); +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_13, 0); +lean_inc(x_128); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_127); -x_128 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_127, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_128) == 0) +lean_inc(x_128); +x_129 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_128, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_129) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); +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; +x_130 = lean_ctor_get(x_129, 0); lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_ctor_get(x_127, 0); +x_131 = lean_ctor_get(x_129, 1); lean_inc(x_131); -lean_dec(x_127); -x_132 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_131); -x_133 = lean_ctor_get(x_1, 0); -lean_inc(x_133); +lean_dec(x_129); +x_132 = lean_ctor_get(x_128, 0); +lean_inc(x_132); +lean_dec(x_128); +x_133 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_132); +x_134 = lean_ctor_get(x_1, 0); +lean_inc(x_134); lean_dec(x_1); -x_134 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_133); -x_135 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__6; -x_136 = l_Lean_reflBoolTrue; -x_137 = l_Lean_mkApp5(x_135, x_2, x_132, x_134, x_136, x_129); -x_31 = x_137; -x_32 = x_130; -goto block_113; +x_135 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_134); +x_136 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__6; +x_137 = l_Lean_reflBoolTrue; +x_138 = l_Lean_mkApp5(x_136, x_2, x_133, x_135, x_137, x_130); +x_30 = x_138; +x_31 = x_131; +goto block_114; } else { -uint8_t x_138; -lean_dec(x_127); -lean_dec(x_14); +uint8_t x_139; +lean_dec(x_128); lean_dec(x_2); lean_dec(x_1); -x_138 = !lean_is_exclusive(x_128); -if (x_138 == 0) +x_139 = !lean_is_exclusive(x_129); +if (x_139 == 0) { -return x_128; +return x_129; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_128, 0); -x_140 = lean_ctor_get(x_128, 1); +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_129, 0); +x_141 = lean_ctor_get(x_129, 1); +lean_inc(x_141); lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_128); -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_dec(x_129); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_140); +lean_ctor_set(x_142, 1, x_141); +return x_142; } } } case 3: { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_142 = lean_ctor_get(x_13, 0); -lean_inc(x_142); -lean_dec(x_13); -x_143 = lean_ctor_get(x_142, 0); +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_143 = lean_ctor_get(x_13, 0); lean_inc(x_143); -x_144 = l_Int_Linear_Poly_gcdCoeffs_x27(x_143); +lean_dec(x_13); +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = l_Int_Linear_Poly_gcdCoeffs_x27(x_144); lean_inc(x_2); -x_145 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_142, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_145) == 0) +x_146 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_143, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_146) == 0) { -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; -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); +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; uint8_t x_154; +x_147 = lean_ctor_get(x_146, 0); lean_inc(x_147); -lean_dec(x_145); -x_148 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_143); -x_149 = lean_ctor_get(x_1, 0); -lean_inc(x_149); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_144); +x_150 = lean_ctor_get(x_1, 0); +lean_inc(x_150); lean_dec(x_1); -x_150 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_149); -x_151 = lean_nat_to_int(x_144); -x_152 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_153 = lean_int_dec_le(x_152, x_151); -if (x_153 == 0) +x_151 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_150); +x_152 = lean_nat_to_int(x_145); +x_153 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_154 = lean_int_dec_le(x_153, x_152); +if (x_154 == 0) { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_154 = lean_int_neg(x_151); -lean_dec(x_151); -x_155 = l_Int_toNat(x_154); -lean_dec(x_154); -x_156 = l_Lean_instToExprInt_mkNat(x_155); -x_157 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_158 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_159 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_160 = l_Lean_mkApp3(x_157, x_158, x_159, x_156); -x_161 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; -x_162 = l_Lean_reflBoolTrue; -x_163 = l_Lean_mkApp6(x_161, x_2, x_148, x_150, x_160, x_162, x_146); -x_31 = x_163; -x_32 = x_147; -goto block_113; +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_155 = lean_int_neg(x_152); +lean_dec(x_152); +x_156 = l_Int_toNat(x_155); +lean_dec(x_155); +x_157 = l_Lean_instToExprInt_mkNat(x_156); +x_158 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_159 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_160 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_161 = l_Lean_mkApp3(x_158, x_159, x_160, x_157); +x_162 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; +x_163 = l_Lean_reflBoolTrue; +x_164 = l_Lean_mkApp6(x_162, x_2, x_149, x_151, x_161, x_163, x_147); +x_30 = x_164; +x_31 = x_148; +goto block_114; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_164 = l_Int_toNat(x_151); -lean_dec(x_151); -x_165 = l_Lean_instToExprInt_mkNat(x_164); -x_166 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; -x_167 = l_Lean_reflBoolTrue; -x_168 = l_Lean_mkApp6(x_166, x_2, x_148, x_150, x_165, x_167, x_146); -x_31 = x_168; -x_32 = x_147; -goto block_113; +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_165 = l_Int_toNat(x_152); +lean_dec(x_152); +x_166 = l_Lean_instToExprInt_mkNat(x_165); +x_167 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; +x_168 = l_Lean_reflBoolTrue; +x_169 = l_Lean_mkApp6(x_167, x_2, x_149, x_151, x_166, x_168, x_147); +x_30 = x_169; +x_31 = x_148; +goto block_114; } } else { -uint8_t x_169; +uint8_t x_170; +lean_dec(x_145); lean_dec(x_144); -lean_dec(x_143); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_169 = !lean_is_exclusive(x_145); -if (x_169 == 0) +x_170 = !lean_is_exclusive(x_146); +if (x_170 == 0) { -return x_145; +return x_146; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_170 = lean_ctor_get(x_145, 0); -x_171 = lean_ctor_get(x_145, 1); +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_146, 0); +x_172 = lean_ctor_get(x_146, 1); +lean_inc(x_172); lean_inc(x_171); -lean_inc(x_170); -lean_dec(x_145); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_171); -return x_172; +lean_dec(x_146); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +return x_173; } } } case 4: { -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_13, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_13, 1); +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_13, 0); lean_inc(x_174); +x_175 = lean_ctor_get(x_13, 1); +lean_inc(x_175); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_173); -x_175 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_173, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -lean_inc(x_2); lean_inc(x_174); -x_178 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_177); -if (lean_obj_tag(x_178) == 0) +x_176 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_176) == 0) { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -x_181 = lean_ctor_get(x_173, 0); -lean_inc(x_181); -lean_dec(x_173); -x_182 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_181); -x_183 = lean_ctor_get(x_174, 0); -lean_inc(x_183); -lean_dec(x_174); -x_184 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_183); -x_185 = lean_ctor_get(x_1, 0); -lean_inc(x_185); -lean_dec(x_1); -x_186 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_185); -x_187 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__12; -x_188 = l_Lean_reflBoolTrue; -x_189 = l_Lean_mkApp7(x_187, x_2, x_182, x_184, x_186, x_188, x_176, x_179); -x_31 = x_189; -x_32 = x_180; -goto block_113; -} -else -{ -uint8_t x_190; +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); lean_dec(x_176); +lean_inc(x_2); +lean_inc(x_175); +x_179 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_175, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_178); +if (lean_obj_tag(x_179) == 0) +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_179, 1); +lean_inc(x_181); +lean_dec(x_179); +x_182 = lean_ctor_get(x_174, 0); +lean_inc(x_182); lean_dec(x_174); -lean_dec(x_173); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_190 = !lean_is_exclusive(x_178); -if (x_190 == 0) -{ -return x_178; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_191 = lean_ctor_get(x_178, 0); -x_192 = lean_ctor_get(x_178, 1); -lean_inc(x_192); -lean_inc(x_191); -lean_dec(x_178); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -return x_193; -} -} -} -else -{ -uint8_t x_194; -lean_dec(x_174); -lean_dec(x_173); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_194 = !lean_is_exclusive(x_175); -if (x_194 == 0) -{ -return x_175; -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_175, 0); -x_196 = lean_ctor_get(x_175, 1); -lean_inc(x_196); -lean_inc(x_195); +x_183 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_182); +x_184 = lean_ctor_get(x_175, 0); +lean_inc(x_184); lean_dec(x_175); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -return x_197; +x_185 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_184); +x_186 = lean_ctor_get(x_1, 0); +lean_inc(x_186); +lean_dec(x_1); +x_187 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_186); +x_188 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__12; +x_189 = l_Lean_reflBoolTrue; +x_190 = l_Lean_mkApp7(x_188, x_2, x_183, x_185, x_187, x_189, x_177, x_180); +x_30 = x_190; +x_31 = x_181; +goto block_114; +} +else +{ +uint8_t x_191; +lean_dec(x_177); +lean_dec(x_175); +lean_dec(x_174); +lean_dec(x_2); +lean_dec(x_1); +x_191 = !lean_is_exclusive(x_179); +if (x_191 == 0) +{ +return x_179; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_192 = lean_ctor_get(x_179, 0); +x_193 = lean_ctor_get(x_179, 1); +lean_inc(x_193); +lean_inc(x_192); +lean_dec(x_179); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_192); +lean_ctor_set(x_194, 1, x_193); +return x_194; +} +} +} +else +{ +uint8_t x_195; +lean_dec(x_175); +lean_dec(x_174); +lean_dec(x_2); +lean_dec(x_1); +x_195 = !lean_is_exclusive(x_176); +if (x_195 == 0) +{ +return x_176; +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_196 = lean_ctor_get(x_176, 0); +x_197 = lean_ctor_get(x_176, 1); +lean_inc(x_197); +lean_inc(x_196); +lean_dec(x_176); +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +return x_198; } } } case 5: { -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; -x_198 = lean_ctor_get(x_13, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_13, 1); +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +x_199 = lean_ctor_get(x_13, 0); lean_inc(x_199); -x_200 = lean_ctor_get(x_13, 2); +x_200 = lean_ctor_get(x_13, 1); lean_inc(x_200); -lean_dec(x_13); -x_201 = lean_ctor_get(x_199, 0); +x_201 = lean_ctor_get(x_13, 2); lean_inc(x_201); -x_202 = l_Int_Linear_Poly_coeff(x_201, x_198); -x_203 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_204 = lean_int_dec_le(x_203, x_202); -lean_dec(x_202); -if (x_204 == 0) +lean_dec(x_13); +x_202 = lean_ctor_get(x_200, 0); +lean_inc(x_202); +x_203 = l_Int_Linear_Poly_coeff(x_202, x_199); +x_204 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_205 = lean_int_dec_le(x_204, x_203); +lean_dec(x_203); +if (x_205 == 0) { -lean_object* x_205; +lean_object* x_206; lean_inc(x_2); -x_205 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_199, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_205) == 0) +x_206 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_200, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_206) == 0) { -lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); +lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_207 = lean_ctor_get(x_206, 0); lean_inc(x_207); -lean_dec(x_205); -lean_inc(x_2); -lean_inc(x_200); -x_208 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_200, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_207); -if (lean_obj_tag(x_208) == 0) -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -lean_dec(x_208); -x_211 = l_Lean_mkNatLit(x_198); -x_212 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_201); -x_213 = lean_ctor_get(x_200, 0); -lean_inc(x_213); -lean_dec(x_200); -x_214 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_213); -x_215 = lean_ctor_get(x_1, 0); -lean_inc(x_215); -lean_dec(x_1); -x_216 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_215); -x_217 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__15; -x_218 = l_Lean_reflBoolTrue; -x_219 = l_Lean_mkApp8(x_217, x_2, x_211, x_212, x_214, x_216, x_218, x_206, x_209); -x_31 = x_219; -x_32 = x_210; -goto block_113; -} -else -{ -uint8_t x_220; +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); lean_dec(x_206); -lean_dec(x_201); -lean_dec(x_200); -lean_dec(x_198); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_220 = !lean_is_exclusive(x_208); -if (x_220 == 0) +lean_inc(x_2); +lean_inc(x_201); +x_209 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_201, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_208); +if (lean_obj_tag(x_209) == 0) { -return x_208; +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); +lean_inc(x_211); +lean_dec(x_209); +x_212 = l_Lean_mkNatLit(x_199); +x_213 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_202); +x_214 = lean_ctor_get(x_201, 0); +lean_inc(x_214); +lean_dec(x_201); +x_215 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_214); +x_216 = lean_ctor_get(x_1, 0); +lean_inc(x_216); +lean_dec(x_1); +x_217 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_216); +x_218 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__15; +x_219 = l_Lean_reflBoolTrue; +x_220 = l_Lean_mkApp8(x_218, x_2, x_212, x_213, x_215, x_217, x_219, x_207, x_210); +x_30 = x_220; +x_31 = x_211; +goto block_114; } else { -lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_221 = lean_ctor_get(x_208, 0); -x_222 = lean_ctor_get(x_208, 1); +uint8_t x_221; +lean_dec(x_207); +lean_dec(x_202); +lean_dec(x_201); +lean_dec(x_199); +lean_dec(x_2); +lean_dec(x_1); +x_221 = !lean_is_exclusive(x_209); +if (x_221 == 0) +{ +return x_209; +} +else +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_222 = lean_ctor_get(x_209, 0); +x_223 = lean_ctor_get(x_209, 1); +lean_inc(x_223); lean_inc(x_222); -lean_inc(x_221); -lean_dec(x_208); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_221); -lean_ctor_set(x_223, 1, x_222); -return x_223; +lean_dec(x_209); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +return x_224; } } } else { -uint8_t x_224; +uint8_t x_225; +lean_dec(x_202); lean_dec(x_201); -lean_dec(x_200); -lean_dec(x_198); -lean_dec(x_14); +lean_dec(x_199); lean_dec(x_2); lean_dec(x_1); -x_224 = !lean_is_exclusive(x_205); -if (x_224 == 0) +x_225 = !lean_is_exclusive(x_206); +if (x_225 == 0) { -return x_205; +return x_206; } else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_205, 0); -x_226 = lean_ctor_get(x_205, 1); +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_206, 0); +x_227 = lean_ctor_get(x_206, 1); +lean_inc(x_227); lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_205); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_225); -lean_ctor_set(x_227, 1, x_226); -return x_227; -} -} -} -else -{ -lean_object* x_228; -lean_inc(x_2); -x_228 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_199, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec(x_228); -lean_inc(x_2); -lean_inc(x_200); -x_231 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_200, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_230); -if (lean_obj_tag(x_231) == 0) -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_232 = lean_ctor_get(x_231, 0); -lean_inc(x_232); -x_233 = lean_ctor_get(x_231, 1); -lean_inc(x_233); -lean_dec(x_231); -x_234 = l_Lean_mkNatLit(x_198); -x_235 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_201); -x_236 = lean_ctor_get(x_200, 0); -lean_inc(x_236); -lean_dec(x_200); -x_237 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_236); -x_238 = lean_ctor_get(x_1, 0); -lean_inc(x_238); -lean_dec(x_1); -x_239 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_238); -x_240 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__18; -x_241 = l_Lean_reflBoolTrue; -x_242 = l_Lean_mkApp8(x_240, x_2, x_234, x_235, x_237, x_239, x_241, x_229, x_232); -x_31 = x_242; -x_32 = x_233; -goto block_113; -} -else -{ -uint8_t x_243; -lean_dec(x_229); -lean_dec(x_201); -lean_dec(x_200); -lean_dec(x_198); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_243 = !lean_is_exclusive(x_231); -if (x_243 == 0) -{ -return x_231; -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_231, 0); -x_245 = lean_ctor_get(x_231, 1); -lean_inc(x_245); -lean_inc(x_244); -lean_dec(x_231); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -return x_246; -} -} -} -else -{ -uint8_t x_247; -lean_dec(x_201); -lean_dec(x_200); -lean_dec(x_198); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_247 = !lean_is_exclusive(x_228); -if (x_247 == 0) -{ +lean_dec(x_206); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_227); return x_228; } +} +} else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_248 = lean_ctor_get(x_228, 0); -x_249 = lean_ctor_get(x_228, 1); +lean_object* x_229; +lean_inc(x_2); +x_229 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_200, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_229) == 0) +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_229, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 1); +lean_inc(x_231); +lean_dec(x_229); +lean_inc(x_2); +lean_inc(x_201); +x_232 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_201, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_231); +if (lean_obj_tag(x_232) == 0) +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +lean_dec(x_232); +x_235 = l_Lean_mkNatLit(x_199); +x_236 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_202); +x_237 = lean_ctor_get(x_201, 0); +lean_inc(x_237); +lean_dec(x_201); +x_238 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_237); +x_239 = lean_ctor_get(x_1, 0); +lean_inc(x_239); +lean_dec(x_1); +x_240 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_239); +x_241 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__18; +x_242 = l_Lean_reflBoolTrue; +x_243 = l_Lean_mkApp8(x_241, x_2, x_235, x_236, x_238, x_240, x_242, x_230, x_233); +x_30 = x_243; +x_31 = x_234; +goto block_114; +} +else +{ +uint8_t x_244; +lean_dec(x_230); +lean_dec(x_202); +lean_dec(x_201); +lean_dec(x_199); +lean_dec(x_2); +lean_dec(x_1); +x_244 = !lean_is_exclusive(x_232); +if (x_244 == 0) +{ +return x_232; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_245 = lean_ctor_get(x_232, 0); +x_246 = lean_ctor_get(x_232, 1); +lean_inc(x_246); +lean_inc(x_245); +lean_dec(x_232); +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_245); +lean_ctor_set(x_247, 1, x_246); +return x_247; +} +} +} +else +{ +uint8_t x_248; +lean_dec(x_202); +lean_dec(x_201); +lean_dec(x_199); +lean_dec(x_2); +lean_dec(x_1); +x_248 = !lean_is_exclusive(x_229); +if (x_248 == 0) +{ +return x_229; +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_249 = lean_ctor_get(x_229, 0); +x_250 = lean_ctor_get(x_229, 1); +lean_inc(x_250); lean_inc(x_249); -lean_inc(x_248); -lean_dec(x_228); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_248); -lean_ctor_set(x_250, 1, x_249); -return x_250; +lean_dec(x_229); +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_249); +lean_ctor_set(x_251, 1, x_250); +return x_251; } } } } case 6: { -lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_251 = lean_ctor_get(x_13, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_13, 1); +lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_252 = lean_ctor_get(x_13, 0); lean_inc(x_252); +x_253 = lean_ctor_get(x_13, 1); +lean_inc(x_253); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_251); -x_253 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_251, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_253) == 0) -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_253, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_253, 1); -lean_inc(x_255); -lean_dec(x_253); -lean_inc(x_2); lean_inc(x_252); -x_256 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_252, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_255); -if (lean_obj_tag(x_256) == 0) +x_254 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_252, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_254) == 0) { -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_256, 1); -lean_inc(x_258); -lean_dec(x_256); -x_259 = lean_ctor_get(x_251, 0); -lean_inc(x_259); -lean_dec(x_251); -x_260 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_259); -x_261 = lean_ctor_get(x_252, 0); -lean_inc(x_261); -lean_dec(x_252); -x_262 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_261); -x_263 = lean_ctor_get(x_1, 0); -lean_inc(x_263); -lean_dec(x_1); -x_264 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_263); -x_265 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__21; -x_266 = l_Lean_reflBoolTrue; -x_267 = l_Lean_mkApp7(x_265, x_2, x_260, x_262, x_264, x_266, x_254, x_257); -x_31 = x_267; -x_32 = x_258; -goto block_113; -} -else -{ -uint8_t x_268; +lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_255 = lean_ctor_get(x_254, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_254, 1); +lean_inc(x_256); lean_dec(x_254); +lean_inc(x_2); +lean_inc(x_253); +x_257 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_253, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_256); +if (lean_obj_tag(x_257) == 0) +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +lean_dec(x_257); +x_260 = lean_ctor_get(x_252, 0); +lean_inc(x_260); lean_dec(x_252); -lean_dec(x_251); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_268 = !lean_is_exclusive(x_256); -if (x_268 == 0) -{ -return x_256; -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; -x_269 = lean_ctor_get(x_256, 0); -x_270 = lean_ctor_get(x_256, 1); -lean_inc(x_270); -lean_inc(x_269); -lean_dec(x_256); -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_269); -lean_ctor_set(x_271, 1, x_270); -return x_271; -} -} -} -else -{ -uint8_t x_272; -lean_dec(x_252); -lean_dec(x_251); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_272 = !lean_is_exclusive(x_253); -if (x_272 == 0) -{ -return x_253; -} -else -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_273 = lean_ctor_get(x_253, 0); -x_274 = lean_ctor_get(x_253, 1); -lean_inc(x_274); -lean_inc(x_273); +x_261 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_260); +x_262 = lean_ctor_get(x_253, 0); +lean_inc(x_262); lean_dec(x_253); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_273); -lean_ctor_set(x_275, 1, x_274); -return x_275; +x_263 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_262); +x_264 = lean_ctor_get(x_1, 0); +lean_inc(x_264); +lean_dec(x_1); +x_265 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_264); +x_266 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__21; +x_267 = l_Lean_reflBoolTrue; +x_268 = l_Lean_mkApp7(x_266, x_2, x_261, x_263, x_265, x_267, x_255, x_258); +x_30 = x_268; +x_31 = x_259; +goto block_114; +} +else +{ +uint8_t x_269; +lean_dec(x_255); +lean_dec(x_253); +lean_dec(x_252); +lean_dec(x_2); +lean_dec(x_1); +x_269 = !lean_is_exclusive(x_257); +if (x_269 == 0) +{ +return x_257; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_270 = lean_ctor_get(x_257, 0); +x_271 = lean_ctor_get(x_257, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_257); +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_270); +lean_ctor_set(x_272, 1, x_271); +return x_272; +} +} +} +else +{ +uint8_t x_273; +lean_dec(x_253); +lean_dec(x_252); +lean_dec(x_2); +lean_dec(x_1); +x_273 = !lean_is_exclusive(x_254); +if (x_273 == 0) +{ +return x_254; +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_274 = lean_ctor_get(x_254, 0); +x_275 = lean_ctor_get(x_254, 1); +lean_inc(x_275); +lean_inc(x_274); +lean_dec(x_254); +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_274); +lean_ctor_set(x_276, 1, x_275); +return x_276; } } } case 7: { -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -x_276 = lean_ctor_get(x_13, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_13, 1); +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_277 = lean_ctor_get(x_13, 0); lean_inc(x_277); -x_278 = lean_ctor_get(x_13, 2); +x_278 = lean_ctor_get(x_13, 1); lean_inc(x_278); +x_279 = lean_ctor_get(x_13, 2); +lean_inc(x_279); lean_dec(x_13); -x_279 = lean_ctor_get(x_276, 0); -lean_inc(x_279); -x_280 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__22; -lean_inc(x_279); -x_281 = l_Int_Linear_Poly_addConst(x_279, x_280); +x_280 = lean_ctor_get(x_277, 0); +lean_inc(x_280); +x_281 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__22; +lean_inc(x_280); +x_282 = l_Int_Linear_Poly_addConst(x_280, x_281); lean_inc(x_2); -x_282 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(x_278, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_282) == 0) +x_283 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(x_279, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_283) == 0) { -lean_object* x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; -x_283 = lean_ctor_get(x_282, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_282, 1); +lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; +x_284 = lean_ctor_get(x_283, 0); lean_inc(x_284); -lean_dec(x_282); -lean_inc(x_281); -x_285 = l_Int_Linear_Poly_denoteExpr_x27(x_281, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_284); -x_286 = !lean_is_exclusive(x_285); -if (x_286 == 0) -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; lean_object* x_298; lean_object* x_299; -x_287 = lean_ctor_get(x_285, 0); -x_288 = lean_ctor_get(x_285, 1); -x_289 = l___private_Lean_Expr_0__Lean_intLEPred; -x_290 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__25; -x_291 = l_Lean_mkAppB(x_289, x_287, x_290); -x_292 = l_Lean_Expr_fvar___override(x_277); -x_293 = lean_box(0); -lean_ctor_set_tag(x_285, 1); -lean_ctor_set(x_285, 1, x_293); -lean_ctor_set(x_285, 0, x_292); -x_294 = lean_array_mk(x_285); -x_295 = lean_expr_abstract(x_283, x_294); -lean_dec(x_294); +x_285 = lean_ctor_get(x_283, 1); +lean_inc(x_285); lean_dec(x_283); -x_296 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; -x_297 = 0; -x_298 = l_Lean_Expr_lam___override(x_296, x_291, x_295, x_297); -lean_inc(x_2); -x_299 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_276, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_288); -if (lean_obj_tag(x_299) == 0) +lean_inc(x_282); +x_286 = l_Int_Linear_Poly_denoteExpr_x27(x_282, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_285); +x_287 = !lean_is_exclusive(x_286); +if (x_287 == 0) { -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; lean_object* x_299; lean_object* x_300; +x_288 = lean_ctor_get(x_286, 0); +x_289 = lean_ctor_get(x_286, 1); +x_290 = l___private_Lean_Expr_0__Lean_intLEPred; +x_291 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__25; +x_292 = l_Lean_mkAppB(x_290, x_288, x_291); +x_293 = l_Lean_Expr_fvar___override(x_278); +x_294 = lean_box(0); +lean_ctor_set_tag(x_286, 1); +lean_ctor_set(x_286, 1, x_294); +lean_ctor_set(x_286, 0, x_293); +x_295 = lean_array_mk(x_286); +x_296 = lean_expr_abstract(x_284, x_295); +lean_dec(x_295); +lean_dec(x_284); +x_297 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; +x_298 = 0; +x_299 = l_Lean_Expr_lam___override(x_297, x_292, x_296, x_298); +lean_inc(x_2); +x_300 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_277, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_289); +if (lean_obj_tag(x_300) == 0) +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; +x_301 = lean_ctor_get(x_300, 0); lean_inc(x_301); +x_302 = lean_ctor_get(x_300, 1); +lean_inc(x_302); +lean_dec(x_300); +x_303 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_280); +x_304 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_282); +x_305 = lean_ctor_get(x_1, 0); +lean_inc(x_305); +lean_dec(x_1); +x_306 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_305); +x_307 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__28; +x_308 = l_Lean_reflBoolTrue; +x_309 = l_Lean_mkApp7(x_307, x_2, x_303, x_304, x_306, x_308, x_301, x_299); +x_30 = x_309; +x_31 = x_302; +goto block_114; +} +else +{ +uint8_t x_310; lean_dec(x_299); -x_302 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_279); -x_303 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_281); -x_304 = lean_ctor_get(x_1, 0); -lean_inc(x_304); -lean_dec(x_1); -x_305 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_304); -x_306 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__28; -x_307 = l_Lean_reflBoolTrue; -x_308 = l_Lean_mkApp7(x_306, x_2, x_302, x_303, x_305, x_307, x_300, x_298); -x_31 = x_308; -x_32 = x_301; -goto block_113; -} -else -{ -uint8_t x_309; -lean_dec(x_298); -lean_dec(x_281); -lean_dec(x_279); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_309 = !lean_is_exclusive(x_299); -if (x_309 == 0) -{ -return x_299; -} -else -{ -lean_object* x_310; lean_object* x_311; lean_object* x_312; -x_310 = lean_ctor_get(x_299, 0); -x_311 = lean_ctor_get(x_299, 1); -lean_inc(x_311); -lean_inc(x_310); -lean_dec(x_299); -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_310); -lean_ctor_set(x_312, 1, x_311); -return x_312; -} -} -} -else -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; lean_object* x_325; lean_object* x_326; -x_313 = lean_ctor_get(x_285, 0); -x_314 = lean_ctor_get(x_285, 1); -lean_inc(x_314); -lean_inc(x_313); -lean_dec(x_285); -x_315 = l___private_Lean_Expr_0__Lean_intLEPred; -x_316 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__25; -x_317 = l_Lean_mkAppB(x_315, x_313, x_316); -x_318 = l_Lean_Expr_fvar___override(x_277); -x_319 = lean_box(0); -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_318); -lean_ctor_set(x_320, 1, x_319); -x_321 = lean_array_mk(x_320); -x_322 = lean_expr_abstract(x_283, x_321); -lean_dec(x_321); -lean_dec(x_283); -x_323 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; -x_324 = 0; -x_325 = l_Lean_Expr_lam___override(x_323, x_317, x_322, x_324); -lean_inc(x_2); -x_326 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_276, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_314); -if (lean_obj_tag(x_326) == 0) -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; -x_327 = lean_ctor_get(x_326, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_326, 1); -lean_inc(x_328); -lean_dec(x_326); -x_329 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_279); -x_330 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_281); -x_331 = lean_ctor_get(x_1, 0); -lean_inc(x_331); -lean_dec(x_1); -x_332 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_331); -x_333 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__28; -x_334 = l_Lean_reflBoolTrue; -x_335 = l_Lean_mkApp7(x_333, x_2, x_329, x_330, x_332, x_334, x_327, x_325); -x_31 = x_335; -x_32 = x_328; -goto block_113; -} -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -lean_dec(x_325); -lean_dec(x_281); -lean_dec(x_279); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_336 = lean_ctor_get(x_326, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_326, 1); -lean_inc(x_337); -if (lean_is_exclusive(x_326)) { - lean_ctor_release(x_326, 0); - lean_ctor_release(x_326, 1); - x_338 = x_326; -} else { - lean_dec_ref(x_326); - x_338 = lean_box(0); -} -if (lean_is_scalar(x_338)) { - x_339 = lean_alloc_ctor(1, 2, 0); -} else { - x_339 = x_338; -} -lean_ctor_set(x_339, 0, x_336); -lean_ctor_set(x_339, 1, x_337); -return x_339; -} -} -} -else -{ -uint8_t x_340; -lean_dec(x_281); -lean_dec(x_279); -lean_dec(x_277); -lean_dec(x_276); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_340 = !lean_is_exclusive(x_282); -if (x_340 == 0) -{ -return x_282; -} -else -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; -x_341 = lean_ctor_get(x_282, 0); -x_342 = lean_ctor_get(x_282, 1); -lean_inc(x_342); -lean_inc(x_341); lean_dec(x_282); -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_341); -lean_ctor_set(x_343, 1, x_342); -return x_343; +lean_dec(x_280); +lean_dec(x_2); +lean_dec(x_1); +x_310 = !lean_is_exclusive(x_300); +if (x_310 == 0) +{ +return x_300; +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; +x_311 = lean_ctor_get(x_300, 0); +x_312 = lean_ctor_get(x_300, 1); +lean_inc(x_312); +lean_inc(x_311); +lean_dec(x_300); +x_313 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_313, 0, x_311); +lean_ctor_set(x_313, 1, x_312); +return x_313; +} +} +} +else +{ +lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; lean_object* x_326; lean_object* x_327; +x_314 = lean_ctor_get(x_286, 0); +x_315 = lean_ctor_get(x_286, 1); +lean_inc(x_315); +lean_inc(x_314); +lean_dec(x_286); +x_316 = l___private_Lean_Expr_0__Lean_intLEPred; +x_317 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__25; +x_318 = l_Lean_mkAppB(x_316, x_314, x_317); +x_319 = l_Lean_Expr_fvar___override(x_278); +x_320 = lean_box(0); +x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_321, 0, x_319); +lean_ctor_set(x_321, 1, x_320); +x_322 = lean_array_mk(x_321); +x_323 = lean_expr_abstract(x_284, x_322); +lean_dec(x_322); +lean_dec(x_284); +x_324 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; +x_325 = 0; +x_326 = l_Lean_Expr_lam___override(x_324, x_318, x_323, x_325); +lean_inc(x_2); +x_327 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_277, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_315); +if (lean_obj_tag(x_327) == 0) +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; +x_328 = lean_ctor_get(x_327, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_327, 1); +lean_inc(x_329); +lean_dec(x_327); +x_330 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_280); +x_331 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_282); +x_332 = lean_ctor_get(x_1, 0); +lean_inc(x_332); +lean_dec(x_1); +x_333 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_332); +x_334 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__28; +x_335 = l_Lean_reflBoolTrue; +x_336 = l_Lean_mkApp7(x_334, x_2, x_330, x_331, x_333, x_335, x_328, x_326); +x_30 = x_336; +x_31 = x_329; +goto block_114; +} +else +{ +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +lean_dec(x_326); +lean_dec(x_282); +lean_dec(x_280); +lean_dec(x_2); +lean_dec(x_1); +x_337 = lean_ctor_get(x_327, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_327, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_327)) { + lean_ctor_release(x_327, 0); + lean_ctor_release(x_327, 1); + x_339 = x_327; +} else { + lean_dec_ref(x_327); + x_339 = lean_box(0); +} +if (lean_is_scalar(x_339)) { + x_340 = lean_alloc_ctor(1, 2, 0); +} else { + x_340 = x_339; +} +lean_ctor_set(x_340, 0, x_337); +lean_ctor_set(x_340, 1, x_338); +return x_340; +} +} +} +else +{ +uint8_t x_341; +lean_dec(x_282); +lean_dec(x_280); +lean_dec(x_278); +lean_dec(x_277); +lean_dec(x_2); +lean_dec(x_1); +x_341 = !lean_is_exclusive(x_283); +if (x_341 == 0) +{ +return x_283; +} +else +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; +x_342 = lean_ctor_get(x_283, 0); +x_343 = lean_ctor_get(x_283, 1); +lean_inc(x_343); +lean_inc(x_342); +lean_dec(x_283); +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_342); +lean_ctor_set(x_344, 1, x_343); +return x_344; } } } default: { -lean_object* x_344; lean_object* x_345; uint8_t x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; -x_344 = lean_ctor_get(x_13, 0); -lean_inc(x_344); -lean_dec(x_13); -x_345 = lean_ctor_get(x_344, 0); +lean_object* x_345; lean_object* x_346; uint8_t x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; +x_345 = lean_ctor_get(x_13, 0); lean_inc(x_345); -x_346 = lean_ctor_get_uint8(x_345, sizeof(void*)*3); -x_347 = lean_ctor_get(x_345, 0); -lean_inc(x_347); -x_348 = lean_ctor_get(x_345, 1); +lean_dec(x_13); +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get_uint8(x_346, sizeof(void*)*3); +x_348 = lean_ctor_get(x_346, 0); lean_inc(x_348); -x_349 = lean_ctor_get(x_345, 2); +x_349 = lean_ctor_get(x_346, 1); lean_inc(x_349); -lean_dec(x_345); -x_350 = lean_ctor_get(x_347, 0); +x_350 = lean_ctor_get(x_346, 2); lean_inc(x_350); -lean_dec(x_347); +lean_dec(x_346); x_351 = lean_ctor_get(x_348, 0); lean_inc(x_351); lean_dec(x_348); -if (x_346 == 0) -{ -uint8_t x_454; -x_454 = 0; -x_352 = x_454; -goto block_453; -} -else +x_352 = lean_ctor_get(x_349, 0); +lean_inc(x_352); +lean_dec(x_349); +if (x_347 == 0) { uint8_t x_455; -x_455 = 1; -x_352 = x_455; -goto block_453; -} -block_453: -{ -lean_object* x_353; lean_object* x_389; lean_object* x_390; -if (x_352 == 0) -{ -lean_object* x_449; -x_449 = l_Int_Linear_Poly_leadCoeff(x_351); -if (lean_obj_tag(x_349) == 0) -{ -x_353 = x_449; -goto block_388; +x_455 = 0; +x_353 = x_455; +goto block_454; } else { -lean_object* x_450; -x_450 = lean_ctor_get(x_349, 0); -lean_inc(x_450); -lean_dec(x_349); -x_389 = x_449; -x_390 = x_450; -goto block_448; +uint8_t x_456; +x_456 = 1; +x_353 = x_456; +goto block_454; } +block_454: +{ +lean_object* x_354; lean_object* x_390; lean_object* x_391; +if (x_353 == 0) +{ +lean_object* x_450; +x_450 = l_Int_Linear_Poly_leadCoeff(x_351); +if (lean_obj_tag(x_350) == 0) +{ +x_354 = x_450; +goto block_389; } else { lean_object* x_451; -x_451 = l_Int_Linear_Poly_leadCoeff(x_350); -if (lean_obj_tag(x_349) == 0) -{ -x_353 = x_451; -goto block_388; +x_451 = lean_ctor_get(x_350, 0); +lean_inc(x_451); +lean_dec(x_350); +x_390 = x_450; +x_391 = x_451; +goto block_449; +} } else { lean_object* x_452; -x_452 = lean_ctor_get(x_349, 0); -lean_inc(x_452); -lean_dec(x_349); -x_389 = x_451; -x_390 = x_452; -goto block_448; -} -} -block_388: +x_452 = l_Int_Linear_Poly_leadCoeff(x_352); +if (lean_obj_tag(x_350) == 0) { -lean_object* x_354; -if (x_352 == 0) -{ -lean_object* x_386; -x_386 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__30; -x_354 = x_386; -goto block_385; +x_354 = x_452; +goto block_389; } else { -lean_object* x_387; -x_387 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__32; -x_354 = x_387; -goto block_385; +lean_object* x_453; +x_453 = lean_ctor_get(x_350, 0); +lean_inc(x_453); +lean_dec(x_350); +x_390 = x_452; +x_391 = x_453; +goto block_449; } -block_385: +} +block_389: { lean_object* x_355; +if (x_353 == 0) +{ +lean_object* x_387; +x_387 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__30; +x_355 = x_387; +goto block_386; +} +else +{ +lean_object* x_388; +x_388 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__32; +x_355 = x_388; +goto block_386; +} +block_386: +{ +lean_object* x_356; lean_inc(x_2); -lean_inc(x_344); -x_355 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_344, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_355) == 0) +lean_inc(x_345); +x_356 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_345, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_356) == 0) { -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; lean_object* x_366; lean_object* x_367; -x_356 = lean_ctor_get(x_355, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_355, 1); +lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; lean_object* x_367; lean_object* x_368; +x_357 = lean_ctor_get(x_356, 0); lean_inc(x_357); -lean_dec(x_355); -x_358 = lean_box(0); -x_359 = l_Lean_Expr_const___override(x_354, x_358); -x_360 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_350); +x_358 = lean_ctor_get(x_356, 1); +lean_inc(x_358); +lean_dec(x_356); +x_359 = lean_box(0); +x_360 = l_Lean_Expr_const___override(x_355, x_359); x_361 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_351); -x_362 = lean_ctor_get(x_344, 1); -lean_inc(x_362); -lean_dec(x_344); -x_363 = l_Lean_mkNatLit(x_362); -x_364 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_365 = lean_int_dec_le(x_364, x_353); -x_366 = lean_ctor_get(x_1, 0); -lean_inc(x_366); +x_362 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_352); +x_363 = lean_ctor_get(x_345, 1); +lean_inc(x_363); +lean_dec(x_345); +x_364 = l_Lean_mkNatLit(x_363); +x_365 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_366 = lean_int_dec_le(x_365, x_354); +x_367 = lean_ctor_get(x_1, 0); +lean_inc(x_367); lean_dec(x_1); -x_367 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_366); -if (x_365 == 0) +x_368 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_367); +if (x_366 == 0) { -lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; -x_368 = lean_int_neg(x_353); -lean_dec(x_353); -x_369 = l_Int_toNat(x_368); -lean_dec(x_368); -x_370 = l_Lean_instToExprInt_mkNat(x_369); -x_371 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_372 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_373 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_374 = l_Lean_mkApp3(x_371, x_372, x_373, x_370); -x_375 = l_Lean_reflBoolTrue; -x_376 = l_Lean_mkApp8(x_359, x_2, x_360, x_361, x_363, x_374, x_367, x_356, x_375); -x_31 = x_376; -x_32 = x_357; -goto block_113; -} -else -{ -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; -x_377 = l_Int_toNat(x_353); -lean_dec(x_353); -x_378 = l_Lean_instToExprInt_mkNat(x_377); -x_379 = l_Lean_reflBoolTrue; -x_380 = l_Lean_mkApp8(x_359, x_2, x_360, x_361, x_363, x_378, x_367, x_356, x_379); -x_31 = x_380; -x_32 = x_357; -goto block_113; -} -} -else -{ -uint8_t x_381; +lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; +x_369 = lean_int_neg(x_354); lean_dec(x_354); -lean_dec(x_353); +x_370 = l_Int_toNat(x_369); +lean_dec(x_369); +x_371 = l_Lean_instToExprInt_mkNat(x_370); +x_372 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_373 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_374 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_375 = l_Lean_mkApp3(x_372, x_373, x_374, x_371); +x_376 = l_Lean_reflBoolTrue; +x_377 = l_Lean_mkApp8(x_360, x_2, x_361, x_362, x_364, x_375, x_368, x_357, x_376); +x_30 = x_377; +x_31 = x_358; +goto block_114; +} +else +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +x_378 = l_Int_toNat(x_354); +lean_dec(x_354); +x_379 = l_Lean_instToExprInt_mkNat(x_378); +x_380 = l_Lean_reflBoolTrue; +x_381 = l_Lean_mkApp8(x_360, x_2, x_361, x_362, x_364, x_379, x_368, x_357, x_380); +x_30 = x_381; +x_31 = x_358; +goto block_114; +} +} +else +{ +uint8_t x_382; +lean_dec(x_355); +lean_dec(x_354); +lean_dec(x_352); lean_dec(x_351); -lean_dec(x_350); -lean_dec(x_344); -lean_dec(x_14); +lean_dec(x_345); lean_dec(x_2); lean_dec(x_1); -x_381 = !lean_is_exclusive(x_355); -if (x_381 == 0) +x_382 = !lean_is_exclusive(x_356); +if (x_382 == 0) { -return x_355; +return x_356; } else { -lean_object* x_382; lean_object* x_383; lean_object* x_384; -x_382 = lean_ctor_get(x_355, 0); -x_383 = lean_ctor_get(x_355, 1); +lean_object* x_383; lean_object* x_384; lean_object* x_385; +x_383 = lean_ctor_get(x_356, 0); +x_384 = lean_ctor_get(x_356, 1); +lean_inc(x_384); lean_inc(x_383); -lean_inc(x_382); -lean_dec(x_355); -x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_382); -lean_ctor_set(x_384, 1, x_383); -return x_384; +lean_dec(x_356); +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_383); +lean_ctor_set(x_385, 1, x_384); +return x_385; } } } } -block_448: -{ -lean_object* x_391; -if (x_352 == 0) -{ -lean_object* x_446; -x_446 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__34; -x_391 = x_446; -goto block_445; -} -else -{ -lean_object* x_447; -x_447 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__36; -x_391 = x_447; -goto block_445; -} -block_445: +block_449: { lean_object* x_392; +if (x_353 == 0) +{ +lean_object* x_447; +x_447 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__34; +x_392 = x_447; +goto block_446; +} +else +{ +lean_object* x_448; +x_448 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__36; +x_392 = x_448; +goto block_446; +} +block_446: +{ +lean_object* x_393; lean_inc(x_2); -lean_inc(x_344); -x_392 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_344, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_392) == 0) +lean_inc(x_345); +x_393 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_345, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_393) == 0) { -lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; uint8_t x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; lean_object* x_408; -x_393 = lean_ctor_get(x_392, 0); -lean_inc(x_393); -x_394 = lean_ctor_get(x_392, 1); +lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; lean_object* x_405; lean_object* x_406; uint8_t x_407; lean_object* x_408; lean_object* x_409; +x_394 = lean_ctor_get(x_393, 0); lean_inc(x_394); -lean_dec(x_392); -x_395 = lean_box(0); -x_396 = l_Lean_Expr_const___override(x_391, x_395); -x_397 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_350); +x_395 = lean_ctor_get(x_393, 1); +lean_inc(x_395); +lean_dec(x_393); +x_396 = lean_box(0); +x_397 = l_Lean_Expr_const___override(x_392, x_396); x_398 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_351); -x_399 = lean_ctor_get(x_390, 1); -lean_inc(x_399); -x_400 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_399); -x_401 = lean_ctor_get(x_390, 0); -lean_inc(x_401); -lean_dec(x_390); -x_402 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_403 = lean_int_dec_le(x_402, x_401); -x_404 = lean_ctor_get(x_344, 1); -lean_inc(x_404); -lean_dec(x_344); -x_405 = l_Lean_mkNatLit(x_404); -x_406 = lean_int_dec_le(x_402, x_389); -x_407 = lean_ctor_get(x_1, 0); -lean_inc(x_407); +x_399 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_352); +x_400 = lean_ctor_get(x_391, 1); +lean_inc(x_400); +x_401 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_400); +x_402 = lean_ctor_get(x_391, 0); +lean_inc(x_402); +lean_dec(x_391); +x_403 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_404 = lean_int_dec_le(x_403, x_402); +x_405 = lean_ctor_get(x_345, 1); +lean_inc(x_405); +lean_dec(x_345); +x_406 = l_Lean_mkNatLit(x_405); +x_407 = lean_int_dec_le(x_403, x_390); +x_408 = lean_ctor_get(x_1, 0); +lean_inc(x_408); lean_dec(x_1); -x_408 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_407); -if (x_403 == 0) +x_409 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_408); +if (x_404 == 0) { -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; -x_409 = lean_int_neg(x_401); -lean_dec(x_401); -x_410 = l_Int_toNat(x_409); -lean_dec(x_409); -x_411 = l_Lean_instToExprInt_mkNat(x_410); -x_412 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_413 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_414 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_415 = l_Lean_mkApp3(x_412, x_413, x_414, x_411); -if (x_406 == 0) +lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; +x_410 = lean_int_neg(x_402); +lean_dec(x_402); +x_411 = l_Int_toNat(x_410); +lean_dec(x_410); +x_412 = l_Lean_instToExprInt_mkNat(x_411); +x_413 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_414 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_415 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_416 = l_Lean_mkApp3(x_413, x_414, x_415, x_412); +if (x_407 == 0) { -lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; -x_416 = lean_int_neg(x_389); -lean_dec(x_389); -x_417 = l_Int_toNat(x_416); -lean_dec(x_416); -x_418 = l_Lean_instToExprInt_mkNat(x_417); -x_419 = l_Lean_mkApp3(x_412, x_413, x_414, x_418); -x_420 = l_Lean_reflBoolTrue; -x_421 = l_Lean_mkApp10(x_396, x_2, x_397, x_398, x_400, x_415, x_405, x_419, x_408, x_393, x_420); -x_31 = x_421; -x_32 = x_394; -goto block_113; +lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; +x_417 = lean_int_neg(x_390); +lean_dec(x_390); +x_418 = l_Int_toNat(x_417); +lean_dec(x_417); +x_419 = l_Lean_instToExprInt_mkNat(x_418); +x_420 = l_Lean_mkApp3(x_413, x_414, x_415, x_419); +x_421 = l_Lean_reflBoolTrue; +x_422 = l_Lean_mkApp10(x_397, x_2, x_398, x_399, x_401, x_416, x_406, x_420, x_409, x_394, x_421); +x_30 = x_422; +x_31 = x_395; +goto block_114; } else { -lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_422 = l_Int_toNat(x_389); -lean_dec(x_389); -x_423 = l_Lean_instToExprInt_mkNat(x_422); -x_424 = l_Lean_reflBoolTrue; -x_425 = l_Lean_mkApp10(x_396, x_2, x_397, x_398, x_400, x_415, x_405, x_423, x_408, x_393, x_424); -x_31 = x_425; -x_32 = x_394; -goto block_113; +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; +x_423 = l_Int_toNat(x_390); +lean_dec(x_390); +x_424 = l_Lean_instToExprInt_mkNat(x_423); +x_425 = l_Lean_reflBoolTrue; +x_426 = l_Lean_mkApp10(x_397, x_2, x_398, x_399, x_401, x_416, x_406, x_424, x_409, x_394, x_425); +x_30 = x_426; +x_31 = x_395; +goto block_114; } } else { -lean_object* x_426; lean_object* x_427; -x_426 = l_Int_toNat(x_401); -lean_dec(x_401); -x_427 = l_Lean_instToExprInt_mkNat(x_426); -if (x_406 == 0) +lean_object* x_427; lean_object* x_428; +x_427 = l_Int_toNat(x_402); +lean_dec(x_402); +x_428 = l_Lean_instToExprInt_mkNat(x_427); +if (x_407 == 0) { -lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; -x_428 = lean_int_neg(x_389); -lean_dec(x_389); -x_429 = l_Int_toNat(x_428); -lean_dec(x_428); -x_430 = l_Lean_instToExprInt_mkNat(x_429); -x_431 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_432 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_433 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_434 = l_Lean_mkApp3(x_431, x_432, x_433, x_430); -x_435 = l_Lean_reflBoolTrue; -x_436 = l_Lean_mkApp10(x_396, x_2, x_397, x_398, x_400, x_427, x_405, x_434, x_408, x_393, x_435); -x_31 = x_436; -x_32 = x_394; -goto block_113; +lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; +x_429 = lean_int_neg(x_390); +lean_dec(x_390); +x_430 = l_Int_toNat(x_429); +lean_dec(x_429); +x_431 = l_Lean_instToExprInt_mkNat(x_430); +x_432 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_433 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_434 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_435 = l_Lean_mkApp3(x_432, x_433, x_434, x_431); +x_436 = l_Lean_reflBoolTrue; +x_437 = l_Lean_mkApp10(x_397, x_2, x_398, x_399, x_401, x_428, x_406, x_435, x_409, x_394, x_436); +x_30 = x_437; +x_31 = x_395; +goto block_114; } else { -lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_437 = l_Int_toNat(x_389); -lean_dec(x_389); -x_438 = l_Lean_instToExprInt_mkNat(x_437); -x_439 = l_Lean_reflBoolTrue; -x_440 = l_Lean_mkApp10(x_396, x_2, x_397, x_398, x_400, x_427, x_405, x_438, x_408, x_393, x_439); -x_31 = x_440; -x_32 = x_394; -goto block_113; +lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; +x_438 = l_Int_toNat(x_390); +lean_dec(x_390); +x_439 = l_Lean_instToExprInt_mkNat(x_438); +x_440 = l_Lean_reflBoolTrue; +x_441 = l_Lean_mkApp10(x_397, x_2, x_398, x_399, x_401, x_428, x_406, x_439, x_409, x_394, x_440); +x_30 = x_441; +x_31 = x_395; +goto block_114; } } } else { -uint8_t x_441; +uint8_t x_442; +lean_dec(x_392); lean_dec(x_391); lean_dec(x_390); -lean_dec(x_389); +lean_dec(x_352); lean_dec(x_351); -lean_dec(x_350); -lean_dec(x_344); -lean_dec(x_14); +lean_dec(x_345); lean_dec(x_2); lean_dec(x_1); -x_441 = !lean_is_exclusive(x_392); -if (x_441 == 0) +x_442 = !lean_is_exclusive(x_393); +if (x_442 == 0) { -return x_392; +return x_393; } else { -lean_object* x_442; lean_object* x_443; lean_object* x_444; -x_442 = lean_ctor_get(x_392, 0); -x_443 = lean_ctor_get(x_392, 1); +lean_object* x_443; lean_object* x_444; lean_object* x_445; +x_443 = lean_ctor_get(x_393, 0); +x_444 = lean_ctor_get(x_393, 1); +lean_inc(x_444); lean_inc(x_443); -lean_inc(x_442); -lean_dec(x_392); -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_442); -lean_ctor_set(x_444, 1, x_443); -return x_444; +lean_dec(x_393); +x_445 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_445, 0, x_443); +lean_ctor_set(x_445, 1, x_444); +return x_445; } } } @@ -3538,53 +3516,54 @@ return x_444; } else { -lean_object* x_456; -lean_dec(x_14); +lean_object* x_457; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_456 = lean_ctor_get(x_117, 0); -lean_inc(x_456); -lean_dec(x_117); -lean_ctor_set(x_15, 0, x_456); +x_457 = lean_ctor_get(x_118, 0); +lean_inc(x_457); +lean_dec(x_118); +lean_ctor_set(x_15, 0, x_457); return x_15; } -block_113: +block_114: { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_st_ref_take(x_3, x_32); -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_st_ref_take(x_3, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) +lean_dec(x_32); +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; size_t x_42; lean_object* x_43; uint8_t x_44; -x_37 = lean_ctor_get(x_34, 0); -x_38 = lean_ctor_get(x_34, 1); -x_39 = lean_array_get_size(x_38); -x_40 = lean_usize_of_nat(x_39); -lean_dec(x_39); -x_41 = lean_usize_sub(x_40, x_30); -x_42 = lean_usize_land(x_28, x_41); -x_43 = lean_array_uget(x_38, x_42); -x_44 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_43); -if (x_44 == 0) +lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +x_38 = lean_array_get_size(x_37); +x_39 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_40 = lean_usize_sub(x_39, x_29); +x_41 = lean_usize_land(x_27, x_40); +x_42 = lean_array_uget(x_37, x_41); +lean_inc(x_42); +x_43 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_42); +if (x_43 == 0) { -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; uint8_t x_54; -x_45 = lean_unsigned_to_nat(1u); -x_46 = lean_nat_add(x_37, x_45); -lean_dec(x_37); -lean_inc(x_31); +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; uint8_t x_54; +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_add(x_36, x_44); +lean_dec(x_36); +x_46 = lean_box_uint64(x_14); +lean_inc(x_30); x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_14); -lean_ctor_set(x_47, 1, x_31); -lean_ctor_set(x_47, 2, x_43); -x_48 = lean_array_uset(x_38, x_42, x_47); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_30); +lean_ctor_set(x_47, 2, x_42); +x_48 = lean_array_uset(x_37, x_41, x_47); x_49 = lean_unsigned_to_nat(4u); -x_50 = lean_nat_mul(x_46, x_49); +x_50 = lean_nat_mul(x_45, x_49); x_51 = lean_unsigned_to_nat(3u); x_52 = lean_nat_div(x_50, x_51); lean_dec(x_50); @@ -3596,16 +3575,16 @@ if (x_54 == 0) { lean_object* x_55; lean_object* x_56; uint8_t x_57; x_55 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_48); -lean_ctor_set(x_34, 1, x_55); -lean_ctor_set(x_34, 0, x_46); -x_56 = lean_st_ref_set(x_3, x_34, x_35); +lean_ctor_set(x_33, 1, x_55); +lean_ctor_set(x_33, 0, x_45); +x_56 = lean_st_ref_set(x_3, x_33, x_34); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) { lean_object* x_58; x_58 = lean_ctor_get(x_56, 0); lean_dec(x_58); -lean_ctor_set(x_56, 0, x_31); +lean_ctor_set(x_56, 0, x_30); return x_56; } else @@ -3615,7 +3594,7 @@ x_59 = lean_ctor_get(x_56, 1); lean_inc(x_59); lean_dec(x_56); x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_31); +lean_ctor_set(x_60, 0, x_30); lean_ctor_set(x_60, 1, x_59); return x_60; } @@ -3623,16 +3602,16 @@ return x_60; else { lean_object* x_61; uint8_t x_62; -lean_ctor_set(x_34, 1, x_48); -lean_ctor_set(x_34, 0, x_46); -x_61 = lean_st_ref_set(x_3, x_34, x_35); +lean_ctor_set(x_33, 1, x_48); +lean_ctor_set(x_33, 0, x_45); +x_61 = lean_st_ref_set(x_3, x_33, x_34); x_62 = !lean_is_exclusive(x_61); if (x_62 == 0) { lean_object* x_63; x_63 = lean_ctor_get(x_61, 0); lean_dec(x_63); -lean_ctor_set(x_61, 0, x_31); +lean_ctor_set(x_61, 0, x_30); return x_61; } else @@ -3642,7 +3621,7 @@ x_64 = lean_ctor_get(x_61, 1); lean_inc(x_64); lean_dec(x_61); x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_31); +lean_ctor_set(x_65, 0, x_30); lean_ctor_set(x_65, 1, x_64); return x_65; } @@ -3652,19 +3631,19 @@ else { 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_66 = lean_box(0); -x_67 = lean_array_uset(x_38, x_42, x_66); -lean_inc(x_31); -x_68 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_31, x_43); -x_69 = lean_array_uset(x_67, x_42, x_68); -lean_ctor_set(x_34, 1, x_69); -x_70 = lean_st_ref_set(x_3, x_34, x_35); +x_67 = lean_array_uset(x_37, x_41, x_66); +lean_inc(x_30); +x_68 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_30, x_42); +x_69 = lean_array_uset(x_67, x_41, x_68); +lean_ctor_set(x_33, 1, x_69); +x_70 = lean_st_ref_set(x_3, x_33, x_34); x_71 = !lean_is_exclusive(x_70); if (x_71 == 0) { lean_object* x_72; x_72 = lean_ctor_get(x_70, 0); lean_dec(x_72); -lean_ctor_set(x_70, 0, x_31); +lean_ctor_set(x_70, 0, x_30); return x_70; } else @@ -3674,7 +3653,7 @@ x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); lean_dec(x_70); x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_31); +lean_ctor_set(x_74, 0, x_30); lean_ctor_set(x_74, 1, x_73); return x_74; } @@ -3683,1283 +3662,1269 @@ return x_74; else { lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; size_t x_79; size_t x_80; lean_object* x_81; uint8_t x_82; -x_75 = lean_ctor_get(x_34, 0); -x_76 = lean_ctor_get(x_34, 1); +x_75 = lean_ctor_get(x_33, 0); +x_76 = lean_ctor_get(x_33, 1); lean_inc(x_76); lean_inc(x_75); -lean_dec(x_34); +lean_dec(x_33); x_77 = lean_array_get_size(x_76); x_78 = lean_usize_of_nat(x_77); lean_dec(x_77); -x_79 = lean_usize_sub(x_78, x_30); -x_80 = lean_usize_land(x_28, x_79); +x_79 = lean_usize_sub(x_78, x_29); +x_80 = lean_usize_land(x_27, x_79); x_81 = lean_array_uget(x_76, x_80); +lean_inc(x_81); x_82 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_81); if (x_82 == 0) { -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; uint8_t x_92; +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; uint8_t x_93; x_83 = lean_unsigned_to_nat(1u); x_84 = lean_nat_add(x_75, x_83); lean_dec(x_75); -lean_inc(x_31); -x_85 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_85, 0, x_14); -lean_ctor_set(x_85, 1, x_31); -lean_ctor_set(x_85, 2, x_81); -x_86 = lean_array_uset(x_76, x_80, x_85); -x_87 = lean_unsigned_to_nat(4u); -x_88 = lean_nat_mul(x_84, x_87); -x_89 = lean_unsigned_to_nat(3u); -x_90 = lean_nat_div(x_88, x_89); -lean_dec(x_88); -x_91 = lean_array_get_size(x_86); -x_92 = lean_nat_dec_le(x_90, x_91); +x_85 = lean_box_uint64(x_14); +lean_inc(x_30); +x_86 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_30); +lean_ctor_set(x_86, 2, x_81); +x_87 = lean_array_uset(x_76, x_80, x_86); +x_88 = lean_unsigned_to_nat(4u); +x_89 = lean_nat_mul(x_84, x_88); +x_90 = lean_unsigned_to_nat(3u); +x_91 = lean_nat_div(x_89, x_90); +lean_dec(x_89); +x_92 = lean_array_get_size(x_87); +x_93 = lean_nat_dec_le(x_91, x_92); +lean_dec(x_92); lean_dec(x_91); -lean_dec(x_90); -if (x_92 == 0) +if (x_93 == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_93 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_86); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_84); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_st_ref_set(x_3, x_94, x_35); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; +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_94 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_87); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_84); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_st_ref_set(x_3, x_95, x_34); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_96); + x_98 = lean_box(0); } -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(0, 2, 0); } else { - x_98 = x_97; + x_99 = x_98; } -lean_ctor_set(x_98, 0, x_31); -lean_ctor_set(x_98, 1, x_96); -return x_98; +lean_ctor_set(x_99, 0, x_30); +lean_ctor_set(x_99, 1, x_97); +return x_99; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_84); -lean_ctor_set(x_99, 1, x_86); -x_100 = lean_st_ref_set(x_3, x_99, x_35); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_84); +lean_ctor_set(x_100, 1, x_87); +x_101 = lean_st_ref_set(x_3, x_100, x_34); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; } else { - lean_dec_ref(x_100); - x_102 = lean_box(0); + lean_dec_ref(x_101); + x_103 = lean_box(0); } -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); } else { - x_103 = x_102; + x_104 = x_103; } -lean_ctor_set(x_103, 0, x_31); -lean_ctor_set(x_103, 1, x_101); -return x_103; +lean_ctor_set(x_104, 0, x_30); +lean_ctor_set(x_104, 1, x_102); +return x_104; } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_104 = lean_box(0); -x_105 = lean_array_uset(x_76, x_80, x_104); -lean_inc(x_31); -x_106 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_31, x_81); -x_107 = lean_array_uset(x_105, x_80, x_106); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_75); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_st_ref_set(x_3, x_108, x_35); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; +lean_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; +x_105 = lean_box(0); +x_106 = lean_array_uset(x_76, x_80, x_105); +lean_inc(x_30); +x_107 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_30, x_81); +x_108 = lean_array_uset(x_106, x_80, x_107); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_75); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_st_ref_set(x_3, x_109, x_34); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_112 = x_110; } else { - lean_dec_ref(x_109); - x_111 = lean_box(0); + lean_dec_ref(x_110); + x_112 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_113 = x_112; } -lean_ctor_set(x_112, 0, x_31); -lean_ctor_set(x_112, 1, x_110); -return x_112; +lean_ctor_set(x_113, 0, x_30); +lean_ctor_set(x_113, 1, x_111); +return x_113; } } } } else { -lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; uint64_t x_461; uint64_t x_462; uint64_t x_463; uint64_t x_464; uint64_t x_465; uint64_t x_466; uint64_t x_467; size_t x_468; size_t x_469; size_t x_470; lean_object* x_471; lean_object* x_472; size_t x_516; size_t x_517; lean_object* x_518; lean_object* x_519; -x_457 = lean_ctor_get(x_15, 0); -x_458 = lean_ctor_get(x_15, 1); -lean_inc(x_458); -lean_inc(x_457); -lean_dec(x_15); -x_459 = lean_ctor_get(x_457, 1); +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; uint64_t x_462; uint64_t x_463; uint64_t x_464; uint64_t x_465; uint64_t x_466; uint64_t x_467; size_t x_468; size_t x_469; size_t x_470; lean_object* x_471; lean_object* x_472; size_t x_517; size_t x_518; lean_object* x_519; lean_object* x_520; +x_458 = lean_ctor_get(x_15, 0); +x_459 = lean_ctor_get(x_15, 1); lean_inc(x_459); -lean_dec(x_457); -x_460 = lean_array_get_size(x_459); -x_461 = lean_uint64_of_nat(x_14); +lean_inc(x_458); +lean_dec(x_15); +x_460 = lean_ctor_get(x_458, 1); +lean_inc(x_460); +lean_dec(x_458); +x_461 = lean_array_get_size(x_460); x_462 = 32; -x_463 = lean_uint64_shift_right(x_461, x_462); -x_464 = lean_uint64_xor(x_461, x_463); +x_463 = lean_uint64_shift_right(x_14, x_462); +x_464 = lean_uint64_xor(x_14, x_463); x_465 = 16; x_466 = lean_uint64_shift_right(x_464, x_465); x_467 = lean_uint64_xor(x_464, x_466); x_468 = lean_uint64_to_usize(x_467); -x_469 = lean_usize_of_nat(x_460); -lean_dec(x_460); +x_469 = lean_usize_of_nat(x_461); +lean_dec(x_461); x_470 = 1; -x_516 = lean_usize_sub(x_469, x_470); -x_517 = lean_usize_land(x_468, x_516); -x_518 = lean_array_uget(x_459, x_517); -lean_dec(x_459); -x_519 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_518); -lean_dec(x_518); -if (lean_obj_tag(x_519) == 0) +x_517 = lean_usize_sub(x_469, x_470); +x_518 = lean_usize_land(x_468, x_517); +x_519 = lean_array_uget(x_460, x_518); +lean_dec(x_460); +x_520 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_519); +if (lean_obj_tag(x_520) == 0) { switch (lean_obj_tag(x_13)) { case 0: { -lean_object* x_520; +lean_object* x_521; lean_dec(x_2); lean_dec(x_1); -x_520 = lean_ctor_get(x_13, 0); -lean_inc(x_520); +x_521 = lean_ctor_get(x_13, 0); +lean_inc(x_521); lean_dec(x_13); -x_471 = x_520; -x_472 = x_458; -goto block_515; +x_471 = x_521; +x_472 = x_459; +goto block_516; } case 1: { -lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; -x_521 = lean_ctor_get(x_13, 0); -lean_inc(x_521); -x_522 = lean_ctor_get(x_13, 1); +lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; +x_522 = lean_ctor_get(x_13, 0); lean_inc(x_522); +x_523 = lean_ctor_get(x_13, 1); +lean_inc(x_523); lean_dec(x_13); -x_523 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_521); -x_524 = lean_ctor_get(x_1, 0); -lean_inc(x_524); +x_524 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_522); +x_525 = lean_ctor_get(x_1, 0); +lean_inc(x_525); lean_dec(x_1); -x_525 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_524); -x_526 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__3; -x_527 = l_Lean_reflBoolTrue; -x_528 = l_Lean_mkApp5(x_526, x_2, x_523, x_525, x_527, x_522); -x_471 = x_528; -x_472 = x_458; -goto block_515; +x_526 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_525); +x_527 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__3; +x_528 = l_Lean_reflBoolTrue; +x_529 = l_Lean_mkApp5(x_527, x_2, x_524, x_526, x_528, x_523); +x_471 = x_529; +x_472 = x_459; +goto block_516; } case 2: { -lean_object* x_529; lean_object* x_530; -x_529 = lean_ctor_get(x_13, 0); -lean_inc(x_529); +lean_object* x_530; lean_object* x_531; +x_530 = lean_ctor_get(x_13, 0); +lean_inc(x_530); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_529); -x_530 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_529, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_530) == 0) +lean_inc(x_530); +x_531 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_530, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_531) == 0) { -lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -x_531 = lean_ctor_get(x_530, 0); -lean_inc(x_531); -x_532 = lean_ctor_get(x_530, 1); +lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; +x_532 = lean_ctor_get(x_531, 0); lean_inc(x_532); -lean_dec(x_530); -x_533 = lean_ctor_get(x_529, 0); +x_533 = lean_ctor_get(x_531, 1); lean_inc(x_533); -lean_dec(x_529); -x_534 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_533); -x_535 = lean_ctor_get(x_1, 0); -lean_inc(x_535); +lean_dec(x_531); +x_534 = lean_ctor_get(x_530, 0); +lean_inc(x_534); +lean_dec(x_530); +x_535 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_534); +x_536 = lean_ctor_get(x_1, 0); +lean_inc(x_536); lean_dec(x_1); -x_536 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_535); -x_537 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__6; -x_538 = l_Lean_reflBoolTrue; -x_539 = l_Lean_mkApp5(x_537, x_2, x_534, x_536, x_538, x_531); -x_471 = x_539; -x_472 = x_532; -goto block_515; +x_537 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_536); +x_538 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__6; +x_539 = l_Lean_reflBoolTrue; +x_540 = l_Lean_mkApp5(x_538, x_2, x_535, x_537, x_539, x_532); +x_471 = x_540; +x_472 = x_533; +goto block_516; } else { -lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; -lean_dec(x_529); -lean_dec(x_14); +lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; +lean_dec(x_530); lean_dec(x_2); lean_dec(x_1); -x_540 = lean_ctor_get(x_530, 0); -lean_inc(x_540); -x_541 = lean_ctor_get(x_530, 1); +x_541 = lean_ctor_get(x_531, 0); lean_inc(x_541); -if (lean_is_exclusive(x_530)) { - lean_ctor_release(x_530, 0); - lean_ctor_release(x_530, 1); - x_542 = x_530; +x_542 = lean_ctor_get(x_531, 1); +lean_inc(x_542); +if (lean_is_exclusive(x_531)) { + lean_ctor_release(x_531, 0); + lean_ctor_release(x_531, 1); + x_543 = x_531; } else { - lean_dec_ref(x_530); - x_542 = lean_box(0); + lean_dec_ref(x_531); + x_543 = lean_box(0); } -if (lean_is_scalar(x_542)) { - x_543 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_543)) { + x_544 = lean_alloc_ctor(1, 2, 0); } else { - x_543 = x_542; + x_544 = x_543; } -lean_ctor_set(x_543, 0, x_540); -lean_ctor_set(x_543, 1, x_541); -return x_543; +lean_ctor_set(x_544, 0, x_541); +lean_ctor_set(x_544, 1, x_542); +return x_544; } } case 3: { -lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_544 = lean_ctor_get(x_13, 0); -lean_inc(x_544); -lean_dec(x_13); -x_545 = lean_ctor_get(x_544, 0); +lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; +x_545 = lean_ctor_get(x_13, 0); lean_inc(x_545); -x_546 = l_Int_Linear_Poly_gcdCoeffs_x27(x_545); +lean_dec(x_13); +x_546 = lean_ctor_get(x_545, 0); +lean_inc(x_546); +x_547 = l_Int_Linear_Poly_gcdCoeffs_x27(x_546); lean_inc(x_2); -x_547 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_544, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_547) == 0) +x_548 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_545, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_548) == 0) { -lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; uint8_t x_555; -x_548 = lean_ctor_get(x_547, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_547, 1); +lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; uint8_t x_556; +x_549 = lean_ctor_get(x_548, 0); lean_inc(x_549); -lean_dec(x_547); -x_550 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_545); -x_551 = lean_ctor_get(x_1, 0); -lean_inc(x_551); +x_550 = lean_ctor_get(x_548, 1); +lean_inc(x_550); +lean_dec(x_548); +x_551 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_546); +x_552 = lean_ctor_get(x_1, 0); +lean_inc(x_552); lean_dec(x_1); -x_552 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_551); -x_553 = lean_nat_to_int(x_546); -x_554 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_555 = lean_int_dec_le(x_554, x_553); -if (x_555 == 0) +x_553 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_552); +x_554 = lean_nat_to_int(x_547); +x_555 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_556 = lean_int_dec_le(x_555, x_554); +if (x_556 == 0) { -lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; -x_556 = lean_int_neg(x_553); -lean_dec(x_553); -x_557 = l_Int_toNat(x_556); -lean_dec(x_556); -x_558 = l_Lean_instToExprInt_mkNat(x_557); -x_559 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_560 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_561 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_562 = l_Lean_mkApp3(x_559, x_560, x_561, x_558); -x_563 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; -x_564 = l_Lean_reflBoolTrue; -x_565 = l_Lean_mkApp6(x_563, x_2, x_550, x_552, x_562, x_564, x_548); -x_471 = x_565; -x_472 = x_549; -goto block_515; +lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; +x_557 = lean_int_neg(x_554); +lean_dec(x_554); +x_558 = l_Int_toNat(x_557); +lean_dec(x_557); +x_559 = l_Lean_instToExprInt_mkNat(x_558); +x_560 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_561 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_562 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_563 = l_Lean_mkApp3(x_560, x_561, x_562, x_559); +x_564 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; +x_565 = l_Lean_reflBoolTrue; +x_566 = l_Lean_mkApp6(x_564, x_2, x_551, x_553, x_563, x_565, x_549); +x_471 = x_566; +x_472 = x_550; +goto block_516; } else { -lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; -x_566 = l_Int_toNat(x_553); -lean_dec(x_553); -x_567 = l_Lean_instToExprInt_mkNat(x_566); -x_568 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; -x_569 = l_Lean_reflBoolTrue; -x_570 = l_Lean_mkApp6(x_568, x_2, x_550, x_552, x_567, x_569, x_548); -x_471 = x_570; -x_472 = x_549; -goto block_515; +lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; +x_567 = l_Int_toNat(x_554); +lean_dec(x_554); +x_568 = l_Lean_instToExprInt_mkNat(x_567); +x_569 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__9; +x_570 = l_Lean_reflBoolTrue; +x_571 = l_Lean_mkApp6(x_569, x_2, x_551, x_553, x_568, x_570, x_549); +x_471 = x_571; +x_472 = x_550; +goto block_516; } } else { -lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; +lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; +lean_dec(x_547); lean_dec(x_546); -lean_dec(x_545); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_571 = lean_ctor_get(x_547, 0); -lean_inc(x_571); -x_572 = lean_ctor_get(x_547, 1); +x_572 = lean_ctor_get(x_548, 0); lean_inc(x_572); -if (lean_is_exclusive(x_547)) { - lean_ctor_release(x_547, 0); - lean_ctor_release(x_547, 1); - x_573 = x_547; +x_573 = lean_ctor_get(x_548, 1); +lean_inc(x_573); +if (lean_is_exclusive(x_548)) { + lean_ctor_release(x_548, 0); + lean_ctor_release(x_548, 1); + x_574 = x_548; } else { - lean_dec_ref(x_547); - x_573 = lean_box(0); + lean_dec_ref(x_548); + x_574 = lean_box(0); } -if (lean_is_scalar(x_573)) { - x_574 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_574)) { + x_575 = lean_alloc_ctor(1, 2, 0); } else { - x_574 = x_573; + x_575 = x_574; } -lean_ctor_set(x_574, 0, x_571); -lean_ctor_set(x_574, 1, x_572); -return x_574; +lean_ctor_set(x_575, 0, x_572); +lean_ctor_set(x_575, 1, x_573); +return x_575; } } case 4: { -lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_575 = lean_ctor_get(x_13, 0); -lean_inc(x_575); -x_576 = lean_ctor_get(x_13, 1); +lean_object* x_576; lean_object* x_577; lean_object* x_578; +x_576 = lean_ctor_get(x_13, 0); lean_inc(x_576); +x_577 = lean_ctor_get(x_13, 1); +lean_inc(x_577); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_575); -x_577 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_575, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_577) == 0) -{ -lean_object* x_578; lean_object* x_579; lean_object* x_580; -x_578 = lean_ctor_get(x_577, 0); -lean_inc(x_578); -x_579 = lean_ctor_get(x_577, 1); -lean_inc(x_579); -lean_dec(x_577); -lean_inc(x_2); lean_inc(x_576); -x_580 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_576, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_579); -if (lean_obj_tag(x_580) == 0) +x_578 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_576, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_578) == 0) { -lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; -x_581 = lean_ctor_get(x_580, 0); -lean_inc(x_581); -x_582 = lean_ctor_get(x_580, 1); -lean_inc(x_582); -lean_dec(x_580); -x_583 = lean_ctor_get(x_575, 0); -lean_inc(x_583); -lean_dec(x_575); -x_584 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_583); -x_585 = lean_ctor_get(x_576, 0); -lean_inc(x_585); -lean_dec(x_576); -x_586 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_585); -x_587 = lean_ctor_get(x_1, 0); -lean_inc(x_587); -lean_dec(x_1); -x_588 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_587); -x_589 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__12; -x_590 = l_Lean_reflBoolTrue; -x_591 = l_Lean_mkApp7(x_589, x_2, x_584, x_586, x_588, x_590, x_578, x_581); -x_471 = x_591; -x_472 = x_582; -goto block_515; -} -else -{ -lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; +lean_object* x_579; lean_object* x_580; lean_object* x_581; +x_579 = lean_ctor_get(x_578, 0); +lean_inc(x_579); +x_580 = lean_ctor_get(x_578, 1); +lean_inc(x_580); lean_dec(x_578); +lean_inc(x_2); +lean_inc(x_577); +x_581 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_577, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_580); +if (lean_obj_tag(x_581) == 0) +{ +lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; +x_582 = lean_ctor_get(x_581, 0); +lean_inc(x_582); +x_583 = lean_ctor_get(x_581, 1); +lean_inc(x_583); +lean_dec(x_581); +x_584 = lean_ctor_get(x_576, 0); +lean_inc(x_584); +lean_dec(x_576); +x_585 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_584); +x_586 = lean_ctor_get(x_577, 0); +lean_inc(x_586); +lean_dec(x_577); +x_587 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_586); +x_588 = lean_ctor_get(x_1, 0); +lean_inc(x_588); +lean_dec(x_1); +x_589 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_588); +x_590 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__12; +x_591 = l_Lean_reflBoolTrue; +x_592 = l_Lean_mkApp7(x_590, x_2, x_585, x_587, x_589, x_591, x_579, x_582); +x_471 = x_592; +x_472 = x_583; +goto block_516; +} +else +{ +lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; +lean_dec(x_579); +lean_dec(x_577); lean_dec(x_576); -lean_dec(x_575); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_592 = lean_ctor_get(x_580, 0); -lean_inc(x_592); -x_593 = lean_ctor_get(x_580, 1); +x_593 = lean_ctor_get(x_581, 0); lean_inc(x_593); -if (lean_is_exclusive(x_580)) { - lean_ctor_release(x_580, 0); - lean_ctor_release(x_580, 1); - x_594 = x_580; +x_594 = lean_ctor_get(x_581, 1); +lean_inc(x_594); +if (lean_is_exclusive(x_581)) { + lean_ctor_release(x_581, 0); + lean_ctor_release(x_581, 1); + x_595 = x_581; } else { - lean_dec_ref(x_580); - x_594 = lean_box(0); + lean_dec_ref(x_581); + x_595 = lean_box(0); } -if (lean_is_scalar(x_594)) { - x_595 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_595)) { + x_596 = lean_alloc_ctor(1, 2, 0); } else { - x_595 = x_594; + x_596 = x_595; } -lean_ctor_set(x_595, 0, x_592); -lean_ctor_set(x_595, 1, x_593); -return x_595; +lean_ctor_set(x_596, 0, x_593); +lean_ctor_set(x_596, 1, x_594); +return x_596; } } else { -lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; +lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; +lean_dec(x_577); lean_dec(x_576); -lean_dec(x_575); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_596 = lean_ctor_get(x_577, 0); -lean_inc(x_596); -x_597 = lean_ctor_get(x_577, 1); +x_597 = lean_ctor_get(x_578, 0); lean_inc(x_597); -if (lean_is_exclusive(x_577)) { - lean_ctor_release(x_577, 0); - lean_ctor_release(x_577, 1); - x_598 = x_577; +x_598 = lean_ctor_get(x_578, 1); +lean_inc(x_598); +if (lean_is_exclusive(x_578)) { + lean_ctor_release(x_578, 0); + lean_ctor_release(x_578, 1); + x_599 = x_578; } else { - lean_dec_ref(x_577); - x_598 = lean_box(0); + lean_dec_ref(x_578); + x_599 = lean_box(0); } -if (lean_is_scalar(x_598)) { - x_599 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_599)) { + x_600 = lean_alloc_ctor(1, 2, 0); } else { - x_599 = x_598; + x_600 = x_599; } -lean_ctor_set(x_599, 0, x_596); -lean_ctor_set(x_599, 1, x_597); -return x_599; +lean_ctor_set(x_600, 0, x_597); +lean_ctor_set(x_600, 1, x_598); +return x_600; } } case 5: { -lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; uint8_t x_606; -x_600 = lean_ctor_get(x_13, 0); -lean_inc(x_600); -x_601 = lean_ctor_get(x_13, 1); +lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; uint8_t x_607; +x_601 = lean_ctor_get(x_13, 0); lean_inc(x_601); -x_602 = lean_ctor_get(x_13, 2); +x_602 = lean_ctor_get(x_13, 1); lean_inc(x_602); -lean_dec(x_13); -x_603 = lean_ctor_get(x_601, 0); +x_603 = lean_ctor_get(x_13, 2); lean_inc(x_603); -x_604 = l_Int_Linear_Poly_coeff(x_603, x_600); -x_605 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_606 = lean_int_dec_le(x_605, x_604); -lean_dec(x_604); -if (x_606 == 0) +lean_dec(x_13); +x_604 = lean_ctor_get(x_602, 0); +lean_inc(x_604); +x_605 = l_Int_Linear_Poly_coeff(x_604, x_601); +x_606 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_607 = lean_int_dec_le(x_606, x_605); +lean_dec(x_605); +if (x_607 == 0) { -lean_object* x_607; +lean_object* x_608; lean_inc(x_2); -x_607 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_601, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_607) == 0) +x_608 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_602, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_608) == 0) { -lean_object* x_608; lean_object* x_609; lean_object* x_610; -x_608 = lean_ctor_get(x_607, 0); -lean_inc(x_608); -x_609 = lean_ctor_get(x_607, 1); +lean_object* x_609; lean_object* x_610; lean_object* x_611; +x_609 = lean_ctor_get(x_608, 0); lean_inc(x_609); -lean_dec(x_607); -lean_inc(x_2); -lean_inc(x_602); -x_610 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_602, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_609); -if (lean_obj_tag(x_610) == 0) -{ -lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; -x_611 = lean_ctor_get(x_610, 0); -lean_inc(x_611); -x_612 = lean_ctor_get(x_610, 1); -lean_inc(x_612); -lean_dec(x_610); -x_613 = l_Lean_mkNatLit(x_600); -x_614 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_603); -x_615 = lean_ctor_get(x_602, 0); -lean_inc(x_615); -lean_dec(x_602); -x_616 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_615); -x_617 = lean_ctor_get(x_1, 0); -lean_inc(x_617); -lean_dec(x_1); -x_618 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_617); -x_619 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__15; -x_620 = l_Lean_reflBoolTrue; -x_621 = l_Lean_mkApp8(x_619, x_2, x_613, x_614, x_616, x_618, x_620, x_608, x_611); -x_471 = x_621; -x_472 = x_612; -goto block_515; -} -else -{ -lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; +x_610 = lean_ctor_get(x_608, 1); +lean_inc(x_610); lean_dec(x_608); +lean_inc(x_2); +lean_inc(x_603); +x_611 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_603, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_610); +if (lean_obj_tag(x_611) == 0) +{ +lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; +x_612 = lean_ctor_get(x_611, 0); +lean_inc(x_612); +x_613 = lean_ctor_get(x_611, 1); +lean_inc(x_613); +lean_dec(x_611); +x_614 = l_Lean_mkNatLit(x_601); +x_615 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_604); +x_616 = lean_ctor_get(x_603, 0); +lean_inc(x_616); lean_dec(x_603); -lean_dec(x_602); -lean_dec(x_600); -lean_dec(x_14); +x_617 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_616); +x_618 = lean_ctor_get(x_1, 0); +lean_inc(x_618); +lean_dec(x_1); +x_619 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_618); +x_620 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__15; +x_621 = l_Lean_reflBoolTrue; +x_622 = l_Lean_mkApp8(x_620, x_2, x_614, x_615, x_617, x_619, x_621, x_609, x_612); +x_471 = x_622; +x_472 = x_613; +goto block_516; +} +else +{ +lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; +lean_dec(x_609); +lean_dec(x_604); +lean_dec(x_603); +lean_dec(x_601); lean_dec(x_2); lean_dec(x_1); -x_622 = lean_ctor_get(x_610, 0); -lean_inc(x_622); -x_623 = lean_ctor_get(x_610, 1); +x_623 = lean_ctor_get(x_611, 0); lean_inc(x_623); -if (lean_is_exclusive(x_610)) { - lean_ctor_release(x_610, 0); - lean_ctor_release(x_610, 1); - x_624 = x_610; +x_624 = lean_ctor_get(x_611, 1); +lean_inc(x_624); +if (lean_is_exclusive(x_611)) { + lean_ctor_release(x_611, 0); + lean_ctor_release(x_611, 1); + x_625 = x_611; } else { - lean_dec_ref(x_610); - x_624 = lean_box(0); + lean_dec_ref(x_611); + x_625 = lean_box(0); } -if (lean_is_scalar(x_624)) { - x_625 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_625)) { + x_626 = lean_alloc_ctor(1, 2, 0); } else { - x_625 = x_624; + x_626 = x_625; } -lean_ctor_set(x_625, 0, x_622); -lean_ctor_set(x_625, 1, x_623); -return x_625; +lean_ctor_set(x_626, 0, x_623); +lean_ctor_set(x_626, 1, x_624); +return x_626; } } else { -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; +lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; +lean_dec(x_604); lean_dec(x_603); -lean_dec(x_602); -lean_dec(x_600); -lean_dec(x_14); +lean_dec(x_601); lean_dec(x_2); lean_dec(x_1); -x_626 = lean_ctor_get(x_607, 0); -lean_inc(x_626); -x_627 = lean_ctor_get(x_607, 1); +x_627 = lean_ctor_get(x_608, 0); lean_inc(x_627); -if (lean_is_exclusive(x_607)) { - lean_ctor_release(x_607, 0); - lean_ctor_release(x_607, 1); - x_628 = x_607; +x_628 = lean_ctor_get(x_608, 1); +lean_inc(x_628); +if (lean_is_exclusive(x_608)) { + lean_ctor_release(x_608, 0); + lean_ctor_release(x_608, 1); + x_629 = x_608; } else { - lean_dec_ref(x_607); - x_628 = lean_box(0); + lean_dec_ref(x_608); + x_629 = lean_box(0); } -if (lean_is_scalar(x_628)) { - x_629 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_629)) { + x_630 = lean_alloc_ctor(1, 2, 0); } else { - x_629 = x_628; + x_630 = x_629; } -lean_ctor_set(x_629, 0, x_626); -lean_ctor_set(x_629, 1, x_627); -return x_629; +lean_ctor_set(x_630, 0, x_627); +lean_ctor_set(x_630, 1, x_628); +return x_630; } } else { -lean_object* x_630; +lean_object* x_631; lean_inc(x_2); -x_630 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_601, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_630) == 0) +x_631 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_602, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_631) == 0) { -lean_object* x_631; lean_object* x_632; lean_object* x_633; -x_631 = lean_ctor_get(x_630, 0); -lean_inc(x_631); -x_632 = lean_ctor_get(x_630, 1); +lean_object* x_632; lean_object* x_633; lean_object* x_634; +x_632 = lean_ctor_get(x_631, 0); lean_inc(x_632); -lean_dec(x_630); -lean_inc(x_2); -lean_inc(x_602); -x_633 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_602, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_632); -if (lean_obj_tag(x_633) == 0) -{ -lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; -x_634 = lean_ctor_get(x_633, 0); -lean_inc(x_634); -x_635 = lean_ctor_get(x_633, 1); -lean_inc(x_635); -lean_dec(x_633); -x_636 = l_Lean_mkNatLit(x_600); -x_637 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_603); -x_638 = lean_ctor_get(x_602, 0); -lean_inc(x_638); -lean_dec(x_602); -x_639 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_638); -x_640 = lean_ctor_get(x_1, 0); -lean_inc(x_640); -lean_dec(x_1); -x_641 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_640); -x_642 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__18; -x_643 = l_Lean_reflBoolTrue; -x_644 = l_Lean_mkApp8(x_642, x_2, x_636, x_637, x_639, x_641, x_643, x_631, x_634); -x_471 = x_644; -x_472 = x_635; -goto block_515; -} -else -{ -lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; +x_633 = lean_ctor_get(x_631, 1); +lean_inc(x_633); lean_dec(x_631); +lean_inc(x_2); +lean_inc(x_603); +x_634 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_603, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_633); +if (lean_obj_tag(x_634) == 0) +{ +lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; +x_635 = lean_ctor_get(x_634, 0); +lean_inc(x_635); +x_636 = lean_ctor_get(x_634, 1); +lean_inc(x_636); +lean_dec(x_634); +x_637 = l_Lean_mkNatLit(x_601); +x_638 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_604); +x_639 = lean_ctor_get(x_603, 0); +lean_inc(x_639); lean_dec(x_603); -lean_dec(x_602); -lean_dec(x_600); -lean_dec(x_14); +x_640 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_639); +x_641 = lean_ctor_get(x_1, 0); +lean_inc(x_641); +lean_dec(x_1); +x_642 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_641); +x_643 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__18; +x_644 = l_Lean_reflBoolTrue; +x_645 = l_Lean_mkApp8(x_643, x_2, x_637, x_638, x_640, x_642, x_644, x_632, x_635); +x_471 = x_645; +x_472 = x_636; +goto block_516; +} +else +{ +lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; +lean_dec(x_632); +lean_dec(x_604); +lean_dec(x_603); +lean_dec(x_601); lean_dec(x_2); lean_dec(x_1); -x_645 = lean_ctor_get(x_633, 0); -lean_inc(x_645); -x_646 = lean_ctor_get(x_633, 1); +x_646 = lean_ctor_get(x_634, 0); lean_inc(x_646); -if (lean_is_exclusive(x_633)) { - lean_ctor_release(x_633, 0); - lean_ctor_release(x_633, 1); - x_647 = x_633; +x_647 = lean_ctor_get(x_634, 1); +lean_inc(x_647); +if (lean_is_exclusive(x_634)) { + lean_ctor_release(x_634, 0); + lean_ctor_release(x_634, 1); + x_648 = x_634; } else { - lean_dec_ref(x_633); - x_647 = lean_box(0); + lean_dec_ref(x_634); + x_648 = lean_box(0); } -if (lean_is_scalar(x_647)) { - x_648 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_648)) { + x_649 = lean_alloc_ctor(1, 2, 0); } else { - x_648 = x_647; + x_649 = x_648; } -lean_ctor_set(x_648, 0, x_645); -lean_ctor_set(x_648, 1, x_646); -return x_648; +lean_ctor_set(x_649, 0, x_646); +lean_ctor_set(x_649, 1, x_647); +return x_649; } } else { -lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; +lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; +lean_dec(x_604); lean_dec(x_603); -lean_dec(x_602); -lean_dec(x_600); -lean_dec(x_14); +lean_dec(x_601); lean_dec(x_2); lean_dec(x_1); -x_649 = lean_ctor_get(x_630, 0); -lean_inc(x_649); -x_650 = lean_ctor_get(x_630, 1); +x_650 = lean_ctor_get(x_631, 0); lean_inc(x_650); -if (lean_is_exclusive(x_630)) { - lean_ctor_release(x_630, 0); - lean_ctor_release(x_630, 1); - x_651 = x_630; +x_651 = lean_ctor_get(x_631, 1); +lean_inc(x_651); +if (lean_is_exclusive(x_631)) { + lean_ctor_release(x_631, 0); + lean_ctor_release(x_631, 1); + x_652 = x_631; } else { - lean_dec_ref(x_630); - x_651 = lean_box(0); + lean_dec_ref(x_631); + x_652 = lean_box(0); } -if (lean_is_scalar(x_651)) { - x_652 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_652)) { + x_653 = lean_alloc_ctor(1, 2, 0); } else { - x_652 = x_651; + x_653 = x_652; } -lean_ctor_set(x_652, 0, x_649); -lean_ctor_set(x_652, 1, x_650); -return x_652; +lean_ctor_set(x_653, 0, x_650); +lean_ctor_set(x_653, 1, x_651); +return x_653; } } } case 6: { -lean_object* x_653; lean_object* x_654; lean_object* x_655; -x_653 = lean_ctor_get(x_13, 0); -lean_inc(x_653); -x_654 = lean_ctor_get(x_13, 1); +lean_object* x_654; lean_object* x_655; lean_object* x_656; +x_654 = lean_ctor_get(x_13, 0); lean_inc(x_654); +x_655 = lean_ctor_get(x_13, 1); +lean_inc(x_655); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_653); -x_655 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_653, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_655) == 0) -{ -lean_object* x_656; lean_object* x_657; lean_object* x_658; -x_656 = lean_ctor_get(x_655, 0); -lean_inc(x_656); -x_657 = lean_ctor_get(x_655, 1); -lean_inc(x_657); -lean_dec(x_655); -lean_inc(x_2); lean_inc(x_654); -x_658 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_654, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_657); -if (lean_obj_tag(x_658) == 0) +x_656 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_654, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_656) == 0) { -lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; -x_659 = lean_ctor_get(x_658, 0); -lean_inc(x_659); -x_660 = lean_ctor_get(x_658, 1); -lean_inc(x_660); -lean_dec(x_658); -x_661 = lean_ctor_get(x_653, 0); -lean_inc(x_661); -lean_dec(x_653); -x_662 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_661); -x_663 = lean_ctor_get(x_654, 0); -lean_inc(x_663); -lean_dec(x_654); -x_664 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_663); -x_665 = lean_ctor_get(x_1, 0); -lean_inc(x_665); -lean_dec(x_1); -x_666 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_665); -x_667 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__21; -x_668 = l_Lean_reflBoolTrue; -x_669 = l_Lean_mkApp7(x_667, x_2, x_662, x_664, x_666, x_668, x_656, x_659); -x_471 = x_669; -x_472 = x_660; -goto block_515; -} -else -{ -lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; +lean_object* x_657; lean_object* x_658; lean_object* x_659; +x_657 = lean_ctor_get(x_656, 0); +lean_inc(x_657); +x_658 = lean_ctor_get(x_656, 1); +lean_inc(x_658); lean_dec(x_656); +lean_inc(x_2); +lean_inc(x_655); +x_659 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_655, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_658); +if (lean_obj_tag(x_659) == 0) +{ +lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; +x_660 = lean_ctor_get(x_659, 0); +lean_inc(x_660); +x_661 = lean_ctor_get(x_659, 1); +lean_inc(x_661); +lean_dec(x_659); +x_662 = lean_ctor_get(x_654, 0); +lean_inc(x_662); +lean_dec(x_654); +x_663 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_662); +x_664 = lean_ctor_get(x_655, 0); +lean_inc(x_664); +lean_dec(x_655); +x_665 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_664); +x_666 = lean_ctor_get(x_1, 0); +lean_inc(x_666); +lean_dec(x_1); +x_667 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_666); +x_668 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__21; +x_669 = l_Lean_reflBoolTrue; +x_670 = l_Lean_mkApp7(x_668, x_2, x_663, x_665, x_667, x_669, x_657, x_660); +x_471 = x_670; +x_472 = x_661; +goto block_516; +} +else +{ +lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; +lean_dec(x_657); +lean_dec(x_655); lean_dec(x_654); -lean_dec(x_653); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_670 = lean_ctor_get(x_658, 0); -lean_inc(x_670); -x_671 = lean_ctor_get(x_658, 1); +x_671 = lean_ctor_get(x_659, 0); lean_inc(x_671); -if (lean_is_exclusive(x_658)) { - lean_ctor_release(x_658, 0); - lean_ctor_release(x_658, 1); - x_672 = x_658; +x_672 = lean_ctor_get(x_659, 1); +lean_inc(x_672); +if (lean_is_exclusive(x_659)) { + lean_ctor_release(x_659, 0); + lean_ctor_release(x_659, 1); + x_673 = x_659; } else { - lean_dec_ref(x_658); - x_672 = lean_box(0); + lean_dec_ref(x_659); + x_673 = lean_box(0); } -if (lean_is_scalar(x_672)) { - x_673 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_673)) { + x_674 = lean_alloc_ctor(1, 2, 0); } else { - x_673 = x_672; + x_674 = x_673; } -lean_ctor_set(x_673, 0, x_670); -lean_ctor_set(x_673, 1, x_671); -return x_673; +lean_ctor_set(x_674, 0, x_671); +lean_ctor_set(x_674, 1, x_672); +return x_674; } } else { -lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; +lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; +lean_dec(x_655); lean_dec(x_654); -lean_dec(x_653); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_674 = lean_ctor_get(x_655, 0); -lean_inc(x_674); -x_675 = lean_ctor_get(x_655, 1); +x_675 = lean_ctor_get(x_656, 0); lean_inc(x_675); -if (lean_is_exclusive(x_655)) { - lean_ctor_release(x_655, 0); - lean_ctor_release(x_655, 1); - x_676 = x_655; +x_676 = lean_ctor_get(x_656, 1); +lean_inc(x_676); +if (lean_is_exclusive(x_656)) { + lean_ctor_release(x_656, 0); + lean_ctor_release(x_656, 1); + x_677 = x_656; } else { - lean_dec_ref(x_655); - x_676 = lean_box(0); + lean_dec_ref(x_656); + x_677 = lean_box(0); } -if (lean_is_scalar(x_676)) { - x_677 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_677)) { + x_678 = lean_alloc_ctor(1, 2, 0); } else { - x_677 = x_676; + x_678 = x_677; } -lean_ctor_set(x_677, 0, x_674); -lean_ctor_set(x_677, 1, x_675); -return x_677; +lean_ctor_set(x_678, 0, x_675); +lean_ctor_set(x_678, 1, x_676); +return x_678; } } case 7: { -lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; -x_678 = lean_ctor_get(x_13, 0); -lean_inc(x_678); -x_679 = lean_ctor_get(x_13, 1); +lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; +x_679 = lean_ctor_get(x_13, 0); lean_inc(x_679); -x_680 = lean_ctor_get(x_13, 2); +x_680 = lean_ctor_get(x_13, 1); lean_inc(x_680); +x_681 = lean_ctor_get(x_13, 2); +lean_inc(x_681); lean_dec(x_13); -x_681 = lean_ctor_get(x_678, 0); -lean_inc(x_681); -x_682 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__22; -lean_inc(x_681); -x_683 = l_Int_Linear_Poly_addConst(x_681, x_682); +x_682 = lean_ctor_get(x_679, 0); +lean_inc(x_682); +x_683 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__22; +lean_inc(x_682); +x_684 = l_Int_Linear_Poly_addConst(x_682, x_683); lean_inc(x_2); -x_684 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(x_680, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_684) == 0) +x_685 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(x_681, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_685) == 0) { -lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; uint8_t x_700; lean_object* x_701; lean_object* x_702; -x_685 = lean_ctor_get(x_684, 0); -lean_inc(x_685); -x_686 = lean_ctor_get(x_684, 1); +lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; uint8_t x_701; lean_object* x_702; lean_object* x_703; +x_686 = lean_ctor_get(x_685, 0); lean_inc(x_686); -lean_dec(x_684); -lean_inc(x_683); -x_687 = l_Int_Linear_Poly_denoteExpr_x27(x_683, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_686); -x_688 = lean_ctor_get(x_687, 0); -lean_inc(x_688); -x_689 = lean_ctor_get(x_687, 1); -lean_inc(x_689); -if (lean_is_exclusive(x_687)) { - lean_ctor_release(x_687, 0); - lean_ctor_release(x_687, 1); - x_690 = x_687; -} else { - lean_dec_ref(x_687); - x_690 = lean_box(0); -} -x_691 = l___private_Lean_Expr_0__Lean_intLEPred; -x_692 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__25; -x_693 = l_Lean_mkAppB(x_691, x_688, x_692); -x_694 = l_Lean_Expr_fvar___override(x_679); -x_695 = lean_box(0); -if (lean_is_scalar(x_690)) { - x_696 = lean_alloc_ctor(1, 2, 0); -} else { - x_696 = x_690; - lean_ctor_set_tag(x_696, 1); -} -lean_ctor_set(x_696, 0, x_694); -lean_ctor_set(x_696, 1, x_695); -x_697 = lean_array_mk(x_696); -x_698 = lean_expr_abstract(x_685, x_697); -lean_dec(x_697); +x_687 = lean_ctor_get(x_685, 1); +lean_inc(x_687); lean_dec(x_685); -x_699 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; -x_700 = 0; -x_701 = l_Lean_Expr_lam___override(x_699, x_693, x_698, x_700); +lean_inc(x_684); +x_688 = l_Int_Linear_Poly_denoteExpr_x27(x_684, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_687); +x_689 = lean_ctor_get(x_688, 0); +lean_inc(x_689); +x_690 = lean_ctor_get(x_688, 1); +lean_inc(x_690); +if (lean_is_exclusive(x_688)) { + lean_ctor_release(x_688, 0); + lean_ctor_release(x_688, 1); + x_691 = x_688; +} else { + lean_dec_ref(x_688); + x_691 = lean_box(0); +} +x_692 = l___private_Lean_Expr_0__Lean_intLEPred; +x_693 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__25; +x_694 = l_Lean_mkAppB(x_692, x_689, x_693); +x_695 = l_Lean_Expr_fvar___override(x_680); +x_696 = lean_box(0); +if (lean_is_scalar(x_691)) { + x_697 = lean_alloc_ctor(1, 2, 0); +} else { + x_697 = x_691; + lean_ctor_set_tag(x_697, 1); +} +lean_ctor_set(x_697, 0, x_695); +lean_ctor_set(x_697, 1, x_696); +x_698 = lean_array_mk(x_697); +x_699 = lean_expr_abstract(x_686, x_698); +lean_dec(x_698); +lean_dec(x_686); +x_700 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; +x_701 = 0; +x_702 = l_Lean_Expr_lam___override(x_700, x_694, x_699, x_701); lean_inc(x_2); -x_702 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_678, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_689); -if (lean_obj_tag(x_702) == 0) +x_703 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_679, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_690); +if (lean_obj_tag(x_703) == 0) { -lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; -x_703 = lean_ctor_get(x_702, 0); -lean_inc(x_703); -x_704 = lean_ctor_get(x_702, 1); +lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; +x_704 = lean_ctor_get(x_703, 0); lean_inc(x_704); +x_705 = lean_ctor_get(x_703, 1); +lean_inc(x_705); +lean_dec(x_703); +x_706 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_682); +x_707 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_684); +x_708 = lean_ctor_get(x_1, 0); +lean_inc(x_708); +lean_dec(x_1); +x_709 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_708); +x_710 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__28; +x_711 = l_Lean_reflBoolTrue; +x_712 = l_Lean_mkApp7(x_710, x_2, x_706, x_707, x_709, x_711, x_704, x_702); +x_471 = x_712; +x_472 = x_705; +goto block_516; +} +else +{ +lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_dec(x_702); -x_705 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_681); -x_706 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_683); -x_707 = lean_ctor_get(x_1, 0); -lean_inc(x_707); -lean_dec(x_1); -x_708 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_707); -x_709 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__28; -x_710 = l_Lean_reflBoolTrue; -x_711 = l_Lean_mkApp7(x_709, x_2, x_705, x_706, x_708, x_710, x_703, x_701); -x_471 = x_711; -x_472 = x_704; -goto block_515; -} -else -{ -lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; -lean_dec(x_701); -lean_dec(x_683); -lean_dec(x_681); -lean_dec(x_14); +lean_dec(x_684); +lean_dec(x_682); lean_dec(x_2); lean_dec(x_1); -x_712 = lean_ctor_get(x_702, 0); -lean_inc(x_712); -x_713 = lean_ctor_get(x_702, 1); +x_713 = lean_ctor_get(x_703, 0); lean_inc(x_713); -if (lean_is_exclusive(x_702)) { - lean_ctor_release(x_702, 0); - lean_ctor_release(x_702, 1); - x_714 = x_702; +x_714 = lean_ctor_get(x_703, 1); +lean_inc(x_714); +if (lean_is_exclusive(x_703)) { + lean_ctor_release(x_703, 0); + lean_ctor_release(x_703, 1); + x_715 = x_703; } else { - lean_dec_ref(x_702); - x_714 = lean_box(0); + lean_dec_ref(x_703); + x_715 = lean_box(0); } -if (lean_is_scalar(x_714)) { - x_715 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_715)) { + x_716 = lean_alloc_ctor(1, 2, 0); } else { - x_715 = x_714; + x_716 = x_715; } -lean_ctor_set(x_715, 0, x_712); -lean_ctor_set(x_715, 1, x_713); -return x_715; +lean_ctor_set(x_716, 0, x_713); +lean_ctor_set(x_716, 1, x_714); +return x_716; } } else { -lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; -lean_dec(x_683); -lean_dec(x_681); +lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; +lean_dec(x_684); +lean_dec(x_682); +lean_dec(x_680); lean_dec(x_679); -lean_dec(x_678); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_716 = lean_ctor_get(x_684, 0); -lean_inc(x_716); -x_717 = lean_ctor_get(x_684, 1); +x_717 = lean_ctor_get(x_685, 0); lean_inc(x_717); -if (lean_is_exclusive(x_684)) { - lean_ctor_release(x_684, 0); - lean_ctor_release(x_684, 1); - x_718 = x_684; +x_718 = lean_ctor_get(x_685, 1); +lean_inc(x_718); +if (lean_is_exclusive(x_685)) { + lean_ctor_release(x_685, 0); + lean_ctor_release(x_685, 1); + x_719 = x_685; } else { - lean_dec_ref(x_684); - x_718 = lean_box(0); + lean_dec_ref(x_685); + x_719 = lean_box(0); } -if (lean_is_scalar(x_718)) { - x_719 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_719)) { + x_720 = lean_alloc_ctor(1, 2, 0); } else { - x_719 = x_718; + x_720 = x_719; } -lean_ctor_set(x_719, 0, x_716); -lean_ctor_set(x_719, 1, x_717); -return x_719; +lean_ctor_set(x_720, 0, x_717); +lean_ctor_set(x_720, 1, x_718); +return x_720; } } default: { -lean_object* x_720; lean_object* x_721; uint8_t x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; uint8_t x_728; -x_720 = lean_ctor_get(x_13, 0); -lean_inc(x_720); -lean_dec(x_13); -x_721 = lean_ctor_get(x_720, 0); +lean_object* x_721; lean_object* x_722; uint8_t x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; uint8_t x_729; +x_721 = lean_ctor_get(x_13, 0); lean_inc(x_721); -x_722 = lean_ctor_get_uint8(x_721, sizeof(void*)*3); -x_723 = lean_ctor_get(x_721, 0); -lean_inc(x_723); -x_724 = lean_ctor_get(x_721, 1); +lean_dec(x_13); +x_722 = lean_ctor_get(x_721, 0); +lean_inc(x_722); +x_723 = lean_ctor_get_uint8(x_722, sizeof(void*)*3); +x_724 = lean_ctor_get(x_722, 0); lean_inc(x_724); -x_725 = lean_ctor_get(x_721, 2); +x_725 = lean_ctor_get(x_722, 1); lean_inc(x_725); -lean_dec(x_721); -x_726 = lean_ctor_get(x_723, 0); +x_726 = lean_ctor_get(x_722, 2); lean_inc(x_726); -lean_dec(x_723); +lean_dec(x_722); x_727 = lean_ctor_get(x_724, 0); lean_inc(x_727); lean_dec(x_724); -if (x_722 == 0) -{ -uint8_t x_830; -x_830 = 0; -x_728 = x_830; -goto block_829; -} -else +x_728 = lean_ctor_get(x_725, 0); +lean_inc(x_728); +lean_dec(x_725); +if (x_723 == 0) { uint8_t x_831; -x_831 = 1; -x_728 = x_831; -goto block_829; -} -block_829: -{ -lean_object* x_729; lean_object* x_765; lean_object* x_766; -if (x_728 == 0) -{ -lean_object* x_825; -x_825 = l_Int_Linear_Poly_leadCoeff(x_727); -if (lean_obj_tag(x_725) == 0) -{ -x_729 = x_825; -goto block_764; +x_831 = 0; +x_729 = x_831; +goto block_830; } else { -lean_object* x_826; -x_826 = lean_ctor_get(x_725, 0); -lean_inc(x_826); -lean_dec(x_725); -x_765 = x_825; -x_766 = x_826; -goto block_824; +uint8_t x_832; +x_832 = 1; +x_729 = x_832; +goto block_830; } +block_830: +{ +lean_object* x_730; lean_object* x_766; lean_object* x_767; +if (x_729 == 0) +{ +lean_object* x_826; +x_826 = l_Int_Linear_Poly_leadCoeff(x_727); +if (lean_obj_tag(x_726) == 0) +{ +x_730 = x_826; +goto block_765; } else { lean_object* x_827; -x_827 = l_Int_Linear_Poly_leadCoeff(x_726); -if (lean_obj_tag(x_725) == 0) -{ -x_729 = x_827; -goto block_764; +x_827 = lean_ctor_get(x_726, 0); +lean_inc(x_827); +lean_dec(x_726); +x_766 = x_826; +x_767 = x_827; +goto block_825; +} } else { lean_object* x_828; -x_828 = lean_ctor_get(x_725, 0); -lean_inc(x_828); -lean_dec(x_725); -x_765 = x_827; -x_766 = x_828; -goto block_824; -} -} -block_764: +x_828 = l_Int_Linear_Poly_leadCoeff(x_728); +if (lean_obj_tag(x_726) == 0) { -lean_object* x_730; -if (x_728 == 0) -{ -lean_object* x_762; -x_762 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__30; -x_730 = x_762; -goto block_761; +x_730 = x_828; +goto block_765; } else { -lean_object* x_763; -x_763 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__32; -x_730 = x_763; -goto block_761; +lean_object* x_829; +x_829 = lean_ctor_get(x_726, 0); +lean_inc(x_829); +lean_dec(x_726); +x_766 = x_828; +x_767 = x_829; +goto block_825; } -block_761: +} +block_765: { lean_object* x_731; +if (x_729 == 0) +{ +lean_object* x_763; +x_763 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__30; +x_731 = x_763; +goto block_762; +} +else +{ +lean_object* x_764; +x_764 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__32; +x_731 = x_764; +goto block_762; +} +block_762: +{ +lean_object* x_732; lean_inc(x_2); -lean_inc(x_720); -x_731 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_720, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_731) == 0) +lean_inc(x_721); +x_732 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_721, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_732) == 0) { -lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; uint8_t x_741; lean_object* x_742; lean_object* x_743; -x_732 = lean_ctor_get(x_731, 0); -lean_inc(x_732); -x_733 = lean_ctor_get(x_731, 1); +lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; uint8_t x_742; lean_object* x_743; lean_object* x_744; +x_733 = lean_ctor_get(x_732, 0); lean_inc(x_733); -lean_dec(x_731); -x_734 = lean_box(0); -x_735 = l_Lean_Expr_const___override(x_730, x_734); -x_736 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_726); +x_734 = lean_ctor_get(x_732, 1); +lean_inc(x_734); +lean_dec(x_732); +x_735 = lean_box(0); +x_736 = l_Lean_Expr_const___override(x_731, x_735); x_737 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_727); -x_738 = lean_ctor_get(x_720, 1); -lean_inc(x_738); -lean_dec(x_720); -x_739 = l_Lean_mkNatLit(x_738); -x_740 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_741 = lean_int_dec_le(x_740, x_729); -x_742 = lean_ctor_get(x_1, 0); -lean_inc(x_742); +x_738 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_728); +x_739 = lean_ctor_get(x_721, 1); +lean_inc(x_739); +lean_dec(x_721); +x_740 = l_Lean_mkNatLit(x_739); +x_741 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_742 = lean_int_dec_le(x_741, x_730); +x_743 = lean_ctor_get(x_1, 0); +lean_inc(x_743); lean_dec(x_1); -x_743 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_742); -if (x_741 == 0) +x_744 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_743); +if (x_742 == 0) { -lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; -x_744 = lean_int_neg(x_729); -lean_dec(x_729); -x_745 = l_Int_toNat(x_744); -lean_dec(x_744); -x_746 = l_Lean_instToExprInt_mkNat(x_745); -x_747 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_748 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_749 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_750 = l_Lean_mkApp3(x_747, x_748, x_749, x_746); -x_751 = l_Lean_reflBoolTrue; -x_752 = l_Lean_mkApp8(x_735, x_2, x_736, x_737, x_739, x_750, x_743, x_732, x_751); -x_471 = x_752; -x_472 = x_733; -goto block_515; -} -else -{ -lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; -x_753 = l_Int_toNat(x_729); -lean_dec(x_729); -x_754 = l_Lean_instToExprInt_mkNat(x_753); -x_755 = l_Lean_reflBoolTrue; -x_756 = l_Lean_mkApp8(x_735, x_2, x_736, x_737, x_739, x_754, x_743, x_732, x_755); -x_471 = x_756; -x_472 = x_733; -goto block_515; -} -} -else -{ -lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; +lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; +x_745 = lean_int_neg(x_730); lean_dec(x_730); -lean_dec(x_729); +x_746 = l_Int_toNat(x_745); +lean_dec(x_745); +x_747 = l_Lean_instToExprInt_mkNat(x_746); +x_748 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_749 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_750 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_751 = l_Lean_mkApp3(x_748, x_749, x_750, x_747); +x_752 = l_Lean_reflBoolTrue; +x_753 = l_Lean_mkApp8(x_736, x_2, x_737, x_738, x_740, x_751, x_744, x_733, x_752); +x_471 = x_753; +x_472 = x_734; +goto block_516; +} +else +{ +lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; +x_754 = l_Int_toNat(x_730); +lean_dec(x_730); +x_755 = l_Lean_instToExprInt_mkNat(x_754); +x_756 = l_Lean_reflBoolTrue; +x_757 = l_Lean_mkApp8(x_736, x_2, x_737, x_738, x_740, x_755, x_744, x_733, x_756); +x_471 = x_757; +x_472 = x_734; +goto block_516; +} +} +else +{ +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; +lean_dec(x_731); +lean_dec(x_730); +lean_dec(x_728); lean_dec(x_727); -lean_dec(x_726); -lean_dec(x_720); -lean_dec(x_14); +lean_dec(x_721); lean_dec(x_2); lean_dec(x_1); -x_757 = lean_ctor_get(x_731, 0); -lean_inc(x_757); -x_758 = lean_ctor_get(x_731, 1); +x_758 = lean_ctor_get(x_732, 0); lean_inc(x_758); -if (lean_is_exclusive(x_731)) { - lean_ctor_release(x_731, 0); - lean_ctor_release(x_731, 1); - x_759 = x_731; +x_759 = lean_ctor_get(x_732, 1); +lean_inc(x_759); +if (lean_is_exclusive(x_732)) { + lean_ctor_release(x_732, 0); + lean_ctor_release(x_732, 1); + x_760 = x_732; } else { - lean_dec_ref(x_731); - x_759 = lean_box(0); + lean_dec_ref(x_732); + x_760 = lean_box(0); } -if (lean_is_scalar(x_759)) { - x_760 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_760)) { + x_761 = lean_alloc_ctor(1, 2, 0); } else { - x_760 = x_759; + x_761 = x_760; } -lean_ctor_set(x_760, 0, x_757); -lean_ctor_set(x_760, 1, x_758); -return x_760; +lean_ctor_set(x_761, 0, x_758); +lean_ctor_set(x_761, 1, x_759); +return x_761; } } } -block_824: -{ -lean_object* x_767; -if (x_728 == 0) -{ -lean_object* x_822; -x_822 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__34; -x_767 = x_822; -goto block_821; -} -else -{ -lean_object* x_823; -x_823 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__36; -x_767 = x_823; -goto block_821; -} -block_821: +block_825: { lean_object* x_768; +if (x_729 == 0) +{ +lean_object* x_823; +x_823 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__34; +x_768 = x_823; +goto block_822; +} +else +{ +lean_object* x_824; +x_824 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__36; +x_768 = x_824; +goto block_822; +} +block_822: +{ +lean_object* x_769; lean_inc(x_2); -lean_inc(x_720); -x_768 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_720, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_768) == 0) +lean_inc(x_721); +x_769 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_721, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_459); +if (lean_obj_tag(x_769) == 0) { -lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; uint8_t x_779; lean_object* x_780; lean_object* x_781; uint8_t x_782; lean_object* x_783; lean_object* x_784; -x_769 = lean_ctor_get(x_768, 0); -lean_inc(x_769); -x_770 = lean_ctor_get(x_768, 1); +lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; uint8_t x_780; lean_object* x_781; lean_object* x_782; uint8_t x_783; lean_object* x_784; lean_object* x_785; +x_770 = lean_ctor_get(x_769, 0); lean_inc(x_770); -lean_dec(x_768); -x_771 = lean_box(0); -x_772 = l_Lean_Expr_const___override(x_767, x_771); -x_773 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_726); +x_771 = lean_ctor_get(x_769, 1); +lean_inc(x_771); +lean_dec(x_769); +x_772 = lean_box(0); +x_773 = l_Lean_Expr_const___override(x_768, x_772); x_774 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_727); -x_775 = lean_ctor_get(x_766, 1); -lean_inc(x_775); -x_776 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_775); -x_777 = lean_ctor_get(x_766, 0); -lean_inc(x_777); -lean_dec(x_766); -x_778 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_779 = lean_int_dec_le(x_778, x_777); -x_780 = lean_ctor_get(x_720, 1); -lean_inc(x_780); -lean_dec(x_720); -x_781 = l_Lean_mkNatLit(x_780); -x_782 = lean_int_dec_le(x_778, x_765); -x_783 = lean_ctor_get(x_1, 0); -lean_inc(x_783); +x_775 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_728); +x_776 = lean_ctor_get(x_767, 1); +lean_inc(x_776); +x_777 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_776); +x_778 = lean_ctor_get(x_767, 0); +lean_inc(x_778); +lean_dec(x_767); +x_779 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_780 = lean_int_dec_le(x_779, x_778); +x_781 = lean_ctor_get(x_721, 1); +lean_inc(x_781); +lean_dec(x_721); +x_782 = l_Lean_mkNatLit(x_781); +x_783 = lean_int_dec_le(x_779, x_766); +x_784 = lean_ctor_get(x_1, 0); +lean_inc(x_784); lean_dec(x_1); -x_784 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_783); -if (x_779 == 0) +x_785 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_784); +if (x_780 == 0) { -lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; -x_785 = lean_int_neg(x_777); -lean_dec(x_777); -x_786 = l_Int_toNat(x_785); -lean_dec(x_785); -x_787 = l_Lean_instToExprInt_mkNat(x_786); -x_788 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_789 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_790 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_791 = l_Lean_mkApp3(x_788, x_789, x_790, x_787); -if (x_782 == 0) +lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; +x_786 = lean_int_neg(x_778); +lean_dec(x_778); +x_787 = l_Int_toNat(x_786); +lean_dec(x_786); +x_788 = l_Lean_instToExprInt_mkNat(x_787); +x_789 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_790 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_791 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_792 = l_Lean_mkApp3(x_789, x_790, x_791, x_788); +if (x_783 == 0) { -lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; -x_792 = lean_int_neg(x_765); -lean_dec(x_765); -x_793 = l_Int_toNat(x_792); -lean_dec(x_792); -x_794 = l_Lean_instToExprInt_mkNat(x_793); -x_795 = l_Lean_mkApp3(x_788, x_789, x_790, x_794); -x_796 = l_Lean_reflBoolTrue; -x_797 = l_Lean_mkApp10(x_772, x_2, x_773, x_774, x_776, x_791, x_781, x_795, x_784, x_769, x_796); -x_471 = x_797; -x_472 = x_770; -goto block_515; +lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; +x_793 = lean_int_neg(x_766); +lean_dec(x_766); +x_794 = l_Int_toNat(x_793); +lean_dec(x_793); +x_795 = l_Lean_instToExprInt_mkNat(x_794); +x_796 = l_Lean_mkApp3(x_789, x_790, x_791, x_795); +x_797 = l_Lean_reflBoolTrue; +x_798 = l_Lean_mkApp10(x_773, x_2, x_774, x_775, x_777, x_792, x_782, x_796, x_785, x_770, x_797); +x_471 = x_798; +x_472 = x_771; +goto block_516; } else { -lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; -x_798 = l_Int_toNat(x_765); -lean_dec(x_765); -x_799 = l_Lean_instToExprInt_mkNat(x_798); -x_800 = l_Lean_reflBoolTrue; -x_801 = l_Lean_mkApp10(x_772, x_2, x_773, x_774, x_776, x_791, x_781, x_799, x_784, x_769, x_800); -x_471 = x_801; -x_472 = x_770; -goto block_515; +lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; +x_799 = l_Int_toNat(x_766); +lean_dec(x_766); +x_800 = l_Lean_instToExprInt_mkNat(x_799); +x_801 = l_Lean_reflBoolTrue; +x_802 = l_Lean_mkApp10(x_773, x_2, x_774, x_775, x_777, x_792, x_782, x_800, x_785, x_770, x_801); +x_471 = x_802; +x_472 = x_771; +goto block_516; } } else { -lean_object* x_802; lean_object* x_803; -x_802 = l_Int_toNat(x_777); -lean_dec(x_777); -x_803 = l_Lean_instToExprInt_mkNat(x_802); -if (x_782 == 0) +lean_object* x_803; lean_object* x_804; +x_803 = l_Int_toNat(x_778); +lean_dec(x_778); +x_804 = l_Lean_instToExprInt_mkNat(x_803); +if (x_783 == 0) { -lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; -x_804 = lean_int_neg(x_765); -lean_dec(x_765); -x_805 = l_Int_toNat(x_804); -lean_dec(x_804); -x_806 = l_Lean_instToExprInt_mkNat(x_805); -x_807 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_808 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_809 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_810 = l_Lean_mkApp3(x_807, x_808, x_809, x_806); -x_811 = l_Lean_reflBoolTrue; -x_812 = l_Lean_mkApp10(x_772, x_2, x_773, x_774, x_776, x_803, x_781, x_810, x_784, x_769, x_811); -x_471 = x_812; -x_472 = x_770; -goto block_515; +lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; +x_805 = lean_int_neg(x_766); +lean_dec(x_766); +x_806 = l_Int_toNat(x_805); +lean_dec(x_805); +x_807 = l_Lean_instToExprInt_mkNat(x_806); +x_808 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_809 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_810 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_811 = l_Lean_mkApp3(x_808, x_809, x_810, x_807); +x_812 = l_Lean_reflBoolTrue; +x_813 = l_Lean_mkApp10(x_773, x_2, x_774, x_775, x_777, x_804, x_782, x_811, x_785, x_770, x_812); +x_471 = x_813; +x_472 = x_771; +goto block_516; } else { -lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; -x_813 = l_Int_toNat(x_765); -lean_dec(x_765); -x_814 = l_Lean_instToExprInt_mkNat(x_813); -x_815 = l_Lean_reflBoolTrue; -x_816 = l_Lean_mkApp10(x_772, x_2, x_773, x_774, x_776, x_803, x_781, x_814, x_784, x_769, x_815); -x_471 = x_816; -x_472 = x_770; -goto block_515; +lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; +x_814 = l_Int_toNat(x_766); +lean_dec(x_766); +x_815 = l_Lean_instToExprInt_mkNat(x_814); +x_816 = l_Lean_reflBoolTrue; +x_817 = l_Lean_mkApp10(x_773, x_2, x_774, x_775, x_777, x_804, x_782, x_815, x_785, x_770, x_816); +x_471 = x_817; +x_472 = x_771; +goto block_516; } } } else { -lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; +lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; +lean_dec(x_768); lean_dec(x_767); lean_dec(x_766); -lean_dec(x_765); +lean_dec(x_728); lean_dec(x_727); -lean_dec(x_726); -lean_dec(x_720); -lean_dec(x_14); +lean_dec(x_721); lean_dec(x_2); lean_dec(x_1); -x_817 = lean_ctor_get(x_768, 0); -lean_inc(x_817); -x_818 = lean_ctor_get(x_768, 1); +x_818 = lean_ctor_get(x_769, 0); lean_inc(x_818); -if (lean_is_exclusive(x_768)) { - lean_ctor_release(x_768, 0); - lean_ctor_release(x_768, 1); - x_819 = x_768; +x_819 = lean_ctor_get(x_769, 1); +lean_inc(x_819); +if (lean_is_exclusive(x_769)) { + lean_ctor_release(x_769, 0); + lean_ctor_release(x_769, 1); + x_820 = x_769; } else { - lean_dec_ref(x_768); - x_819 = lean_box(0); + lean_dec_ref(x_769); + x_820 = lean_box(0); } -if (lean_is_scalar(x_819)) { - x_820 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_820)) { + x_821 = lean_alloc_ctor(1, 2, 0); } else { - x_820 = x_819; + x_821 = x_820; } -lean_ctor_set(x_820, 0, x_817); -lean_ctor_set(x_820, 1, x_818); -return x_820; +lean_ctor_set(x_821, 0, x_818); +lean_ctor_set(x_821, 1, x_819); +return x_821; } } } @@ -4969,20 +4934,19 @@ return x_820; } else { -lean_object* x_832; lean_object* x_833; -lean_dec(x_14); +lean_object* x_833; lean_object* x_834; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_832 = lean_ctor_get(x_519, 0); -lean_inc(x_832); -lean_dec(x_519); -x_833 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_833, 0, x_832); -lean_ctor_set(x_833, 1, x_458); -return x_833; +x_833 = lean_ctor_get(x_520, 0); +lean_inc(x_833); +lean_dec(x_520); +x_834 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_834, 0, x_833); +lean_ctor_set(x_834, 1, x_459); +return x_834; } -block_515: +block_516: { lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; size_t x_480; size_t x_481; size_t x_482; lean_object* x_483; uint8_t x_484; x_473 = lean_st_ref_take(x_3, x_472); @@ -5009,124 +4973,126 @@ lean_dec(x_479); x_481 = lean_usize_sub(x_480, x_470); x_482 = lean_usize_land(x_468, x_481); x_483 = lean_array_uget(x_477, x_482); +lean_inc(x_483); x_484 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_483); if (x_484 == 0) { -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; +lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; uint8_t x_495; x_485 = lean_unsigned_to_nat(1u); x_486 = lean_nat_add(x_476, x_485); lean_dec(x_476); +x_487 = lean_box_uint64(x_14); lean_inc(x_471); -x_487 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_487, 0, x_14); -lean_ctor_set(x_487, 1, x_471); -lean_ctor_set(x_487, 2, x_483); -x_488 = lean_array_uset(x_477, x_482, x_487); -x_489 = lean_unsigned_to_nat(4u); -x_490 = lean_nat_mul(x_486, x_489); -x_491 = lean_unsigned_to_nat(3u); -x_492 = lean_nat_div(x_490, x_491); -lean_dec(x_490); -x_493 = lean_array_get_size(x_488); -x_494 = lean_nat_dec_le(x_492, x_493); +x_488 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_488, 0, x_487); +lean_ctor_set(x_488, 1, x_471); +lean_ctor_set(x_488, 2, x_483); +x_489 = lean_array_uset(x_477, x_482, x_488); +x_490 = lean_unsigned_to_nat(4u); +x_491 = lean_nat_mul(x_486, x_490); +x_492 = lean_unsigned_to_nat(3u); +x_493 = lean_nat_div(x_491, x_492); +lean_dec(x_491); +x_494 = lean_array_get_size(x_489); +x_495 = lean_nat_dec_le(x_493, x_494); +lean_dec(x_494); lean_dec(x_493); -lean_dec(x_492); -if (x_494 == 0) +if (x_495 == 0) { -lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; -x_495 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_488); +lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; +x_496 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_489); if (lean_is_scalar(x_478)) { - x_496 = lean_alloc_ctor(0, 2, 0); + x_497 = lean_alloc_ctor(0, 2, 0); } else { - x_496 = x_478; + x_497 = x_478; } -lean_ctor_set(x_496, 0, x_486); -lean_ctor_set(x_496, 1, x_495); -x_497 = lean_st_ref_set(x_3, x_496, x_475); -x_498 = lean_ctor_get(x_497, 1); -lean_inc(x_498); -if (lean_is_exclusive(x_497)) { - lean_ctor_release(x_497, 0); - lean_ctor_release(x_497, 1); - x_499 = x_497; +lean_ctor_set(x_497, 0, x_486); +lean_ctor_set(x_497, 1, x_496); +x_498 = lean_st_ref_set(x_3, x_497, x_475); +x_499 = lean_ctor_get(x_498, 1); +lean_inc(x_499); +if (lean_is_exclusive(x_498)) { + lean_ctor_release(x_498, 0); + lean_ctor_release(x_498, 1); + x_500 = x_498; } else { - lean_dec_ref(x_497); - x_499 = lean_box(0); + lean_dec_ref(x_498); + x_500 = lean_box(0); } -if (lean_is_scalar(x_499)) { - x_500 = lean_alloc_ctor(0, 2, 0); -} else { - x_500 = x_499; -} -lean_ctor_set(x_500, 0, x_471); -lean_ctor_set(x_500, 1, x_498); -return x_500; -} -else -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; -if (lean_is_scalar(x_478)) { +if (lean_is_scalar(x_500)) { x_501 = lean_alloc_ctor(0, 2, 0); } else { - x_501 = x_478; + x_501 = x_500; } -lean_ctor_set(x_501, 0, x_486); -lean_ctor_set(x_501, 1, x_488); -x_502 = lean_st_ref_set(x_3, x_501, x_475); -x_503 = lean_ctor_get(x_502, 1); -lean_inc(x_503); -if (lean_is_exclusive(x_502)) { - lean_ctor_release(x_502, 0); - lean_ctor_release(x_502, 1); - x_504 = x_502; +lean_ctor_set(x_501, 0, x_471); +lean_ctor_set(x_501, 1, x_499); +return x_501; +} +else +{ +lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; +if (lean_is_scalar(x_478)) { + x_502 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_502); - x_504 = lean_box(0); + x_502 = x_478; } -if (lean_is_scalar(x_504)) { - x_505 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_502, 0, x_486); +lean_ctor_set(x_502, 1, x_489); +x_503 = lean_st_ref_set(x_3, x_502, x_475); +x_504 = lean_ctor_get(x_503, 1); +lean_inc(x_504); +if (lean_is_exclusive(x_503)) { + lean_ctor_release(x_503, 0); + lean_ctor_release(x_503, 1); + x_505 = x_503; } else { - x_505 = x_504; + lean_dec_ref(x_503); + x_505 = lean_box(0); } -lean_ctor_set(x_505, 0, x_471); -lean_ctor_set(x_505, 1, x_503); -return x_505; +if (lean_is_scalar(x_505)) { + x_506 = lean_alloc_ctor(0, 2, 0); +} else { + x_506 = x_505; +} +lean_ctor_set(x_506, 0, x_471); +lean_ctor_set(x_506, 1, x_504); +return x_506; } } else { -lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; -x_506 = lean_box(0); -x_507 = lean_array_uset(x_477, x_482, x_506); +lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; +x_507 = lean_box(0); +x_508 = lean_array_uset(x_477, x_482, x_507); lean_inc(x_471); -x_508 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_471, x_483); -x_509 = lean_array_uset(x_507, x_482, x_508); +x_509 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_471, x_483); +x_510 = lean_array_uset(x_508, x_482, x_509); if (lean_is_scalar(x_478)) { - x_510 = lean_alloc_ctor(0, 2, 0); + x_511 = lean_alloc_ctor(0, 2, 0); } else { - x_510 = x_478; + x_511 = x_478; } -lean_ctor_set(x_510, 0, x_476); -lean_ctor_set(x_510, 1, x_509); -x_511 = lean_st_ref_set(x_3, x_510, x_475); -x_512 = lean_ctor_get(x_511, 1); -lean_inc(x_512); -if (lean_is_exclusive(x_511)) { - lean_ctor_release(x_511, 0); - lean_ctor_release(x_511, 1); - x_513 = x_511; +lean_ctor_set(x_511, 0, x_476); +lean_ctor_set(x_511, 1, x_510); +x_512 = lean_st_ref_set(x_3, x_511, x_475); +x_513 = lean_ctor_get(x_512, 1); +lean_inc(x_513); +if (lean_is_exclusive(x_512)) { + lean_ctor_release(x_512, 0); + lean_ctor_release(x_512, 1); + x_514 = x_512; } else { - lean_dec_ref(x_511); - x_513 = lean_box(0); + lean_dec_ref(x_512); + x_514 = lean_box(0); } -if (lean_is_scalar(x_513)) { - x_514 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_514)) { + x_515 = lean_alloc_ctor(0, 2, 0); } else { - x_514 = x_513; + x_515 = x_514; } -lean_ctor_set(x_514, 0, x_471); -lean_ctor_set(x_514, 1, x_512); -return x_514; +lean_ctor_set(x_515, 0, x_471); +lean_ctor_set(x_515, 1, x_513); +return x_515; } } } @@ -5193,15 +5159,17 @@ lean_inc(x_26); lean_dec(x_7); x_27 = lean_unsigned_to_nat(1u); x_28 = lean_nat_sub(x_25, x_27); +lean_dec(x_25); lean_inc(x_28); x_29 = l_Lean_mkNatLit(x_28); +lean_inc(x_29); lean_inc(x_2); x_30 = l_Lean_Expr_app___override(x_2, x_29); lean_inc(x_8); x_31 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_31) == 0) { -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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; +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; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -5219,136 +5187,136 @@ lean_dec(x_32); x_38 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; x_39 = 0; x_40 = l_Lean_Expr_lam___override(x_38, x_30, x_37, x_39); -x_41 = l_Lean_mkNatLit(x_25); -x_42 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__1___closed__3; +x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__1___closed__3; lean_inc(x_2); -x_43 = l_Lean_mkApp4(x_42, x_41, x_2, x_26, x_40); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_28); -lean_ctor_set(x_44, 1, x_43); -x_45 = 1; -x_46 = lean_usize_add(x_6, x_45); -x_6 = x_46; -x_7 = x_44; +x_42 = l_Lean_mkApp4(x_41, x_29, x_2, x_26, x_40); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_28); +lean_ctor_set(x_43, 1, x_42); +x_44 = 1; +x_45 = lean_usize_add(x_6, x_44); +x_6 = x_45; +x_7 = x_43; x_18 = x_33; goto _start; } else { -uint8_t x_48; +uint8_t x_47; lean_dec(x_30); +lean_dec(x_29); lean_dec(x_28); lean_dec(x_26); -lean_dec(x_25); lean_free_object(x_21); lean_dec(x_23); lean_dec(x_8); lean_dec(x_2); -x_48 = !lean_is_exclusive(x_31); -if (x_48 == 0) +x_47 = !lean_is_exclusive(x_31); +if (x_47 == 0) { return x_31; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_31, 0); -x_50 = lean_ctor_get(x_31, 1); -lean_inc(x_50); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_31, 0); +x_49 = lean_ctor_get(x_31, 1); lean_inc(x_49); +lean_inc(x_48); lean_dec(x_31); -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; } } } 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; -x_52 = lean_ctor_get(x_21, 0); -x_53 = lean_ctor_get(x_21, 1); -lean_inc(x_53); +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_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_54 = lean_ctor_get(x_7, 0); +x_53 = lean_ctor_get(x_7, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_7, 1); lean_inc(x_54); -x_55 = lean_ctor_get(x_7, 1); -lean_inc(x_55); lean_dec(x_7); -x_56 = lean_unsigned_to_nat(1u); -x_57 = lean_nat_sub(x_54, x_56); +x_55 = lean_unsigned_to_nat(1u); +x_56 = lean_nat_sub(x_53, x_55); +lean_dec(x_53); +lean_inc(x_56); +x_57 = l_Lean_mkNatLit(x_56); lean_inc(x_57); -x_58 = l_Lean_mkNatLit(x_57); lean_inc(x_2); -x_59 = l_Lean_Expr_app___override(x_2, x_58); +x_58 = l_Lean_Expr_app___override(x_2, x_57); lean_inc(x_8); -x_60 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(x_53, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_60) == 0) +x_59 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(x_52, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_59) == 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; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; size_t x_75; size_t x_76; -x_61 = lean_ctor_get(x_60, 0); +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; lean_object* x_70; lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); +lean_dec(x_59); +x_62 = l_Lean_Expr_fvar___override(x_51); +x_63 = lean_box(0); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_array_mk(x_64); +x_66 = lean_expr_abstract(x_60, x_65); +lean_dec(x_65); lean_dec(x_60); -x_63 = l_Lean_Expr_fvar___override(x_52); -x_64 = lean_box(0); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_array_mk(x_65); -x_67 = lean_expr_abstract(x_61, x_66); -lean_dec(x_66); -lean_dec(x_61); -x_68 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; -x_69 = 0; -x_70 = l_Lean_Expr_lam___override(x_68, x_59, x_67, x_69); -x_71 = l_Lean_mkNatLit(x_54); -x_72 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__1___closed__3; +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof___closed__24; +x_68 = 0; +x_69 = l_Lean_Expr_lam___override(x_67, x_58, x_66, x_68); +x_70 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__1___closed__3; lean_inc(x_2); -x_73 = l_Lean_mkApp4(x_72, x_71, x_2, x_55, x_70); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_57); -lean_ctor_set(x_74, 1, x_73); -x_75 = 1; -x_76 = lean_usize_add(x_6, x_75); -x_6 = x_76; -x_7 = x_74; -x_18 = x_62; +x_71 = l_Lean_mkApp4(x_70, x_57, x_2, x_54, x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_56); +lean_ctor_set(x_72, 1, x_71); +x_73 = 1; +x_74 = lean_usize_add(x_6, x_73); +x_6 = x_74; +x_7 = x_72; +x_18 = x_61; goto _start; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_59); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_dec(x_58); lean_dec(x_57); -lean_dec(x_55); +lean_dec(x_56); lean_dec(x_54); -lean_dec(x_52); +lean_dec(x_51); lean_dec(x_8); lean_dec(x_2); -x_78 = lean_ctor_get(x_60, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_60, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_80 = x_60; +x_76 = lean_ctor_get(x_59, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_59, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_78 = x_59; } else { - lean_dec_ref(x_60); - x_80 = lean_box(0); + lean_dec_ref(x_59); + x_78 = lean_box(0); } -if (lean_is_scalar(x_80)) { - x_81 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_78)) { + x_79 = lean_alloc_ctor(1, 2, 0); } else { - x_81 = x_80; + x_79 = x_78; } -lean_ctor_set(x_81, 0, x_78); -lean_ctor_set(x_81, 1, x_79); -return x_81; +lean_ctor_set(x_79, 0, x_76); +lean_ctor_set(x_79, 1, x_77); +return x_79; } } } @@ -6235,155 +6203,150 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(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; uint8_t x_16; -x_13 = lean_ctor_get(x_1, 3); +lean_object* x_13; uint64_t x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_1, 2); lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 2); -lean_inc(x_14); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(x_1); x_15 = lean_st_ref_get(x_3, x_12); 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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; size_t x_114; size_t x_115; lean_object* x_116; lean_object* x_117; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; size_t x_115; size_t x_116; lean_object* x_117; lean_object* x_118; x_17 = lean_ctor_get(x_15, 0); x_18 = lean_ctor_get(x_15, 1); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_13); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); +x_21 = 32; +x_22 = lean_uint64_shift_right(x_14, x_21); +x_23 = lean_uint64_xor(x_14, x_22); +x_24 = 16; +x_25 = lean_uint64_shift_right(x_23, x_24); +x_26 = lean_uint64_xor(x_23, x_25); +x_27 = lean_uint64_to_usize(x_26); +x_28 = lean_usize_of_nat(x_20); lean_dec(x_20); -x_30 = 1; -x_114 = lean_usize_sub(x_29, x_30); -x_115 = lean_usize_land(x_28, x_114); -x_116 = lean_array_uget(x_19, x_115); +x_29 = 1; +x_115 = lean_usize_sub(x_28, x_29); +x_116 = lean_usize_land(x_27, x_115); +x_117 = lean_array_uget(x_19, x_116); lean_dec(x_19); -x_117 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_13, x_116); -lean_dec(x_116); -if (lean_obj_tag(x_117) == 0) +x_118 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_117); +if (lean_obj_tag(x_118) == 0) { lean_free_object(x_15); -if (lean_obj_tag(x_14) == 0) +if (lean_obj_tag(x_13) == 0) { -lean_object* x_118; lean_object* x_119; +lean_object* x_119; lean_object* x_120; lean_dec(x_2); lean_dec(x_1); -x_118 = lean_ctor_get(x_14, 0); -lean_inc(x_118); -lean_dec(x_14); -x_119 = l_Lean_Expr_fvar___override(x_118); -x_31 = x_119; -x_32 = x_18; -goto block_113; +x_119 = lean_ctor_get(x_13, 0); +lean_inc(x_119); +lean_dec(x_13); +x_120 = l_Lean_Expr_fvar___override(x_119); +x_30 = x_120; +x_31 = x_18; +goto block_114; } else { -lean_object* x_120; lean_object* x_121; uint8_t 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; uint8_t x_132; -x_120 = lean_ctor_get(x_1, 0); -lean_inc(x_120); -lean_dec(x_1); -x_121 = lean_ctor_get(x_14, 0); +lean_object* x_121; lean_object* x_122; uint8_t 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; uint8_t x_133; +x_121 = lean_ctor_get(x_1, 0); lean_inc(x_121); -lean_dec(x_14); -x_122 = lean_ctor_get_uint8(x_120, sizeof(void*)*3); -x_123 = lean_ctor_get(x_120, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_120, 1); +lean_dec(x_1); +x_122 = lean_ctor_get(x_13, 0); +lean_inc(x_122); +lean_dec(x_13); +x_123 = lean_ctor_get_uint8(x_121, sizeof(void*)*3); +x_124 = lean_ctor_get(x_121, 0); lean_inc(x_124); -x_125 = lean_ctor_get(x_120, 2); +x_125 = lean_ctor_get(x_121, 1); lean_inc(x_125); -x_126 = lean_ctor_get(x_123, 0); +x_126 = lean_ctor_get(x_121, 2); lean_inc(x_126); x_127 = lean_ctor_get(x_124, 0); lean_inc(x_127); -x_128 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_120); -lean_dec(x_120); -x_129 = lean_array_get_size(x_121); -x_130 = lean_unsigned_to_nat(1u); -x_131 = lean_nat_add(x_129, x_130); -lean_dec(x_129); -x_132 = lean_nat_dec_eq(x_131, x_128); -lean_dec(x_131); -if (x_132 == 0) +x_128 = lean_ctor_get(x_125, 0); +lean_inc(x_128); +x_129 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_121); +lean_dec(x_121); +x_130 = lean_array_get_size(x_122); +x_131 = lean_unsigned_to_nat(1u); +x_132 = lean_nat_add(x_130, x_131); +lean_dec(x_130); +x_133 = lean_nat_dec_eq(x_132, x_129); +lean_dec(x_132); +if (x_133 == 0) { -lean_object* x_133; lean_object* x_134; uint8_t x_135; +lean_object* x_134; lean_object* x_135; uint8_t x_136; +lean_dec(x_129); lean_dec(x_128); lean_dec(x_127); lean_dec(x_126); lean_dec(x_125); lean_dec(x_124); -lean_dec(x_123); -lean_dec(x_121); -lean_dec(x_13); -x_133 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___closed__2; -x_134 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__2(x_133, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +lean_dec(x_122); +x_134 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___closed__2; +x_135 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__2(x_134, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); lean_dec(x_2); -x_135 = !lean_is_exclusive(x_134); -if (x_135 == 0) +x_136 = !lean_is_exclusive(x_135); +if (x_136 == 0) { -return x_134; +return x_135; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_134, 0); -x_137 = lean_ctor_get(x_134, 1); +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_135, 0); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_134); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; +lean_dec(x_135); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; } } else { -lean_object* x_139; lean_object* x_140; -x_139 = lean_box(0); -x_140 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2(x_128, x_121, x_125, x_122, x_123, x_124, x_126, x_127, x_139, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -lean_dec(x_121); -if (lean_obj_tag(x_140) == 0) +lean_object* x_140; lean_object* x_141; +x_140 = lean_box(0); +x_141 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2(x_129, x_122, x_126, x_123, x_124, x_125, x_127, x_128, x_140, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +lean_dec(x_122); +if (lean_obj_tag(x_141) == 0) { -lean_object* x_141; lean_object* x_142; -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); +lean_object* x_142; lean_object* x_143; +x_142 = lean_ctor_get(x_141, 0); lean_inc(x_142); -lean_dec(x_140); -x_31 = x_141; -x_32 = x_142; -goto block_113; +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_30 = x_142; +x_31 = x_143; +goto block_114; } else { -uint8_t x_143; -lean_dec(x_13); -x_143 = !lean_is_exclusive(x_140); -if (x_143 == 0) +uint8_t x_144; +x_144 = !lean_is_exclusive(x_141); +if (x_144 == 0) { -return x_140; +return x_141; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_140, 0); -x_145 = lean_ctor_get(x_140, 1); +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_141, 0); +x_146 = lean_ctor_get(x_141, 1); +lean_inc(x_146); lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_140); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -return x_146; +lean_dec(x_141); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +return x_147; } } } @@ -6391,53 +6354,54 @@ return x_146; } else { -lean_object* x_147; -lean_dec(x_14); +lean_object* x_148; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_147 = lean_ctor_get(x_117, 0); -lean_inc(x_147); -lean_dec(x_117); -lean_ctor_set(x_15, 0, x_147); +x_148 = lean_ctor_get(x_118, 0); +lean_inc(x_148); +lean_dec(x_118); +lean_ctor_set(x_15, 0, x_148); return x_15; } -block_113: +block_114: { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_st_ref_take(x_3, x_32); -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_st_ref_take(x_3, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) +lean_dec(x_32); +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; size_t x_42; lean_object* x_43; uint8_t x_44; -x_37 = lean_ctor_get(x_34, 0); -x_38 = lean_ctor_get(x_34, 1); -x_39 = lean_array_get_size(x_38); -x_40 = lean_usize_of_nat(x_39); -lean_dec(x_39); -x_41 = lean_usize_sub(x_40, x_30); -x_42 = lean_usize_land(x_28, x_41); -x_43 = lean_array_uget(x_38, x_42); -x_44 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_13, x_43); -if (x_44 == 0) +lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +x_38 = lean_array_get_size(x_37); +x_39 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_40 = lean_usize_sub(x_39, x_29); +x_41 = lean_usize_land(x_27, x_40); +x_42 = lean_array_uget(x_37, x_41); +lean_inc(x_42); +x_43 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_42); +if (x_43 == 0) { -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; uint8_t x_54; -x_45 = lean_unsigned_to_nat(1u); -x_46 = lean_nat_add(x_37, x_45); -lean_dec(x_37); -lean_inc(x_31); +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; uint8_t x_54; +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_add(x_36, x_44); +lean_dec(x_36); +x_46 = lean_box_uint64(x_14); +lean_inc(x_30); x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_13); -lean_ctor_set(x_47, 1, x_31); -lean_ctor_set(x_47, 2, x_43); -x_48 = lean_array_uset(x_38, x_42, x_47); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_30); +lean_ctor_set(x_47, 2, x_42); +x_48 = lean_array_uset(x_37, x_41, x_47); x_49 = lean_unsigned_to_nat(4u); -x_50 = lean_nat_mul(x_46, x_49); +x_50 = lean_nat_mul(x_45, x_49); x_51 = lean_unsigned_to_nat(3u); x_52 = lean_nat_div(x_50, x_51); lean_dec(x_50); @@ -6449,16 +6413,16 @@ if (x_54 == 0) { lean_object* x_55; lean_object* x_56; uint8_t x_57; x_55 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_48); -lean_ctor_set(x_34, 1, x_55); -lean_ctor_set(x_34, 0, x_46); -x_56 = lean_st_ref_set(x_3, x_34, x_35); +lean_ctor_set(x_33, 1, x_55); +lean_ctor_set(x_33, 0, x_45); +x_56 = lean_st_ref_set(x_3, x_33, x_34); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) { lean_object* x_58; x_58 = lean_ctor_get(x_56, 0); lean_dec(x_58); -lean_ctor_set(x_56, 0, x_31); +lean_ctor_set(x_56, 0, x_30); return x_56; } else @@ -6468,7 +6432,7 @@ x_59 = lean_ctor_get(x_56, 1); lean_inc(x_59); lean_dec(x_56); x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_31); +lean_ctor_set(x_60, 0, x_30); lean_ctor_set(x_60, 1, x_59); return x_60; } @@ -6476,16 +6440,16 @@ return x_60; else { lean_object* x_61; uint8_t x_62; -lean_ctor_set(x_34, 1, x_48); -lean_ctor_set(x_34, 0, x_46); -x_61 = lean_st_ref_set(x_3, x_34, x_35); +lean_ctor_set(x_33, 1, x_48); +lean_ctor_set(x_33, 0, x_45); +x_61 = lean_st_ref_set(x_3, x_33, x_34); x_62 = !lean_is_exclusive(x_61); if (x_62 == 0) { lean_object* x_63; x_63 = lean_ctor_get(x_61, 0); lean_dec(x_63); -lean_ctor_set(x_61, 0, x_31); +lean_ctor_set(x_61, 0, x_30); return x_61; } else @@ -6495,7 +6459,7 @@ x_64 = lean_ctor_get(x_61, 1); lean_inc(x_64); lean_dec(x_61); x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_31); +lean_ctor_set(x_65, 0, x_30); lean_ctor_set(x_65, 1, x_64); return x_65; } @@ -6505,19 +6469,19 @@ else { 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_66 = lean_box(0); -x_67 = lean_array_uset(x_38, x_42, x_66); -lean_inc(x_31); -x_68 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_13, x_31, x_43); -x_69 = lean_array_uset(x_67, x_42, x_68); -lean_ctor_set(x_34, 1, x_69); -x_70 = lean_st_ref_set(x_3, x_34, x_35); +x_67 = lean_array_uset(x_37, x_41, x_66); +lean_inc(x_30); +x_68 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_30, x_42); +x_69 = lean_array_uset(x_67, x_41, x_68); +lean_ctor_set(x_33, 1, x_69); +x_70 = lean_st_ref_set(x_3, x_33, x_34); x_71 = !lean_is_exclusive(x_70); if (x_71 == 0) { lean_object* x_72; x_72 = lean_ctor_get(x_70, 0); lean_dec(x_72); -lean_ctor_set(x_70, 0, x_31); +lean_ctor_set(x_70, 0, x_30); return x_70; } else @@ -6527,7 +6491,7 @@ x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); lean_dec(x_70); x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_31); +lean_ctor_set(x_74, 0, x_30); lean_ctor_set(x_74, 1, x_73); return x_74; } @@ -6536,296 +6500,293 @@ return x_74; else { lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; size_t x_79; size_t x_80; lean_object* x_81; uint8_t x_82; -x_75 = lean_ctor_get(x_34, 0); -x_76 = lean_ctor_get(x_34, 1); +x_75 = lean_ctor_get(x_33, 0); +x_76 = lean_ctor_get(x_33, 1); lean_inc(x_76); lean_inc(x_75); -lean_dec(x_34); +lean_dec(x_33); x_77 = lean_array_get_size(x_76); x_78 = lean_usize_of_nat(x_77); lean_dec(x_77); -x_79 = lean_usize_sub(x_78, x_30); -x_80 = lean_usize_land(x_28, x_79); +x_79 = lean_usize_sub(x_78, x_29); +x_80 = lean_usize_land(x_27, x_79); x_81 = lean_array_uget(x_76, x_80); -x_82 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_13, x_81); +lean_inc(x_81); +x_82 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_81); if (x_82 == 0) { -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; uint8_t x_92; +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; uint8_t x_93; x_83 = lean_unsigned_to_nat(1u); x_84 = lean_nat_add(x_75, x_83); lean_dec(x_75); -lean_inc(x_31); -x_85 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_85, 0, x_13); -lean_ctor_set(x_85, 1, x_31); -lean_ctor_set(x_85, 2, x_81); -x_86 = lean_array_uset(x_76, x_80, x_85); -x_87 = lean_unsigned_to_nat(4u); -x_88 = lean_nat_mul(x_84, x_87); -x_89 = lean_unsigned_to_nat(3u); -x_90 = lean_nat_div(x_88, x_89); -lean_dec(x_88); -x_91 = lean_array_get_size(x_86); -x_92 = lean_nat_dec_le(x_90, x_91); +x_85 = lean_box_uint64(x_14); +lean_inc(x_30); +x_86 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_30); +lean_ctor_set(x_86, 2, x_81); +x_87 = lean_array_uset(x_76, x_80, x_86); +x_88 = lean_unsigned_to_nat(4u); +x_89 = lean_nat_mul(x_84, x_88); +x_90 = lean_unsigned_to_nat(3u); +x_91 = lean_nat_div(x_89, x_90); +lean_dec(x_89); +x_92 = lean_array_get_size(x_87); +x_93 = lean_nat_dec_le(x_91, x_92); +lean_dec(x_92); lean_dec(x_91); -lean_dec(x_90); -if (x_92 == 0) +if (x_93 == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_93 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_86); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_84); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_st_ref_set(x_3, x_94, x_35); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; +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_94 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_87); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_84); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_st_ref_set(x_3, x_95, x_34); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_96); + x_98 = lean_box(0); } -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(0, 2, 0); } else { - x_98 = x_97; + x_99 = x_98; } -lean_ctor_set(x_98, 0, x_31); -lean_ctor_set(x_98, 1, x_96); -return x_98; +lean_ctor_set(x_99, 0, x_30); +lean_ctor_set(x_99, 1, x_97); +return x_99; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_84); -lean_ctor_set(x_99, 1, x_86); -x_100 = lean_st_ref_set(x_3, x_99, x_35); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_84); +lean_ctor_set(x_100, 1, x_87); +x_101 = lean_st_ref_set(x_3, x_100, x_34); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; } else { - lean_dec_ref(x_100); - x_102 = lean_box(0); + lean_dec_ref(x_101); + x_103 = lean_box(0); } -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); } else { - x_103 = x_102; + x_104 = x_103; } -lean_ctor_set(x_103, 0, x_31); -lean_ctor_set(x_103, 1, x_101); -return x_103; +lean_ctor_set(x_104, 0, x_30); +lean_ctor_set(x_104, 1, x_102); +return x_104; } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_104 = lean_box(0); -x_105 = lean_array_uset(x_76, x_80, x_104); -lean_inc(x_31); -x_106 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_13, x_31, x_81); -x_107 = lean_array_uset(x_105, x_80, x_106); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_75); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_st_ref_set(x_3, x_108, x_35); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; +lean_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; +x_105 = lean_box(0); +x_106 = lean_array_uset(x_76, x_80, x_105); +lean_inc(x_30); +x_107 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_30, x_81); +x_108 = lean_array_uset(x_106, x_80, x_107); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_75); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_st_ref_set(x_3, x_109, x_34); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_112 = x_110; } else { - lean_dec_ref(x_109); - x_111 = lean_box(0); + lean_dec_ref(x_110); + x_112 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_113 = x_112; } -lean_ctor_set(x_112, 0, x_31); -lean_ctor_set(x_112, 1, x_110); -return x_112; +lean_ctor_set(x_113, 0, x_30); +lean_ctor_set(x_113, 1, x_111); +return x_113; } } } } else { -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; lean_object* x_162; lean_object* x_163; size_t x_207; size_t x_208; lean_object* x_209; lean_object* x_210; -x_148 = lean_ctor_get(x_15, 0); -x_149 = lean_ctor_get(x_15, 1); -lean_inc(x_149); -lean_inc(x_148); -lean_dec(x_15); -x_150 = lean_ctor_get(x_148, 1); +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* 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; lean_object* x_162; lean_object* x_163; size_t x_208; size_t x_209; lean_object* x_210; lean_object* x_211; +x_149 = lean_ctor_get(x_15, 0); +x_150 = lean_ctor_get(x_15, 1); lean_inc(x_150); -lean_dec(x_148); -x_151 = lean_array_get_size(x_150); -x_152 = lean_uint64_of_nat(x_13); +lean_inc(x_149); +lean_dec(x_15); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = lean_array_get_size(x_151); x_153 = 32; -x_154 = lean_uint64_shift_right(x_152, x_153); -x_155 = lean_uint64_xor(x_152, x_154); +x_154 = lean_uint64_shift_right(x_14, x_153); +x_155 = lean_uint64_xor(x_14, 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_160 = lean_usize_of_nat(x_152); +lean_dec(x_152); x_161 = 1; -x_207 = lean_usize_sub(x_160, x_161); -x_208 = lean_usize_land(x_159, x_207); -x_209 = lean_array_uget(x_150, x_208); -lean_dec(x_150); -x_210 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_13, x_209); -lean_dec(x_209); -if (lean_obj_tag(x_210) == 0) +x_208 = lean_usize_sub(x_160, x_161); +x_209 = lean_usize_land(x_159, x_208); +x_210 = lean_array_uget(x_151, x_209); +lean_dec(x_151); +x_211 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_210); +if (lean_obj_tag(x_211) == 0) { -if (lean_obj_tag(x_14) == 0) +if (lean_obj_tag(x_13) == 0) { -lean_object* x_211; lean_object* x_212; +lean_object* x_212; lean_object* x_213; lean_dec(x_2); lean_dec(x_1); -x_211 = lean_ctor_get(x_14, 0); -lean_inc(x_211); -lean_dec(x_14); -x_212 = l_Lean_Expr_fvar___override(x_211); -x_162 = x_212; -x_163 = x_149; -goto block_206; +x_212 = lean_ctor_get(x_13, 0); +lean_inc(x_212); +lean_dec(x_13); +x_213 = l_Lean_Expr_fvar___override(x_212); +x_162 = x_213; +x_163 = x_150; +goto block_207; } else { -lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; -x_213 = lean_ctor_get(x_1, 0); -lean_inc(x_213); -lean_dec(x_1); -x_214 = lean_ctor_get(x_14, 0); +lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +x_214 = lean_ctor_get(x_1, 0); lean_inc(x_214); -lean_dec(x_14); -x_215 = lean_ctor_get_uint8(x_213, sizeof(void*)*3); -x_216 = lean_ctor_get(x_213, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_213, 1); +lean_dec(x_1); +x_215 = lean_ctor_get(x_13, 0); +lean_inc(x_215); +lean_dec(x_13); +x_216 = lean_ctor_get_uint8(x_214, sizeof(void*)*3); +x_217 = lean_ctor_get(x_214, 0); lean_inc(x_217); -x_218 = lean_ctor_get(x_213, 2); +x_218 = lean_ctor_get(x_214, 1); lean_inc(x_218); -x_219 = lean_ctor_get(x_216, 0); +x_219 = lean_ctor_get(x_214, 2); lean_inc(x_219); x_220 = lean_ctor_get(x_217, 0); lean_inc(x_220); -x_221 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_213); -lean_dec(x_213); -x_222 = lean_array_get_size(x_214); -x_223 = lean_unsigned_to_nat(1u); -x_224 = lean_nat_add(x_222, x_223); -lean_dec(x_222); -x_225 = lean_nat_dec_eq(x_224, x_221); -lean_dec(x_224); -if (x_225 == 0) +x_221 = lean_ctor_get(x_218, 0); +lean_inc(x_221); +x_222 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_214); +lean_dec(x_214); +x_223 = lean_array_get_size(x_215); +x_224 = lean_unsigned_to_nat(1u); +x_225 = lean_nat_add(x_223, x_224); +lean_dec(x_223); +x_226 = lean_nat_dec_eq(x_225, x_222); +lean_dec(x_225); +if (x_226 == 0) { -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_dec(x_222); lean_dec(x_221); lean_dec(x_220); lean_dec(x_219); lean_dec(x_218); lean_dec(x_217); -lean_dec(x_216); -lean_dec(x_214); -lean_dec(x_13); -x_226 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___closed__2; -x_227 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__2(x_226, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_149); +lean_dec(x_215); +x_227 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___closed__2; +x_228 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___spec__2(x_227, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_150); lean_dec(x_2); -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_ctor_get(x_227, 1); +x_229 = lean_ctor_get(x_228, 0); lean_inc(x_229); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_230 = x_227; +x_230 = lean_ctor_get(x_228, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_228)) { + lean_ctor_release(x_228, 0); + lean_ctor_release(x_228, 1); + x_231 = x_228; } else { - lean_dec_ref(x_227); - x_230 = lean_box(0); + lean_dec_ref(x_228); + x_231 = lean_box(0); } -if (lean_is_scalar(x_230)) { - x_231 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); } else { - x_231 = x_230; + x_232 = x_231; } -lean_ctor_set(x_231, 0, x_228); -lean_ctor_set(x_231, 1, x_229); -return x_231; +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +return x_232; } else { -lean_object* x_232; lean_object* x_233; -x_232 = lean_box(0); -x_233 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2(x_221, x_214, x_218, x_215, x_216, x_217, x_219, x_220, x_232, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_149); -lean_dec(x_214); -if (lean_obj_tag(x_233) == 0) +lean_object* x_233; lean_object* x_234; +x_233 = lean_box(0); +x_234 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof___lambda__2(x_222, x_215, x_219, x_216, x_217, x_218, x_220, x_221, x_233, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_150); +lean_dec(x_215); +if (lean_obj_tag(x_234) == 0) { -lean_object* x_234; lean_object* x_235; -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 1); +lean_object* x_235; lean_object* x_236; +x_235 = lean_ctor_get(x_234, 0); lean_inc(x_235); -lean_dec(x_233); -x_162 = x_234; -x_163 = x_235; -goto block_206; -} -else -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_13); -x_236 = lean_ctor_get(x_233, 0); +x_236 = lean_ctor_get(x_234, 1); lean_inc(x_236); -x_237 = lean_ctor_get(x_233, 1); +lean_dec(x_234); +x_162 = x_235; +x_163 = x_236; +goto block_207; +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +x_237 = lean_ctor_get(x_234, 0); lean_inc(x_237); -if (lean_is_exclusive(x_233)) { - lean_ctor_release(x_233, 0); - lean_ctor_release(x_233, 1); - x_238 = x_233; +x_238 = lean_ctor_get(x_234, 1); +lean_inc(x_238); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_239 = x_234; } else { - lean_dec_ref(x_233); - x_238 = lean_box(0); + lean_dec_ref(x_234); + x_239 = lean_box(0); } -if (lean_is_scalar(x_238)) { - x_239 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_239)) { + x_240 = lean_alloc_ctor(1, 2, 0); } else { - x_239 = x_238; + x_240 = x_239; } -lean_ctor_set(x_239, 0, x_236); -lean_ctor_set(x_239, 1, x_237); -return x_239; +lean_ctor_set(x_240, 0, x_237); +lean_ctor_set(x_240, 1, x_238); +return x_240; } } } } else { -lean_object* x_240; lean_object* x_241; -lean_dec(x_14); +lean_object* x_241; lean_object* x_242; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_240 = lean_ctor_get(x_210, 0); -lean_inc(x_240); -lean_dec(x_210); -x_241 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_149); -return x_241; +x_241 = lean_ctor_get(x_211, 0); +lean_inc(x_241); +lean_dec(x_211); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_150); +return x_242; } -block_206: +block_207: { lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; size_t x_171; size_t x_172; size_t x_173; lean_object* x_174; uint8_t x_175; x_164 = lean_st_ref_take(x_3, x_163); @@ -6852,124 +6813,126 @@ lean_dec(x_170); x_172 = lean_usize_sub(x_171, x_161); x_173 = lean_usize_land(x_159, x_172); x_174 = lean_array_uget(x_168, x_173); -x_175 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_13, x_174); +lean_inc(x_174); +x_175 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_174); if (x_175 == 0) { -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; uint8_t x_185; +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; x_176 = lean_unsigned_to_nat(1u); x_177 = lean_nat_add(x_167, x_176); lean_dec(x_167); +x_178 = lean_box_uint64(x_14); lean_inc(x_162); -x_178 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_178, 0, x_13); -lean_ctor_set(x_178, 1, x_162); -lean_ctor_set(x_178, 2, x_174); -x_179 = lean_array_uset(x_168, x_173, x_178); -x_180 = lean_unsigned_to_nat(4u); -x_181 = lean_nat_mul(x_177, x_180); -x_182 = lean_unsigned_to_nat(3u); -x_183 = lean_nat_div(x_181, x_182); -lean_dec(x_181); -x_184 = lean_array_get_size(x_179); -x_185 = lean_nat_dec_le(x_183, x_184); +x_179 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_162); +lean_ctor_set(x_179, 2, x_174); +x_180 = lean_array_uset(x_168, x_173, x_179); +x_181 = lean_unsigned_to_nat(4u); +x_182 = lean_nat_mul(x_177, x_181); +x_183 = lean_unsigned_to_nat(3u); +x_184 = lean_nat_div(x_182, x_183); +lean_dec(x_182); +x_185 = lean_array_get_size(x_180); +x_186 = lean_nat_dec_le(x_184, x_185); +lean_dec(x_185); lean_dec(x_184); -lean_dec(x_183); -if (x_185 == 0) +if (x_186 == 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; -x_186 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_179); +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_187 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_180); if (lean_is_scalar(x_169)) { - x_187 = lean_alloc_ctor(0, 2, 0); + x_188 = lean_alloc_ctor(0, 2, 0); } else { - x_187 = x_169; + x_188 = x_169; } -lean_ctor_set(x_187, 0, x_177); -lean_ctor_set(x_187, 1, x_186); -x_188 = lean_st_ref_set(x_3, x_187, x_166); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_190 = x_188; +lean_ctor_set(x_188, 0, x_177); +lean_ctor_set(x_188, 1, x_187); +x_189 = lean_st_ref_set(x_3, x_188, x_166); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_189)) { + lean_ctor_release(x_189, 0); + lean_ctor_release(x_189, 1); + x_191 = x_189; } else { - lean_dec_ref(x_188); - x_190 = lean_box(0); + lean_dec_ref(x_189); + x_191 = lean_box(0); } -if (lean_is_scalar(x_190)) { - x_191 = lean_alloc_ctor(0, 2, 0); -} else { - x_191 = x_190; -} -lean_ctor_set(x_191, 0, x_162); -lean_ctor_set(x_191, 1, x_189); -return x_191; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -if (lean_is_scalar(x_169)) { +if (lean_is_scalar(x_191)) { x_192 = lean_alloc_ctor(0, 2, 0); } else { - x_192 = x_169; + x_192 = x_191; } -lean_ctor_set(x_192, 0, x_177); -lean_ctor_set(x_192, 1, x_179); -x_193 = lean_st_ref_set(x_3, x_192, x_166); -x_194 = lean_ctor_get(x_193, 1); -lean_inc(x_194); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - x_195 = x_193; +lean_ctor_set(x_192, 0, x_162); +lean_ctor_set(x_192, 1, x_190); +return x_192; +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +if (lean_is_scalar(x_169)) { + x_193 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_193); - x_195 = lean_box(0); + x_193 = x_169; } -if (lean_is_scalar(x_195)) { - x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_177); +lean_ctor_set(x_193, 1, x_180); +x_194 = lean_st_ref_set(x_3, x_193, x_166); +x_195 = lean_ctor_get(x_194, 1); +lean_inc(x_195); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + lean_ctor_release(x_194, 1); + x_196 = x_194; } else { - x_196 = x_195; + lean_dec_ref(x_194); + x_196 = lean_box(0); } -lean_ctor_set(x_196, 0, x_162); -lean_ctor_set(x_196, 1, x_194); -return x_196; +if (lean_is_scalar(x_196)) { + x_197 = lean_alloc_ctor(0, 2, 0); +} else { + x_197 = x_196; +} +lean_ctor_set(x_197, 0, x_162); +lean_ctor_set(x_197, 1, x_195); +return x_197; } } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_197 = lean_box(0); -x_198 = lean_array_uset(x_168, x_173, x_197); +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_198 = lean_box(0); +x_199 = lean_array_uset(x_168, x_173, x_198); lean_inc(x_162); -x_199 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_13, x_162, x_174); -x_200 = lean_array_uset(x_198, x_173, x_199); +x_200 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_162, x_174); +x_201 = lean_array_uset(x_199, x_173, x_200); if (lean_is_scalar(x_169)) { - x_201 = lean_alloc_ctor(0, 2, 0); + x_202 = lean_alloc_ctor(0, 2, 0); } else { - x_201 = x_169; + x_202 = x_169; } -lean_ctor_set(x_201, 0, x_167); -lean_ctor_set(x_201, 1, x_200); -x_202 = lean_st_ref_set(x_3, x_201, x_166); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_204 = x_202; +lean_ctor_set(x_202, 0, x_167); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_st_ref_set(x_3, x_202, x_166); +x_204 = lean_ctor_get(x_203, 1); +lean_inc(x_204); +if (lean_is_exclusive(x_203)) { + lean_ctor_release(x_203, 0); + lean_ctor_release(x_203, 1); + x_205 = x_203; } else { - lean_dec_ref(x_202); - x_204 = lean_box(0); + lean_dec_ref(x_203); + x_205 = lean_box(0); } -if (lean_is_scalar(x_204)) { - x_205 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_205)) { + x_206 = lean_alloc_ctor(0, 2, 0); } else { - x_205 = x_204; + x_206 = x_205; } -lean_ctor_set(x_205, 0, x_162); -lean_ctor_set(x_205, 1, x_203); -return x_205; +lean_ctor_set(x_206, 0, x_162); +lean_ctor_set(x_206, 1, x_204); +return x_206; } } } @@ -7350,11 +7313,10 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; lean_object* x_31; size_t x_119; size_t x_120; lean_object* x_121; lean_object* x_122; +lean_object* x_13; uint64_t 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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; lean_object* x_30; size_t x_120; size_t x_121; lean_object* x_122; lean_object* x_123; x_13 = lean_ctor_get(x_1, 2); lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 3); -lean_inc(x_14); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(x_1); x_15 = lean_st_ref_get(x_3, x_12); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); @@ -7372,2838 +7334,2836 @@ x_19 = lean_ctor_get(x_16, 1); lean_inc(x_19); lean_dec(x_16); x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_14); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); +x_21 = 32; +x_22 = lean_uint64_shift_right(x_14, x_21); +x_23 = lean_uint64_xor(x_14, x_22); +x_24 = 16; +x_25 = lean_uint64_shift_right(x_23, x_24); +x_26 = lean_uint64_xor(x_23, x_25); +x_27 = lean_uint64_to_usize(x_26); +x_28 = lean_usize_of_nat(x_20); lean_dec(x_20); -x_30 = 1; -x_119 = lean_usize_sub(x_29, x_30); -x_120 = lean_usize_land(x_28, x_119); -x_121 = lean_array_uget(x_19, x_120); +x_29 = 1; +x_120 = lean_usize_sub(x_28, x_29); +x_121 = lean_usize_land(x_27, x_120); +x_122 = lean_array_uget(x_19, x_121); lean_dec(x_19); -x_122 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_121); -lean_dec(x_121); -if (lean_obj_tag(x_122) == 0) +x_123 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_122); +if (lean_obj_tag(x_123) == 0) { switch (lean_obj_tag(x_13)) { case 0: { -lean_object* x_123; lean_object* x_124; +lean_object* x_124; lean_object* x_125; lean_dec(x_2); lean_dec(x_1); -x_123 = lean_ctor_get(x_13, 0); -lean_inc(x_123); +x_124 = lean_ctor_get(x_13, 0); +lean_inc(x_124); lean_dec(x_13); if (lean_is_scalar(x_18)) { - x_124 = lean_alloc_ctor(0, 2, 0); + x_125 = lean_alloc_ctor(0, 2, 0); } else { - x_124 = x_18; + x_125 = x_18; } -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_17); -x_31 = x_124; -goto block_118; +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_17); +x_30 = x_125; +goto block_119; } case 1: { -lean_object* x_125; lean_object* x_126; +lean_object* x_126; lean_object* x_127; lean_dec(x_18); -x_125 = lean_ctor_get(x_13, 0); -lean_inc(x_125); +x_126 = lean_ctor_get(x_13, 0); +lean_inc(x_126); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_125); -x_126 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_126) == 0) +lean_inc(x_126); +x_127 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_126, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_127) == 0) { -uint8_t x_127; -x_127 = !lean_is_exclusive(x_126); -if (x_127 == 0) +uint8_t x_128; +x_128 = !lean_is_exclusive(x_127); +if (x_128 == 0) { -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; -x_128 = lean_ctor_get(x_126, 0); -x_129 = lean_ctor_get(x_125, 0); -lean_inc(x_129); -x_130 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_131 = lean_int_dec_le(x_130, x_129); -x_132 = lean_ctor_get(x_125, 1); -lean_inc(x_132); -lean_dec(x_125); -x_133 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_132); -x_134 = lean_ctor_get(x_1, 1); -lean_inc(x_134); -lean_dec(x_1); -x_135 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_134); -if (x_131 == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_136 = lean_int_neg(x_129); -lean_dec(x_129); -x_137 = l_Int_toNat(x_136); -lean_dec(x_136); -x_138 = l_Lean_instToExprInt_mkNat(x_137); -x_139 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_140 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_141 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_142 = l_Lean_mkApp3(x_139, x_140, x_141, x_138); -x_143 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; -x_144 = l_Lean_reflBoolTrue; -x_145 = l_Lean_mkApp6(x_143, x_2, x_142, x_133, x_135, x_144, x_128); -lean_ctor_set(x_126, 0, x_145); -x_31 = x_126; -goto block_118; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_146 = l_Int_toNat(x_129); -lean_dec(x_129); -x_147 = l_Lean_instToExprInt_mkNat(x_146); -x_148 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; -x_149 = l_Lean_reflBoolTrue; -x_150 = l_Lean_mkApp6(x_148, x_2, x_147, x_133, x_135, x_149, x_128); -lean_ctor_set(x_126, 0, x_150); -x_31 = x_126; -goto block_118; -} -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_151 = lean_ctor_get(x_126, 0); -x_152 = lean_ctor_get(x_126, 1); -lean_inc(x_152); -lean_inc(x_151); +lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_129 = lean_ctor_get(x_127, 0); +x_130 = lean_ctor_get(x_126, 0); +lean_inc(x_130); +x_131 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_132 = lean_int_dec_le(x_131, x_130); +x_133 = lean_ctor_get(x_126, 1); +lean_inc(x_133); lean_dec(x_126); -x_153 = lean_ctor_get(x_125, 0); -lean_inc(x_153); -x_154 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_155 = lean_int_dec_le(x_154, x_153); -x_156 = lean_ctor_get(x_125, 1); -lean_inc(x_156); -lean_dec(x_125); -x_157 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_156); -x_158 = lean_ctor_get(x_1, 1); -lean_inc(x_158); +x_134 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_133); +x_135 = lean_ctor_get(x_1, 1); +lean_inc(x_135); lean_dec(x_1); -x_159 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_158); -if (x_155 == 0) +x_136 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_135); +if (x_132 == 0) { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_160 = lean_int_neg(x_153); -lean_dec(x_153); -x_161 = l_Int_toNat(x_160); -lean_dec(x_160); -x_162 = l_Lean_instToExprInt_mkNat(x_161); -x_163 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_164 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_165 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_166 = l_Lean_mkApp3(x_163, x_164, x_165, x_162); -x_167 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; -x_168 = l_Lean_reflBoolTrue; -x_169 = l_Lean_mkApp6(x_167, x_2, x_166, x_157, x_159, x_168, x_151); -x_170 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_152); -x_31 = x_170; -goto block_118; +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_137 = lean_int_neg(x_130); +lean_dec(x_130); +x_138 = l_Int_toNat(x_137); +lean_dec(x_137); +x_139 = l_Lean_instToExprInt_mkNat(x_138); +x_140 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_141 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_142 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_143 = l_Lean_mkApp3(x_140, x_141, x_142, x_139); +x_144 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; +x_145 = l_Lean_reflBoolTrue; +x_146 = l_Lean_mkApp6(x_144, x_2, x_143, x_134, x_136, x_145, x_129); +lean_ctor_set(x_127, 0, x_146); +x_30 = x_127; +goto block_119; } else { -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_171 = l_Int_toNat(x_153); -lean_dec(x_153); -x_172 = l_Lean_instToExprInt_mkNat(x_171); -x_173 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; -x_174 = l_Lean_reflBoolTrue; -x_175 = l_Lean_mkApp6(x_173, x_2, x_172, x_157, x_159, x_174, x_151); -x_176 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_152); -x_31 = x_176; -goto block_118; +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_147 = l_Int_toNat(x_130); +lean_dec(x_130); +x_148 = l_Lean_instToExprInt_mkNat(x_147); +x_149 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; +x_150 = l_Lean_reflBoolTrue; +x_151 = l_Lean_mkApp6(x_149, x_2, x_148, x_134, x_136, x_150, x_129); +lean_ctor_set(x_127, 0, x_151); +x_30 = x_127; +goto block_119; +} +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_152 = lean_ctor_get(x_127, 0); +x_153 = lean_ctor_get(x_127, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_127); +x_154 = lean_ctor_get(x_126, 0); +lean_inc(x_154); +x_155 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_156 = lean_int_dec_le(x_155, x_154); +x_157 = lean_ctor_get(x_126, 1); +lean_inc(x_157); +lean_dec(x_126); +x_158 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_157); +x_159 = lean_ctor_get(x_1, 1); +lean_inc(x_159); +lean_dec(x_1); +x_160 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_159); +if (x_156 == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_161 = lean_int_neg(x_154); +lean_dec(x_154); +x_162 = l_Int_toNat(x_161); +lean_dec(x_161); +x_163 = l_Lean_instToExprInt_mkNat(x_162); +x_164 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_165 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_166 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_167 = l_Lean_mkApp3(x_164, x_165, x_166, x_163); +x_168 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; +x_169 = l_Lean_reflBoolTrue; +x_170 = l_Lean_mkApp6(x_168, x_2, x_167, x_158, x_160, x_169, x_152); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_153); +x_30 = x_171; +goto block_119; +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_172 = l_Int_toNat(x_154); +lean_dec(x_154); +x_173 = l_Lean_instToExprInt_mkNat(x_172); +x_174 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__3; +x_175 = l_Lean_reflBoolTrue; +x_176 = l_Lean_mkApp6(x_174, x_2, x_173, x_158, x_160, x_175, x_152); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_153); +x_30 = x_177; +goto block_119; } } } else { -uint8_t x_177; -lean_dec(x_125); +uint8_t x_178; +lean_dec(x_126); lean_dec(x_2); lean_dec(x_1); -x_177 = !lean_is_exclusive(x_126); -if (x_177 == 0) +x_178 = !lean_is_exclusive(x_127); +if (x_178 == 0) { -x_31 = x_126; -goto block_118; +x_30 = x_127; +goto block_119; } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_126, 0); -x_179 = lean_ctor_get(x_126, 1); +lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_179 = lean_ctor_get(x_127, 0); +x_180 = lean_ctor_get(x_127, 1); +lean_inc(x_180); lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_126); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_178); -lean_ctor_set(x_180, 1, x_179); -x_31 = x_180; -goto block_118; +lean_dec(x_127); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +x_30 = x_181; +goto block_119; } } } case 2: { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_181 = lean_ctor_get(x_13, 0); -lean_inc(x_181); -lean_dec(x_13); -x_182 = lean_ctor_get(x_181, 1); +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_182 = lean_ctor_get(x_13, 0); lean_inc(x_182); -x_183 = lean_ctor_get(x_181, 0); +lean_dec(x_13); +x_183 = lean_ctor_get(x_182, 1); lean_inc(x_183); -lean_inc(x_183); -x_184 = l_Int_Linear_Poly_gcdCoeffs(x_182, x_183); +x_184 = lean_ctor_get(x_182, 0); +lean_inc(x_184); +lean_inc(x_184); +x_185 = l_Int_Linear_Poly_gcdCoeffs(x_183, x_184); lean_inc(x_2); -x_185 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_181, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_185) == 0) +x_186 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_182, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_186) == 0) { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; lean_object* x_220; -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; lean_object* x_221; +x_187 = lean_ctor_get(x_186, 0); lean_inc(x_187); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_188 = x_185; +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +if (lean_is_exclusive(x_186)) { + lean_ctor_release(x_186, 0); + lean_ctor_release(x_186, 1); + x_189 = x_186; } else { - lean_dec_ref(x_185); - x_188 = lean_box(0); + lean_dec_ref(x_186); + x_189 = lean_box(0); } -x_189 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_190 = lean_int_dec_le(x_189, x_183); -x_191 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_182); -x_192 = lean_ctor_get(x_1, 0); -lean_inc(x_192); -x_193 = lean_int_dec_le(x_189, x_192); -x_194 = lean_ctor_get(x_1, 1); -lean_inc(x_194); +x_190 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_191 = lean_int_dec_le(x_190, x_184); +x_192 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_183); +x_193 = lean_ctor_get(x_1, 0); +lean_inc(x_193); +x_194 = lean_int_dec_le(x_190, x_193); +x_195 = lean_ctor_get(x_1, 1); +lean_inc(x_195); lean_dec(x_1); -x_195 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_194); -x_196 = lean_int_dec_le(x_189, x_184); -if (x_190 == 0) +x_196 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_195); +x_197 = lean_int_dec_le(x_190, x_185); +if (x_191 == 0) { -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_241 = lean_int_neg(x_183); -lean_dec(x_183); -x_242 = l_Int_toNat(x_241); -lean_dec(x_241); -x_243 = l_Lean_instToExprInt_mkNat(x_242); -x_244 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_245 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_246 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_247 = l_Lean_mkApp3(x_244, x_245, x_246, x_243); -if (x_193 == 0) +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_242 = lean_int_neg(x_184); +lean_dec(x_184); +x_243 = l_Int_toNat(x_242); +lean_dec(x_242); +x_244 = l_Lean_instToExprInt_mkNat(x_243); +x_245 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_246 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_247 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_248 = l_Lean_mkApp3(x_245, x_246, x_247, x_244); +if (x_194 == 0) { lean_dec(x_18); -x_197 = x_247; -goto block_219; +x_198 = x_248; +goto block_220; } else { -lean_dec(x_188); -x_220 = x_247; -goto block_240; +lean_dec(x_189); +x_221 = x_248; +goto block_241; } } else { -lean_object* x_248; lean_object* x_249; -x_248 = l_Int_toNat(x_183); -lean_dec(x_183); -x_249 = l_Lean_instToExprInt_mkNat(x_248); -if (x_193 == 0) +lean_object* x_249; lean_object* x_250; +x_249 = l_Int_toNat(x_184); +lean_dec(x_184); +x_250 = l_Lean_instToExprInt_mkNat(x_249); +if (x_194 == 0) { lean_dec(x_18); -x_197 = x_249; -goto block_219; +x_198 = x_250; +goto block_220; } else { -lean_dec(x_188); -x_220 = x_249; -goto block_240; +lean_dec(x_189); +x_221 = x_250; +goto block_241; } } -block_219: +block_220: { -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_198 = lean_int_neg(x_192); -lean_dec(x_192); -x_199 = l_Int_toNat(x_198); -lean_dec(x_198); -x_200 = l_Lean_instToExprInt_mkNat(x_199); -x_201 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_202 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_203 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_204 = l_Lean_mkApp3(x_201, x_202, x_203, x_200); -if (x_196 == 0) +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_199 = lean_int_neg(x_193); +lean_dec(x_193); +x_200 = l_Int_toNat(x_199); +lean_dec(x_199); +x_201 = l_Lean_instToExprInt_mkNat(x_200); +x_202 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_203 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_204 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_205 = l_Lean_mkApp3(x_202, x_203, x_204, x_201); +if (x_197 == 0) { -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; -x_205 = lean_int_neg(x_184); -lean_dec(x_184); -x_206 = l_Int_toNat(x_205); -lean_dec(x_205); -x_207 = l_Lean_instToExprInt_mkNat(x_206); -x_208 = l_Lean_mkApp3(x_201, x_202, x_203, x_207); -x_209 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; -x_210 = l_Lean_reflBoolTrue; -x_211 = l_Lean_mkApp8(x_209, x_2, x_197, x_191, x_204, x_195, x_208, x_210, x_186); -if (lean_is_scalar(x_188)) { - x_212 = lean_alloc_ctor(0, 2, 0); +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_206 = lean_int_neg(x_185); +lean_dec(x_185); +x_207 = l_Int_toNat(x_206); +lean_dec(x_206); +x_208 = l_Lean_instToExprInt_mkNat(x_207); +x_209 = l_Lean_mkApp3(x_202, x_203, x_204, x_208); +x_210 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; +x_211 = l_Lean_reflBoolTrue; +x_212 = l_Lean_mkApp8(x_210, x_2, x_198, x_192, x_205, x_196, x_209, x_211, x_187); +if (lean_is_scalar(x_189)) { + x_213 = lean_alloc_ctor(0, 2, 0); } else { - x_212 = x_188; + x_213 = x_189; } -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_187); -x_31 = x_212; -goto block_118; +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_188); +x_30 = x_213; +goto block_119; } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_213 = l_Int_toNat(x_184); -lean_dec(x_184); -x_214 = l_Lean_instToExprInt_mkNat(x_213); -x_215 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; -x_216 = l_Lean_reflBoolTrue; -x_217 = l_Lean_mkApp8(x_215, x_2, x_197, x_191, x_204, x_195, x_214, x_216, x_186); -if (lean_is_scalar(x_188)) { - x_218 = lean_alloc_ctor(0, 2, 0); +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_214 = l_Int_toNat(x_185); +lean_dec(x_185); +x_215 = l_Lean_instToExprInt_mkNat(x_214); +x_216 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; +x_217 = l_Lean_reflBoolTrue; +x_218 = l_Lean_mkApp8(x_216, x_2, x_198, x_192, x_205, x_196, x_215, x_217, x_187); +if (lean_is_scalar(x_189)) { + x_219 = lean_alloc_ctor(0, 2, 0); } else { - x_218 = x_188; + x_219 = x_189; } -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_187); -x_31 = x_218; -goto block_118; +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_188); +x_30 = x_219; +goto block_119; } } -block_240: +block_241: { -lean_object* x_221; lean_object* x_222; -x_221 = l_Int_toNat(x_192); -lean_dec(x_192); -x_222 = l_Lean_instToExprInt_mkNat(x_221); -if (x_196 == 0) +lean_object* x_222; lean_object* x_223; +x_222 = l_Int_toNat(x_193); +lean_dec(x_193); +x_223 = l_Lean_instToExprInt_mkNat(x_222); +if (x_197 == 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; lean_object* x_232; lean_object* x_233; -x_223 = lean_int_neg(x_184); -lean_dec(x_184); -x_224 = l_Int_toNat(x_223); -lean_dec(x_223); -x_225 = l_Lean_instToExprInt_mkNat(x_224); -x_226 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_227 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_228 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_229 = l_Lean_mkApp3(x_226, x_227, x_228, x_225); -x_230 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; -x_231 = l_Lean_reflBoolTrue; -x_232 = l_Lean_mkApp8(x_230, x_2, x_220, x_191, x_222, x_195, x_229, x_231, x_186); +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_224 = lean_int_neg(x_185); +lean_dec(x_185); +x_225 = l_Int_toNat(x_224); +lean_dec(x_224); +x_226 = l_Lean_instToExprInt_mkNat(x_225); +x_227 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_228 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_229 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_230 = l_Lean_mkApp3(x_227, x_228, x_229, x_226); +x_231 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; +x_232 = l_Lean_reflBoolTrue; +x_233 = l_Lean_mkApp8(x_231, x_2, x_221, x_192, x_223, x_196, x_230, x_232, x_187); if (lean_is_scalar(x_18)) { - x_233 = lean_alloc_ctor(0, 2, 0); + x_234 = lean_alloc_ctor(0, 2, 0); } else { - x_233 = x_18; + x_234 = x_18; } -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_187); -x_31 = x_233; -goto block_118; +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_188); +x_30 = x_234; +goto block_119; } else { -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_234 = l_Int_toNat(x_184); -lean_dec(x_184); -x_235 = l_Lean_instToExprInt_mkNat(x_234); -x_236 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; -x_237 = l_Lean_reflBoolTrue; -x_238 = l_Lean_mkApp8(x_236, x_2, x_220, x_191, x_222, x_195, x_235, x_237, x_186); +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_235 = l_Int_toNat(x_185); +lean_dec(x_185); +x_236 = l_Lean_instToExprInt_mkNat(x_235); +x_237 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__6; +x_238 = l_Lean_reflBoolTrue; +x_239 = l_Lean_mkApp8(x_237, x_2, x_221, x_192, x_223, x_196, x_236, x_238, x_187); if (lean_is_scalar(x_18)) { - x_239 = lean_alloc_ctor(0, 2, 0); + x_240 = lean_alloc_ctor(0, 2, 0); } else { - x_239 = x_18; + x_240 = x_18; } -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_187); -x_31 = x_239; -goto block_118; +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_188); +x_30 = x_240; +goto block_119; } } } else { -uint8_t x_250; +uint8_t x_251; +lean_dec(x_185); lean_dec(x_184); lean_dec(x_183); -lean_dec(x_182); lean_dec(x_18); lean_dec(x_2); lean_dec(x_1); -x_250 = !lean_is_exclusive(x_185); -if (x_250 == 0) +x_251 = !lean_is_exclusive(x_186); +if (x_251 == 0) { -x_31 = x_185; -goto block_118; +x_30 = x_186; +goto block_119; } else { -lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_251 = lean_ctor_get(x_185, 0); -x_252 = lean_ctor_get(x_185, 1); +lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_252 = lean_ctor_get(x_186, 0); +x_253 = lean_ctor_get(x_186, 1); +lean_inc(x_253); lean_inc(x_252); -lean_inc(x_251); -lean_dec(x_185); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_251); -lean_ctor_set(x_253, 1, x_252); -x_31 = x_253; -goto block_118; +lean_dec(x_186); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_252); +lean_ctor_set(x_254, 1, x_253); +x_30 = x_254; +goto block_119; } } } case 3: { -lean_object* x_254; lean_object* x_255; lean_object* x_256; +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_dec(x_18); -x_254 = lean_ctor_get(x_13, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_13, 1); +x_255 = lean_ctor_get(x_13, 0); lean_inc(x_255); +x_256 = lean_ctor_get(x_13, 1); +lean_inc(x_256); lean_dec(x_13); -lean_inc(x_254); -x_256 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_get__d__a(x_254, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_256) == 0) -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_256, 1); -lean_inc(x_258); -lean_dec(x_256); -x_259 = lean_ctor_get(x_257, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_257, 1); -lean_inc(x_260); -lean_dec(x_257); lean_inc(x_255); -x_261 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_get__d__a(x_255, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_258); -if (lean_obj_tag(x_261) == 0) +x_257 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_get__d__a(x_255, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_257) == 0) { -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; uint8_t 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; lean_object* x_282; uint8_t x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; uint8_t x_287; uint8_t x_288; lean_object* x_289; lean_object* x_290; -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +lean_dec(x_257); +x_260 = lean_ctor_get(x_258, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_258, 1); +lean_inc(x_261); +lean_dec(x_258); +lean_inc(x_256); +x_262 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_get__d__a(x_256, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_259); +if (lean_obj_tag(x_262) == 0) +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; uint8_t x_288; uint8_t x_289; lean_object* x_290; lean_object* x_291; +x_263 = lean_ctor_get(x_262, 0); lean_inc(x_263); -lean_dec(x_261); -x_264 = lean_ctor_get(x_262, 0); +x_264 = lean_ctor_get(x_262, 1); lean_inc(x_264); -x_265 = lean_ctor_get(x_262, 1); -lean_inc(x_265); lean_dec(x_262); -x_266 = lean_int_mul(x_260, x_264); -lean_dec(x_264); -lean_dec(x_260); -x_267 = lean_int_mul(x_265, x_259); -lean_dec(x_259); +x_265 = lean_ctor_get(x_263, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_263, 1); +lean_inc(x_266); +lean_dec(x_263); +x_267 = lean_int_mul(x_261, x_265); lean_dec(x_265); -x_268 = l_Lean_Meta_Grind_Arith_Cutsat_gcdExt(x_266, x_267); -lean_dec(x_267); +lean_dec(x_261); +x_268 = lean_int_mul(x_266, x_260); +lean_dec(x_260); lean_dec(x_266); -x_269 = lean_ctor_get(x_268, 1); -lean_inc(x_269); -x_270 = lean_ctor_get(x_268, 0); -lean_inc(x_270); +x_269 = l_Lean_Meta_Grind_Arith_Cutsat_gcdExt(x_267, x_268); lean_dec(x_268); +lean_dec(x_267); +x_270 = lean_ctor_get(x_269, 1); +lean_inc(x_270); x_271 = lean_ctor_get(x_269, 0); lean_inc(x_271); -x_272 = lean_ctor_get(x_269, 1); -lean_inc(x_272); lean_dec(x_269); -x_273 = lean_ctor_get(x_254, 0); +x_272 = lean_ctor_get(x_270, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_270, 1); lean_inc(x_273); -x_274 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_275 = lean_int_dec_le(x_274, x_273); -x_276 = lean_ctor_get(x_254, 1); -lean_inc(x_276); -x_277 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_276); -x_278 = lean_ctor_get(x_255, 0); -lean_inc(x_278); -x_279 = lean_int_dec_le(x_274, x_278); -x_280 = lean_ctor_get(x_255, 1); -lean_inc(x_280); -x_281 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_280); -x_282 = lean_ctor_get(x_1, 0); -lean_inc(x_282); -x_283 = lean_int_dec_le(x_274, x_282); -x_284 = lean_ctor_get(x_1, 1); -lean_inc(x_284); +lean_dec(x_270); +x_274 = lean_ctor_get(x_255, 0); +lean_inc(x_274); +x_275 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_276 = lean_int_dec_le(x_275, x_274); +x_277 = lean_ctor_get(x_255, 1); +lean_inc(x_277); +x_278 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_277); +x_279 = lean_ctor_get(x_256, 0); +lean_inc(x_279); +x_280 = lean_int_dec_le(x_275, x_279); +x_281 = lean_ctor_get(x_256, 1); +lean_inc(x_281); +x_282 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_281); +x_283 = lean_ctor_get(x_1, 0); +lean_inc(x_283); +x_284 = lean_int_dec_le(x_275, x_283); +x_285 = lean_ctor_get(x_1, 1); +lean_inc(x_285); lean_dec(x_1); -x_285 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_284); -x_286 = lean_int_dec_le(x_274, x_270); -x_287 = lean_int_dec_le(x_274, x_271); -x_288 = lean_int_dec_le(x_274, x_272); +x_286 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_285); +x_287 = lean_int_dec_le(x_275, x_271); +x_288 = lean_int_dec_le(x_275, x_272); +x_289 = lean_int_dec_le(x_275, x_273); lean_inc(x_2); -x_289 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_254, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_263); -if (x_275 == 0) +x_290 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_255, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_264); +if (x_276 == 0) { -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; -x_413 = lean_int_neg(x_273); -lean_dec(x_273); -x_414 = l_Int_toNat(x_413); -lean_dec(x_413); -x_415 = l_Lean_instToExprInt_mkNat(x_414); -x_416 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_417 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_418 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_419 = l_Lean_mkApp3(x_416, x_417, x_418, x_415); -x_290 = x_419; -goto block_412; +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; +x_414 = lean_int_neg(x_274); +lean_dec(x_274); +x_415 = l_Int_toNat(x_414); +lean_dec(x_414); +x_416 = l_Lean_instToExprInt_mkNat(x_415); +x_417 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_418 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_419 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_420 = l_Lean_mkApp3(x_417, x_418, x_419, x_416); +x_291 = x_420; +goto block_413; } else { -lean_object* x_420; lean_object* x_421; -x_420 = l_Int_toNat(x_273); -lean_dec(x_273); -x_421 = l_Lean_instToExprInt_mkNat(x_420); -x_290 = x_421; -goto block_412; +lean_object* x_421; lean_object* x_422; +x_421 = l_Int_toNat(x_274); +lean_dec(x_274); +x_422 = l_Lean_instToExprInt_mkNat(x_421); +x_291 = x_422; +goto block_413; } -block_412: -{ -lean_object* x_291; -if (x_279 == 0) -{ -lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -x_403 = lean_int_neg(x_278); -lean_dec(x_278); -x_404 = l_Int_toNat(x_403); -lean_dec(x_403); -x_405 = l_Lean_instToExprInt_mkNat(x_404); -x_406 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_407 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_408 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_409 = l_Lean_mkApp3(x_406, x_407, x_408, x_405); -x_291 = x_409; -goto block_402; -} -else -{ -lean_object* x_410; lean_object* x_411; -x_410 = l_Int_toNat(x_278); -lean_dec(x_278); -x_411 = l_Lean_instToExprInt_mkNat(x_410); -x_291 = x_411; -goto block_402; -} -block_402: +block_413: { lean_object* x_292; -if (x_283 == 0) +if (x_280 == 0) { -lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; -x_393 = lean_int_neg(x_282); -lean_dec(x_282); -x_394 = l_Int_toNat(x_393); -lean_dec(x_393); -x_395 = l_Lean_instToExprInt_mkNat(x_394); -x_396 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_397 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_398 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_399 = l_Lean_mkApp3(x_396, x_397, x_398, x_395); -x_292 = x_399; -goto block_392; +lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; +x_404 = lean_int_neg(x_279); +lean_dec(x_279); +x_405 = l_Int_toNat(x_404); +lean_dec(x_404); +x_406 = l_Lean_instToExprInt_mkNat(x_405); +x_407 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_408 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_409 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_410 = l_Lean_mkApp3(x_407, x_408, x_409, x_406); +x_292 = x_410; +goto block_403; } else { -lean_object* x_400; lean_object* x_401; -x_400 = l_Int_toNat(x_282); -lean_dec(x_282); -x_401 = l_Lean_instToExprInt_mkNat(x_400); -x_292 = x_401; -goto block_392; +lean_object* x_411; lean_object* x_412; +x_411 = l_Int_toNat(x_279); +lean_dec(x_279); +x_412 = l_Lean_instToExprInt_mkNat(x_411); +x_292 = x_412; +goto block_403; } -block_392: +block_403: { lean_object* x_293; -if (x_286 == 0) +if (x_284 == 0) { -lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; -x_383 = lean_int_neg(x_270); -lean_dec(x_270); -x_384 = l_Int_toNat(x_383); -lean_dec(x_383); -x_385 = l_Lean_instToExprInt_mkNat(x_384); -x_386 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_387 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_388 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_389 = l_Lean_mkApp3(x_386, x_387, x_388, x_385); -x_293 = x_389; -goto block_382; +lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_394 = lean_int_neg(x_283); +lean_dec(x_283); +x_395 = l_Int_toNat(x_394); +lean_dec(x_394); +x_396 = l_Lean_instToExprInt_mkNat(x_395); +x_397 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_398 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_399 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_400 = l_Lean_mkApp3(x_397, x_398, x_399, x_396); +x_293 = x_400; +goto block_393; } else { -lean_object* x_390; lean_object* x_391; -x_390 = l_Int_toNat(x_270); -lean_dec(x_270); -x_391 = l_Lean_instToExprInt_mkNat(x_390); -x_293 = x_391; -goto block_382; +lean_object* x_401; lean_object* x_402; +x_401 = l_Int_toNat(x_283); +lean_dec(x_283); +x_402 = l_Lean_instToExprInt_mkNat(x_401); +x_293 = x_402; +goto block_393; } -block_382: +block_393: { lean_object* x_294; if (x_287 == 0) { -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -x_325 = lean_int_neg(x_271); +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; +x_384 = lean_int_neg(x_271); lean_dec(x_271); -x_326 = l_Int_toNat(x_325); -lean_dec(x_325); -x_327 = l_Lean_instToExprInt_mkNat(x_326); -x_328 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_329 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_330 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_331 = l_Lean_mkApp3(x_328, x_329, x_330, x_327); -if (x_288 == 0) -{ -x_294 = x_331; -goto block_324; +x_385 = l_Int_toNat(x_384); +lean_dec(x_384); +x_386 = l_Lean_instToExprInt_mkNat(x_385); +x_387 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_388 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_389 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_390 = l_Lean_mkApp3(x_387, x_388, x_389, x_386); +x_294 = x_390; +goto block_383; } else { -if (lean_obj_tag(x_289) == 0) +lean_object* x_391; lean_object* x_392; +x_391 = l_Int_toNat(x_271); +lean_dec(x_271); +x_392 = l_Lean_instToExprInt_mkNat(x_391); +x_294 = x_392; +goto block_383; +} +block_383: { -lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; -x_332 = lean_ctor_get(x_289, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_289, 1); +lean_object* x_295; +if (x_288 == 0) +{ +lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_326 = lean_int_neg(x_272); +lean_dec(x_272); +x_327 = l_Int_toNat(x_326); +lean_dec(x_326); +x_328 = l_Lean_instToExprInt_mkNat(x_327); +x_329 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_330 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_331 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_332 = l_Lean_mkApp3(x_329, x_330, x_331, x_328); +if (x_289 == 0) +{ +x_295 = x_332; +goto block_325; +} +else +{ +if (lean_obj_tag(x_290) == 0) +{ +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_333 = lean_ctor_get(x_290, 0); lean_inc(x_333); -lean_dec(x_289); -x_334 = l_Int_toNat(x_272); -lean_dec(x_272); -x_335 = l_Lean_instToExprInt_mkNat(x_334); -x_336 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__9; +x_334 = lean_ctor_get(x_290, 1); +lean_inc(x_334); +lean_dec(x_290); +x_335 = l_Int_toNat(x_273); +lean_dec(x_273); +x_336 = l_Lean_instToExprInt_mkNat(x_335); +x_337 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__9; lean_inc(x_2); -x_337 = l_Lean_mkApp10(x_336, x_2, x_290, x_277, x_291, x_281, x_292, x_285, x_293, x_331, x_335); -x_338 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_255, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_333); -if (lean_obj_tag(x_338) == 0) +x_338 = l_Lean_mkApp10(x_337, x_2, x_291, x_278, x_292, x_282, x_293, x_286, x_294, x_332, x_336); +x_339 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_256, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_334); +if (lean_obj_tag(x_339) == 0) { -uint8_t x_339; -x_339 = !lean_is_exclusive(x_338); -if (x_339 == 0) +uint8_t x_340; +x_340 = !lean_is_exclusive(x_339); +if (x_340 == 0) { -lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_340 = lean_ctor_get(x_338, 0); -x_341 = l_Lean_reflBoolTrue; -x_342 = l_Lean_mkApp3(x_337, x_341, x_332, x_340); -lean_ctor_set(x_338, 0, x_342); -x_31 = x_338; -goto block_118; +lean_object* x_341; lean_object* x_342; lean_object* x_343; +x_341 = lean_ctor_get(x_339, 0); +x_342 = l_Lean_reflBoolTrue; +x_343 = l_Lean_mkApp3(x_338, x_342, x_333, x_341); +lean_ctor_set(x_339, 0, x_343); +x_30 = x_339; +goto block_119; } else { -lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; -x_343 = lean_ctor_get(x_338, 0); -x_344 = lean_ctor_get(x_338, 1); +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +x_344 = lean_ctor_get(x_339, 0); +x_345 = lean_ctor_get(x_339, 1); +lean_inc(x_345); lean_inc(x_344); -lean_inc(x_343); +lean_dec(x_339); +x_346 = l_Lean_reflBoolTrue; +x_347 = l_Lean_mkApp3(x_338, x_346, x_333, x_344); +x_348 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_348, 0, x_347); +lean_ctor_set(x_348, 1, x_345); +x_30 = x_348; +goto block_119; +} +} +else +{ +uint8_t x_349; lean_dec(x_338); -x_345 = l_Lean_reflBoolTrue; -x_346 = l_Lean_mkApp3(x_337, x_345, x_332, x_343); -x_347 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_347, 0, x_346); -lean_ctor_set(x_347, 1, x_344); -x_31 = x_347; -goto block_118; -} +lean_dec(x_333); +x_349 = !lean_is_exclusive(x_339); +if (x_349 == 0) +{ +x_30 = x_339; +goto block_119; } else { -uint8_t x_348; -lean_dec(x_337); -lean_dec(x_332); -x_348 = !lean_is_exclusive(x_338); -if (x_348 == 0) -{ -x_31 = x_338; -goto block_118; -} -else -{ -lean_object* x_349; lean_object* x_350; lean_object* x_351; -x_349 = lean_ctor_get(x_338, 0); -x_350 = lean_ctor_get(x_338, 1); +lean_object* x_350; lean_object* x_351; lean_object* x_352; +x_350 = lean_ctor_get(x_339, 0); +x_351 = lean_ctor_get(x_339, 1); +lean_inc(x_351); lean_inc(x_350); -lean_inc(x_349); -lean_dec(x_338); -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_349); -lean_ctor_set(x_351, 1, x_350); -x_31 = x_351; -goto block_118; +lean_dec(x_339); +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_350); +lean_ctor_set(x_352, 1, x_351); +x_30 = x_352; +goto block_119; } } } else { -uint8_t x_352; -lean_dec(x_331); -lean_dec(x_293); -lean_dec(x_292); -lean_dec(x_291); -lean_dec(x_290); -lean_dec(x_285); -lean_dec(x_281); -lean_dec(x_277); -lean_dec(x_272); -lean_dec(x_255); -lean_dec(x_2); -x_352 = !lean_is_exclusive(x_289); -if (x_352 == 0) -{ -x_31 = x_289; -goto block_118; -} -else -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_353 = lean_ctor_get(x_289, 0); -x_354 = lean_ctor_get(x_289, 1); -lean_inc(x_354); -lean_inc(x_353); -lean_dec(x_289); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_353); -lean_ctor_set(x_355, 1, x_354); -x_31 = x_355; -goto block_118; -} -} -} -} -else -{ -lean_object* x_356; lean_object* x_357; -x_356 = l_Int_toNat(x_271); -lean_dec(x_271); -x_357 = l_Lean_instToExprInt_mkNat(x_356); -if (x_288 == 0) -{ -x_294 = x_357; -goto block_324; -} -else -{ -if (lean_obj_tag(x_289) == 0) -{ -lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_358 = lean_ctor_get(x_289, 0); -lean_inc(x_358); -x_359 = lean_ctor_get(x_289, 1); -lean_inc(x_359); -lean_dec(x_289); -x_360 = l_Int_toNat(x_272); -lean_dec(x_272); -x_361 = l_Lean_instToExprInt_mkNat(x_360); -x_362 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__9; -lean_inc(x_2); -x_363 = l_Lean_mkApp10(x_362, x_2, x_290, x_277, x_291, x_281, x_292, x_285, x_293, x_357, x_361); -x_364 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_255, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_359); -if (lean_obj_tag(x_364) == 0) -{ -uint8_t x_365; -x_365 = !lean_is_exclusive(x_364); -if (x_365 == 0) -{ -lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_366 = lean_ctor_get(x_364, 0); -x_367 = l_Lean_reflBoolTrue; -x_368 = l_Lean_mkApp3(x_363, x_367, x_358, x_366); -lean_ctor_set(x_364, 0, x_368); -x_31 = x_364; -goto block_118; -} -else -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; -x_369 = lean_ctor_get(x_364, 0); -x_370 = lean_ctor_get(x_364, 1); -lean_inc(x_370); -lean_inc(x_369); -lean_dec(x_364); -x_371 = l_Lean_reflBoolTrue; -x_372 = l_Lean_mkApp3(x_363, x_371, x_358, x_369); -x_373 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_373, 0, x_372); -lean_ctor_set(x_373, 1, x_370); -x_31 = x_373; -goto block_118; -} -} -else -{ -uint8_t x_374; -lean_dec(x_363); -lean_dec(x_358); -x_374 = !lean_is_exclusive(x_364); -if (x_374 == 0) -{ -x_31 = x_364; -goto block_118; -} -else -{ -lean_object* x_375; lean_object* x_376; lean_object* x_377; -x_375 = lean_ctor_get(x_364, 0); -x_376 = lean_ctor_get(x_364, 1); -lean_inc(x_376); -lean_inc(x_375); -lean_dec(x_364); -x_377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_377, 0, x_375); -lean_ctor_set(x_377, 1, x_376); -x_31 = x_377; -goto block_118; -} -} -} -else -{ -uint8_t x_378; -lean_dec(x_357); -lean_dec(x_293); -lean_dec(x_292); -lean_dec(x_291); -lean_dec(x_290); -lean_dec(x_285); -lean_dec(x_281); -lean_dec(x_277); -lean_dec(x_272); -lean_dec(x_255); -lean_dec(x_2); -x_378 = !lean_is_exclusive(x_289); -if (x_378 == 0) -{ -x_31 = x_289; -goto block_118; -} -else -{ -lean_object* x_379; lean_object* x_380; lean_object* x_381; -x_379 = lean_ctor_get(x_289, 0); -x_380 = lean_ctor_get(x_289, 1); -lean_inc(x_380); -lean_inc(x_379); -lean_dec(x_289); -x_381 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_381, 0, x_379); -lean_ctor_set(x_381, 1, x_380); -x_31 = x_381; -goto block_118; -} -} -} -} -block_324: -{ -if (lean_obj_tag(x_289) == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_295 = lean_ctor_get(x_289, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_289, 1); -lean_inc(x_296); -lean_dec(x_289); -x_297 = lean_int_neg(x_272); -lean_dec(x_272); -x_298 = l_Int_toNat(x_297); -lean_dec(x_297); -x_299 = l_Lean_instToExprInt_mkNat(x_298); -x_300 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_301 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_302 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_303 = l_Lean_mkApp3(x_300, x_301, x_302, x_299); -x_304 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__9; -lean_inc(x_2); -x_305 = l_Lean_mkApp10(x_304, x_2, x_290, x_277, x_291, x_281, x_292, x_285, x_293, x_294, x_303); -x_306 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_255, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_296); -if (lean_obj_tag(x_306) == 0) -{ -uint8_t x_307; -x_307 = !lean_is_exclusive(x_306); -if (x_307 == 0) -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; -x_308 = lean_ctor_get(x_306, 0); -x_309 = l_Lean_reflBoolTrue; -x_310 = l_Lean_mkApp3(x_305, x_309, x_295, x_308); -lean_ctor_set(x_306, 0, x_310); -x_31 = x_306; -goto block_118; -} -else -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; -x_311 = lean_ctor_get(x_306, 0); -x_312 = lean_ctor_get(x_306, 1); -lean_inc(x_312); -lean_inc(x_311); -lean_dec(x_306); -x_313 = l_Lean_reflBoolTrue; -x_314 = l_Lean_mkApp3(x_305, x_313, x_295, x_311); -x_315 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_315, 0, x_314); -lean_ctor_set(x_315, 1, x_312); -x_31 = x_315; -goto block_118; -} -} -else -{ -uint8_t x_316; -lean_dec(x_305); -lean_dec(x_295); -x_316 = !lean_is_exclusive(x_306); -if (x_316 == 0) -{ -x_31 = x_306; -goto block_118; -} -else -{ -lean_object* x_317; lean_object* x_318; lean_object* x_319; -x_317 = lean_ctor_get(x_306, 0); -x_318 = lean_ctor_get(x_306, 1); -lean_inc(x_318); -lean_inc(x_317); -lean_dec(x_306); -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_317); -lean_ctor_set(x_319, 1, x_318); -x_31 = x_319; -goto block_118; -} -} -} -else -{ -uint8_t x_320; +uint8_t x_353; +lean_dec(x_332); lean_dec(x_294); lean_dec(x_293); lean_dec(x_292); lean_dec(x_291); -lean_dec(x_290); -lean_dec(x_285); -lean_dec(x_281); -lean_dec(x_277); -lean_dec(x_272); -lean_dec(x_255); -lean_dec(x_2); -x_320 = !lean_is_exclusive(x_289); -if (x_320 == 0) -{ -x_31 = x_289; -goto block_118; -} -else -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_321 = lean_ctor_get(x_289, 0); -x_322 = lean_ctor_get(x_289, 1); -lean_inc(x_322); -lean_inc(x_321); -lean_dec(x_289); -x_323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_323, 0, x_321); -lean_ctor_set(x_323, 1, x_322); -x_31 = x_323; -goto block_118; -} -} -} -} -} -} -} -} -else -{ -uint8_t x_422; -lean_dec(x_260); -lean_dec(x_259); -lean_dec(x_255); -lean_dec(x_254); -lean_dec(x_2); -lean_dec(x_1); -x_422 = !lean_is_exclusive(x_261); -if (x_422 == 0) -{ -x_31 = x_261; -goto block_118; -} -else -{ -lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_423 = lean_ctor_get(x_261, 0); -x_424 = lean_ctor_get(x_261, 1); -lean_inc(x_424); -lean_inc(x_423); -lean_dec(x_261); -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_423); -lean_ctor_set(x_425, 1, x_424); -x_31 = x_425; -goto block_118; -} -} -} -else -{ -uint8_t x_426; -lean_dec(x_255); -lean_dec(x_254); -lean_dec(x_2); -lean_dec(x_1); -x_426 = !lean_is_exclusive(x_256); -if (x_426 == 0) -{ -x_31 = x_256; -goto block_118; -} -else -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; -x_427 = lean_ctor_get(x_256, 0); -x_428 = lean_ctor_get(x_256, 1); -lean_inc(x_428); -lean_inc(x_427); +lean_dec(x_286); +lean_dec(x_282); +lean_dec(x_278); +lean_dec(x_273); lean_dec(x_256); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_427); -lean_ctor_set(x_429, 1, x_428); -x_31 = x_429; -goto block_118; +lean_dec(x_2); +x_353 = !lean_is_exclusive(x_290); +if (x_353 == 0) +{ +x_30 = x_290; +goto block_119; +} +else +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_354 = lean_ctor_get(x_290, 0); +x_355 = lean_ctor_get(x_290, 1); +lean_inc(x_355); +lean_inc(x_354); +lean_dec(x_290); +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_354); +lean_ctor_set(x_356, 1, x_355); +x_30 = x_356; +goto block_119; +} +} +} +} +else +{ +lean_object* x_357; lean_object* x_358; +x_357 = l_Int_toNat(x_272); +lean_dec(x_272); +x_358 = l_Lean_instToExprInt_mkNat(x_357); +if (x_289 == 0) +{ +x_295 = x_358; +goto block_325; +} +else +{ +if (lean_obj_tag(x_290) == 0) +{ +lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_359 = lean_ctor_get(x_290, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_290, 1); +lean_inc(x_360); +lean_dec(x_290); +x_361 = l_Int_toNat(x_273); +lean_dec(x_273); +x_362 = l_Lean_instToExprInt_mkNat(x_361); +x_363 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__9; +lean_inc(x_2); +x_364 = l_Lean_mkApp10(x_363, x_2, x_291, x_278, x_292, x_282, x_293, x_286, x_294, x_358, x_362); +x_365 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_256, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_360); +if (lean_obj_tag(x_365) == 0) +{ +uint8_t x_366; +x_366 = !lean_is_exclusive(x_365); +if (x_366 == 0) +{ +lean_object* x_367; lean_object* x_368; lean_object* x_369; +x_367 = lean_ctor_get(x_365, 0); +x_368 = l_Lean_reflBoolTrue; +x_369 = l_Lean_mkApp3(x_364, x_368, x_359, x_367); +lean_ctor_set(x_365, 0, x_369); +x_30 = x_365; +goto block_119; +} +else +{ +lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; +x_370 = lean_ctor_get(x_365, 0); +x_371 = lean_ctor_get(x_365, 1); +lean_inc(x_371); +lean_inc(x_370); +lean_dec(x_365); +x_372 = l_Lean_reflBoolTrue; +x_373 = l_Lean_mkApp3(x_364, x_372, x_359, x_370); +x_374 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_371); +x_30 = x_374; +goto block_119; +} +} +else +{ +uint8_t x_375; +lean_dec(x_364); +lean_dec(x_359); +x_375 = !lean_is_exclusive(x_365); +if (x_375 == 0) +{ +x_30 = x_365; +goto block_119; +} +else +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; +x_376 = lean_ctor_get(x_365, 0); +x_377 = lean_ctor_get(x_365, 1); +lean_inc(x_377); +lean_inc(x_376); +lean_dec(x_365); +x_378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_378, 0, x_376); +lean_ctor_set(x_378, 1, x_377); +x_30 = x_378; +goto block_119; +} +} +} +else +{ +uint8_t x_379; +lean_dec(x_358); +lean_dec(x_294); +lean_dec(x_293); +lean_dec(x_292); +lean_dec(x_291); +lean_dec(x_286); +lean_dec(x_282); +lean_dec(x_278); +lean_dec(x_273); +lean_dec(x_256); +lean_dec(x_2); +x_379 = !lean_is_exclusive(x_290); +if (x_379 == 0) +{ +x_30 = x_290; +goto block_119; +} +else +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; +x_380 = lean_ctor_get(x_290, 0); +x_381 = lean_ctor_get(x_290, 1); +lean_inc(x_381); +lean_inc(x_380); +lean_dec(x_290); +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_380); +lean_ctor_set(x_382, 1, x_381); +x_30 = x_382; +goto block_119; +} +} +} +} +block_325: +{ +if (lean_obj_tag(x_290) == 0) +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_296 = lean_ctor_get(x_290, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_290, 1); +lean_inc(x_297); +lean_dec(x_290); +x_298 = lean_int_neg(x_273); +lean_dec(x_273); +x_299 = l_Int_toNat(x_298); +lean_dec(x_298); +x_300 = l_Lean_instToExprInt_mkNat(x_299); +x_301 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_302 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_303 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_304 = l_Lean_mkApp3(x_301, x_302, x_303, x_300); +x_305 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__9; +lean_inc(x_2); +x_306 = l_Lean_mkApp10(x_305, x_2, x_291, x_278, x_292, x_282, x_293, x_286, x_294, x_295, x_304); +x_307 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_256, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_297); +if (lean_obj_tag(x_307) == 0) +{ +uint8_t x_308; +x_308 = !lean_is_exclusive(x_307); +if (x_308 == 0) +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; +x_309 = lean_ctor_get(x_307, 0); +x_310 = l_Lean_reflBoolTrue; +x_311 = l_Lean_mkApp3(x_306, x_310, x_296, x_309); +lean_ctor_set(x_307, 0, x_311); +x_30 = x_307; +goto block_119; +} +else +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_312 = lean_ctor_get(x_307, 0); +x_313 = lean_ctor_get(x_307, 1); +lean_inc(x_313); +lean_inc(x_312); +lean_dec(x_307); +x_314 = l_Lean_reflBoolTrue; +x_315 = l_Lean_mkApp3(x_306, x_314, x_296, x_312); +x_316 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_313); +x_30 = x_316; +goto block_119; +} +} +else +{ +uint8_t x_317; +lean_dec(x_306); +lean_dec(x_296); +x_317 = !lean_is_exclusive(x_307); +if (x_317 == 0) +{ +x_30 = x_307; +goto block_119; +} +else +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_318 = lean_ctor_get(x_307, 0); +x_319 = lean_ctor_get(x_307, 1); +lean_inc(x_319); +lean_inc(x_318); +lean_dec(x_307); +x_320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_320, 0, x_318); +lean_ctor_set(x_320, 1, x_319); +x_30 = x_320; +goto block_119; +} +} +} +else +{ +uint8_t x_321; +lean_dec(x_295); +lean_dec(x_294); +lean_dec(x_293); +lean_dec(x_292); +lean_dec(x_291); +lean_dec(x_286); +lean_dec(x_282); +lean_dec(x_278); +lean_dec(x_273); +lean_dec(x_256); +lean_dec(x_2); +x_321 = !lean_is_exclusive(x_290); +if (x_321 == 0) +{ +x_30 = x_290; +goto block_119; +} +else +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_322 = lean_ctor_get(x_290, 0); +x_323 = lean_ctor_get(x_290, 1); +lean_inc(x_323); +lean_inc(x_322); +lean_dec(x_290); +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_322); +lean_ctor_set(x_324, 1, x_323); +x_30 = x_324; +goto block_119; +} +} +} +} +} +} +} +} +else +{ +uint8_t x_423; +lean_dec(x_261); +lean_dec(x_260); +lean_dec(x_256); +lean_dec(x_255); +lean_dec(x_2); +lean_dec(x_1); +x_423 = !lean_is_exclusive(x_262); +if (x_423 == 0) +{ +x_30 = x_262; +goto block_119; +} +else +{ +lean_object* x_424; lean_object* x_425; lean_object* x_426; +x_424 = lean_ctor_get(x_262, 0); +x_425 = lean_ctor_get(x_262, 1); +lean_inc(x_425); +lean_inc(x_424); +lean_dec(x_262); +x_426 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_426, 0, x_424); +lean_ctor_set(x_426, 1, x_425); +x_30 = x_426; +goto block_119; +} +} +} +else +{ +uint8_t x_427; +lean_dec(x_256); +lean_dec(x_255); +lean_dec(x_2); +lean_dec(x_1); +x_427 = !lean_is_exclusive(x_257); +if (x_427 == 0) +{ +x_30 = x_257; +goto block_119; +} +else +{ +lean_object* x_428; lean_object* x_429; lean_object* x_430; +x_428 = lean_ctor_get(x_257, 0); +x_429 = lean_ctor_get(x_257, 1); +lean_inc(x_429); +lean_inc(x_428); +lean_dec(x_257); +x_430 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_430, 0, x_428); +lean_ctor_set(x_430, 1, x_429); +x_30 = x_430; +goto block_119; } } } case 4: { -lean_object* x_430; lean_object* x_431; lean_object* x_432; +lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_dec(x_18); -x_430 = lean_ctor_get(x_13, 0); -lean_inc(x_430); -x_431 = lean_ctor_get(x_13, 1); +x_431 = lean_ctor_get(x_13, 0); lean_inc(x_431); +x_432 = lean_ctor_get(x_13, 1); +lean_inc(x_432); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_430); -x_432 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_430, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_432) == 0) +lean_inc(x_431); +x_433 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_431, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_433) == 0) { -lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; -x_433 = lean_ctor_get(x_432, 0); -lean_inc(x_433); -x_434 = lean_ctor_get(x_432, 1); +lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; +x_434 = lean_ctor_get(x_433, 0); lean_inc(x_434); -if (lean_is_exclusive(x_432)) { - lean_ctor_release(x_432, 0); - lean_ctor_release(x_432, 1); - x_435 = x_432; +x_435 = lean_ctor_get(x_433, 1); +lean_inc(x_435); +if (lean_is_exclusive(x_433)) { + lean_ctor_release(x_433, 0); + lean_ctor_release(x_433, 1); + x_436 = x_433; } else { - lean_dec_ref(x_432); - x_435 = lean_box(0); + lean_dec_ref(x_433); + x_436 = lean_box(0); } lean_inc(x_2); -lean_inc(x_431); -x_436 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_431, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_434); -if (lean_obj_tag(x_436) == 0) +lean_inc(x_432); +x_437 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_432, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_435); +if (lean_obj_tag(x_437) == 0) { -lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; uint8_t x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; uint8_t x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_476; -x_437 = lean_ctor_get(x_436, 0); -lean_inc(x_437); -x_438 = lean_ctor_get(x_436, 1); +lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; uint8_t x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; uint8_t x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_477; +x_438 = lean_ctor_get(x_437, 0); lean_inc(x_438); -if (lean_is_exclusive(x_436)) { - lean_ctor_release(x_436, 0); - lean_ctor_release(x_436, 1); - x_439 = x_436; +x_439 = lean_ctor_get(x_437, 1); +lean_inc(x_439); +if (lean_is_exclusive(x_437)) { + lean_ctor_release(x_437, 0); + lean_ctor_release(x_437, 1); + x_440 = x_437; } else { - lean_dec_ref(x_436); - x_439 = lean_box(0); + lean_dec_ref(x_437); + x_440 = lean_box(0); } -x_440 = lean_ctor_get(x_430, 0); -lean_inc(x_440); -x_441 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_442 = lean_int_dec_le(x_441, x_440); -x_443 = lean_ctor_get(x_430, 1); -lean_inc(x_443); -lean_dec(x_430); -x_444 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_443); -x_445 = lean_ctor_get(x_431, 0); -lean_inc(x_445); -x_446 = lean_int_dec_le(x_441, x_445); -x_447 = lean_ctor_get(x_431, 1); -lean_inc(x_447); +x_441 = lean_ctor_get(x_431, 0); +lean_inc(x_441); +x_442 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_443 = lean_int_dec_le(x_442, x_441); +x_444 = lean_ctor_get(x_431, 1); +lean_inc(x_444); lean_dec(x_431); -x_448 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_447); -x_449 = lean_ctor_get(x_1, 0); -lean_inc(x_449); -x_450 = lean_int_dec_le(x_441, x_449); -x_451 = lean_ctor_get(x_1, 1); -lean_inc(x_451); -lean_dec(x_1); -x_452 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_451); -if (x_442 == 0) -{ -lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_497 = lean_int_neg(x_440); -lean_dec(x_440); -x_498 = l_Int_toNat(x_497); -lean_dec(x_497); -x_499 = l_Lean_instToExprInt_mkNat(x_498); -x_500 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_501 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_502 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_503 = l_Lean_mkApp3(x_500, x_501, x_502, x_499); -if (x_446 == 0) -{ -lean_dec(x_435); -x_453 = x_503; -goto block_475; -} -else -{ -lean_dec(x_439); -x_476 = x_503; -goto block_496; -} -} -else -{ -lean_object* x_504; lean_object* x_505; -x_504 = l_Int_toNat(x_440); -lean_dec(x_440); -x_505 = l_Lean_instToExprInt_mkNat(x_504); -if (x_446 == 0) -{ -lean_dec(x_435); -x_453 = x_505; -goto block_475; -} -else -{ -lean_dec(x_439); -x_476 = x_505; -goto block_496; -} -} -block_475: -{ -lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; -x_454 = lean_int_neg(x_445); -lean_dec(x_445); -x_455 = l_Int_toNat(x_454); -lean_dec(x_454); -x_456 = l_Lean_instToExprInt_mkNat(x_455); -x_457 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_458 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_459 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_460 = l_Lean_mkApp3(x_457, x_458, x_459, x_456); -if (x_450 == 0) -{ -lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; -x_461 = lean_int_neg(x_449); -lean_dec(x_449); -x_462 = l_Int_toNat(x_461); -lean_dec(x_461); -x_463 = l_Lean_instToExprInt_mkNat(x_462); -x_464 = l_Lean_mkApp3(x_457, x_458, x_459, x_463); -x_465 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; -x_466 = l_Lean_reflBoolTrue; -x_467 = l_Lean_mkApp10(x_465, x_2, x_453, x_444, x_460, x_448, x_464, x_452, x_466, x_433, x_437); -if (lean_is_scalar(x_439)) { - x_468 = lean_alloc_ctor(0, 2, 0); -} else { - x_468 = x_439; -} -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_438); -x_31 = x_468; -goto block_118; -} -else -{ -lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_469 = l_Int_toNat(x_449); -lean_dec(x_449); -x_470 = l_Lean_instToExprInt_mkNat(x_469); -x_471 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; -x_472 = l_Lean_reflBoolTrue; -x_473 = l_Lean_mkApp10(x_471, x_2, x_453, x_444, x_460, x_448, x_470, x_452, x_472, x_433, x_437); -if (lean_is_scalar(x_439)) { - x_474 = lean_alloc_ctor(0, 2, 0); -} else { - x_474 = x_439; -} -lean_ctor_set(x_474, 0, x_473); -lean_ctor_set(x_474, 1, x_438); -x_31 = x_474; -goto block_118; -} -} -block_496: -{ -lean_object* x_477; lean_object* x_478; -x_477 = l_Int_toNat(x_445); -lean_dec(x_445); -x_478 = l_Lean_instToExprInt_mkNat(x_477); -if (x_450 == 0) -{ -lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -x_479 = lean_int_neg(x_449); -lean_dec(x_449); -x_480 = l_Int_toNat(x_479); -lean_dec(x_479); -x_481 = l_Lean_instToExprInt_mkNat(x_480); -x_482 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_483 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_484 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_485 = l_Lean_mkApp3(x_482, x_483, x_484, x_481); -x_486 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; -x_487 = l_Lean_reflBoolTrue; -x_488 = l_Lean_mkApp10(x_486, x_2, x_476, x_444, x_478, x_448, x_485, x_452, x_487, x_433, x_437); -if (lean_is_scalar(x_435)) { - x_489 = lean_alloc_ctor(0, 2, 0); -} else { - x_489 = x_435; -} -lean_ctor_set(x_489, 0, x_488); -lean_ctor_set(x_489, 1, x_438); -x_31 = x_489; -goto block_118; -} -else -{ -lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; -x_490 = l_Int_toNat(x_449); -lean_dec(x_449); -x_491 = l_Lean_instToExprInt_mkNat(x_490); -x_492 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; -x_493 = l_Lean_reflBoolTrue; -x_494 = l_Lean_mkApp10(x_492, x_2, x_476, x_444, x_478, x_448, x_491, x_452, x_493, x_433, x_437); -if (lean_is_scalar(x_435)) { - x_495 = lean_alloc_ctor(0, 2, 0); -} else { - x_495 = x_435; -} -lean_ctor_set(x_495, 0, x_494); -lean_ctor_set(x_495, 1, x_438); -x_31 = x_495; -goto block_118; -} -} -} -else -{ -uint8_t x_506; -lean_dec(x_435); -lean_dec(x_433); -lean_dec(x_431); -lean_dec(x_430); -lean_dec(x_2); -lean_dec(x_1); -x_506 = !lean_is_exclusive(x_436); -if (x_506 == 0) -{ -x_31 = x_436; -goto block_118; -} -else -{ -lean_object* x_507; lean_object* x_508; lean_object* x_509; -x_507 = lean_ctor_get(x_436, 0); -x_508 = lean_ctor_get(x_436, 1); -lean_inc(x_508); -lean_inc(x_507); -lean_dec(x_436); -x_509 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_509, 0, x_507); -lean_ctor_set(x_509, 1, x_508); -x_31 = x_509; -goto block_118; -} -} -} -else -{ -uint8_t x_510; -lean_dec(x_431); -lean_dec(x_430); -lean_dec(x_2); -lean_dec(x_1); -x_510 = !lean_is_exclusive(x_432); -if (x_510 == 0) -{ -x_31 = x_432; -goto block_118; -} -else -{ -lean_object* x_511; lean_object* x_512; lean_object* x_513; -x_511 = lean_ctor_get(x_432, 0); -x_512 = lean_ctor_get(x_432, 1); -lean_inc(x_512); -lean_inc(x_511); +x_445 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_444); +x_446 = lean_ctor_get(x_432, 0); +lean_inc(x_446); +x_447 = lean_int_dec_le(x_442, x_446); +x_448 = lean_ctor_get(x_432, 1); +lean_inc(x_448); lean_dec(x_432); -x_513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_513, 0, x_511); -lean_ctor_set(x_513, 1, x_512); -x_31 = x_513; -goto block_118; +x_449 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_448); +x_450 = lean_ctor_get(x_1, 0); +lean_inc(x_450); +x_451 = lean_int_dec_le(x_442, x_450); +x_452 = lean_ctor_get(x_1, 1); +lean_inc(x_452); +lean_dec(x_1); +x_453 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_452); +if (x_443 == 0) +{ +lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; +x_498 = lean_int_neg(x_441); +lean_dec(x_441); +x_499 = l_Int_toNat(x_498); +lean_dec(x_498); +x_500 = l_Lean_instToExprInt_mkNat(x_499); +x_501 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_502 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_503 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_504 = l_Lean_mkApp3(x_501, x_502, x_503, x_500); +if (x_447 == 0) +{ +lean_dec(x_436); +x_454 = x_504; +goto block_476; +} +else +{ +lean_dec(x_440); +x_477 = x_504; +goto block_497; +} +} +else +{ +lean_object* x_505; lean_object* x_506; +x_505 = l_Int_toNat(x_441); +lean_dec(x_441); +x_506 = l_Lean_instToExprInt_mkNat(x_505); +if (x_447 == 0) +{ +lean_dec(x_436); +x_454 = x_506; +goto block_476; +} +else +{ +lean_dec(x_440); +x_477 = x_506; +goto block_497; +} +} +block_476: +{ +lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_455 = lean_int_neg(x_446); +lean_dec(x_446); +x_456 = l_Int_toNat(x_455); +lean_dec(x_455); +x_457 = l_Lean_instToExprInt_mkNat(x_456); +x_458 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_459 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_460 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_461 = l_Lean_mkApp3(x_458, x_459, x_460, x_457); +if (x_451 == 0) +{ +lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; +x_462 = lean_int_neg(x_450); +lean_dec(x_450); +x_463 = l_Int_toNat(x_462); +lean_dec(x_462); +x_464 = l_Lean_instToExprInt_mkNat(x_463); +x_465 = l_Lean_mkApp3(x_458, x_459, x_460, x_464); +x_466 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; +x_467 = l_Lean_reflBoolTrue; +x_468 = l_Lean_mkApp10(x_466, x_2, x_454, x_445, x_461, x_449, x_465, x_453, x_467, x_434, x_438); +if (lean_is_scalar(x_440)) { + x_469 = lean_alloc_ctor(0, 2, 0); +} else { + x_469 = x_440; +} +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_439); +x_30 = x_469; +goto block_119; +} +else +{ +lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; +x_470 = l_Int_toNat(x_450); +lean_dec(x_450); +x_471 = l_Lean_instToExprInt_mkNat(x_470); +x_472 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; +x_473 = l_Lean_reflBoolTrue; +x_474 = l_Lean_mkApp10(x_472, x_2, x_454, x_445, x_461, x_449, x_471, x_453, x_473, x_434, x_438); +if (lean_is_scalar(x_440)) { + x_475 = lean_alloc_ctor(0, 2, 0); +} else { + x_475 = x_440; +} +lean_ctor_set(x_475, 0, x_474); +lean_ctor_set(x_475, 1, x_439); +x_30 = x_475; +goto block_119; +} +} +block_497: +{ +lean_object* x_478; lean_object* x_479; +x_478 = l_Int_toNat(x_446); +lean_dec(x_446); +x_479 = l_Lean_instToExprInt_mkNat(x_478); +if (x_451 == 0) +{ +lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; +x_480 = lean_int_neg(x_450); +lean_dec(x_450); +x_481 = l_Int_toNat(x_480); +lean_dec(x_480); +x_482 = l_Lean_instToExprInt_mkNat(x_481); +x_483 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_484 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_485 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_486 = l_Lean_mkApp3(x_483, x_484, x_485, x_482); +x_487 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; +x_488 = l_Lean_reflBoolTrue; +x_489 = l_Lean_mkApp10(x_487, x_2, x_477, x_445, x_479, x_449, x_486, x_453, x_488, x_434, x_438); +if (lean_is_scalar(x_436)) { + x_490 = lean_alloc_ctor(0, 2, 0); +} else { + x_490 = x_436; +} +lean_ctor_set(x_490, 0, x_489); +lean_ctor_set(x_490, 1, x_439); +x_30 = x_490; +goto block_119; +} +else +{ +lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; +x_491 = l_Int_toNat(x_450); +lean_dec(x_450); +x_492 = l_Lean_instToExprInt_mkNat(x_491); +x_493 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__12; +x_494 = l_Lean_reflBoolTrue; +x_495 = l_Lean_mkApp10(x_493, x_2, x_477, x_445, x_479, x_449, x_492, x_453, x_494, x_434, x_438); +if (lean_is_scalar(x_436)) { + x_496 = lean_alloc_ctor(0, 2, 0); +} else { + x_496 = x_436; +} +lean_ctor_set(x_496, 0, x_495); +lean_ctor_set(x_496, 1, x_439); +x_30 = x_496; +goto block_119; +} +} +} +else +{ +uint8_t x_507; +lean_dec(x_436); +lean_dec(x_434); +lean_dec(x_432); +lean_dec(x_431); +lean_dec(x_2); +lean_dec(x_1); +x_507 = !lean_is_exclusive(x_437); +if (x_507 == 0) +{ +x_30 = x_437; +goto block_119; +} +else +{ +lean_object* x_508; lean_object* x_509; lean_object* x_510; +x_508 = lean_ctor_get(x_437, 0); +x_509 = lean_ctor_get(x_437, 1); +lean_inc(x_509); +lean_inc(x_508); +lean_dec(x_437); +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_508); +lean_ctor_set(x_510, 1, x_509); +x_30 = x_510; +goto block_119; +} +} +} +else +{ +uint8_t x_511; +lean_dec(x_432); +lean_dec(x_431); +lean_dec(x_2); +lean_dec(x_1); +x_511 = !lean_is_exclusive(x_433); +if (x_511 == 0) +{ +x_30 = x_433; +goto block_119; +} +else +{ +lean_object* x_512; lean_object* x_513; lean_object* x_514; +x_512 = lean_ctor_get(x_433, 0); +x_513 = lean_ctor_get(x_433, 1); +lean_inc(x_513); +lean_inc(x_512); +lean_dec(x_433); +x_514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_514, 0, x_512); +lean_ctor_set(x_514, 1, x_513); +x_30 = x_514; +goto block_119; } } } case 5: { -lean_object* x_514; lean_object* x_515; +lean_object* x_515; lean_object* x_516; lean_dec(x_18); -x_514 = lean_ctor_get(x_13, 0); -lean_inc(x_514); +x_515 = lean_ctor_get(x_13, 0); +lean_inc(x_515); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_514); -x_515 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_514, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_515) == 0) +lean_inc(x_515); +x_516 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_515, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_516) == 0) { -uint8_t x_516; -x_516 = !lean_is_exclusive(x_515); -if (x_516 == 0) +uint8_t x_517; +x_517 = !lean_is_exclusive(x_516); +if (x_517 == 0) { -lean_object* x_517; lean_object* x_518; lean_object* x_519; uint8_t x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; uint8_t x_524; lean_object* x_525; lean_object* x_526; -x_517 = lean_ctor_get(x_515, 0); -x_518 = lean_ctor_get(x_514, 0); -lean_inc(x_518); -x_519 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_520 = lean_int_dec_le(x_519, x_518); -x_521 = lean_ctor_get(x_514, 1); -lean_inc(x_521); -lean_dec(x_514); -x_522 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_521); -x_523 = lean_ctor_get(x_1, 0); -lean_inc(x_523); -x_524 = lean_int_dec_le(x_519, x_523); -x_525 = lean_ctor_get(x_1, 1); -lean_inc(x_525); -lean_dec(x_1); -x_526 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_525); -if (x_520 == 0) -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; -x_527 = lean_int_neg(x_518); -lean_dec(x_518); -x_528 = l_Int_toNat(x_527); -lean_dec(x_527); -x_529 = l_Lean_instToExprInt_mkNat(x_528); -x_530 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_531 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_532 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_533 = l_Lean_mkApp3(x_530, x_531, x_532, x_529); -if (x_524 == 0) -{ -lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; -x_534 = lean_int_neg(x_523); -lean_dec(x_523); -x_535 = l_Int_toNat(x_534); -lean_dec(x_534); -x_536 = l_Lean_instToExprInt_mkNat(x_535); -x_537 = l_Lean_mkApp3(x_530, x_531, x_532, x_536); -x_538 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; -x_539 = l_Lean_reflBoolTrue; -x_540 = l_Lean_mkApp7(x_538, x_2, x_533, x_522, x_537, x_526, x_539, x_517); -lean_ctor_set(x_515, 0, x_540); -x_31 = x_515; -goto block_118; -} -else -{ -lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; -x_541 = l_Int_toNat(x_523); -lean_dec(x_523); -x_542 = l_Lean_instToExprInt_mkNat(x_541); -x_543 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; -x_544 = l_Lean_reflBoolTrue; -x_545 = l_Lean_mkApp7(x_543, x_2, x_533, x_522, x_542, x_526, x_544, x_517); -lean_ctor_set(x_515, 0, x_545); -x_31 = x_515; -goto block_118; -} -} -else -{ -lean_object* x_546; lean_object* x_547; -x_546 = l_Int_toNat(x_518); -lean_dec(x_518); -x_547 = l_Lean_instToExprInt_mkNat(x_546); -if (x_524 == 0) -{ -lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; -x_548 = lean_int_neg(x_523); -lean_dec(x_523); -x_549 = l_Int_toNat(x_548); -lean_dec(x_548); -x_550 = l_Lean_instToExprInt_mkNat(x_549); -x_551 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_552 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_553 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_554 = l_Lean_mkApp3(x_551, x_552, x_553, x_550); -x_555 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; -x_556 = l_Lean_reflBoolTrue; -x_557 = l_Lean_mkApp7(x_555, x_2, x_547, x_522, x_554, x_526, x_556, x_517); -lean_ctor_set(x_515, 0, x_557); -x_31 = x_515; -goto block_118; -} -else -{ -lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; -x_558 = l_Int_toNat(x_523); -lean_dec(x_523); -x_559 = l_Lean_instToExprInt_mkNat(x_558); -x_560 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; -x_561 = l_Lean_reflBoolTrue; -x_562 = l_Lean_mkApp7(x_560, x_2, x_547, x_522, x_559, x_526, x_561, x_517); -lean_ctor_set(x_515, 0, x_562); -x_31 = x_515; -goto block_118; -} -} -} -else -{ -lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; uint8_t x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; uint8_t x_571; lean_object* x_572; lean_object* x_573; -x_563 = lean_ctor_get(x_515, 0); -x_564 = lean_ctor_get(x_515, 1); -lean_inc(x_564); -lean_inc(x_563); +lean_object* x_518; lean_object* x_519; lean_object* x_520; uint8_t x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; uint8_t x_525; lean_object* x_526; lean_object* x_527; +x_518 = lean_ctor_get(x_516, 0); +x_519 = lean_ctor_get(x_515, 0); +lean_inc(x_519); +x_520 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_521 = lean_int_dec_le(x_520, x_519); +x_522 = lean_ctor_get(x_515, 1); +lean_inc(x_522); lean_dec(x_515); -x_565 = lean_ctor_get(x_514, 0); -lean_inc(x_565); -x_566 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_567 = lean_int_dec_le(x_566, x_565); -x_568 = lean_ctor_get(x_514, 1); -lean_inc(x_568); -lean_dec(x_514); -x_569 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_568); -x_570 = lean_ctor_get(x_1, 0); -lean_inc(x_570); -x_571 = lean_int_dec_le(x_566, x_570); -x_572 = lean_ctor_get(x_1, 1); -lean_inc(x_572); +x_523 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_522); +x_524 = lean_ctor_get(x_1, 0); +lean_inc(x_524); +x_525 = lean_int_dec_le(x_520, x_524); +x_526 = lean_ctor_get(x_1, 1); +lean_inc(x_526); lean_dec(x_1); -x_573 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_572); -if (x_567 == 0) +x_527 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_526); +if (x_521 == 0) { -lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; -x_574 = lean_int_neg(x_565); -lean_dec(x_565); -x_575 = l_Int_toNat(x_574); -lean_dec(x_574); -x_576 = l_Lean_instToExprInt_mkNat(x_575); -x_577 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_578 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_579 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_580 = l_Lean_mkApp3(x_577, x_578, x_579, x_576); -if (x_571 == 0) +lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; +x_528 = lean_int_neg(x_519); +lean_dec(x_519); +x_529 = l_Int_toNat(x_528); +lean_dec(x_528); +x_530 = l_Lean_instToExprInt_mkNat(x_529); +x_531 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_532 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_533 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_534 = l_Lean_mkApp3(x_531, x_532, x_533, x_530); +if (x_525 == 0) { -lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; -x_581 = lean_int_neg(x_570); -lean_dec(x_570); -x_582 = l_Int_toNat(x_581); -lean_dec(x_581); -x_583 = l_Lean_instToExprInt_mkNat(x_582); -x_584 = l_Lean_mkApp3(x_577, x_578, x_579, x_583); -x_585 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; -x_586 = l_Lean_reflBoolTrue; -x_587 = l_Lean_mkApp7(x_585, x_2, x_580, x_569, x_584, x_573, x_586, x_563); -x_588 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_588, 0, x_587); -lean_ctor_set(x_588, 1, x_564); -x_31 = x_588; -goto block_118; +lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; +x_535 = lean_int_neg(x_524); +lean_dec(x_524); +x_536 = l_Int_toNat(x_535); +lean_dec(x_535); +x_537 = l_Lean_instToExprInt_mkNat(x_536); +x_538 = l_Lean_mkApp3(x_531, x_532, x_533, x_537); +x_539 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; +x_540 = l_Lean_reflBoolTrue; +x_541 = l_Lean_mkApp7(x_539, x_2, x_534, x_523, x_538, x_527, x_540, x_518); +lean_ctor_set(x_516, 0, x_541); +x_30 = x_516; +goto block_119; } else { -lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -x_589 = l_Int_toNat(x_570); -lean_dec(x_570); -x_590 = l_Lean_instToExprInt_mkNat(x_589); -x_591 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; -x_592 = l_Lean_reflBoolTrue; -x_593 = l_Lean_mkApp7(x_591, x_2, x_580, x_569, x_590, x_573, x_592, x_563); -x_594 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_594, 0, x_593); -lean_ctor_set(x_594, 1, x_564); -x_31 = x_594; -goto block_118; +lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; +x_542 = l_Int_toNat(x_524); +lean_dec(x_524); +x_543 = l_Lean_instToExprInt_mkNat(x_542); +x_544 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; +x_545 = l_Lean_reflBoolTrue; +x_546 = l_Lean_mkApp7(x_544, x_2, x_534, x_523, x_543, x_527, x_545, x_518); +lean_ctor_set(x_516, 0, x_546); +x_30 = x_516; +goto block_119; } } else { -lean_object* x_595; lean_object* x_596; -x_595 = l_Int_toNat(x_565); -lean_dec(x_565); -x_596 = l_Lean_instToExprInt_mkNat(x_595); -if (x_571 == 0) +lean_object* x_547; lean_object* x_548; +x_547 = l_Int_toNat(x_519); +lean_dec(x_519); +x_548 = l_Lean_instToExprInt_mkNat(x_547); +if (x_525 == 0) { -lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; -x_597 = lean_int_neg(x_570); -lean_dec(x_570); -x_598 = l_Int_toNat(x_597); -lean_dec(x_597); -x_599 = l_Lean_instToExprInt_mkNat(x_598); -x_600 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_601 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_602 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_603 = l_Lean_mkApp3(x_600, x_601, x_602, x_599); -x_604 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; -x_605 = l_Lean_reflBoolTrue; -x_606 = l_Lean_mkApp7(x_604, x_2, x_596, x_569, x_603, x_573, x_605, x_563); -x_607 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_607, 0, x_606); -lean_ctor_set(x_607, 1, x_564); -x_31 = x_607; -goto block_118; +lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; +x_549 = lean_int_neg(x_524); +lean_dec(x_524); +x_550 = l_Int_toNat(x_549); +lean_dec(x_549); +x_551 = l_Lean_instToExprInt_mkNat(x_550); +x_552 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_553 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_554 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_555 = l_Lean_mkApp3(x_552, x_553, x_554, x_551); +x_556 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; +x_557 = l_Lean_reflBoolTrue; +x_558 = l_Lean_mkApp7(x_556, x_2, x_548, x_523, x_555, x_527, x_557, x_518); +lean_ctor_set(x_516, 0, x_558); +x_30 = x_516; +goto block_119; } else { -lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; -x_608 = l_Int_toNat(x_570); -lean_dec(x_570); -x_609 = l_Lean_instToExprInt_mkNat(x_608); -x_610 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; -x_611 = l_Lean_reflBoolTrue; -x_612 = l_Lean_mkApp7(x_610, x_2, x_596, x_569, x_609, x_573, x_611, x_563); -x_613 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_613, 0, x_612); -lean_ctor_set(x_613, 1, x_564); -x_31 = x_613; -goto block_118; +lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; +x_559 = l_Int_toNat(x_524); +lean_dec(x_524); +x_560 = l_Lean_instToExprInt_mkNat(x_559); +x_561 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; +x_562 = l_Lean_reflBoolTrue; +x_563 = l_Lean_mkApp7(x_561, x_2, x_548, x_523, x_560, x_527, x_562, x_518); +lean_ctor_set(x_516, 0, x_563); +x_30 = x_516; +goto block_119; +} +} +} +else +{ +lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; uint8_t x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; lean_object* x_573; lean_object* x_574; +x_564 = lean_ctor_get(x_516, 0); +x_565 = lean_ctor_get(x_516, 1); +lean_inc(x_565); +lean_inc(x_564); +lean_dec(x_516); +x_566 = lean_ctor_get(x_515, 0); +lean_inc(x_566); +x_567 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_568 = lean_int_dec_le(x_567, x_566); +x_569 = lean_ctor_get(x_515, 1); +lean_inc(x_569); +lean_dec(x_515); +x_570 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_569); +x_571 = lean_ctor_get(x_1, 0); +lean_inc(x_571); +x_572 = lean_int_dec_le(x_567, x_571); +x_573 = lean_ctor_get(x_1, 1); +lean_inc(x_573); +lean_dec(x_1); +x_574 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_573); +if (x_568 == 0) +{ +lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; +x_575 = lean_int_neg(x_566); +lean_dec(x_566); +x_576 = l_Int_toNat(x_575); +lean_dec(x_575); +x_577 = l_Lean_instToExprInt_mkNat(x_576); +x_578 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_579 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_580 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_581 = l_Lean_mkApp3(x_578, x_579, x_580, x_577); +if (x_572 == 0) +{ +lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; +x_582 = lean_int_neg(x_571); +lean_dec(x_571); +x_583 = l_Int_toNat(x_582); +lean_dec(x_582); +x_584 = l_Lean_instToExprInt_mkNat(x_583); +x_585 = l_Lean_mkApp3(x_578, x_579, x_580, x_584); +x_586 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; +x_587 = l_Lean_reflBoolTrue; +x_588 = l_Lean_mkApp7(x_586, x_2, x_581, x_570, x_585, x_574, x_587, x_564); +x_589 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_589, 0, x_588); +lean_ctor_set(x_589, 1, x_565); +x_30 = x_589; +goto block_119; +} +else +{ +lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; +x_590 = l_Int_toNat(x_571); +lean_dec(x_571); +x_591 = l_Lean_instToExprInt_mkNat(x_590); +x_592 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; +x_593 = l_Lean_reflBoolTrue; +x_594 = l_Lean_mkApp7(x_592, x_2, x_581, x_570, x_591, x_574, x_593, x_564); +x_595 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_595, 0, x_594); +lean_ctor_set(x_595, 1, x_565); +x_30 = x_595; +goto block_119; +} +} +else +{ +lean_object* x_596; lean_object* x_597; +x_596 = l_Int_toNat(x_566); +lean_dec(x_566); +x_597 = l_Lean_instToExprInt_mkNat(x_596); +if (x_572 == 0) +{ +lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; +x_598 = lean_int_neg(x_571); +lean_dec(x_571); +x_599 = l_Int_toNat(x_598); +lean_dec(x_598); +x_600 = l_Lean_instToExprInt_mkNat(x_599); +x_601 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_602 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_603 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_604 = l_Lean_mkApp3(x_601, x_602, x_603, x_600); +x_605 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; +x_606 = l_Lean_reflBoolTrue; +x_607 = l_Lean_mkApp7(x_605, x_2, x_597, x_570, x_604, x_574, x_606, x_564); +x_608 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_608, 0, x_607); +lean_ctor_set(x_608, 1, x_565); +x_30 = x_608; +goto block_119; +} +else +{ +lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; +x_609 = l_Int_toNat(x_571); +lean_dec(x_571); +x_610 = l_Lean_instToExprInt_mkNat(x_609); +x_611 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__15; +x_612 = l_Lean_reflBoolTrue; +x_613 = l_Lean_mkApp7(x_611, x_2, x_597, x_570, x_610, x_574, x_612, x_564); +x_614 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_614, 0, x_613); +lean_ctor_set(x_614, 1, x_565); +x_30 = x_614; +goto block_119; } } } } else { -uint8_t x_614; -lean_dec(x_514); +uint8_t x_615; +lean_dec(x_515); lean_dec(x_2); lean_dec(x_1); -x_614 = !lean_is_exclusive(x_515); -if (x_614 == 0) +x_615 = !lean_is_exclusive(x_516); +if (x_615 == 0) { -x_31 = x_515; -goto block_118; +x_30 = x_516; +goto block_119; } else { -lean_object* x_615; lean_object* x_616; lean_object* x_617; -x_615 = lean_ctor_get(x_515, 0); -x_616 = lean_ctor_get(x_515, 1); +lean_object* x_616; lean_object* x_617; lean_object* x_618; +x_616 = lean_ctor_get(x_516, 0); +x_617 = lean_ctor_get(x_516, 1); +lean_inc(x_617); lean_inc(x_616); -lean_inc(x_615); -lean_dec(x_515); -x_617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_617, 0, x_615); -lean_ctor_set(x_617, 1, x_616); -x_31 = x_617; -goto block_118; +lean_dec(x_516); +x_618 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_618, 0, x_616); +lean_ctor_set(x_618, 1, x_617); +x_30 = x_618; +goto block_119; } } } case 6: { -lean_object* x_618; lean_object* x_619; lean_object* x_620; +lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_dec(x_18); -x_618 = lean_ctor_get(x_13, 0); -lean_inc(x_618); -x_619 = lean_ctor_get(x_13, 1); +x_619 = lean_ctor_get(x_13, 0); lean_inc(x_619); +x_620 = lean_ctor_get(x_13, 1); +lean_inc(x_620); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_619); -x_620 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_619, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_620) == 0) +lean_inc(x_620); +x_621 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_620, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_621) == 0) { -uint8_t x_621; -x_621 = !lean_is_exclusive(x_620); -if (x_621 == 0) +uint8_t x_622; +x_622 = !lean_is_exclusive(x_621); +if (x_622 == 0) { -lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; uint8_t x_628; lean_object* x_629; lean_object* x_630; -x_622 = lean_ctor_get(x_620, 0); -x_623 = l_Lean_mkNatLit(x_618); -x_624 = lean_ctor_get(x_619, 0); -lean_inc(x_624); -lean_dec(x_619); -x_625 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_624); -x_626 = lean_ctor_get(x_1, 0); -lean_inc(x_626); -x_627 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_628 = lean_int_dec_le(x_627, x_626); -x_629 = lean_ctor_get(x_1, 1); -lean_inc(x_629); -lean_dec(x_1); -x_630 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_629); -if (x_628 == 0) -{ -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; -x_631 = lean_int_neg(x_626); -lean_dec(x_626); -x_632 = l_Int_toNat(x_631); -lean_dec(x_631); -x_633 = l_Lean_instToExprInt_mkNat(x_632); -x_634 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_635 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_636 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_637 = l_Lean_mkApp3(x_634, x_635, x_636, x_633); -x_638 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__18; -x_639 = l_Lean_reflBoolTrue; -x_640 = l_Lean_mkApp7(x_638, x_2, x_623, x_625, x_637, x_630, x_639, x_622); -lean_ctor_set(x_620, 0, x_640); -x_31 = x_620; -goto block_118; -} -else -{ -lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; -x_641 = l_Int_toNat(x_626); -lean_dec(x_626); -x_642 = l_Lean_instToExprInt_mkNat(x_641); -x_643 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__18; -x_644 = l_Lean_reflBoolTrue; -x_645 = l_Lean_mkApp7(x_643, x_2, x_623, x_625, x_642, x_630, x_644, x_622); -lean_ctor_set(x_620, 0, x_645); -x_31 = x_620; -goto block_118; -} -} -else -{ -lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; uint8_t x_653; lean_object* x_654; lean_object* x_655; -x_646 = lean_ctor_get(x_620, 0); -x_647 = lean_ctor_get(x_620, 1); -lean_inc(x_647); -lean_inc(x_646); +lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; uint8_t x_629; lean_object* x_630; lean_object* x_631; +x_623 = lean_ctor_get(x_621, 0); +x_624 = l_Lean_mkNatLit(x_619); +x_625 = lean_ctor_get(x_620, 0); +lean_inc(x_625); lean_dec(x_620); -x_648 = l_Lean_mkNatLit(x_618); -x_649 = lean_ctor_get(x_619, 0); -lean_inc(x_649); -lean_dec(x_619); -x_650 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_649); -x_651 = lean_ctor_get(x_1, 0); -lean_inc(x_651); -x_652 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_653 = lean_int_dec_le(x_652, x_651); -x_654 = lean_ctor_get(x_1, 1); -lean_inc(x_654); +x_626 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_625); +x_627 = lean_ctor_get(x_1, 0); +lean_inc(x_627); +x_628 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_629 = lean_int_dec_le(x_628, x_627); +x_630 = lean_ctor_get(x_1, 1); +lean_inc(x_630); lean_dec(x_1); -x_655 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_654); -if (x_653 == 0) +x_631 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_630); +if (x_629 == 0) { -lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; -x_656 = lean_int_neg(x_651); -lean_dec(x_651); -x_657 = l_Int_toNat(x_656); -lean_dec(x_656); -x_658 = l_Lean_instToExprInt_mkNat(x_657); -x_659 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_660 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_661 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_662 = l_Lean_mkApp3(x_659, x_660, x_661, x_658); -x_663 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__18; -x_664 = l_Lean_reflBoolTrue; -x_665 = l_Lean_mkApp7(x_663, x_2, x_648, x_650, x_662, x_655, x_664, x_646); -x_666 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_666, 0, x_665); -lean_ctor_set(x_666, 1, x_647); -x_31 = x_666; -goto block_118; +lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; +x_632 = lean_int_neg(x_627); +lean_dec(x_627); +x_633 = l_Int_toNat(x_632); +lean_dec(x_632); +x_634 = l_Lean_instToExprInt_mkNat(x_633); +x_635 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_636 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_637 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_638 = l_Lean_mkApp3(x_635, x_636, x_637, x_634); +x_639 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__18; +x_640 = l_Lean_reflBoolTrue; +x_641 = l_Lean_mkApp7(x_639, x_2, x_624, x_626, x_638, x_631, x_640, x_623); +lean_ctor_set(x_621, 0, x_641); +x_30 = x_621; +goto block_119; } else { -lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; -x_667 = l_Int_toNat(x_651); -lean_dec(x_651); -x_668 = l_Lean_instToExprInt_mkNat(x_667); -x_669 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__18; -x_670 = l_Lean_reflBoolTrue; -x_671 = l_Lean_mkApp7(x_669, x_2, x_648, x_650, x_668, x_655, x_670, x_646); -x_672 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_672, 0, x_671); -lean_ctor_set(x_672, 1, x_647); -x_31 = x_672; -goto block_118; +lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; +x_642 = l_Int_toNat(x_627); +lean_dec(x_627); +x_643 = l_Lean_instToExprInt_mkNat(x_642); +x_644 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__18; +x_645 = l_Lean_reflBoolTrue; +x_646 = l_Lean_mkApp7(x_644, x_2, x_624, x_626, x_643, x_631, x_645, x_623); +lean_ctor_set(x_621, 0, x_646); +x_30 = x_621; +goto block_119; +} +} +else +{ +lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; uint8_t x_654; lean_object* x_655; lean_object* x_656; +x_647 = lean_ctor_get(x_621, 0); +x_648 = lean_ctor_get(x_621, 1); +lean_inc(x_648); +lean_inc(x_647); +lean_dec(x_621); +x_649 = l_Lean_mkNatLit(x_619); +x_650 = lean_ctor_get(x_620, 0); +lean_inc(x_650); +lean_dec(x_620); +x_651 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_650); +x_652 = lean_ctor_get(x_1, 0); +lean_inc(x_652); +x_653 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_654 = lean_int_dec_le(x_653, x_652); +x_655 = lean_ctor_get(x_1, 1); +lean_inc(x_655); +lean_dec(x_1); +x_656 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_655); +if (x_654 == 0) +{ +lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; +x_657 = lean_int_neg(x_652); +lean_dec(x_652); +x_658 = l_Int_toNat(x_657); +lean_dec(x_657); +x_659 = l_Lean_instToExprInt_mkNat(x_658); +x_660 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_661 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_662 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_663 = l_Lean_mkApp3(x_660, x_661, x_662, x_659); +x_664 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__18; +x_665 = l_Lean_reflBoolTrue; +x_666 = l_Lean_mkApp7(x_664, x_2, x_649, x_651, x_663, x_656, x_665, x_647); +x_667 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_667, 0, x_666); +lean_ctor_set(x_667, 1, x_648); +x_30 = x_667; +goto block_119; +} +else +{ +lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; +x_668 = l_Int_toNat(x_652); +lean_dec(x_652); +x_669 = l_Lean_instToExprInt_mkNat(x_668); +x_670 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__18; +x_671 = l_Lean_reflBoolTrue; +x_672 = l_Lean_mkApp7(x_670, x_2, x_649, x_651, x_669, x_656, x_671, x_647); +x_673 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_673, 0, x_672); +lean_ctor_set(x_673, 1, x_648); +x_30 = x_673; +goto block_119; } } } else { -uint8_t x_673; +uint8_t x_674; +lean_dec(x_620); lean_dec(x_619); -lean_dec(x_618); lean_dec(x_2); lean_dec(x_1); -x_673 = !lean_is_exclusive(x_620); -if (x_673 == 0) +x_674 = !lean_is_exclusive(x_621); +if (x_674 == 0) { -x_31 = x_620; -goto block_118; +x_30 = x_621; +goto block_119; } else { -lean_object* x_674; lean_object* x_675; lean_object* x_676; -x_674 = lean_ctor_get(x_620, 0); -x_675 = lean_ctor_get(x_620, 1); +lean_object* x_675; lean_object* x_676; lean_object* x_677; +x_675 = lean_ctor_get(x_621, 0); +x_676 = lean_ctor_get(x_621, 1); +lean_inc(x_676); lean_inc(x_675); -lean_inc(x_674); -lean_dec(x_620); -x_676 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_676, 0, x_674); -lean_ctor_set(x_676, 1, x_675); -x_31 = x_676; -goto block_118; +lean_dec(x_621); +x_677 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_677, 0, x_675); +lean_ctor_set(x_677, 1, x_676); +x_30 = x_677; +goto block_119; } } } case 7: { -lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; +lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_dec(x_18); -x_677 = lean_ctor_get(x_13, 0); -lean_inc(x_677); -x_678 = lean_ctor_get(x_13, 1); +x_678 = lean_ctor_get(x_13, 0); lean_inc(x_678); -x_679 = lean_ctor_get(x_13, 2); +x_679 = lean_ctor_get(x_13, 1); lean_inc(x_679); +x_680 = lean_ctor_get(x_13, 2); +lean_inc(x_680); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_678); -x_680 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_678, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_680) == 0) -{ -lean_object* x_681; lean_object* x_682; lean_object* x_683; -x_681 = lean_ctor_get(x_680, 0); -lean_inc(x_681); -x_682 = lean_ctor_get(x_680, 1); -lean_inc(x_682); -lean_dec(x_680); -lean_inc(x_2); lean_inc(x_679); -x_683 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_679, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_682); -if (lean_obj_tag(x_683) == 0) +x_681 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_679, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_681) == 0) { -uint8_t x_684; -x_684 = !lean_is_exclusive(x_683); -if (x_684 == 0) -{ -lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; uint8_t x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; uint8_t x_695; lean_object* x_696; lean_object* x_697; -x_685 = lean_ctor_get(x_683, 0); -x_686 = l_Lean_mkNatLit(x_677); -x_687 = lean_ctor_get(x_678, 0); -lean_inc(x_687); -lean_dec(x_678); -x_688 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_687); -x_689 = lean_ctor_get(x_679, 0); -lean_inc(x_689); -x_690 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_691 = lean_int_dec_le(x_690, x_689); -x_692 = lean_ctor_get(x_679, 1); -lean_inc(x_692); -lean_dec(x_679); -x_693 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_692); -x_694 = lean_ctor_get(x_1, 0); -lean_inc(x_694); -x_695 = lean_int_dec_le(x_690, x_694); -x_696 = lean_ctor_get(x_1, 1); -lean_inc(x_696); -lean_dec(x_1); -x_697 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_696); -if (x_691 == 0) -{ -lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; -x_698 = lean_int_neg(x_689); -lean_dec(x_689); -x_699 = l_Int_toNat(x_698); -lean_dec(x_698); -x_700 = l_Lean_instToExprInt_mkNat(x_699); -x_701 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_702 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_703 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_704 = l_Lean_mkApp3(x_701, x_702, x_703, x_700); -if (x_695 == 0) -{ -lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; -x_705 = lean_int_neg(x_694); -lean_dec(x_694); -x_706 = l_Int_toNat(x_705); -lean_dec(x_705); -x_707 = l_Lean_instToExprInt_mkNat(x_706); -x_708 = l_Lean_mkApp3(x_701, x_702, x_703, x_707); -x_709 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; -x_710 = l_Lean_reflBoolTrue; -x_711 = l_Lean_mkApp10(x_709, x_2, x_686, x_688, x_704, x_693, x_708, x_697, x_710, x_681, x_685); -lean_ctor_set(x_683, 0, x_711); -x_31 = x_683; -goto block_118; -} -else -{ -lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; -x_712 = l_Int_toNat(x_694); -lean_dec(x_694); -x_713 = l_Lean_instToExprInt_mkNat(x_712); -x_714 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; -x_715 = l_Lean_reflBoolTrue; -x_716 = l_Lean_mkApp10(x_714, x_2, x_686, x_688, x_704, x_693, x_713, x_697, x_715, x_681, x_685); -lean_ctor_set(x_683, 0, x_716); -x_31 = x_683; -goto block_118; -} -} -else -{ -lean_object* x_717; lean_object* x_718; -x_717 = l_Int_toNat(x_689); -lean_dec(x_689); -x_718 = l_Lean_instToExprInt_mkNat(x_717); -if (x_695 == 0) -{ -lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; -x_719 = lean_int_neg(x_694); -lean_dec(x_694); -x_720 = l_Int_toNat(x_719); -lean_dec(x_719); -x_721 = l_Lean_instToExprInt_mkNat(x_720); -x_722 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_723 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_724 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_725 = l_Lean_mkApp3(x_722, x_723, x_724, x_721); -x_726 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; -x_727 = l_Lean_reflBoolTrue; -x_728 = l_Lean_mkApp10(x_726, x_2, x_686, x_688, x_718, x_693, x_725, x_697, x_727, x_681, x_685); -lean_ctor_set(x_683, 0, x_728); -x_31 = x_683; -goto block_118; -} -else -{ -lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; -x_729 = l_Int_toNat(x_694); -lean_dec(x_694); -x_730 = l_Lean_instToExprInt_mkNat(x_729); -x_731 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; -x_732 = l_Lean_reflBoolTrue; -x_733 = l_Lean_mkApp10(x_731, x_2, x_686, x_688, x_718, x_693, x_730, x_697, x_732, x_681, x_685); -lean_ctor_set(x_683, 0, x_733); -x_31 = x_683; -goto block_118; -} -} -} -else -{ -lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; uint8_t x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; uint8_t x_745; lean_object* x_746; lean_object* x_747; -x_734 = lean_ctor_get(x_683, 0); -x_735 = lean_ctor_get(x_683, 1); -lean_inc(x_735); -lean_inc(x_734); -lean_dec(x_683); -x_736 = l_Lean_mkNatLit(x_677); -x_737 = lean_ctor_get(x_678, 0); -lean_inc(x_737); -lean_dec(x_678); -x_738 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_737); -x_739 = lean_ctor_get(x_679, 0); -lean_inc(x_739); -x_740 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_741 = lean_int_dec_le(x_740, x_739); -x_742 = lean_ctor_get(x_679, 1); -lean_inc(x_742); -lean_dec(x_679); -x_743 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_742); -x_744 = lean_ctor_get(x_1, 0); -lean_inc(x_744); -x_745 = lean_int_dec_le(x_740, x_744); -x_746 = lean_ctor_get(x_1, 1); -lean_inc(x_746); -lean_dec(x_1); -x_747 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_746); -if (x_741 == 0) -{ -lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; -x_748 = lean_int_neg(x_739); -lean_dec(x_739); -x_749 = l_Int_toNat(x_748); -lean_dec(x_748); -x_750 = l_Lean_instToExprInt_mkNat(x_749); -x_751 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_752 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_753 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_754 = l_Lean_mkApp3(x_751, x_752, x_753, x_750); -if (x_745 == 0) -{ -lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; -x_755 = lean_int_neg(x_744); -lean_dec(x_744); -x_756 = l_Int_toNat(x_755); -lean_dec(x_755); -x_757 = l_Lean_instToExprInt_mkNat(x_756); -x_758 = l_Lean_mkApp3(x_751, x_752, x_753, x_757); -x_759 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; -x_760 = l_Lean_reflBoolTrue; -x_761 = l_Lean_mkApp10(x_759, x_2, x_736, x_738, x_754, x_743, x_758, x_747, x_760, x_681, x_734); -x_762 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_762, 0, x_761); -lean_ctor_set(x_762, 1, x_735); -x_31 = x_762; -goto block_118; -} -else -{ -lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; -x_763 = l_Int_toNat(x_744); -lean_dec(x_744); -x_764 = l_Lean_instToExprInt_mkNat(x_763); -x_765 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; -x_766 = l_Lean_reflBoolTrue; -x_767 = l_Lean_mkApp10(x_765, x_2, x_736, x_738, x_754, x_743, x_764, x_747, x_766, x_681, x_734); -x_768 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_768, 0, x_767); -lean_ctor_set(x_768, 1, x_735); -x_31 = x_768; -goto block_118; -} -} -else -{ -lean_object* x_769; lean_object* x_770; -x_769 = l_Int_toNat(x_739); -lean_dec(x_739); -x_770 = l_Lean_instToExprInt_mkNat(x_769); -if (x_745 == 0) -{ -lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; -x_771 = lean_int_neg(x_744); -lean_dec(x_744); -x_772 = l_Int_toNat(x_771); -lean_dec(x_771); -x_773 = l_Lean_instToExprInt_mkNat(x_772); -x_774 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_775 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_776 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_777 = l_Lean_mkApp3(x_774, x_775, x_776, x_773); -x_778 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; -x_779 = l_Lean_reflBoolTrue; -x_780 = l_Lean_mkApp10(x_778, x_2, x_736, x_738, x_770, x_743, x_777, x_747, x_779, x_681, x_734); -x_781 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_781, 0, x_780); -lean_ctor_set(x_781, 1, x_735); -x_31 = x_781; -goto block_118; -} -else -{ -lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; -x_782 = l_Int_toNat(x_744); -lean_dec(x_744); -x_783 = l_Lean_instToExprInt_mkNat(x_782); -x_784 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; -x_785 = l_Lean_reflBoolTrue; -x_786 = l_Lean_mkApp10(x_784, x_2, x_736, x_738, x_770, x_743, x_783, x_747, x_785, x_681, x_734); -x_787 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_787, 0, x_786); -lean_ctor_set(x_787, 1, x_735); -x_31 = x_787; -goto block_118; -} -} -} -} -else -{ -uint8_t x_788; +lean_object* x_682; lean_object* x_683; lean_object* x_684; +x_682 = lean_ctor_get(x_681, 0); +lean_inc(x_682); +x_683 = lean_ctor_get(x_681, 1); +lean_inc(x_683); lean_dec(x_681); +lean_inc(x_2); +lean_inc(x_680); +x_684 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_680, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_683); +if (lean_obj_tag(x_684) == 0) +{ +uint8_t x_685; +x_685 = !lean_is_exclusive(x_684); +if (x_685 == 0) +{ +lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; uint8_t x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; uint8_t x_696; lean_object* x_697; lean_object* x_698; +x_686 = lean_ctor_get(x_684, 0); +x_687 = l_Lean_mkNatLit(x_678); +x_688 = lean_ctor_get(x_679, 0); +lean_inc(x_688); lean_dec(x_679); -lean_dec(x_678); -lean_dec(x_677); -lean_dec(x_2); -lean_dec(x_1); -x_788 = !lean_is_exclusive(x_683); -if (x_788 == 0) -{ -x_31 = x_683; -goto block_118; -} -else -{ -lean_object* x_789; lean_object* x_790; lean_object* x_791; -x_789 = lean_ctor_get(x_683, 0); -x_790 = lean_ctor_get(x_683, 1); -lean_inc(x_790); -lean_inc(x_789); -lean_dec(x_683); -x_791 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_791, 0, x_789); -lean_ctor_set(x_791, 1, x_790); -x_31 = x_791; -goto block_118; -} -} -} -else -{ -uint8_t x_792; -lean_dec(x_679); -lean_dec(x_678); -lean_dec(x_677); -lean_dec(x_2); -lean_dec(x_1); -x_792 = !lean_is_exclusive(x_680); -if (x_792 == 0) -{ -x_31 = x_680; -goto block_118; -} -else -{ -lean_object* x_793; lean_object* x_794; lean_object* x_795; -x_793 = lean_ctor_get(x_680, 0); -x_794 = lean_ctor_get(x_680, 1); -lean_inc(x_794); -lean_inc(x_793); +x_689 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_688); +x_690 = lean_ctor_get(x_680, 0); +lean_inc(x_690); +x_691 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_692 = lean_int_dec_le(x_691, x_690); +x_693 = lean_ctor_get(x_680, 1); +lean_inc(x_693); lean_dec(x_680); -x_795 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_795, 0, x_793); -lean_ctor_set(x_795, 1, x_794); -x_31 = x_795; -goto block_118; +x_694 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_693); +x_695 = lean_ctor_get(x_1, 0); +lean_inc(x_695); +x_696 = lean_int_dec_le(x_691, x_695); +x_697 = lean_ctor_get(x_1, 1); +lean_inc(x_697); +lean_dec(x_1); +x_698 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_697); +if (x_692 == 0) +{ +lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; +x_699 = lean_int_neg(x_690); +lean_dec(x_690); +x_700 = l_Int_toNat(x_699); +lean_dec(x_699); +x_701 = l_Lean_instToExprInt_mkNat(x_700); +x_702 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_703 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_704 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_705 = l_Lean_mkApp3(x_702, x_703, x_704, x_701); +if (x_696 == 0) +{ +lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; +x_706 = lean_int_neg(x_695); +lean_dec(x_695); +x_707 = l_Int_toNat(x_706); +lean_dec(x_706); +x_708 = l_Lean_instToExprInt_mkNat(x_707); +x_709 = l_Lean_mkApp3(x_702, x_703, x_704, x_708); +x_710 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; +x_711 = l_Lean_reflBoolTrue; +x_712 = l_Lean_mkApp10(x_710, x_2, x_687, x_689, x_705, x_694, x_709, x_698, x_711, x_682, x_686); +lean_ctor_set(x_684, 0, x_712); +x_30 = x_684; +goto block_119; +} +else +{ +lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; +x_713 = l_Int_toNat(x_695); +lean_dec(x_695); +x_714 = l_Lean_instToExprInt_mkNat(x_713); +x_715 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; +x_716 = l_Lean_reflBoolTrue; +x_717 = l_Lean_mkApp10(x_715, x_2, x_687, x_689, x_705, x_694, x_714, x_698, x_716, x_682, x_686); +lean_ctor_set(x_684, 0, x_717); +x_30 = x_684; +goto block_119; +} +} +else +{ +lean_object* x_718; lean_object* x_719; +x_718 = l_Int_toNat(x_690); +lean_dec(x_690); +x_719 = l_Lean_instToExprInt_mkNat(x_718); +if (x_696 == 0) +{ +lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; +x_720 = lean_int_neg(x_695); +lean_dec(x_695); +x_721 = l_Int_toNat(x_720); +lean_dec(x_720); +x_722 = l_Lean_instToExprInt_mkNat(x_721); +x_723 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_724 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_725 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_726 = l_Lean_mkApp3(x_723, x_724, x_725, x_722); +x_727 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; +x_728 = l_Lean_reflBoolTrue; +x_729 = l_Lean_mkApp10(x_727, x_2, x_687, x_689, x_719, x_694, x_726, x_698, x_728, x_682, x_686); +lean_ctor_set(x_684, 0, x_729); +x_30 = x_684; +goto block_119; +} +else +{ +lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; +x_730 = l_Int_toNat(x_695); +lean_dec(x_695); +x_731 = l_Lean_instToExprInt_mkNat(x_730); +x_732 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; +x_733 = l_Lean_reflBoolTrue; +x_734 = l_Lean_mkApp10(x_732, x_2, x_687, x_689, x_719, x_694, x_731, x_698, x_733, x_682, x_686); +lean_ctor_set(x_684, 0, x_734); +x_30 = x_684; +goto block_119; +} +} +} +else +{ +lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; uint8_t x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; uint8_t x_746; lean_object* x_747; lean_object* x_748; +x_735 = lean_ctor_get(x_684, 0); +x_736 = lean_ctor_get(x_684, 1); +lean_inc(x_736); +lean_inc(x_735); +lean_dec(x_684); +x_737 = l_Lean_mkNatLit(x_678); +x_738 = lean_ctor_get(x_679, 0); +lean_inc(x_738); +lean_dec(x_679); +x_739 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_738); +x_740 = lean_ctor_get(x_680, 0); +lean_inc(x_740); +x_741 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_742 = lean_int_dec_le(x_741, x_740); +x_743 = lean_ctor_get(x_680, 1); +lean_inc(x_743); +lean_dec(x_680); +x_744 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_743); +x_745 = lean_ctor_get(x_1, 0); +lean_inc(x_745); +x_746 = lean_int_dec_le(x_741, x_745); +x_747 = lean_ctor_get(x_1, 1); +lean_inc(x_747); +lean_dec(x_1); +x_748 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_747); +if (x_742 == 0) +{ +lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; +x_749 = lean_int_neg(x_740); +lean_dec(x_740); +x_750 = l_Int_toNat(x_749); +lean_dec(x_749); +x_751 = l_Lean_instToExprInt_mkNat(x_750); +x_752 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_753 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_754 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_755 = l_Lean_mkApp3(x_752, x_753, x_754, x_751); +if (x_746 == 0) +{ +lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; +x_756 = lean_int_neg(x_745); +lean_dec(x_745); +x_757 = l_Int_toNat(x_756); +lean_dec(x_756); +x_758 = l_Lean_instToExprInt_mkNat(x_757); +x_759 = l_Lean_mkApp3(x_752, x_753, x_754, x_758); +x_760 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; +x_761 = l_Lean_reflBoolTrue; +x_762 = l_Lean_mkApp10(x_760, x_2, x_737, x_739, x_755, x_744, x_759, x_748, x_761, x_682, x_735); +x_763 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_763, 0, x_762); +lean_ctor_set(x_763, 1, x_736); +x_30 = x_763; +goto block_119; +} +else +{ +lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; +x_764 = l_Int_toNat(x_745); +lean_dec(x_745); +x_765 = l_Lean_instToExprInt_mkNat(x_764); +x_766 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; +x_767 = l_Lean_reflBoolTrue; +x_768 = l_Lean_mkApp10(x_766, x_2, x_737, x_739, x_755, x_744, x_765, x_748, x_767, x_682, x_735); +x_769 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_769, 0, x_768); +lean_ctor_set(x_769, 1, x_736); +x_30 = x_769; +goto block_119; +} +} +else +{ +lean_object* x_770; lean_object* x_771; +x_770 = l_Int_toNat(x_740); +lean_dec(x_740); +x_771 = l_Lean_instToExprInt_mkNat(x_770); +if (x_746 == 0) +{ +lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; +x_772 = lean_int_neg(x_745); +lean_dec(x_745); +x_773 = l_Int_toNat(x_772); +lean_dec(x_772); +x_774 = l_Lean_instToExprInt_mkNat(x_773); +x_775 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_776 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_777 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_778 = l_Lean_mkApp3(x_775, x_776, x_777, x_774); +x_779 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; +x_780 = l_Lean_reflBoolTrue; +x_781 = l_Lean_mkApp10(x_779, x_2, x_737, x_739, x_771, x_744, x_778, x_748, x_780, x_682, x_735); +x_782 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_782, 0, x_781); +lean_ctor_set(x_782, 1, x_736); +x_30 = x_782; +goto block_119; +} +else +{ +lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; +x_783 = l_Int_toNat(x_745); +lean_dec(x_745); +x_784 = l_Lean_instToExprInt_mkNat(x_783); +x_785 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__21; +x_786 = l_Lean_reflBoolTrue; +x_787 = l_Lean_mkApp10(x_785, x_2, x_737, x_739, x_771, x_744, x_784, x_748, x_786, x_682, x_735); +x_788 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_788, 0, x_787); +lean_ctor_set(x_788, 1, x_736); +x_30 = x_788; +goto block_119; +} +} +} +} +else +{ +uint8_t x_789; +lean_dec(x_682); +lean_dec(x_680); +lean_dec(x_679); +lean_dec(x_678); +lean_dec(x_2); +lean_dec(x_1); +x_789 = !lean_is_exclusive(x_684); +if (x_789 == 0) +{ +x_30 = x_684; +goto block_119; +} +else +{ +lean_object* x_790; lean_object* x_791; lean_object* x_792; +x_790 = lean_ctor_get(x_684, 0); +x_791 = lean_ctor_get(x_684, 1); +lean_inc(x_791); +lean_inc(x_790); +lean_dec(x_684); +x_792 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_792, 0, x_790); +lean_ctor_set(x_792, 1, x_791); +x_30 = x_792; +goto block_119; +} +} +} +else +{ +uint8_t x_793; +lean_dec(x_680); +lean_dec(x_679); +lean_dec(x_678); +lean_dec(x_2); +lean_dec(x_1); +x_793 = !lean_is_exclusive(x_681); +if (x_793 == 0) +{ +x_30 = x_681; +goto block_119; +} +else +{ +lean_object* x_794; lean_object* x_795; lean_object* x_796; +x_794 = lean_ctor_get(x_681, 0); +x_795 = lean_ctor_get(x_681, 1); +lean_inc(x_795); +lean_inc(x_794); +lean_dec(x_681); +x_796 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_796, 0, x_794); +lean_ctor_set(x_796, 1, x_795); +x_30 = x_796; +goto block_119; } } } case 8: { -lean_object* x_796; lean_object* x_797; uint8_t x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; +lean_object* x_797; lean_object* x_798; uint8_t x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_dec(x_18); -x_796 = lean_ctor_get(x_13, 0); -lean_inc(x_796); -lean_dec(x_13); -x_797 = lean_ctor_get(x_796, 0); +x_797 = lean_ctor_get(x_13, 0); lean_inc(x_797); -x_798 = lean_ctor_get_uint8(x_797, sizeof(void*)*3); -x_799 = lean_ctor_get(x_797, 0); -lean_inc(x_799); -x_800 = lean_ctor_get(x_797, 1); +lean_dec(x_13); +x_798 = lean_ctor_get(x_797, 0); +lean_inc(x_798); +x_799 = lean_ctor_get_uint8(x_798, sizeof(void*)*3); +x_800 = lean_ctor_get(x_798, 0); lean_inc(x_800); -x_801 = lean_ctor_get(x_797, 2); +x_801 = lean_ctor_get(x_798, 1); lean_inc(x_801); -lean_dec(x_797); -x_802 = lean_ctor_get(x_799, 0); +x_802 = lean_ctor_get(x_798, 2); lean_inc(x_802); -lean_dec(x_799); +lean_dec(x_798); x_803 = lean_ctor_get(x_800, 0); lean_inc(x_803); lean_dec(x_800); -if (lean_obj_tag(x_801) == 0) +x_804 = lean_ctor_get(x_801, 0); +lean_inc(x_804); +lean_dec(x_801); +if (lean_obj_tag(x_802) == 0) { -if (x_798 == 0) -{ -lean_object* x_865; -x_865 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__23; -x_804 = x_865; -goto block_864; -} -else +if (x_799 == 0) { lean_object* x_866; -x_866 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__25; -x_804 = x_866; -goto block_864; +x_866 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__23; +x_805 = x_866; +goto block_865; +} +else +{ +lean_object* x_867; +x_867 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__25; +x_805 = x_867; +goto block_865; } } else { -lean_object* x_867; lean_object* x_868; -x_867 = lean_ctor_get(x_801, 0); -lean_inc(x_867); -lean_dec(x_801); -if (x_798 == 0) -{ -lean_object* x_977; -x_977 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__27; -x_868 = x_977; -goto block_976; -} -else +lean_object* x_868; lean_object* x_869; +x_868 = lean_ctor_get(x_802, 0); +lean_inc(x_868); +lean_dec(x_802); +if (x_799 == 0) { lean_object* x_978; -x_978 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__29; -x_868 = x_978; -goto block_976; +x_978 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__27; +x_869 = x_978; +goto block_977; } -block_976: +else { -lean_object* x_869; +lean_object* x_979; +x_979 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__29; +x_869 = x_979; +goto block_977; +} +block_977: +{ +lean_object* x_870; lean_inc(x_2); -lean_inc(x_796); -x_869 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_796, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_869) == 0) +lean_inc(x_797); +x_870 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_797, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_870) == 0) { -uint8_t x_870; -x_870 = !lean_is_exclusive(x_869); -if (x_870 == 0) +uint8_t x_871; +x_871 = !lean_is_exclusive(x_870); +if (x_871 == 0) { -lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; uint8_t x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; uint8_t x_884; lean_object* x_885; lean_object* x_886; -x_871 = lean_ctor_get(x_869, 0); -x_872 = lean_box(0); -x_873 = l_Lean_Expr_const___override(x_868, x_872); -x_874 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_802); +lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; uint8_t x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; uint8_t x_885; lean_object* x_886; lean_object* x_887; +x_872 = lean_ctor_get(x_870, 0); +x_873 = lean_box(0); +x_874 = l_Lean_Expr_const___override(x_869, x_873); x_875 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_803); -x_876 = lean_ctor_get(x_867, 1); -lean_inc(x_876); -x_877 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_876); -x_878 = lean_ctor_get(x_867, 0); -lean_inc(x_878); -lean_dec(x_867); -x_879 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_880 = lean_int_dec_le(x_879, x_878); -x_881 = lean_ctor_get(x_796, 1); -lean_inc(x_881); -lean_dec(x_796); -x_882 = l_Lean_mkNatLit(x_881); -x_883 = lean_ctor_get(x_1, 0); -lean_inc(x_883); -x_884 = lean_int_dec_le(x_879, x_883); -x_885 = lean_ctor_get(x_1, 1); -lean_inc(x_885); -lean_dec(x_1); -x_886 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_885); -if (x_880 == 0) -{ -lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; -x_887 = lean_int_neg(x_878); -lean_dec(x_878); -x_888 = l_Int_toNat(x_887); -lean_dec(x_887); -x_889 = l_Lean_instToExprInt_mkNat(x_888); -x_890 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_891 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_892 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_893 = l_Lean_mkApp3(x_890, x_891, x_892, x_889); -if (x_884 == 0) -{ -lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; -x_894 = lean_int_neg(x_883); -lean_dec(x_883); -x_895 = l_Int_toNat(x_894); -lean_dec(x_894); -x_896 = l_Lean_instToExprInt_mkNat(x_895); -x_897 = l_Lean_mkApp3(x_890, x_891, x_892, x_896); -x_898 = l_Lean_reflBoolTrue; -x_899 = l_Lean_mkApp10(x_873, x_2, x_874, x_875, x_877, x_893, x_882, x_897, x_886, x_871, x_898); -lean_ctor_set(x_869, 0, x_899); -x_31 = x_869; -goto block_118; -} -else -{ -lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; -x_900 = l_Int_toNat(x_883); -lean_dec(x_883); -x_901 = l_Lean_instToExprInt_mkNat(x_900); -x_902 = l_Lean_reflBoolTrue; -x_903 = l_Lean_mkApp10(x_873, x_2, x_874, x_875, x_877, x_893, x_882, x_901, x_886, x_871, x_902); -lean_ctor_set(x_869, 0, x_903); -x_31 = x_869; -goto block_118; -} -} -else -{ -lean_object* x_904; lean_object* x_905; -x_904 = l_Int_toNat(x_878); -lean_dec(x_878); -x_905 = l_Lean_instToExprInt_mkNat(x_904); -if (x_884 == 0) -{ -lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; -x_906 = lean_int_neg(x_883); -lean_dec(x_883); -x_907 = l_Int_toNat(x_906); -lean_dec(x_906); -x_908 = l_Lean_instToExprInt_mkNat(x_907); -x_909 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_910 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_911 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_912 = l_Lean_mkApp3(x_909, x_910, x_911, x_908); -x_913 = l_Lean_reflBoolTrue; -x_914 = l_Lean_mkApp10(x_873, x_2, x_874, x_875, x_877, x_905, x_882, x_912, x_886, x_871, x_913); -lean_ctor_set(x_869, 0, x_914); -x_31 = x_869; -goto block_118; -} -else -{ -lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; -x_915 = l_Int_toNat(x_883); -lean_dec(x_883); -x_916 = l_Lean_instToExprInt_mkNat(x_915); -x_917 = l_Lean_reflBoolTrue; -x_918 = l_Lean_mkApp10(x_873, x_2, x_874, x_875, x_877, x_905, x_882, x_916, x_886, x_871, x_917); -lean_ctor_set(x_869, 0, x_918); -x_31 = x_869; -goto block_118; -} -} -} -else -{ -lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; uint8_t x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; uint8_t x_933; lean_object* x_934; lean_object* x_935; -x_919 = lean_ctor_get(x_869, 0); -x_920 = lean_ctor_get(x_869, 1); -lean_inc(x_920); -lean_inc(x_919); -lean_dec(x_869); -x_921 = lean_box(0); -x_922 = l_Lean_Expr_const___override(x_868, x_921); -x_923 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_802); -x_924 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_803); -x_925 = lean_ctor_get(x_867, 1); -lean_inc(x_925); -x_926 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_925); -x_927 = lean_ctor_get(x_867, 0); -lean_inc(x_927); -lean_dec(x_867); -x_928 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_929 = lean_int_dec_le(x_928, x_927); -x_930 = lean_ctor_get(x_796, 1); -lean_inc(x_930); -lean_dec(x_796); -x_931 = l_Lean_mkNatLit(x_930); -x_932 = lean_ctor_get(x_1, 0); -lean_inc(x_932); -x_933 = lean_int_dec_le(x_928, x_932); -x_934 = lean_ctor_get(x_1, 1); -lean_inc(x_934); -lean_dec(x_1); -x_935 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_934); -if (x_929 == 0) -{ -lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; -x_936 = lean_int_neg(x_927); -lean_dec(x_927); -x_937 = l_Int_toNat(x_936); -lean_dec(x_936); -x_938 = l_Lean_instToExprInt_mkNat(x_937); -x_939 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_940 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_941 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_942 = l_Lean_mkApp3(x_939, x_940, x_941, x_938); -if (x_933 == 0) -{ -lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; -x_943 = lean_int_neg(x_932); -lean_dec(x_932); -x_944 = l_Int_toNat(x_943); -lean_dec(x_943); -x_945 = l_Lean_instToExprInt_mkNat(x_944); -x_946 = l_Lean_mkApp3(x_939, x_940, x_941, x_945); -x_947 = l_Lean_reflBoolTrue; -x_948 = l_Lean_mkApp10(x_922, x_2, x_923, x_924, x_926, x_942, x_931, x_946, x_935, x_919, x_947); -x_949 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_949, 0, x_948); -lean_ctor_set(x_949, 1, x_920); -x_31 = x_949; -goto block_118; -} -else -{ -lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; -x_950 = l_Int_toNat(x_932); -lean_dec(x_932); -x_951 = l_Lean_instToExprInt_mkNat(x_950); -x_952 = l_Lean_reflBoolTrue; -x_953 = l_Lean_mkApp10(x_922, x_2, x_923, x_924, x_926, x_942, x_931, x_951, x_935, x_919, x_952); -x_954 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_954, 0, x_953); -lean_ctor_set(x_954, 1, x_920); -x_31 = x_954; -goto block_118; -} -} -else -{ -lean_object* x_955; lean_object* x_956; -x_955 = l_Int_toNat(x_927); -lean_dec(x_927); -x_956 = l_Lean_instToExprInt_mkNat(x_955); -if (x_933 == 0) -{ -lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; -x_957 = lean_int_neg(x_932); -lean_dec(x_932); -x_958 = l_Int_toNat(x_957); -lean_dec(x_957); -x_959 = l_Lean_instToExprInt_mkNat(x_958); -x_960 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_961 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_962 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_963 = l_Lean_mkApp3(x_960, x_961, x_962, x_959); -x_964 = l_Lean_reflBoolTrue; -x_965 = l_Lean_mkApp10(x_922, x_2, x_923, x_924, x_926, x_956, x_931, x_963, x_935, x_919, x_964); -x_966 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_966, 0, x_965); -lean_ctor_set(x_966, 1, x_920); -x_31 = x_966; -goto block_118; -} -else -{ -lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; -x_967 = l_Int_toNat(x_932); -lean_dec(x_932); -x_968 = l_Lean_instToExprInt_mkNat(x_967); -x_969 = l_Lean_reflBoolTrue; -x_970 = l_Lean_mkApp10(x_922, x_2, x_923, x_924, x_926, x_956, x_931, x_968, x_935, x_919, x_969); -x_971 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_971, 0, x_970); -lean_ctor_set(x_971, 1, x_920); -x_31 = x_971; -goto block_118; -} -} -} -} -else -{ -uint8_t x_972; +x_876 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_804); +x_877 = lean_ctor_get(x_868, 1); +lean_inc(x_877); +x_878 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_877); +x_879 = lean_ctor_get(x_868, 0); +lean_inc(x_879); lean_dec(x_868); -lean_dec(x_867); -lean_dec(x_803); -lean_dec(x_802); -lean_dec(x_796); -lean_dec(x_2); +x_880 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_881 = lean_int_dec_le(x_880, x_879); +x_882 = lean_ctor_get(x_797, 1); +lean_inc(x_882); +lean_dec(x_797); +x_883 = l_Lean_mkNatLit(x_882); +x_884 = lean_ctor_get(x_1, 0); +lean_inc(x_884); +x_885 = lean_int_dec_le(x_880, x_884); +x_886 = lean_ctor_get(x_1, 1); +lean_inc(x_886); lean_dec(x_1); -x_972 = !lean_is_exclusive(x_869); -if (x_972 == 0) +x_887 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_886); +if (x_881 == 0) { -x_31 = x_869; -goto block_118; +lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; +x_888 = lean_int_neg(x_879); +lean_dec(x_879); +x_889 = l_Int_toNat(x_888); +lean_dec(x_888); +x_890 = l_Lean_instToExprInt_mkNat(x_889); +x_891 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_892 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_893 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_894 = l_Lean_mkApp3(x_891, x_892, x_893, x_890); +if (x_885 == 0) +{ +lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; +x_895 = lean_int_neg(x_884); +lean_dec(x_884); +x_896 = l_Int_toNat(x_895); +lean_dec(x_895); +x_897 = l_Lean_instToExprInt_mkNat(x_896); +x_898 = l_Lean_mkApp3(x_891, x_892, x_893, x_897); +x_899 = l_Lean_reflBoolTrue; +x_900 = l_Lean_mkApp10(x_874, x_2, x_875, x_876, x_878, x_894, x_883, x_898, x_887, x_872, x_899); +lean_ctor_set(x_870, 0, x_900); +x_30 = x_870; +goto block_119; } else { -lean_object* x_973; lean_object* x_974; lean_object* x_975; -x_973 = lean_ctor_get(x_869, 0); -x_974 = lean_ctor_get(x_869, 1); -lean_inc(x_974); -lean_inc(x_973); +lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; +x_901 = l_Int_toNat(x_884); +lean_dec(x_884); +x_902 = l_Lean_instToExprInt_mkNat(x_901); +x_903 = l_Lean_reflBoolTrue; +x_904 = l_Lean_mkApp10(x_874, x_2, x_875, x_876, x_878, x_894, x_883, x_902, x_887, x_872, x_903); +lean_ctor_set(x_870, 0, x_904); +x_30 = x_870; +goto block_119; +} +} +else +{ +lean_object* x_905; lean_object* x_906; +x_905 = l_Int_toNat(x_879); +lean_dec(x_879); +x_906 = l_Lean_instToExprInt_mkNat(x_905); +if (x_885 == 0) +{ +lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; +x_907 = lean_int_neg(x_884); +lean_dec(x_884); +x_908 = l_Int_toNat(x_907); +lean_dec(x_907); +x_909 = l_Lean_instToExprInt_mkNat(x_908); +x_910 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_911 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_912 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_913 = l_Lean_mkApp3(x_910, x_911, x_912, x_909); +x_914 = l_Lean_reflBoolTrue; +x_915 = l_Lean_mkApp10(x_874, x_2, x_875, x_876, x_878, x_906, x_883, x_913, x_887, x_872, x_914); +lean_ctor_set(x_870, 0, x_915); +x_30 = x_870; +goto block_119; +} +else +{ +lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; +x_916 = l_Int_toNat(x_884); +lean_dec(x_884); +x_917 = l_Lean_instToExprInt_mkNat(x_916); +x_918 = l_Lean_reflBoolTrue; +x_919 = l_Lean_mkApp10(x_874, x_2, x_875, x_876, x_878, x_906, x_883, x_917, x_887, x_872, x_918); +lean_ctor_set(x_870, 0, x_919); +x_30 = x_870; +goto block_119; +} +} +} +else +{ +lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; uint8_t x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; uint8_t x_934; lean_object* x_935; lean_object* x_936; +x_920 = lean_ctor_get(x_870, 0); +x_921 = lean_ctor_get(x_870, 1); +lean_inc(x_921); +lean_inc(x_920); +lean_dec(x_870); +x_922 = lean_box(0); +x_923 = l_Lean_Expr_const___override(x_869, x_922); +x_924 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_803); +x_925 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_804); +x_926 = lean_ctor_get(x_868, 1); +lean_inc(x_926); +x_927 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_926); +x_928 = lean_ctor_get(x_868, 0); +lean_inc(x_928); +lean_dec(x_868); +x_929 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_930 = lean_int_dec_le(x_929, x_928); +x_931 = lean_ctor_get(x_797, 1); +lean_inc(x_931); +lean_dec(x_797); +x_932 = l_Lean_mkNatLit(x_931); +x_933 = lean_ctor_get(x_1, 0); +lean_inc(x_933); +x_934 = lean_int_dec_le(x_929, x_933); +x_935 = lean_ctor_get(x_1, 1); +lean_inc(x_935); +lean_dec(x_1); +x_936 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_935); +if (x_930 == 0) +{ +lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; +x_937 = lean_int_neg(x_928); +lean_dec(x_928); +x_938 = l_Int_toNat(x_937); +lean_dec(x_937); +x_939 = l_Lean_instToExprInt_mkNat(x_938); +x_940 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_941 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_942 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_943 = l_Lean_mkApp3(x_940, x_941, x_942, x_939); +if (x_934 == 0) +{ +lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; +x_944 = lean_int_neg(x_933); +lean_dec(x_933); +x_945 = l_Int_toNat(x_944); +lean_dec(x_944); +x_946 = l_Lean_instToExprInt_mkNat(x_945); +x_947 = l_Lean_mkApp3(x_940, x_941, x_942, x_946); +x_948 = l_Lean_reflBoolTrue; +x_949 = l_Lean_mkApp10(x_923, x_2, x_924, x_925, x_927, x_943, x_932, x_947, x_936, x_920, x_948); +x_950 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_950, 0, x_949); +lean_ctor_set(x_950, 1, x_921); +x_30 = x_950; +goto block_119; +} +else +{ +lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; +x_951 = l_Int_toNat(x_933); +lean_dec(x_933); +x_952 = l_Lean_instToExprInt_mkNat(x_951); +x_953 = l_Lean_reflBoolTrue; +x_954 = l_Lean_mkApp10(x_923, x_2, x_924, x_925, x_927, x_943, x_932, x_952, x_936, x_920, x_953); +x_955 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_955, 0, x_954); +lean_ctor_set(x_955, 1, x_921); +x_30 = x_955; +goto block_119; +} +} +else +{ +lean_object* x_956; lean_object* x_957; +x_956 = l_Int_toNat(x_928); +lean_dec(x_928); +x_957 = l_Lean_instToExprInt_mkNat(x_956); +if (x_934 == 0) +{ +lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; +x_958 = lean_int_neg(x_933); +lean_dec(x_933); +x_959 = l_Int_toNat(x_958); +lean_dec(x_958); +x_960 = l_Lean_instToExprInt_mkNat(x_959); +x_961 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_962 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_963 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_964 = l_Lean_mkApp3(x_961, x_962, x_963, x_960); +x_965 = l_Lean_reflBoolTrue; +x_966 = l_Lean_mkApp10(x_923, x_2, x_924, x_925, x_927, x_957, x_932, x_964, x_936, x_920, x_965); +x_967 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_967, 0, x_966); +lean_ctor_set(x_967, 1, x_921); +x_30 = x_967; +goto block_119; +} +else +{ +lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; +x_968 = l_Int_toNat(x_933); +lean_dec(x_933); +x_969 = l_Lean_instToExprInt_mkNat(x_968); +x_970 = l_Lean_reflBoolTrue; +x_971 = l_Lean_mkApp10(x_923, x_2, x_924, x_925, x_927, x_957, x_932, x_969, x_936, x_920, x_970); +x_972 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_972, 0, x_971); +lean_ctor_set(x_972, 1, x_921); +x_30 = x_972; +goto block_119; +} +} +} +} +else +{ +uint8_t x_973; lean_dec(x_869); -x_975 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_975, 0, x_973); -lean_ctor_set(x_975, 1, x_974); -x_31 = x_975; -goto block_118; -} -} -} -} -block_864: -{ -lean_object* x_805; -lean_inc(x_2); -lean_inc(x_796); -x_805 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_796, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_805) == 0) -{ -uint8_t x_806; -x_806 = !lean_is_exclusive(x_805); -if (x_806 == 0) -{ -lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; uint8_t x_816; lean_object* x_817; lean_object* x_818; -x_807 = lean_ctor_get(x_805, 0); -x_808 = lean_box(0); -x_809 = l_Lean_Expr_const___override(x_804, x_808); -x_810 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_802); -x_811 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_803); -x_812 = lean_ctor_get(x_796, 1); -lean_inc(x_812); -lean_dec(x_796); -x_813 = l_Lean_mkNatLit(x_812); -x_814 = lean_ctor_get(x_1, 0); -lean_inc(x_814); -x_815 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_816 = lean_int_dec_le(x_815, x_814); -x_817 = lean_ctor_get(x_1, 1); -lean_inc(x_817); -lean_dec(x_1); -x_818 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_817); -if (x_816 == 0) -{ -lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; -x_819 = lean_int_neg(x_814); -lean_dec(x_814); -x_820 = l_Int_toNat(x_819); -lean_dec(x_819); -x_821 = l_Lean_instToExprInt_mkNat(x_820); -x_822 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_823 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_824 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_825 = l_Lean_mkApp3(x_822, x_823, x_824, x_821); -x_826 = l_Lean_reflBoolTrue; -x_827 = l_Lean_mkApp8(x_809, x_2, x_810, x_811, x_813, x_825, x_818, x_807, x_826); -lean_ctor_set(x_805, 0, x_827); -x_31 = x_805; -goto block_118; -} -else -{ -lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; -x_828 = l_Int_toNat(x_814); -lean_dec(x_814); -x_829 = l_Lean_instToExprInt_mkNat(x_828); -x_830 = l_Lean_reflBoolTrue; -x_831 = l_Lean_mkApp8(x_809, x_2, x_810, x_811, x_813, x_829, x_818, x_807, x_830); -lean_ctor_set(x_805, 0, x_831); -x_31 = x_805; -goto block_118; -} -} -else -{ -lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; uint8_t x_842; lean_object* x_843; lean_object* x_844; -x_832 = lean_ctor_get(x_805, 0); -x_833 = lean_ctor_get(x_805, 1); -lean_inc(x_833); -lean_inc(x_832); -lean_dec(x_805); -x_834 = lean_box(0); -x_835 = l_Lean_Expr_const___override(x_804, x_834); -x_836 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_802); -x_837 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_803); -x_838 = lean_ctor_get(x_796, 1); -lean_inc(x_838); -lean_dec(x_796); -x_839 = l_Lean_mkNatLit(x_838); -x_840 = lean_ctor_get(x_1, 0); -lean_inc(x_840); -x_841 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_842 = lean_int_dec_le(x_841, x_840); -x_843 = lean_ctor_get(x_1, 1); -lean_inc(x_843); -lean_dec(x_1); -x_844 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_843); -if (x_842 == 0) -{ -lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; -x_845 = lean_int_neg(x_840); -lean_dec(x_840); -x_846 = l_Int_toNat(x_845); -lean_dec(x_845); -x_847 = l_Lean_instToExprInt_mkNat(x_846); -x_848 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_849 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_850 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_851 = l_Lean_mkApp3(x_848, x_849, x_850, x_847); -x_852 = l_Lean_reflBoolTrue; -x_853 = l_Lean_mkApp8(x_835, x_2, x_836, x_837, x_839, x_851, x_844, x_832, x_852); -x_854 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_854, 0, x_853); -lean_ctor_set(x_854, 1, x_833); -x_31 = x_854; -goto block_118; -} -else -{ -lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; -x_855 = l_Int_toNat(x_840); -lean_dec(x_840); -x_856 = l_Lean_instToExprInt_mkNat(x_855); -x_857 = l_Lean_reflBoolTrue; -x_858 = l_Lean_mkApp8(x_835, x_2, x_836, x_837, x_839, x_856, x_844, x_832, x_857); -x_859 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_859, 0, x_858); -lean_ctor_set(x_859, 1, x_833); -x_31 = x_859; -goto block_118; -} -} -} -else -{ -uint8_t x_860; +lean_dec(x_868); lean_dec(x_804); lean_dec(x_803); -lean_dec(x_802); -lean_dec(x_796); +lean_dec(x_797); lean_dec(x_2); lean_dec(x_1); -x_860 = !lean_is_exclusive(x_805); -if (x_860 == 0) +x_973 = !lean_is_exclusive(x_870); +if (x_973 == 0) { -x_31 = x_805; -goto block_118; +x_30 = x_870; +goto block_119; } else { -lean_object* x_861; lean_object* x_862; lean_object* x_863; -x_861 = lean_ctor_get(x_805, 0); -x_862 = lean_ctor_get(x_805, 1); -lean_inc(x_862); -lean_inc(x_861); +lean_object* x_974; lean_object* x_975; lean_object* x_976; +x_974 = lean_ctor_get(x_870, 0); +x_975 = lean_ctor_get(x_870, 1); +lean_inc(x_975); +lean_inc(x_974); +lean_dec(x_870); +x_976 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_976, 0, x_974); +lean_ctor_set(x_976, 1, x_975); +x_30 = x_976; +goto block_119; +} +} +} +} +block_865: +{ +lean_object* x_806; +lean_inc(x_2); +lean_inc(x_797); +x_806 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_797, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_806) == 0) +{ +uint8_t x_807; +x_807 = !lean_is_exclusive(x_806); +if (x_807 == 0) +{ +lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; uint8_t x_817; lean_object* x_818; lean_object* x_819; +x_808 = lean_ctor_get(x_806, 0); +x_809 = lean_box(0); +x_810 = l_Lean_Expr_const___override(x_805, x_809); +x_811 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_803); +x_812 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_804); +x_813 = lean_ctor_get(x_797, 1); +lean_inc(x_813); +lean_dec(x_797); +x_814 = l_Lean_mkNatLit(x_813); +x_815 = lean_ctor_get(x_1, 0); +lean_inc(x_815); +x_816 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_817 = lean_int_dec_le(x_816, x_815); +x_818 = lean_ctor_get(x_1, 1); +lean_inc(x_818); +lean_dec(x_1); +x_819 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_818); +if (x_817 == 0) +{ +lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; +x_820 = lean_int_neg(x_815); +lean_dec(x_815); +x_821 = l_Int_toNat(x_820); +lean_dec(x_820); +x_822 = l_Lean_instToExprInt_mkNat(x_821); +x_823 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_824 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_825 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_826 = l_Lean_mkApp3(x_823, x_824, x_825, x_822); +x_827 = l_Lean_reflBoolTrue; +x_828 = l_Lean_mkApp8(x_810, x_2, x_811, x_812, x_814, x_826, x_819, x_808, x_827); +lean_ctor_set(x_806, 0, x_828); +x_30 = x_806; +goto block_119; +} +else +{ +lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; +x_829 = l_Int_toNat(x_815); +lean_dec(x_815); +x_830 = l_Lean_instToExprInt_mkNat(x_829); +x_831 = l_Lean_reflBoolTrue; +x_832 = l_Lean_mkApp8(x_810, x_2, x_811, x_812, x_814, x_830, x_819, x_808, x_831); +lean_ctor_set(x_806, 0, x_832); +x_30 = x_806; +goto block_119; +} +} +else +{ +lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; uint8_t x_843; lean_object* x_844; lean_object* x_845; +x_833 = lean_ctor_get(x_806, 0); +x_834 = lean_ctor_get(x_806, 1); +lean_inc(x_834); +lean_inc(x_833); +lean_dec(x_806); +x_835 = lean_box(0); +x_836 = l_Lean_Expr_const___override(x_805, x_835); +x_837 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_803); +x_838 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_804); +x_839 = lean_ctor_get(x_797, 1); +lean_inc(x_839); +lean_dec(x_797); +x_840 = l_Lean_mkNatLit(x_839); +x_841 = lean_ctor_get(x_1, 0); +lean_inc(x_841); +x_842 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_843 = lean_int_dec_le(x_842, x_841); +x_844 = lean_ctor_get(x_1, 1); +lean_inc(x_844); +lean_dec(x_1); +x_845 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_844); +if (x_843 == 0) +{ +lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; +x_846 = lean_int_neg(x_841); +lean_dec(x_841); +x_847 = l_Int_toNat(x_846); +lean_dec(x_846); +x_848 = l_Lean_instToExprInt_mkNat(x_847); +x_849 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_850 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_851 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_852 = l_Lean_mkApp3(x_849, x_850, x_851, x_848); +x_853 = l_Lean_reflBoolTrue; +x_854 = l_Lean_mkApp8(x_836, x_2, x_837, x_838, x_840, x_852, x_845, x_833, x_853); +x_855 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_855, 0, x_854); +lean_ctor_set(x_855, 1, x_834); +x_30 = x_855; +goto block_119; +} +else +{ +lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; +x_856 = l_Int_toNat(x_841); +lean_dec(x_841); +x_857 = l_Lean_instToExprInt_mkNat(x_856); +x_858 = l_Lean_reflBoolTrue; +x_859 = l_Lean_mkApp8(x_836, x_2, x_837, x_838, x_840, x_857, x_845, x_833, x_858); +x_860 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_860, 0, x_859); +lean_ctor_set(x_860, 1, x_834); +x_30 = x_860; +goto block_119; +} +} +} +else +{ +uint8_t x_861; lean_dec(x_805); -x_863 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_863, 0, x_861); -lean_ctor_set(x_863, 1, x_862); -x_31 = x_863; -goto block_118; +lean_dec(x_804); +lean_dec(x_803); +lean_dec(x_797); +lean_dec(x_2); +lean_dec(x_1); +x_861 = !lean_is_exclusive(x_806); +if (x_861 == 0) +{ +x_30 = x_806; +goto block_119; +} +else +{ +lean_object* x_862; lean_object* x_863; lean_object* x_864; +x_862 = lean_ctor_get(x_806, 0); +x_863 = lean_ctor_get(x_806, 1); +lean_inc(x_863); +lean_inc(x_862); +lean_dec(x_806); +x_864 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_864, 0, x_862); +lean_ctor_set(x_864, 1, x_863); +x_30 = x_864; +goto block_119; } } } } default: { -lean_object* x_979; lean_object* x_980; lean_object* x_981; +lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_dec(x_18); -x_979 = lean_ctor_get(x_13, 0); -lean_inc(x_979); -lean_dec(x_13); -x_980 = lean_ctor_get(x_979, 0); +x_980 = lean_ctor_get(x_13, 0); lean_inc(x_980); -x_981 = lean_ctor_get(x_980, 2); +lean_dec(x_13); +x_981 = lean_ctor_get(x_980, 0); lean_inc(x_981); -if (lean_obj_tag(x_981) == 0) +x_982 = lean_ctor_get(x_981, 2); +lean_inc(x_982); +if (lean_obj_tag(x_982) == 0) { -lean_object* x_982; lean_object* x_983; +lean_object* x_983; lean_object* x_984; +lean_dec(x_981); lean_dec(x_980); -lean_dec(x_979); lean_dec(x_1); -x_982 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__31; -x_983 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___spec__1(x_982, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +x_983 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__31; +x_984 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___spec__1(x_983, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); lean_dec(x_2); -x_31 = x_983; -goto block_118; +x_30 = x_984; +goto block_119; } else { -uint8_t x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; -x_984 = lean_ctor_get_uint8(x_980, sizeof(void*)*3); -x_985 = lean_ctor_get(x_980, 0); -lean_inc(x_985); -x_986 = lean_ctor_get(x_980, 1); +uint8_t x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; +x_985 = lean_ctor_get_uint8(x_981, sizeof(void*)*3); +x_986 = lean_ctor_get(x_981, 0); lean_inc(x_986); -lean_dec(x_980); -x_987 = lean_ctor_get(x_981, 0); +x_987 = lean_ctor_get(x_981, 1); lean_inc(x_987); lean_dec(x_981); -x_988 = lean_ctor_get(x_985, 0); +x_988 = lean_ctor_get(x_982, 0); lean_inc(x_988); -lean_dec(x_985); +lean_dec(x_982); x_989 = lean_ctor_get(x_986, 0); lean_inc(x_989); lean_dec(x_986); -if (x_984 == 0) -{ -lean_object* x_1099; -x_1099 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__33; -x_990 = x_1099; -goto block_1098; -} -else +x_990 = lean_ctor_get(x_987, 0); +lean_inc(x_990); +lean_dec(x_987); +if (x_985 == 0) { lean_object* x_1100; -x_1100 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__35; -x_990 = x_1100; -goto block_1098; +x_1100 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__33; +x_991 = x_1100; +goto block_1099; } -block_1098: +else { -lean_object* x_991; +lean_object* x_1101; +x_1101 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__35; +x_991 = x_1101; +goto block_1099; +} +block_1099: +{ +lean_object* x_992; lean_inc(x_2); -lean_inc(x_979); -x_991 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_979, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_991) == 0) +lean_inc(x_980); +x_992 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_toExprProof(x_980, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_992) == 0) { -uint8_t x_992; -x_992 = !lean_is_exclusive(x_991); -if (x_992 == 0) +uint8_t x_993; +x_993 = !lean_is_exclusive(x_992); +if (x_993 == 0) { -lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; uint8_t x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; uint8_t x_1006; lean_object* x_1007; lean_object* x_1008; -x_993 = lean_ctor_get(x_991, 0); -x_994 = lean_box(0); -x_995 = l_Lean_Expr_const___override(x_990, x_994); -x_996 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_988); +lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; uint8_t x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; uint8_t x_1007; lean_object* x_1008; lean_object* x_1009; +x_994 = lean_ctor_get(x_992, 0); +x_995 = lean_box(0); +x_996 = l_Lean_Expr_const___override(x_991, x_995); x_997 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_989); -x_998 = lean_ctor_get(x_987, 1); -lean_inc(x_998); -x_999 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_998); -x_1000 = lean_ctor_get(x_987, 0); -lean_inc(x_1000); -lean_dec(x_987); -x_1001 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_1002 = lean_int_dec_le(x_1001, x_1000); -x_1003 = lean_ctor_get(x_979, 1); -lean_inc(x_1003); -lean_dec(x_979); -x_1004 = l_Lean_mkNatLit(x_1003); -x_1005 = lean_ctor_get(x_1, 0); -lean_inc(x_1005); -x_1006 = lean_int_dec_le(x_1001, x_1005); -x_1007 = lean_ctor_get(x_1, 1); -lean_inc(x_1007); +x_998 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_990); +x_999 = lean_ctor_get(x_988, 1); +lean_inc(x_999); +x_1000 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_999); +x_1001 = lean_ctor_get(x_988, 0); +lean_inc(x_1001); +lean_dec(x_988); +x_1002 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_1003 = lean_int_dec_le(x_1002, x_1001); +x_1004 = lean_ctor_get(x_980, 1); +lean_inc(x_1004); +lean_dec(x_980); +x_1005 = l_Lean_mkNatLit(x_1004); +x_1006 = lean_ctor_get(x_1, 0); +lean_inc(x_1006); +x_1007 = lean_int_dec_le(x_1002, x_1006); +x_1008 = lean_ctor_get(x_1, 1); +lean_inc(x_1008); lean_dec(x_1); -x_1008 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_1007); -if (x_1002 == 0) +x_1009 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_1008); +if (x_1003 == 0) { -lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; -x_1009 = lean_int_neg(x_1000); -lean_dec(x_1000); -x_1010 = l_Int_toNat(x_1009); -lean_dec(x_1009); -x_1011 = l_Lean_instToExprInt_mkNat(x_1010); -x_1012 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_1013 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_1014 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_1015 = l_Lean_mkApp3(x_1012, x_1013, x_1014, x_1011); -if (x_1006 == 0) +lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; +x_1010 = lean_int_neg(x_1001); +lean_dec(x_1001); +x_1011 = l_Int_toNat(x_1010); +lean_dec(x_1010); +x_1012 = l_Lean_instToExprInt_mkNat(x_1011); +x_1013 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_1014 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_1015 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_1016 = l_Lean_mkApp3(x_1013, x_1014, x_1015, x_1012); +if (x_1007 == 0) { -lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; -x_1016 = lean_int_neg(x_1005); -lean_dec(x_1005); -x_1017 = l_Int_toNat(x_1016); -lean_dec(x_1016); -x_1018 = l_Lean_instToExprInt_mkNat(x_1017); -x_1019 = l_Lean_mkApp3(x_1012, x_1013, x_1014, x_1018); -x_1020 = l_Lean_reflBoolTrue; -x_1021 = l_Lean_mkApp10(x_995, x_2, x_996, x_997, x_999, x_1015, x_1004, x_1019, x_1008, x_993, x_1020); -lean_ctor_set(x_991, 0, x_1021); -x_31 = x_991; -goto block_118; +lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; +x_1017 = lean_int_neg(x_1006); +lean_dec(x_1006); +x_1018 = l_Int_toNat(x_1017); +lean_dec(x_1017); +x_1019 = l_Lean_instToExprInt_mkNat(x_1018); +x_1020 = l_Lean_mkApp3(x_1013, x_1014, x_1015, x_1019); +x_1021 = l_Lean_reflBoolTrue; +x_1022 = l_Lean_mkApp10(x_996, x_2, x_997, x_998, x_1000, x_1016, x_1005, x_1020, x_1009, x_994, x_1021); +lean_ctor_set(x_992, 0, x_1022); +x_30 = x_992; +goto block_119; } else { -lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; -x_1022 = l_Int_toNat(x_1005); -lean_dec(x_1005); -x_1023 = l_Lean_instToExprInt_mkNat(x_1022); -x_1024 = l_Lean_reflBoolTrue; -x_1025 = l_Lean_mkApp10(x_995, x_2, x_996, x_997, x_999, x_1015, x_1004, x_1023, x_1008, x_993, x_1024); -lean_ctor_set(x_991, 0, x_1025); -x_31 = x_991; -goto block_118; +lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; +x_1023 = l_Int_toNat(x_1006); +lean_dec(x_1006); +x_1024 = l_Lean_instToExprInt_mkNat(x_1023); +x_1025 = l_Lean_reflBoolTrue; +x_1026 = l_Lean_mkApp10(x_996, x_2, x_997, x_998, x_1000, x_1016, x_1005, x_1024, x_1009, x_994, x_1025); +lean_ctor_set(x_992, 0, x_1026); +x_30 = x_992; +goto block_119; } } else { -lean_object* x_1026; lean_object* x_1027; -x_1026 = l_Int_toNat(x_1000); -lean_dec(x_1000); -x_1027 = l_Lean_instToExprInt_mkNat(x_1026); -if (x_1006 == 0) +lean_object* x_1027; lean_object* x_1028; +x_1027 = l_Int_toNat(x_1001); +lean_dec(x_1001); +x_1028 = l_Lean_instToExprInt_mkNat(x_1027); +if (x_1007 == 0) { -lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; -x_1028 = lean_int_neg(x_1005); -lean_dec(x_1005); -x_1029 = l_Int_toNat(x_1028); -lean_dec(x_1028); -x_1030 = l_Lean_instToExprInt_mkNat(x_1029); -x_1031 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_1032 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_1033 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_1034 = l_Lean_mkApp3(x_1031, x_1032, x_1033, x_1030); -x_1035 = l_Lean_reflBoolTrue; -x_1036 = l_Lean_mkApp10(x_995, x_2, x_996, x_997, x_999, x_1027, x_1004, x_1034, x_1008, x_993, x_1035); -lean_ctor_set(x_991, 0, x_1036); -x_31 = x_991; -goto block_118; +lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; +x_1029 = lean_int_neg(x_1006); +lean_dec(x_1006); +x_1030 = l_Int_toNat(x_1029); +lean_dec(x_1029); +x_1031 = l_Lean_instToExprInt_mkNat(x_1030); +x_1032 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_1033 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_1034 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_1035 = l_Lean_mkApp3(x_1032, x_1033, x_1034, x_1031); +x_1036 = l_Lean_reflBoolTrue; +x_1037 = l_Lean_mkApp10(x_996, x_2, x_997, x_998, x_1000, x_1028, x_1005, x_1035, x_1009, x_994, x_1036); +lean_ctor_set(x_992, 0, x_1037); +x_30 = x_992; +goto block_119; } else { -lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; -x_1037 = l_Int_toNat(x_1005); -lean_dec(x_1005); -x_1038 = l_Lean_instToExprInt_mkNat(x_1037); -x_1039 = l_Lean_reflBoolTrue; -x_1040 = l_Lean_mkApp10(x_995, x_2, x_996, x_997, x_999, x_1027, x_1004, x_1038, x_1008, x_993, x_1039); -lean_ctor_set(x_991, 0, x_1040); -x_31 = x_991; -goto block_118; +lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; +x_1038 = l_Int_toNat(x_1006); +lean_dec(x_1006); +x_1039 = l_Lean_instToExprInt_mkNat(x_1038); +x_1040 = l_Lean_reflBoolTrue; +x_1041 = l_Lean_mkApp10(x_996, x_2, x_997, x_998, x_1000, x_1028, x_1005, x_1039, x_1009, x_994, x_1040); +lean_ctor_set(x_992, 0, x_1041); +x_30 = x_992; +goto block_119; } } } else { -lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; uint8_t x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; uint8_t x_1055; lean_object* x_1056; lean_object* x_1057; -x_1041 = lean_ctor_get(x_991, 0); -x_1042 = lean_ctor_get(x_991, 1); +lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; uint8_t x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; uint8_t x_1056; lean_object* x_1057; lean_object* x_1058; +x_1042 = lean_ctor_get(x_992, 0); +x_1043 = lean_ctor_get(x_992, 1); +lean_inc(x_1043); lean_inc(x_1042); -lean_inc(x_1041); -lean_dec(x_991); -x_1043 = lean_box(0); -x_1044 = l_Lean_Expr_const___override(x_990, x_1043); -x_1045 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_988); +lean_dec(x_992); +x_1044 = lean_box(0); +x_1045 = l_Lean_Expr_const___override(x_991, x_1044); x_1046 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_989); -x_1047 = lean_ctor_get(x_987, 1); -lean_inc(x_1047); -x_1048 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_1047); -x_1049 = lean_ctor_get(x_987, 0); -lean_inc(x_1049); -lean_dec(x_987); -x_1050 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_1051 = lean_int_dec_le(x_1050, x_1049); -x_1052 = lean_ctor_get(x_979, 1); -lean_inc(x_1052); -lean_dec(x_979); -x_1053 = l_Lean_mkNatLit(x_1052); -x_1054 = lean_ctor_get(x_1, 0); -lean_inc(x_1054); -x_1055 = lean_int_dec_le(x_1050, x_1054); -x_1056 = lean_ctor_get(x_1, 1); -lean_inc(x_1056); +x_1047 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_990); +x_1048 = lean_ctor_get(x_988, 1); +lean_inc(x_1048); +x_1049 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_1048); +x_1050 = lean_ctor_get(x_988, 0); +lean_inc(x_1050); +lean_dec(x_988); +x_1051 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_1052 = lean_int_dec_le(x_1051, x_1050); +x_1053 = lean_ctor_get(x_980, 1); +lean_inc(x_1053); +lean_dec(x_980); +x_1054 = l_Lean_mkNatLit(x_1053); +x_1055 = lean_ctor_get(x_1, 0); +lean_inc(x_1055); +x_1056 = lean_int_dec_le(x_1051, x_1055); +x_1057 = lean_ctor_get(x_1, 1); +lean_inc(x_1057); lean_dec(x_1); -x_1057 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_1056); -if (x_1051 == 0) +x_1058 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_1057); +if (x_1052 == 0) { -lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; -x_1058 = lean_int_neg(x_1049); -lean_dec(x_1049); -x_1059 = l_Int_toNat(x_1058); -lean_dec(x_1058); -x_1060 = l_Lean_instToExprInt_mkNat(x_1059); -x_1061 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_1062 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_1063 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_1064 = l_Lean_mkApp3(x_1061, x_1062, x_1063, x_1060); -if (x_1055 == 0) +lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; +x_1059 = lean_int_neg(x_1050); +lean_dec(x_1050); +x_1060 = l_Int_toNat(x_1059); +lean_dec(x_1059); +x_1061 = l_Lean_instToExprInt_mkNat(x_1060); +x_1062 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_1063 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_1064 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_1065 = l_Lean_mkApp3(x_1062, x_1063, x_1064, x_1061); +if (x_1056 == 0) { -lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; -x_1065 = lean_int_neg(x_1054); -lean_dec(x_1054); -x_1066 = l_Int_toNat(x_1065); -lean_dec(x_1065); -x_1067 = l_Lean_instToExprInt_mkNat(x_1066); -x_1068 = l_Lean_mkApp3(x_1061, x_1062, x_1063, x_1067); -x_1069 = l_Lean_reflBoolTrue; -x_1070 = l_Lean_mkApp10(x_1044, x_2, x_1045, x_1046, x_1048, x_1064, x_1053, x_1068, x_1057, x_1041, x_1069); -x_1071 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1071, 0, x_1070); -lean_ctor_set(x_1071, 1, x_1042); -x_31 = x_1071; -goto block_118; +lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; +x_1066 = lean_int_neg(x_1055); +lean_dec(x_1055); +x_1067 = l_Int_toNat(x_1066); +lean_dec(x_1066); +x_1068 = l_Lean_instToExprInt_mkNat(x_1067); +x_1069 = l_Lean_mkApp3(x_1062, x_1063, x_1064, x_1068); +x_1070 = l_Lean_reflBoolTrue; +x_1071 = l_Lean_mkApp10(x_1045, x_2, x_1046, x_1047, x_1049, x_1065, x_1054, x_1069, x_1058, x_1042, x_1070); +x_1072 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1072, 0, x_1071); +lean_ctor_set(x_1072, 1, x_1043); +x_30 = x_1072; +goto block_119; } else { -lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; -x_1072 = l_Int_toNat(x_1054); -lean_dec(x_1054); -x_1073 = l_Lean_instToExprInt_mkNat(x_1072); -x_1074 = l_Lean_reflBoolTrue; -x_1075 = l_Lean_mkApp10(x_1044, x_2, x_1045, x_1046, x_1048, x_1064, x_1053, x_1073, x_1057, x_1041, x_1074); -x_1076 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1076, 0, x_1075); -lean_ctor_set(x_1076, 1, x_1042); -x_31 = x_1076; -goto block_118; +lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; +x_1073 = l_Int_toNat(x_1055); +lean_dec(x_1055); +x_1074 = l_Lean_instToExprInt_mkNat(x_1073); +x_1075 = l_Lean_reflBoolTrue; +x_1076 = l_Lean_mkApp10(x_1045, x_2, x_1046, x_1047, x_1049, x_1065, x_1054, x_1074, x_1058, x_1042, x_1075); +x_1077 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1077, 0, x_1076); +lean_ctor_set(x_1077, 1, x_1043); +x_30 = x_1077; +goto block_119; } } else { -lean_object* x_1077; lean_object* x_1078; -x_1077 = l_Int_toNat(x_1049); -lean_dec(x_1049); -x_1078 = l_Lean_instToExprInt_mkNat(x_1077); -if (x_1055 == 0) +lean_object* x_1078; lean_object* x_1079; +x_1078 = l_Int_toNat(x_1050); +lean_dec(x_1050); +x_1079 = l_Lean_instToExprInt_mkNat(x_1078); +if (x_1056 == 0) { -lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; -x_1079 = lean_int_neg(x_1054); -lean_dec(x_1054); -x_1080 = l_Int_toNat(x_1079); -lean_dec(x_1079); -x_1081 = l_Lean_instToExprInt_mkNat(x_1080); -x_1082 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_1083 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_1084 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_1085 = l_Lean_mkApp3(x_1082, x_1083, x_1084, x_1081); -x_1086 = l_Lean_reflBoolTrue; -x_1087 = l_Lean_mkApp10(x_1044, x_2, x_1045, x_1046, x_1048, x_1078, x_1053, x_1085, x_1057, x_1041, x_1086); -x_1088 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1088, 0, x_1087); -lean_ctor_set(x_1088, 1, x_1042); -x_31 = x_1088; -goto block_118; +lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; +x_1080 = lean_int_neg(x_1055); +lean_dec(x_1055); +x_1081 = l_Int_toNat(x_1080); +lean_dec(x_1080); +x_1082 = l_Lean_instToExprInt_mkNat(x_1081); +x_1083 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_1084 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_1085 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_1086 = l_Lean_mkApp3(x_1083, x_1084, x_1085, x_1082); +x_1087 = l_Lean_reflBoolTrue; +x_1088 = l_Lean_mkApp10(x_1045, x_2, x_1046, x_1047, x_1049, x_1079, x_1054, x_1086, x_1058, x_1042, x_1087); +x_1089 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1089, 0, x_1088); +lean_ctor_set(x_1089, 1, x_1043); +x_30 = x_1089; +goto block_119; } else { -lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; -x_1089 = l_Int_toNat(x_1054); -lean_dec(x_1054); -x_1090 = l_Lean_instToExprInt_mkNat(x_1089); -x_1091 = l_Lean_reflBoolTrue; -x_1092 = l_Lean_mkApp10(x_1044, x_2, x_1045, x_1046, x_1048, x_1078, x_1053, x_1090, x_1057, x_1041, x_1091); -x_1093 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1093, 0, x_1092); -lean_ctor_set(x_1093, 1, x_1042); -x_31 = x_1093; -goto block_118; +lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; +x_1090 = l_Int_toNat(x_1055); +lean_dec(x_1055); +x_1091 = l_Lean_instToExprInt_mkNat(x_1090); +x_1092 = l_Lean_reflBoolTrue; +x_1093 = l_Lean_mkApp10(x_1045, x_2, x_1046, x_1047, x_1049, x_1079, x_1054, x_1091, x_1058, x_1042, x_1092); +x_1094 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1094, 0, x_1093); +lean_ctor_set(x_1094, 1, x_1043); +x_30 = x_1094; +goto block_119; } } } } else { -uint8_t x_1094; +uint8_t x_1095; +lean_dec(x_991); lean_dec(x_990); lean_dec(x_989); lean_dec(x_988); -lean_dec(x_987); -lean_dec(x_979); +lean_dec(x_980); lean_dec(x_2); lean_dec(x_1); -x_1094 = !lean_is_exclusive(x_991); -if (x_1094 == 0) +x_1095 = !lean_is_exclusive(x_992); +if (x_1095 == 0) { -x_31 = x_991; -goto block_118; +x_30 = x_992; +goto block_119; } else { -lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; -x_1095 = lean_ctor_get(x_991, 0); -x_1096 = lean_ctor_get(x_991, 1); +lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; +x_1096 = lean_ctor_get(x_992, 0); +x_1097 = lean_ctor_get(x_992, 1); +lean_inc(x_1097); lean_inc(x_1096); -lean_inc(x_1095); -lean_dec(x_991); -x_1097 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1097, 0, x_1095); -lean_ctor_set(x_1097, 1, x_1096); -x_31 = x_1097; -goto block_118; +lean_dec(x_992); +x_1098 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1098, 0, x_1096); +lean_ctor_set(x_1098, 1, x_1097); +x_30 = x_1098; +goto block_119; } } } @@ -10213,66 +10173,67 @@ goto block_118; } else { -lean_object* x_1101; lean_object* x_1102; -lean_dec(x_14); +lean_object* x_1102; lean_object* x_1103; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_1101 = lean_ctor_get(x_122, 0); -lean_inc(x_1101); -lean_dec(x_122); +x_1102 = lean_ctor_get(x_123, 0); +lean_inc(x_1102); +lean_dec(x_123); if (lean_is_scalar(x_18)) { - x_1102 = lean_alloc_ctor(0, 2, 0); + x_1103 = lean_alloc_ctor(0, 2, 0); } else { - x_1102 = x_18; + x_1103 = x_18; } -lean_ctor_set(x_1102, 0, x_1101); -lean_ctor_set(x_1102, 1, x_17); -return x_1102; +lean_ctor_set(x_1103, 0, x_1102); +lean_ctor_set(x_1103, 1, x_17); +return x_1103; } -block_118: +block_119: { -if (lean_obj_tag(x_31) == 0) +if (lean_obj_tag(x_30) == 0) { -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_32 = lean_ctor_get(x_31, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_st_ref_take(x_3, x_33); -x_35 = lean_ctor_get(x_34, 0); +lean_dec(x_30); +x_33 = lean_st_ref_take(x_3, x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = !lean_is_exclusive(x_35); -if (x_37 == 0) +lean_dec(x_33); +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; size_t x_43; lean_object* x_44; uint8_t x_45; -x_38 = lean_ctor_get(x_35, 0); -x_39 = lean_ctor_get(x_35, 1); -x_40 = lean_array_get_size(x_39); -x_41 = lean_usize_of_nat(x_40); -lean_dec(x_40); -x_42 = lean_usize_sub(x_41, x_30); -x_43 = lean_usize_land(x_28, x_42); -x_44 = lean_array_uget(x_39, x_43); -x_45 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_44); -if (x_45 == 0) +lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; size_t x_42; lean_object* x_43; uint8_t x_44; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +x_39 = lean_array_get_size(x_38); +x_40 = lean_usize_of_nat(x_39); +lean_dec(x_39); +x_41 = lean_usize_sub(x_40, x_29); +x_42 = lean_usize_land(x_27, x_41); +x_43 = lean_array_uget(x_38, x_42); +lean_inc(x_43); +x_44 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_43); +if (x_44 == 0) { -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; -x_46 = lean_unsigned_to_nat(1u); -x_47 = lean_nat_add(x_38, x_46); -lean_dec(x_38); -lean_inc(x_32); +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; +x_45 = lean_unsigned_to_nat(1u); +x_46 = lean_nat_add(x_37, x_45); +lean_dec(x_37); +x_47 = lean_box_uint64(x_14); +lean_inc(x_31); x_48 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_48, 0, x_14); -lean_ctor_set(x_48, 1, x_32); -lean_ctor_set(x_48, 2, x_44); -x_49 = lean_array_uset(x_39, x_43, x_48); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_31); +lean_ctor_set(x_48, 2, x_43); +x_49 = lean_array_uset(x_38, x_42, x_48); x_50 = lean_unsigned_to_nat(4u); -x_51 = lean_nat_mul(x_47, x_50); +x_51 = lean_nat_mul(x_46, x_50); x_52 = lean_unsigned_to_nat(3u); x_53 = lean_nat_div(x_51, x_52); lean_dec(x_51); @@ -10284,16 +10245,16 @@ if (x_55 == 0) { lean_object* x_56; lean_object* x_57; uint8_t x_58; x_56 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_49); -lean_ctor_set(x_35, 1, x_56); -lean_ctor_set(x_35, 0, x_47); -x_57 = lean_st_ref_set(x_3, x_35, x_36); +lean_ctor_set(x_34, 1, x_56); +lean_ctor_set(x_34, 0, x_46); +x_57 = lean_st_ref_set(x_3, x_34, x_35); x_58 = !lean_is_exclusive(x_57); if (x_58 == 0) { lean_object* x_59; x_59 = lean_ctor_get(x_57, 0); lean_dec(x_59); -lean_ctor_set(x_57, 0, x_32); +lean_ctor_set(x_57, 0, x_31); return x_57; } else @@ -10303,7 +10264,7 @@ x_60 = lean_ctor_get(x_57, 1); lean_inc(x_60); lean_dec(x_57); x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_32); +lean_ctor_set(x_61, 0, x_31); lean_ctor_set(x_61, 1, x_60); return x_61; } @@ -10311,16 +10272,16 @@ return x_61; else { lean_object* x_62; uint8_t x_63; -lean_ctor_set(x_35, 1, x_49); -lean_ctor_set(x_35, 0, x_47); -x_62 = lean_st_ref_set(x_3, x_35, x_36); +lean_ctor_set(x_34, 1, x_49); +lean_ctor_set(x_34, 0, x_46); +x_62 = lean_st_ref_set(x_3, x_34, x_35); x_63 = !lean_is_exclusive(x_62); if (x_63 == 0) { lean_object* x_64; x_64 = lean_ctor_get(x_62, 0); lean_dec(x_64); -lean_ctor_set(x_62, 0, x_32); +lean_ctor_set(x_62, 0, x_31); return x_62; } else @@ -10330,7 +10291,7 @@ x_65 = lean_ctor_get(x_62, 1); lean_inc(x_65); lean_dec(x_62); x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_32); +lean_ctor_set(x_66, 0, x_31); lean_ctor_set(x_66, 1, x_65); return x_66; } @@ -10340,19 +10301,19 @@ else { 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_67 = lean_box(0); -x_68 = lean_array_uset(x_39, x_43, x_67); -lean_inc(x_32); -x_69 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_32, x_44); -x_70 = lean_array_uset(x_68, x_43, x_69); -lean_ctor_set(x_35, 1, x_70); -x_71 = lean_st_ref_set(x_3, x_35, x_36); +x_68 = lean_array_uset(x_38, x_42, x_67); +lean_inc(x_31); +x_69 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_31, x_43); +x_70 = lean_array_uset(x_68, x_42, x_69); +lean_ctor_set(x_34, 1, x_70); +x_71 = lean_st_ref_set(x_3, x_34, x_35); x_72 = !lean_is_exclusive(x_71); if (x_72 == 0) { lean_object* x_73; x_73 = lean_ctor_get(x_71, 0); lean_dec(x_73); -lean_ctor_set(x_71, 0, x_32); +lean_ctor_set(x_71, 0, x_31); return x_71; } else @@ -10362,7 +10323,7 @@ x_74 = lean_ctor_get(x_71, 1); lean_inc(x_74); lean_dec(x_71); x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_32); +lean_ctor_set(x_75, 0, x_31); lean_ctor_set(x_75, 1, x_74); return x_75; } @@ -10371,524 +10332,154 @@ return x_75; else { lean_object* x_76; lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; size_t x_81; lean_object* x_82; uint8_t x_83; -x_76 = lean_ctor_get(x_35, 0); -x_77 = lean_ctor_get(x_35, 1); +x_76 = lean_ctor_get(x_34, 0); +x_77 = lean_ctor_get(x_34, 1); lean_inc(x_77); lean_inc(x_76); -lean_dec(x_35); +lean_dec(x_34); x_78 = lean_array_get_size(x_77); x_79 = lean_usize_of_nat(x_78); lean_dec(x_78); -x_80 = lean_usize_sub(x_79, x_30); -x_81 = lean_usize_land(x_28, x_80); +x_80 = lean_usize_sub(x_79, x_29); +x_81 = lean_usize_land(x_27, x_80); x_82 = lean_array_uget(x_77, x_81); +lean_inc(x_82); x_83 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_82); if (x_83 == 0) { -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; uint8_t x_93; +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; x_84 = lean_unsigned_to_nat(1u); x_85 = lean_nat_add(x_76, x_84); lean_dec(x_76); -lean_inc(x_32); -x_86 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_86, 0, x_14); -lean_ctor_set(x_86, 1, x_32); -lean_ctor_set(x_86, 2, x_82); -x_87 = lean_array_uset(x_77, x_81, x_86); -x_88 = lean_unsigned_to_nat(4u); -x_89 = lean_nat_mul(x_85, x_88); -x_90 = lean_unsigned_to_nat(3u); -x_91 = lean_nat_div(x_89, x_90); -lean_dec(x_89); -x_92 = lean_array_get_size(x_87); -x_93 = lean_nat_dec_le(x_91, x_92); +x_86 = lean_box_uint64(x_14); +lean_inc(x_31); +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_31); +lean_ctor_set(x_87, 2, x_82); +x_88 = lean_array_uset(x_77, x_81, x_87); +x_89 = lean_unsigned_to_nat(4u); +x_90 = lean_nat_mul(x_85, x_89); +x_91 = lean_unsigned_to_nat(3u); +x_92 = lean_nat_div(x_90, x_91); +lean_dec(x_90); +x_93 = lean_array_get_size(x_88); +x_94 = lean_nat_dec_le(x_92, x_93); +lean_dec(x_93); lean_dec(x_92); -lean_dec(x_91); -if (x_93 == 0) +if (x_94 == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_94 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_87); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_85); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_st_ref_set(x_3, x_95, x_36); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_98 = x_96; -} else { - lean_dec_ref(x_96); - x_98 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(0, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_32); -lean_ctor_set(x_99, 1, x_97); -return x_99; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_85); -lean_ctor_set(x_100, 1, x_87); -x_101 = lean_st_ref_set(x_3, x_100, x_36); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_103 = x_101; -} else { - lean_dec_ref(x_101); - x_103 = lean_box(0); -} -if (lean_is_scalar(x_103)) { - x_104 = lean_alloc_ctor(0, 2, 0); -} else { - x_104 = x_103; -} -lean_ctor_set(x_104, 0, x_32); -lean_ctor_set(x_104, 1, x_102); -return x_104; -} -} -else -{ -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; -x_105 = lean_box(0); -x_106 = lean_array_uset(x_77, x_81, x_105); -lean_inc(x_32); -x_107 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_32, x_82); -x_108 = lean_array_uset(x_106, x_81, x_107); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_76); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_st_ref_set(x_3, x_109, x_36); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_112 = x_110; -} else { - lean_dec_ref(x_110); - x_112 = lean_box(0); -} -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_112; -} -lean_ctor_set(x_113, 0, x_32); -lean_ctor_set(x_113, 1, x_111); -return x_113; -} -} -} -else -{ -uint8_t x_114; -lean_dec(x_14); -x_114 = !lean_is_exclusive(x_31); -if (x_114 == 0) -{ -return x_31; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_31, 0); -x_116 = lean_ctor_get(x_31, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_31); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_10, 2); -x_14 = l_Lean_isTracingEnabledForCore(x_1, x_13, x_12); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -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_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; -} -} -} -static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__1() { -_start: -{ -lean_object* x_1; uint8_t x_2; double x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = 0; -x_3 = l_Float_ofScientific(x_1, x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("", 0, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_array_mk(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; 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_14 = lean_ctor_get(x_11, 5); -x_15 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -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_st_ref_take(x_12, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 3); -lean_inc(x_20); -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, 1); -x_23 = lean_ctor_get(x_18, 0); -lean_dec(x_23); -x_24 = !lean_is_exclusive(x_19); -if (x_24 == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_19, 3); -lean_dec(x_25); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -lean_object* x_27; double x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_27 = lean_ctor_get(x_20, 0); -x_28 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__1; -x_29 = 0; -x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2; -x_31 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set_float(x_31, sizeof(void*)*2, x_28); -lean_ctor_set_float(x_31, sizeof(void*)*2 + 8, x_28); -lean_ctor_set_uint8(x_31, sizeof(void*)*2 + 16, x_29); -x_32 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3; -x_33 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_16); -lean_ctor_set(x_33, 2, x_32); -lean_inc(x_14); -lean_ctor_set(x_18, 1, x_33); -lean_ctor_set(x_18, 0, x_14); -x_34 = l_Lean_PersistentArray_push___rarg(x_27, x_18); -lean_ctor_set(x_20, 0, x_34); -x_35 = lean_st_ref_set(x_12, x_19, x_22); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -x_38 = lean_box(0); -lean_ctor_set(x_35, 0, x_38); -return x_35; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_35, 1); -lean_inc(x_39); -lean_dec(x_35); -x_40 = lean_box(0); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; -} -} -else -{ -uint64_t x_42; lean_object* x_43; double x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_42 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); -x_43 = lean_ctor_get(x_20, 0); -lean_inc(x_43); -lean_dec(x_20); -x_44 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__1; -x_45 = 0; -x_46 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2; -x_47 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_47, 0, x_1); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set_float(x_47, sizeof(void*)*2, x_44); -lean_ctor_set_float(x_47, sizeof(void*)*2 + 8, x_44); -lean_ctor_set_uint8(x_47, sizeof(void*)*2 + 16, x_45); -x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3; -x_49 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_16); -lean_ctor_set(x_49, 2, x_48); -lean_inc(x_14); -lean_ctor_set(x_18, 1, x_49); -lean_ctor_set(x_18, 0, x_14); -x_50 = l_Lean_PersistentArray_push___rarg(x_43, x_18); -x_51 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set_uint64(x_51, sizeof(void*)*1, x_42); -lean_ctor_set(x_19, 3, x_51); -x_52 = lean_st_ref_set(x_12, x_19, x_22); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -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; uint64_t x_64; lean_object* x_65; lean_object* x_66; double x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_57 = lean_ctor_get(x_19, 0); -x_58 = lean_ctor_get(x_19, 1); -x_59 = lean_ctor_get(x_19, 2); -x_60 = lean_ctor_get(x_19, 4); -x_61 = lean_ctor_get(x_19, 5); -x_62 = lean_ctor_get(x_19, 6); -x_63 = lean_ctor_get(x_19, 7); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_19); -x_64 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); -x_65 = lean_ctor_get(x_20, 0); -lean_inc(x_65); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_66 = x_20; -} else { - lean_dec_ref(x_20); - x_66 = lean_box(0); -} -x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__1; -x_68 = 0; -x_69 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2; -x_70 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_70, 0, x_1); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set_float(x_70, sizeof(void*)*2, x_67); -lean_ctor_set_float(x_70, sizeof(void*)*2 + 8, x_67); -lean_ctor_set_uint8(x_70, sizeof(void*)*2 + 16, x_68); -x_71 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3; -x_72 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_16); -lean_ctor_set(x_72, 2, x_71); -lean_inc(x_14); -lean_ctor_set(x_18, 1, x_72); -lean_ctor_set(x_18, 0, x_14); -x_73 = l_Lean_PersistentArray_push___rarg(x_65, x_18); -if (lean_is_scalar(x_66)) { - x_74 = lean_alloc_ctor(0, 1, 8); -} else { - x_74 = x_66; -} -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set_uint64(x_74, sizeof(void*)*1, x_64); -x_75 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_75, 0, x_57); -lean_ctor_set(x_75, 1, x_58); -lean_ctor_set(x_75, 2, x_59); -lean_ctor_set(x_75, 3, x_74); -lean_ctor_set(x_75, 4, x_60); -lean_ctor_set(x_75, 5, x_61); -lean_ctor_set(x_75, 6, x_62); -lean_ctor_set(x_75, 7, x_63); -x_76 = lean_st_ref_set(x_12, x_75, x_22); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_78 = x_76; -} else { - lean_dec_ref(x_76); - x_78 = lean_box(0); -} -x_79 = lean_box(0); -if (lean_is_scalar(x_78)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_78; -} -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_77); -return x_80; -} -} -else -{ -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; uint64_t x_90; lean_object* x_91; lean_object* x_92; double x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_81 = lean_ctor_get(x_18, 1); -lean_inc(x_81); -lean_dec(x_18); -x_82 = lean_ctor_get(x_19, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_19, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_19, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_19, 4); -lean_inc(x_85); -x_86 = lean_ctor_get(x_19, 5); -lean_inc(x_86); -x_87 = lean_ctor_get(x_19, 6); -lean_inc(x_87); -x_88 = lean_ctor_get(x_19, 7); -lean_inc(x_88); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - lean_ctor_release(x_19, 2); - lean_ctor_release(x_19, 3); - lean_ctor_release(x_19, 4); - lean_ctor_release(x_19, 5); - lean_ctor_release(x_19, 6); - lean_ctor_release(x_19, 7); - x_89 = x_19; -} else { - lean_dec_ref(x_19); - x_89 = lean_box(0); -} -x_90 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); -x_91 = lean_ctor_get(x_20, 0); -lean_inc(x_91); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_92 = x_20; -} else { - lean_dec_ref(x_20); - x_92 = lean_box(0); -} -x_93 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__1; -x_94 = 0; -x_95 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2; -x_96 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_96, 0, x_1); +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_95 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_88); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_85); lean_ctor_set(x_96, 1, x_95); -lean_ctor_set_float(x_96, sizeof(void*)*2, x_93); -lean_ctor_set_float(x_96, sizeof(void*)*2 + 8, x_93); -lean_ctor_set_uint8(x_96, sizeof(void*)*2 + 16, x_94); -x_97 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3; -x_98 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_16); -lean_ctor_set(x_98, 2, x_97); -lean_inc(x_14); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_14); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_PersistentArray_push___rarg(x_91, x_99); -if (lean_is_scalar(x_92)) { - x_101 = lean_alloc_ctor(0, 1, 8); +x_97 = lean_st_ref_set(x_3, x_96, x_35); +x_98 = lean_ctor_get(x_97, 1); +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 { - x_101 = x_92; + lean_dec_ref(x_97); + x_99 = lean_box(0); } -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set_uint64(x_101, sizeof(void*)*1, x_90); -if (lean_is_scalar(x_89)) { - x_102 = lean_alloc_ctor(0, 8, 0); +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(0, 2, 0); } else { - x_102 = x_89; + x_100 = x_99; } -lean_ctor_set(x_102, 0, x_82); -lean_ctor_set(x_102, 1, x_83); -lean_ctor_set(x_102, 2, x_84); -lean_ctor_set(x_102, 3, x_101); -lean_ctor_set(x_102, 4, x_85); -lean_ctor_set(x_102, 5, x_86); -lean_ctor_set(x_102, 6, x_87); -lean_ctor_set(x_102, 7, x_88); -x_103 = lean_st_ref_set(x_12, x_102, x_81); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; +lean_ctor_set(x_100, 0, x_31); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_85); +lean_ctor_set(x_101, 1, x_88); +x_102 = lean_st_ref_set(x_3, x_101, x_35); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; } else { - lean_dec_ref(x_103); - x_105 = lean_box(0); + lean_dec_ref(x_102); + x_104 = lean_box(0); } +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(0, 2, 0); +} else { + x_105 = x_104; +} +lean_ctor_set(x_105, 0, x_31); +lean_ctor_set(x_105, 1, x_103); +return x_105; +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; x_106 = lean_box(0); -if (lean_is_scalar(x_105)) { - x_107 = lean_alloc_ctor(0, 2, 0); +x_107 = lean_array_uset(x_77, x_81, x_106); +lean_inc(x_31); +x_108 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_31, x_82); +x_109 = lean_array_uset(x_107, x_81, x_108); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_76); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_st_ref_set(x_3, x_110, x_35); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_113 = x_111; } else { - x_107 = x_105; + lean_dec_ref(x_111); + x_113 = lean_box(0); } -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_104); -return x_107; +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_31); +lean_ctor_set(x_114, 1, x_112); +return x_114; } } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__1() { +else +{ +uint8_t x_115; +x_115 = !lean_is_exclusive(x_30); +if (x_115 == 0) +{ +return x_30; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_30, 0); +x_117 = lean_ctor_get(x_30, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_30); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1() { _start: { lean_object* x_1; @@ -10896,34 +10487,156 @@ x_1 = lean_mk_string_unchecked("dvd_unsat", 9, 9); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__1; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__2; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__4() { _start: { -lean_object* x_14; -lean_inc(x_3); -lean_inc(x_1); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("le_unsat", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__4; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__5; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("eq_unsat_coeff", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__7; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__8; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("eq_unsat", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__10; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__11; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("diseq_unsat", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__13; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__14; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(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: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +lean_inc(x_2); +lean_inc(x_13); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_14) == 0) { uint8_t x_15; @@ -10932,13 +10645,13 @@ if (x_15 == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_1, 0); +x_17 = lean_ctor_get(x_13, 0); lean_inc(x_17); x_18 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; x_19 = lean_int_dec_le(x_18, x_17); -x_20 = lean_ctor_get(x_1, 1); +x_20 = lean_ctor_get(x_13, 1); lean_inc(x_20); -lean_dec(x_1); +lean_dec(x_13); x_21 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_20); if (x_19 == 0) { @@ -10952,9 +10665,9 @@ x_25 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; x_26 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; x_27 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; x_28 = l_Lean_mkApp3(x_25, x_26, x_27, x_24); -x_29 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3; +x_29 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__3; x_30 = l_Lean_reflBoolTrue; -x_31 = l_Lean_mkApp5(x_29, x_3, x_28, x_21, x_30, x_16); +x_31 = l_Lean_mkApp5(x_29, x_2, x_28, x_21, x_30, x_16); lean_ctor_set(x_14, 0, x_31); return x_14; } @@ -10964,9 +10677,9 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean x_32 = l_Int_toNat(x_17); lean_dec(x_17); x_33 = l_Lean_instToExprInt_mkNat(x_32); -x_34 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3; +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__3; x_35 = l_Lean_reflBoolTrue; -x_36 = l_Lean_mkApp5(x_34, x_3, x_33, x_21, x_35, x_16); +x_36 = l_Lean_mkApp5(x_34, x_2, x_33, x_21, x_35, x_16); lean_ctor_set(x_14, 0, x_36); return x_14; } @@ -10979,13 +10692,13 @@ x_38 = lean_ctor_get(x_14, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_14); -x_39 = lean_ctor_get(x_1, 0); +x_39 = lean_ctor_get(x_13, 0); lean_inc(x_39); x_40 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; x_41 = lean_int_dec_le(x_40, x_39); -x_42 = lean_ctor_get(x_1, 1); +x_42 = lean_ctor_get(x_13, 1); lean_inc(x_42); -lean_dec(x_1); +lean_dec(x_13); x_43 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_42); if (x_41 == 0) { @@ -10999,9 +10712,9 @@ x_47 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; x_48 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; x_49 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; x_50 = l_Lean_mkApp3(x_47, x_48, x_49, x_46); -x_51 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3; +x_51 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__3; x_52 = l_Lean_reflBoolTrue; -x_53 = l_Lean_mkApp5(x_51, x_3, x_50, x_43, x_52, x_37); +x_53 = l_Lean_mkApp5(x_51, x_2, x_50, x_43, x_52, x_37); x_54 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_38); @@ -11013,9 +10726,9 @@ lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean x_55 = l_Int_toNat(x_39); lean_dec(x_39); x_56 = l_Lean_instToExprInt_mkNat(x_55); -x_57 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3; +x_57 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__3; x_58 = l_Lean_reflBoolTrue; -x_59 = l_Lean_mkApp5(x_57, x_3, x_56, x_43, x_58, x_37); +x_59 = l_Lean_mkApp5(x_57, x_2, x_56, x_43, x_58, x_37); x_60 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_38); @@ -11026,8 +10739,8 @@ return x_60; else { uint8_t x_61; -lean_dec(x_3); -lean_dec(x_1); +lean_dec(x_13); +lean_dec(x_2); x_61 = !lean_is_exclusive(x_14); if (x_61 == 0) { @@ -11048,1084 +10761,345 @@ return x_64; } } } -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__1() { -_start: +case 1: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("le_unsat", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__2; -x_3 = l_Lean_Expr_const___override(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -lean_inc(x_3); -lean_inc(x_1); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -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, 0); -x_17 = lean_ctor_get(x_1, 0); -lean_inc(x_17); +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_1, 0); +lean_inc(x_65); lean_dec(x_1); -x_18 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_17); -x_19 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__3; -x_20 = l_Lean_reflBoolTrue; -x_21 = l_Lean_mkApp4(x_19, x_3, x_18, x_20, x_16); -lean_ctor_set(x_14, 0, x_21); -return x_14; -} -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 = lean_ctor_get(x_14, 0); -x_23 = lean_ctor_get(x_14, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_14); -x_24 = lean_ctor_get(x_1, 0); -lean_inc(x_24); -lean_dec(x_1); -x_25 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_24); -x_26 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__3; -x_27 = l_Lean_reflBoolTrue; -x_28 = l_Lean_mkApp4(x_26, x_3, x_25, x_27, x_22); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_23); -return x_29; -} -} -else -{ -uint8_t x_30; -lean_dec(x_3); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_14); -if (x_30 == 0) -{ -return x_14; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_14, 0); -x_32 = lean_ctor_get(x_14, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_14); -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; -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("eq_unsat_coeff", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__2; -x_3 = l_Lean_Expr_const___override(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("eq_unsat", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__4; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__5; -x_3 = l_Lean_Expr_const___override(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -x_15 = l_Int_Linear_Poly_isUnsatEq(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = l_Int_Linear_Poly_gcdCoeffs_x27(x_14); -lean_inc(x_3); -x_17 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_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; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_ctor_get(x_17, 0); -x_20 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_14); -x_21 = lean_nat_to_int(x_16); -x_22 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_23 = lean_int_dec_le(x_22, x_21); -if (x_23 == 0) -{ -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_24 = lean_int_neg(x_21); -lean_dec(x_21); -x_25 = l_Int_toNat(x_24); -lean_dec(x_24); -x_26 = l_Lean_instToExprInt_mkNat(x_25); -x_27 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_28 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_29 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_30 = l_Lean_mkApp3(x_27, x_28, x_29, x_26); -x_31 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3; -x_32 = l_Lean_reflBoolTrue; -x_33 = l_Lean_mkApp5(x_31, x_3, x_20, x_30, x_32, x_19); -lean_ctor_set(x_17, 0, x_33); -return x_17; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_34 = l_Int_toNat(x_21); -lean_dec(x_21); -x_35 = l_Lean_instToExprInt_mkNat(x_34); -x_36 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3; -x_37 = l_Lean_reflBoolTrue; -x_38 = l_Lean_mkApp5(x_36, x_3, x_20, x_35, x_37, x_19); -lean_ctor_set(x_17, 0, x_38); -return x_17; -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_39 = lean_ctor_get(x_17, 0); -x_40 = lean_ctor_get(x_17, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_17); -x_41 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_14); -x_42 = lean_nat_to_int(x_16); -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_44 = lean_int_dec_le(x_43, x_42); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_45 = lean_int_neg(x_42); -lean_dec(x_42); -x_46 = l_Int_toNat(x_45); -lean_dec(x_45); -x_47 = l_Lean_instToExprInt_mkNat(x_46); -x_48 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_49 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_50 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_51 = l_Lean_mkApp3(x_48, x_49, x_50, x_47); -x_52 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3; -x_53 = l_Lean_reflBoolTrue; -x_54 = l_Lean_mkApp5(x_52, x_3, x_41, x_51, x_53, x_39); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_40); -return x_55; -} -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; -x_56 = l_Int_toNat(x_42); -lean_dec(x_42); -x_57 = l_Lean_instToExprInt_mkNat(x_56); -x_58 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3; -x_59 = l_Lean_reflBoolTrue; -x_60 = l_Lean_mkApp5(x_58, x_3, x_41, x_57, x_59, x_39); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_40); -return x_61; -} -} -} -else -{ -uint8_t x_62; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_3); -x_62 = !lean_is_exclusive(x_17); -if (x_62 == 0) -{ -return x_17; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_17, 0); -x_64 = lean_ctor_get(x_17, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_17); -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 -{ -lean_object* x_66; -lean_inc(x_3); -x_66 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_inc(x_2); +lean_inc(x_65); +x_66 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_toExprProof(x_65, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_66) == 0) { uint8_t x_67; x_67 = !lean_is_exclusive(x_66); if (x_67 == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; x_68 = lean_ctor_get(x_66, 0); -x_69 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_14); -x_70 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__6; -x_71 = l_Lean_reflBoolTrue; -x_72 = l_Lean_mkApp4(x_70, x_3, x_69, x_71, x_68); -lean_ctor_set(x_66, 0, x_72); +x_69 = lean_ctor_get(x_65, 0); +lean_inc(x_69); +lean_dec(x_65); +x_70 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_69); +x_71 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; +x_72 = l_Lean_reflBoolTrue; +x_73 = l_Lean_mkApp4(x_71, x_2, x_70, x_72, x_68); +lean_ctor_set(x_66, 0, x_73); return x_66; } 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; -x_73 = lean_ctor_get(x_66, 0); -x_74 = lean_ctor_get(x_66, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_74 = lean_ctor_get(x_66, 0); +x_75 = lean_ctor_get(x_66, 1); +lean_inc(x_75); lean_inc(x_74); -lean_inc(x_73); lean_dec(x_66); -x_75 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_14); -x_76 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__6; -x_77 = l_Lean_reflBoolTrue; -x_78 = l_Lean_mkApp4(x_76, x_3, x_75, x_77, x_73); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_74); -return x_79; +x_76 = lean_ctor_get(x_65, 0); +lean_inc(x_76); +lean_dec(x_65); +x_77 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_76); +x_78 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; +x_79 = l_Lean_reflBoolTrue; +x_80 = l_Lean_mkApp4(x_78, x_2, x_77, x_79, x_74); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_75); +return x_81; } } else { -uint8_t x_80; -lean_dec(x_14); -lean_dec(x_3); -x_80 = !lean_is_exclusive(x_66); -if (x_80 == 0) +uint8_t x_82; +lean_dec(x_65); +lean_dec(x_2); +x_82 = !lean_is_exclusive(x_66); +if (x_82 == 0) { return x_66; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_66, 0); -x_82 = lean_ctor_get(x_66, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_66); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; -} -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("diseq_unsat", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__2; -x_3 = l_Lean_Expr_const___override(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -lean_inc(x_3); -lean_inc(x_1); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -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, 0); -x_17 = lean_ctor_get(x_1, 0); -lean_inc(x_17); -lean_dec(x_1); -x_18 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_17); -x_19 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__3; -x_20 = l_Lean_reflBoolTrue; -x_21 = l_Lean_mkApp4(x_19, x_3, x_18, x_20, x_16); -lean_ctor_set(x_14, 0, x_21); -return x_14; -} -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 = lean_ctor_get(x_14, 0); -x_23 = lean_ctor_get(x_14, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_14); -x_24 = lean_ctor_get(x_1, 0); -lean_inc(x_24); -lean_dec(x_1); -x_25 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_24); -x_26 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__3; -x_27 = l_Lean_reflBoolTrue; -x_28 = l_Lean_mkApp4(x_26, x_3, x_25, x_27, x_22); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_23); -return x_29; -} -} -else -{ -uint8_t x_30; -lean_dec(x_3); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_14); -if (x_30 == 0) -{ -return x_14; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_14, 0); -x_32 = lean_ctor_get(x_14, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_14); -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; -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("grind", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("cutsat", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("dvd", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("unsat", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__3; -x_4 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("le", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__7; -x_4 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("eq", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__9; -x_4 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("diseq", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__11; -x_4 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__4; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore(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: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -lean_dec(x_1); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__5; -x_15 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -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_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = lean_box(0); -x_20 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1(x_13, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -return x_20; -} -else -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_15); -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_15, 1); -x_23 = lean_ctor_get(x_15, 0); -lean_dec(x_23); -lean_inc(x_13); -x_24 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -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_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -x_28 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -lean_ctor_set_tag(x_24, 7); -lean_ctor_set(x_24, 1, x_26); -lean_ctor_set(x_24, 0, x_28); -lean_ctor_set_tag(x_15, 7); -lean_ctor_set(x_15, 1, x_28); -lean_ctor_set(x_15, 0, x_24); -x_29 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1(x_13, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -lean_dec(x_30); -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; -x_33 = lean_ctor_get(x_24, 0); -x_34 = lean_ctor_get(x_24, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_24); -x_35 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -x_36 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -lean_ctor_set_tag(x_15, 7); -lean_ctor_set(x_15, 1, x_35); -lean_ctor_set(x_15, 0, x_36); -x_37 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1(x_13, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_39); -lean_dec(x_38); -return x_40; -} -} -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; -x_41 = lean_ctor_get(x_15, 1); -lean_inc(x_41); -lean_dec(x_15); -lean_inc(x_13); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_45 = x_42; -} else { - lean_dec_ref(x_42); - x_45 = lean_box(0); -} -x_46 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -if (lean_is_scalar(x_45)) { - x_47 = lean_alloc_ctor(7, 2, 0); -} else { - x_47 = x_45; - lean_ctor_set_tag(x_47, 7); -} -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_43); -x_48 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_14, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44); -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_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1(x_13, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -lean_dec(x_50); -return x_52; -} -} -} -case 1: -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_53 = lean_ctor_get(x_1, 0); -lean_inc(x_53); -lean_dec(x_1); -x_54 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__8; -x_55 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__1(x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_unbox(x_56); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -x_59 = lean_box(0); -x_60 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2(x_53, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58); -return x_60; -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_55); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_62 = lean_ctor_get(x_55, 1); -x_63 = lean_ctor_get(x_55, 0); -lean_dec(x_63); -lean_inc(x_53); -x_64 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_53, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_62); -x_65 = !lean_is_exclusive(x_64); -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; -x_66 = lean_ctor_get(x_64, 0); -x_67 = lean_ctor_get(x_64, 1); -x_68 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -lean_ctor_set_tag(x_64, 7); -lean_ctor_set(x_64, 1, x_66); -lean_ctor_set(x_64, 0, x_68); -lean_ctor_set_tag(x_55, 7); -lean_ctor_set(x_55, 1, x_68); -lean_ctor_set(x_55, 0, x_64); -x_69 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_54, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_67); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2(x_53, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_71); -lean_dec(x_70); -return x_72; -} -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; lean_object* x_80; -x_73 = lean_ctor_get(x_64, 0); -x_74 = lean_ctor_get(x_64, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_64); -x_75 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -x_76 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_73); -lean_ctor_set_tag(x_55, 7); -lean_ctor_set(x_55, 1, x_75); -lean_ctor_set(x_55, 0, x_76); -x_77 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_54, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_74); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2(x_53, x_78, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_79); -lean_dec(x_78); -return x_80; -} -} -else -{ -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; -x_81 = lean_ctor_get(x_55, 1); -lean_inc(x_81); -lean_dec(x_55); -lean_inc(x_53); -x_82 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_53, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_66, 0); +x_84 = lean_ctor_get(x_66, 1); lean_inc(x_84); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_85 = x_82; -} else { - lean_dec_ref(x_82); - x_85 = lean_box(0); -} -x_86 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -if (lean_is_scalar(x_85)) { - x_87 = lean_alloc_ctor(7, 2, 0); -} else { - x_87 = x_85; - lean_ctor_set_tag(x_87, 7); -} -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_83); -x_88 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_54, x_88, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_84); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2(x_53, x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_91); -lean_dec(x_90); -return x_92; +lean_inc(x_83); +lean_dec(x_66); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } case 2: { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_1, 0); -lean_inc(x_93); +lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_86 = lean_ctor_get(x_1, 0); +lean_inc(x_86); lean_dec(x_1); -x_94 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__10; -x_95 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__1(x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_unbox(x_96); -lean_dec(x_96); -if (x_97 == 0) +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = l_Int_Linear_Poly_isUnsatEq(x_87); +if (x_88 == 0) { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_dec(x_95); -x_99 = lean_box(0); -x_100 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3(x_93, x_99, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_98); -return x_100; +lean_object* x_89; lean_object* x_90; +x_89 = l_Int_Linear_Poly_gcdCoeffs_x27(x_87); +lean_inc(x_2); +x_90 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_90) == 0) +{ +uint8_t x_91; +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_92 = lean_ctor_get(x_90, 0); +x_93 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_87); +x_94 = lean_nat_to_int(x_89); +x_95 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_96 = lean_int_dec_le(x_95, x_94); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_97 = lean_int_neg(x_94); +lean_dec(x_94); +x_98 = l_Int_toNat(x_97); +lean_dec(x_97); +x_99 = l_Lean_instToExprInt_mkNat(x_98); +x_100 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_101 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_102 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_103 = l_Lean_mkApp3(x_100, x_101, x_102, x_99); +x_104 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__9; +x_105 = l_Lean_reflBoolTrue; +x_106 = l_Lean_mkApp5(x_104, x_2, x_93, x_103, x_105, x_92); +lean_ctor_set(x_90, 0, x_106); +return x_90; } else { -uint8_t x_101; -x_101 = !lean_is_exclusive(x_95); -if (x_101 == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; -x_102 = lean_ctor_get(x_95, 1); -x_103 = lean_ctor_get(x_95, 0); -lean_dec(x_103); -lean_inc(x_93); -x_104 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_93, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_102); -x_105 = !lean_is_exclusive(x_104); -if (x_105 == 0) -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_106 = lean_ctor_get(x_104, 0); -x_107 = lean_ctor_get(x_104, 1); -x_108 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -lean_ctor_set_tag(x_104, 7); -lean_ctor_set(x_104, 1, x_106); -lean_ctor_set(x_104, 0, x_108); -lean_ctor_set_tag(x_95, 7); -lean_ctor_set(x_95, 1, x_108); -lean_ctor_set(x_95, 0, x_104); -x_109 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_94, x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_107); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3(x_93, x_110, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_111); -lean_dec(x_110); -return x_112; +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_107 = l_Int_toNat(x_94); +lean_dec(x_94); +x_108 = l_Lean_instToExprInt_mkNat(x_107); +x_109 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__9; +x_110 = l_Lean_reflBoolTrue; +x_111 = l_Lean_mkApp5(x_109, x_2, x_93, x_108, x_110, x_92); +lean_ctor_set(x_90, 0, x_111); +return x_90; +} } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_113 = lean_ctor_get(x_104, 0); -x_114 = lean_ctor_get(x_104, 1); -lean_inc(x_114); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_112 = lean_ctor_get(x_90, 0); +x_113 = lean_ctor_get(x_90, 1); lean_inc(x_113); -lean_dec(x_104); -x_115 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -x_116 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_113); -lean_ctor_set_tag(x_95, 7); -lean_ctor_set(x_95, 1, x_115); -lean_ctor_set(x_95, 0, x_116); -x_117 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_94, x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_114); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3(x_93, x_118, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_119); +lean_inc(x_112); +lean_dec(x_90); +x_114 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_87); +x_115 = lean_nat_to_int(x_89); +x_116 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_117 = lean_int_dec_le(x_116, x_115); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_118 = lean_int_neg(x_115); +lean_dec(x_115); +x_119 = l_Int_toNat(x_118); lean_dec(x_118); -return x_120; +x_120 = l_Lean_instToExprInt_mkNat(x_119); +x_121 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_122 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_123 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_124 = l_Lean_mkApp3(x_121, x_122, x_123, x_120); +x_125 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__9; +x_126 = l_Lean_reflBoolTrue; +x_127 = l_Lean_mkApp5(x_125, x_2, x_114, x_124, x_126, x_112); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_113); +return x_128; +} +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; +x_129 = l_Int_toNat(x_115); +lean_dec(x_115); +x_130 = l_Lean_instToExprInt_mkNat(x_129); +x_131 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__9; +x_132 = l_Lean_reflBoolTrue; +x_133 = l_Lean_mkApp5(x_131, x_2, x_114, x_130, x_132, x_112); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_113); +return x_134; +} } } else { -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_121 = lean_ctor_get(x_95, 1); -lean_inc(x_121); -lean_dec(x_95); -lean_inc(x_93); -x_122 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_93, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_121); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_125 = x_122; -} else { - lean_dec_ref(x_122); - x_125 = lean_box(0); +uint8_t x_135; +lean_dec(x_89); +lean_dec(x_87); +lean_dec(x_2); +x_135 = !lean_is_exclusive(x_90); +if (x_135 == 0) +{ +return x_90; } -x_126 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -if (lean_is_scalar(x_125)) { - x_127 = lean_alloc_ctor(7, 2, 0); -} else { - x_127 = x_125; - lean_ctor_set_tag(x_127, 7); +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_90, 0); +x_137 = lean_ctor_get(x_90, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_90); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +} +} +else +{ +lean_object* x_139; +lean_inc(x_2); +x_139 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_139) == 0) +{ +uint8_t x_140; +x_140 = !lean_is_exclusive(x_139); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_141 = lean_ctor_get(x_139, 0); +x_142 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_87); +x_143 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12; +x_144 = l_Lean_reflBoolTrue; +x_145 = l_Lean_mkApp4(x_143, x_2, x_142, x_144, x_141); +lean_ctor_set(x_139, 0, x_145); +return x_139; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_146 = lean_ctor_get(x_139, 0); +x_147 = lean_ctor_get(x_139, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_139); +x_148 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_87); +x_149 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12; +x_150 = l_Lean_reflBoolTrue; +x_151 = l_Lean_mkApp4(x_149, x_2, x_148, x_150, x_146); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_147); +return x_152; +} +} +else +{ +uint8_t x_153; +lean_dec(x_87); +lean_dec(x_2); +x_153 = !lean_is_exclusive(x_139); +if (x_153 == 0) +{ +return x_139; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_139, 0); +x_155 = lean_ctor_get(x_139, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_139); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +return x_156; } -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_123); -x_128 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_94, x_128, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_124); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3(x_93, x_130, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_131); -lean_dec(x_130); -return x_132; } } } default: { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_133 = lean_ctor_get(x_1, 0); -lean_inc(x_133); +lean_object* x_157; lean_object* x_158; +x_157 = lean_ctor_get(x_1, 0); +lean_inc(x_157); lean_dec(x_1); -x_134 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12; -x_135 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__1(x_134, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_unbox(x_136); -lean_dec(x_136); -if (x_137 == 0) +lean_inc(x_2); +lean_inc(x_157); +x_158 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_157, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_158) == 0) { -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_135, 1); -lean_inc(x_138); -lean_dec(x_135); -x_139 = lean_box(0); -x_140 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4(x_133, x_139, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_138); -return x_140; -} -else +uint8_t x_159; +x_159 = !lean_is_exclusive(x_158); +if (x_159 == 0) { -uint8_t x_141; -x_141 = !lean_is_exclusive(x_135); -if (x_141 == 0) -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -x_142 = lean_ctor_get(x_135, 1); -x_143 = lean_ctor_get(x_135, 0); -lean_dec(x_143); -lean_inc(x_133); -x_144 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_133, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_142); -x_145 = !lean_is_exclusive(x_144); -if (x_145 == 0) -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_146 = lean_ctor_get(x_144, 0); -x_147 = lean_ctor_get(x_144, 1); -x_148 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -lean_ctor_set_tag(x_144, 7); -lean_ctor_set(x_144, 1, x_146); -lean_ctor_set(x_144, 0, x_148); -lean_ctor_set_tag(x_135, 7); -lean_ctor_set(x_135, 1, x_148); -lean_ctor_set(x_135, 0, x_144); -x_149 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_134, x_135, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_147); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -lean_dec(x_149); -x_152 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4(x_133, x_150, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_151); -lean_dec(x_150); -return x_152; -} -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_153 = lean_ctor_get(x_144, 0); -x_154 = lean_ctor_get(x_144, 1); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_144); -x_155 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -x_156 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_153); -lean_ctor_set_tag(x_135, 7); -lean_ctor_set(x_135, 1, x_155); -lean_ctor_set(x_135, 0, x_156); -x_157 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_134, x_135, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_154); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4(x_133, x_158, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_159); -lean_dec(x_158); -return x_160; -} -} -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_161 = lean_ctor_get(x_135, 1); +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_160 = lean_ctor_get(x_158, 0); +x_161 = lean_ctor_get(x_157, 0); lean_inc(x_161); -lean_dec(x_135); -lean_inc(x_133); -x_162 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_133, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_161); -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_162, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_162)) { - lean_ctor_release(x_162, 0); - lean_ctor_release(x_162, 1); - x_165 = x_162; -} else { - lean_dec_ref(x_162); - x_165 = lean_box(0); +lean_dec(x_157); +x_162 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_161); +x_163 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__15; +x_164 = l_Lean_reflBoolTrue; +x_165 = l_Lean_mkApp4(x_163, x_2, x_162, x_164, x_160); +lean_ctor_set(x_158, 0, x_165); +return x_158; } -x_166 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__6; -if (lean_is_scalar(x_165)) { - x_167 = lean_alloc_ctor(7, 2, 0); -} else { - x_167 = x_165; - lean_ctor_set_tag(x_167, 7); +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_166 = lean_ctor_get(x_158, 0); +x_167 = lean_ctor_get(x_158, 1); +lean_inc(x_167); +lean_inc(x_166); +lean_dec(x_158); +x_168 = lean_ctor_get(x_157, 0); +lean_inc(x_168); +lean_dec(x_157); +x_169 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_168); +x_170 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__15; +x_171 = l_Lean_reflBoolTrue; +x_172 = l_Lean_mkApp4(x_170, x_2, x_169, x_171, x_166); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_167); +return x_173; } -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_163); -x_168 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_166); -x_169 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_134, x_168, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_164); -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_169, 1); -lean_inc(x_171); -lean_dec(x_169); -x_172 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4(x_133, x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_171); -lean_dec(x_170); -return x_172; +} +else +{ +uint8_t x_174; +lean_dec(x_157); +lean_dec(x_2); +x_174 = !lean_is_exclusive(x_158); +if (x_174 == 0) +{ +return x_158; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_158, 0); +x_176 = lean_ctor_get(x_158, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_158); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_175); +lean_ctor_set(x_177, 1, x_176); +return x_177; } } } @@ -12280,392 +11254,384 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(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; uint8_t x_16; +lean_object* x_13; uint64_t x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 2); -lean_inc(x_14); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(x_1); x_15 = lean_st_ref_get(x_3, x_12); 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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; size_t x_114; size_t x_115; lean_object* x_116; lean_object* x_117; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; size_t x_115; size_t x_116; lean_object* x_117; lean_object* x_118; x_17 = lean_ctor_get(x_15, 0); x_18 = lean_ctor_get(x_15, 1); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_14); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); +x_21 = 32; +x_22 = lean_uint64_shift_right(x_14, x_21); +x_23 = lean_uint64_xor(x_14, x_22); +x_24 = 16; +x_25 = lean_uint64_shift_right(x_23, x_24); +x_26 = lean_uint64_xor(x_23, x_25); +x_27 = lean_uint64_to_usize(x_26); +x_28 = lean_usize_of_nat(x_20); lean_dec(x_20); -x_30 = 1; -x_114 = lean_usize_sub(x_29, x_30); -x_115 = lean_usize_land(x_28, x_114); -x_116 = lean_array_uget(x_19, x_115); +x_29 = 1; +x_115 = lean_usize_sub(x_28, x_29); +x_116 = lean_usize_land(x_27, x_115); +x_117 = lean_array_uget(x_19, x_116); lean_dec(x_19); -x_117 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_116); -lean_dec(x_116); -if (lean_obj_tag(x_117) == 0) +x_118 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_117); +if (lean_obj_tag(x_118) == 0) { lean_free_object(x_15); switch (lean_obj_tag(x_13)) { case 0: { -lean_object* x_118; +lean_object* x_119; lean_dec(x_2); lean_dec(x_1); -x_118 = lean_ctor_get(x_13, 0); -lean_inc(x_118); +x_119 = lean_ctor_get(x_13, 0); +lean_inc(x_119); lean_dec(x_13); -x_31 = x_118; -x_32 = x_18; -goto block_113; +x_30 = x_119; +x_31 = x_18; +goto block_114; } case 1: { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_119 = lean_ctor_get(x_13, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_13, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_120 = lean_ctor_get(x_13, 0); lean_inc(x_120); -x_121 = lean_ctor_get(x_13, 2); +x_121 = lean_ctor_get(x_13, 1); lean_inc(x_121); +x_122 = lean_ctor_get(x_13, 2); +lean_inc(x_122); lean_dec(x_13); -x_122 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_119); x_123 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_120); -x_124 = lean_ctor_get(x_1, 0); -lean_inc(x_124); +x_124 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_121); +x_125 = lean_ctor_get(x_1, 0); +lean_inc(x_125); lean_dec(x_1); -x_125 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_124); -x_126 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__3; -x_127 = l_Lean_reflBoolTrue; -x_128 = l_Lean_mkApp6(x_126, x_2, x_122, x_123, x_125, x_127, x_121); -x_31 = x_128; -x_32 = x_18; -goto block_113; +x_126 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_125); +x_127 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__3; +x_128 = l_Lean_reflBoolTrue; +x_129 = l_Lean_mkApp6(x_127, x_2, x_123, x_124, x_126, x_128, x_122); +x_30 = x_129; +x_31 = x_18; +goto block_114; } case 2: { -lean_object* x_129; lean_object* x_130; -x_129 = lean_ctor_get(x_13, 0); -lean_inc(x_129); +lean_object* x_130; lean_object* x_131; +x_130 = lean_ctor_get(x_13, 0); +lean_inc(x_130); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_129); -x_130 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_129, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_130) == 0) +lean_inc(x_130); +x_131 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_130, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_131) == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_132 = lean_ctor_get(x_131, 0); lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_ctor_get(x_129, 0); +x_133 = lean_ctor_get(x_131, 1); lean_inc(x_133); -lean_dec(x_129); -x_134 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_133); -x_135 = lean_ctor_get(x_1, 0); -lean_inc(x_135); +lean_dec(x_131); +x_134 = lean_ctor_get(x_130, 0); +lean_inc(x_134); +lean_dec(x_130); +x_135 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_134); +x_136 = lean_ctor_get(x_1, 0); +lean_inc(x_136); lean_dec(x_1); -x_136 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_135); -x_137 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__6; -x_138 = l_Lean_reflBoolTrue; -x_139 = l_Lean_mkApp5(x_137, x_2, x_134, x_136, x_138, x_131); -x_31 = x_139; -x_32 = x_132; -goto block_113; +x_137 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_136); +x_138 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__6; +x_139 = l_Lean_reflBoolTrue; +x_140 = l_Lean_mkApp5(x_138, x_2, x_135, x_137, x_139, x_132); +x_30 = x_140; +x_31 = x_133; +goto block_114; } else { -uint8_t x_140; -lean_dec(x_129); -lean_dec(x_14); +uint8_t x_141; +lean_dec(x_130); lean_dec(x_2); lean_dec(x_1); -x_140 = !lean_is_exclusive(x_130); -if (x_140 == 0) +x_141 = !lean_is_exclusive(x_131); +if (x_141 == 0) { -return x_130; +return x_131; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_130, 0); -x_142 = lean_ctor_get(x_130, 1); +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_131, 0); +x_143 = lean_ctor_get(x_131, 1); +lean_inc(x_143); lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_130); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; +lean_dec(x_131); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; } } } case 3: { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_144 = lean_ctor_get(x_13, 0); -lean_inc(x_144); -lean_dec(x_13); -x_145 = lean_ctor_get(x_144, 0); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_145 = lean_ctor_get(x_13, 0); lean_inc(x_145); -x_146 = l_Int_Linear_Poly_getConst(x_145); -x_147 = l_Int_Linear_Poly_gcdCoeffs(x_145, x_146); +lean_dec(x_13); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = l_Int_Linear_Poly_getConst(x_146); +x_148 = l_Int_Linear_Poly_gcdCoeffs(x_146, x_147); lean_inc(x_2); -x_148 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_144, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_148) == 0) +x_149 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_145, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_149) == 0) { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_150 = lean_ctor_get(x_149, 0); lean_inc(x_150); -lean_dec(x_148); -x_151 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_145); -x_152 = lean_ctor_get(x_1, 0); -lean_inc(x_152); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_146); +x_153 = lean_ctor_get(x_1, 0); +lean_inc(x_153); lean_dec(x_1); -x_153 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_152); -x_154 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_155 = lean_int_dec_le(x_154, x_147); -if (x_155 == 0) +x_154 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_153); +x_155 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_156 = lean_int_dec_le(x_155, x_148); +if (x_156 == 0) { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_156 = lean_int_neg(x_147); -lean_dec(x_147); -x_157 = l_Int_toNat(x_156); -lean_dec(x_156); -x_158 = l_Lean_instToExprInt_mkNat(x_157); -x_159 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_160 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_161 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_162 = l_Lean_mkApp3(x_159, x_160, x_161, x_158); -x_163 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; -x_164 = l_Lean_reflBoolTrue; -x_165 = l_Lean_mkApp6(x_163, x_2, x_151, x_153, x_162, x_164, x_149); -x_31 = x_165; -x_32 = x_150; -goto block_113; +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_157 = lean_int_neg(x_148); +lean_dec(x_148); +x_158 = l_Int_toNat(x_157); +lean_dec(x_157); +x_159 = l_Lean_instToExprInt_mkNat(x_158); +x_160 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_161 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_162 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_163 = l_Lean_mkApp3(x_160, x_161, x_162, x_159); +x_164 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; +x_165 = l_Lean_reflBoolTrue; +x_166 = l_Lean_mkApp6(x_164, x_2, x_152, x_154, x_163, x_165, x_150); +x_30 = x_166; +x_31 = x_151; +goto block_114; } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_166 = l_Int_toNat(x_147); -lean_dec(x_147); -x_167 = l_Lean_instToExprInt_mkNat(x_166); -x_168 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; -x_169 = l_Lean_reflBoolTrue; -x_170 = l_Lean_mkApp6(x_168, x_2, x_151, x_153, x_167, x_169, x_149); -x_31 = x_170; -x_32 = x_150; -goto block_113; +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = l_Int_toNat(x_148); +lean_dec(x_148); +x_168 = l_Lean_instToExprInt_mkNat(x_167); +x_169 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; +x_170 = l_Lean_reflBoolTrue; +x_171 = l_Lean_mkApp6(x_169, x_2, x_152, x_154, x_168, x_170, x_150); +x_30 = x_171; +x_31 = x_151; +goto block_114; } } else { -uint8_t x_171; -lean_dec(x_147); -lean_dec(x_145); -lean_dec(x_14); +uint8_t x_172; +lean_dec(x_148); +lean_dec(x_146); lean_dec(x_2); lean_dec(x_1); -x_171 = !lean_is_exclusive(x_148); -if (x_171 == 0) +x_172 = !lean_is_exclusive(x_149); +if (x_172 == 0) { -return x_148; +return x_149; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_148, 0); -x_173 = lean_ctor_get(x_148, 1); +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_149, 0); +x_174 = lean_ctor_get(x_149, 1); +lean_inc(x_174); lean_inc(x_173); -lean_inc(x_172); -lean_dec(x_148); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_172); -lean_ctor_set(x_174, 1, x_173); -return x_174; +lean_dec(x_149); +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; } } } case 4: { -lean_object* x_175; lean_object* x_176; -x_175 = lean_ctor_get(x_13, 0); -lean_inc(x_175); +lean_object* x_176; lean_object* x_177; +x_176 = lean_ctor_get(x_13, 0); +lean_inc(x_176); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_175); -x_176 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_175, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_176) == 0) +lean_inc(x_176); +x_177 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_176, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_177) == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_178 = lean_ctor_get(x_177, 0); lean_inc(x_178); -lean_dec(x_176); -x_179 = lean_ctor_get(x_175, 0); +x_179 = lean_ctor_get(x_177, 1); lean_inc(x_179); -lean_dec(x_175); -x_180 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_179); -x_181 = lean_ctor_get(x_1, 0); -lean_inc(x_181); +lean_dec(x_177); +x_180 = lean_ctor_get(x_176, 0); +lean_inc(x_180); +lean_dec(x_176); +x_181 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_180); +x_182 = lean_ctor_get(x_1, 0); +lean_inc(x_182); lean_dec(x_1); -x_182 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_181); -x_183 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__12; -x_184 = l_Lean_reflBoolTrue; -x_185 = l_Lean_mkApp5(x_183, x_2, x_180, x_182, x_184, x_177); -x_31 = x_185; -x_32 = x_178; -goto block_113; +x_183 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_182); +x_184 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__12; +x_185 = l_Lean_reflBoolTrue; +x_186 = l_Lean_mkApp5(x_184, x_2, x_181, x_183, x_185, x_178); +x_30 = x_186; +x_31 = x_179; +goto block_114; } else { -uint8_t x_186; -lean_dec(x_175); -lean_dec(x_14); +uint8_t x_187; +lean_dec(x_176); lean_dec(x_2); lean_dec(x_1); -x_186 = !lean_is_exclusive(x_176); -if (x_186 == 0) +x_187 = !lean_is_exclusive(x_177); +if (x_187 == 0) { -return x_176; +return x_177; } else { -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_176, 0); -x_188 = lean_ctor_get(x_176, 1); +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_177, 0); +x_189 = lean_ctor_get(x_177, 1); +lean_inc(x_189); lean_inc(x_188); -lean_inc(x_187); -lean_dec(x_176); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -return x_189; +lean_dec(x_177); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); +return x_190; } } } default: { -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_190 = lean_ctor_get(x_13, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_13, 1); +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_191 = lean_ctor_get(x_13, 0); lean_inc(x_191); -x_192 = lean_ctor_get(x_13, 2); +x_192 = lean_ctor_get(x_13, 1); lean_inc(x_192); +x_193 = lean_ctor_get(x_13, 2); +lean_inc(x_193); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_191); -x_193 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_191, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_193) == 0) +lean_inc(x_192); +x_194 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_192, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_194) == 0) { -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_194, 0); lean_inc(x_195); -lean_dec(x_193); -lean_inc(x_2); -lean_inc(x_192); -x_196 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_192, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_195); -if (lean_obj_tag(x_196) == 0) -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -lean_dec(x_196); -x_199 = l_Lean_mkNatLit(x_190); -x_200 = lean_ctor_get(x_191, 0); -lean_inc(x_200); -lean_dec(x_191); -x_201 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_200); -x_202 = lean_ctor_get(x_192, 0); -lean_inc(x_202); -lean_dec(x_192); -x_203 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_202); -x_204 = lean_ctor_get(x_1, 0); -lean_inc(x_204); -lean_dec(x_1); -x_205 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_204); -x_206 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__15; -x_207 = l_Lean_reflBoolTrue; -x_208 = l_Lean_mkApp8(x_206, x_2, x_199, x_201, x_203, x_205, x_207, x_194, x_197); -x_31 = x_208; -x_32 = x_198; -goto block_113; -} -else -{ -uint8_t x_209; +x_196 = lean_ctor_get(x_194, 1); +lean_inc(x_196); lean_dec(x_194); +lean_inc(x_2); +lean_inc(x_193); +x_197 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_193, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_196); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = l_Lean_mkNatLit(x_191); +x_201 = lean_ctor_get(x_192, 0); +lean_inc(x_201); lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_209 = !lean_is_exclusive(x_196); -if (x_209 == 0) -{ -return x_196; -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_210 = lean_ctor_get(x_196, 0); -x_211 = lean_ctor_get(x_196, 1); -lean_inc(x_211); -lean_inc(x_210); -lean_dec(x_196); -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 -{ -uint8_t x_213; -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_213 = !lean_is_exclusive(x_193); -if (x_213 == 0) -{ -return x_193; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_193, 0); -x_215 = lean_ctor_get(x_193, 1); -lean_inc(x_215); -lean_inc(x_214); +x_202 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_201); +x_203 = lean_ctor_get(x_193, 0); +lean_inc(x_203); lean_dec(x_193); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -return x_216; +x_204 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_203); +x_205 = lean_ctor_get(x_1, 0); +lean_inc(x_205); +lean_dec(x_1); +x_206 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_205); +x_207 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__15; +x_208 = l_Lean_reflBoolTrue; +x_209 = l_Lean_mkApp8(x_207, x_2, x_200, x_202, x_204, x_206, x_208, x_195, x_198); +x_30 = x_209; +x_31 = x_199; +goto block_114; +} +else +{ +uint8_t x_210; +lean_dec(x_195); +lean_dec(x_193); +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_2); +lean_dec(x_1); +x_210 = !lean_is_exclusive(x_197); +if (x_210 == 0) +{ +return x_197; +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_211 = lean_ctor_get(x_197, 0); +x_212 = lean_ctor_get(x_197, 1); +lean_inc(x_212); +lean_inc(x_211); +lean_dec(x_197); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +return x_213; +} +} +} +else +{ +uint8_t x_214; +lean_dec(x_193); +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_2); +lean_dec(x_1); +x_214 = !lean_is_exclusive(x_194); +if (x_214 == 0) +{ +return x_194; +} +else +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_215 = lean_ctor_get(x_194, 0); +x_216 = lean_ctor_get(x_194, 1); +lean_inc(x_216); +lean_inc(x_215); +lean_dec(x_194); +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_215); +lean_ctor_set(x_217, 1, x_216); +return x_217; } } } @@ -12673,53 +11639,54 @@ return x_216; } else { -lean_object* x_217; -lean_dec(x_14); +lean_object* x_218; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_217 = lean_ctor_get(x_117, 0); -lean_inc(x_217); -lean_dec(x_117); -lean_ctor_set(x_15, 0, x_217); +x_218 = lean_ctor_get(x_118, 0); +lean_inc(x_218); +lean_dec(x_118); +lean_ctor_set(x_15, 0, x_218); return x_15; } -block_113: +block_114: { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_st_ref_take(x_3, x_32); -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_st_ref_take(x_3, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) +lean_dec(x_32); +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; size_t x_42; lean_object* x_43; uint8_t x_44; -x_37 = lean_ctor_get(x_34, 0); -x_38 = lean_ctor_get(x_34, 1); -x_39 = lean_array_get_size(x_38); -x_40 = lean_usize_of_nat(x_39); -lean_dec(x_39); -x_41 = lean_usize_sub(x_40, x_30); -x_42 = lean_usize_land(x_28, x_41); -x_43 = lean_array_uget(x_38, x_42); -x_44 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_43); -if (x_44 == 0) +lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +x_38 = lean_array_get_size(x_37); +x_39 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_40 = lean_usize_sub(x_39, x_29); +x_41 = lean_usize_land(x_27, x_40); +x_42 = lean_array_uget(x_37, x_41); +lean_inc(x_42); +x_43 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_42); +if (x_43 == 0) { -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; uint8_t x_54; -x_45 = lean_unsigned_to_nat(1u); -x_46 = lean_nat_add(x_37, x_45); -lean_dec(x_37); -lean_inc(x_31); +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; uint8_t x_54; +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_add(x_36, x_44); +lean_dec(x_36); +x_46 = lean_box_uint64(x_14); +lean_inc(x_30); x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_14); -lean_ctor_set(x_47, 1, x_31); -lean_ctor_set(x_47, 2, x_43); -x_48 = lean_array_uset(x_38, x_42, x_47); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_30); +lean_ctor_set(x_47, 2, x_42); +x_48 = lean_array_uset(x_37, x_41, x_47); x_49 = lean_unsigned_to_nat(4u); -x_50 = lean_nat_mul(x_46, x_49); +x_50 = lean_nat_mul(x_45, x_49); x_51 = lean_unsigned_to_nat(3u); x_52 = lean_nat_div(x_50, x_51); lean_dec(x_50); @@ -12731,16 +11698,16 @@ if (x_54 == 0) { lean_object* x_55; lean_object* x_56; uint8_t x_57; x_55 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_48); -lean_ctor_set(x_34, 1, x_55); -lean_ctor_set(x_34, 0, x_46); -x_56 = lean_st_ref_set(x_3, x_34, x_35); +lean_ctor_set(x_33, 1, x_55); +lean_ctor_set(x_33, 0, x_45); +x_56 = lean_st_ref_set(x_3, x_33, x_34); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) { lean_object* x_58; x_58 = lean_ctor_get(x_56, 0); lean_dec(x_58); -lean_ctor_set(x_56, 0, x_31); +lean_ctor_set(x_56, 0, x_30); return x_56; } else @@ -12750,7 +11717,7 @@ x_59 = lean_ctor_get(x_56, 1); lean_inc(x_59); lean_dec(x_56); x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_31); +lean_ctor_set(x_60, 0, x_30); lean_ctor_set(x_60, 1, x_59); return x_60; } @@ -12758,16 +11725,16 @@ return x_60; else { lean_object* x_61; uint8_t x_62; -lean_ctor_set(x_34, 1, x_48); -lean_ctor_set(x_34, 0, x_46); -x_61 = lean_st_ref_set(x_3, x_34, x_35); +lean_ctor_set(x_33, 1, x_48); +lean_ctor_set(x_33, 0, x_45); +x_61 = lean_st_ref_set(x_3, x_33, x_34); x_62 = !lean_is_exclusive(x_61); if (x_62 == 0) { lean_object* x_63; x_63 = lean_ctor_get(x_61, 0); lean_dec(x_63); -lean_ctor_set(x_61, 0, x_31); +lean_ctor_set(x_61, 0, x_30); return x_61; } else @@ -12777,7 +11744,7 @@ x_64 = lean_ctor_get(x_61, 1); lean_inc(x_64); lean_dec(x_61); x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_31); +lean_ctor_set(x_65, 0, x_30); lean_ctor_set(x_65, 1, x_64); return x_65; } @@ -12787,19 +11754,19 @@ else { 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_66 = lean_box(0); -x_67 = lean_array_uset(x_38, x_42, x_66); -lean_inc(x_31); -x_68 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_31, x_43); -x_69 = lean_array_uset(x_67, x_42, x_68); -lean_ctor_set(x_34, 1, x_69); -x_70 = lean_st_ref_set(x_3, x_34, x_35); +x_67 = lean_array_uset(x_37, x_41, x_66); +lean_inc(x_30); +x_68 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_30, x_42); +x_69 = lean_array_uset(x_67, x_41, x_68); +lean_ctor_set(x_33, 1, x_69); +x_70 = lean_st_ref_set(x_3, x_33, x_34); x_71 = !lean_is_exclusive(x_70); if (x_71 == 0) { lean_object* x_72; x_72 = lean_ctor_get(x_70, 0); lean_dec(x_72); -lean_ctor_set(x_70, 0, x_31); +lean_ctor_set(x_70, 0, x_30); return x_70; } else @@ -12809,7 +11776,7 @@ x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); lean_dec(x_70); x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_31); +lean_ctor_set(x_74, 0, x_30); lean_ctor_set(x_74, 1, x_73); return x_74; } @@ -12818,539 +11785,533 @@ return x_74; else { lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; size_t x_79; size_t x_80; lean_object* x_81; uint8_t x_82; -x_75 = lean_ctor_get(x_34, 0); -x_76 = lean_ctor_get(x_34, 1); +x_75 = lean_ctor_get(x_33, 0); +x_76 = lean_ctor_get(x_33, 1); lean_inc(x_76); lean_inc(x_75); -lean_dec(x_34); +lean_dec(x_33); x_77 = lean_array_get_size(x_76); x_78 = lean_usize_of_nat(x_77); lean_dec(x_77); -x_79 = lean_usize_sub(x_78, x_30); -x_80 = lean_usize_land(x_28, x_79); +x_79 = lean_usize_sub(x_78, x_29); +x_80 = lean_usize_land(x_27, x_79); x_81 = lean_array_uget(x_76, x_80); +lean_inc(x_81); x_82 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_81); if (x_82 == 0) { -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; uint8_t x_92; +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; uint8_t x_93; x_83 = lean_unsigned_to_nat(1u); x_84 = lean_nat_add(x_75, x_83); lean_dec(x_75); -lean_inc(x_31); -x_85 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_85, 0, x_14); -lean_ctor_set(x_85, 1, x_31); -lean_ctor_set(x_85, 2, x_81); -x_86 = lean_array_uset(x_76, x_80, x_85); -x_87 = lean_unsigned_to_nat(4u); -x_88 = lean_nat_mul(x_84, x_87); -x_89 = lean_unsigned_to_nat(3u); -x_90 = lean_nat_div(x_88, x_89); -lean_dec(x_88); -x_91 = lean_array_get_size(x_86); -x_92 = lean_nat_dec_le(x_90, x_91); +x_85 = lean_box_uint64(x_14); +lean_inc(x_30); +x_86 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_30); +lean_ctor_set(x_86, 2, x_81); +x_87 = lean_array_uset(x_76, x_80, x_86); +x_88 = lean_unsigned_to_nat(4u); +x_89 = lean_nat_mul(x_84, x_88); +x_90 = lean_unsigned_to_nat(3u); +x_91 = lean_nat_div(x_89, x_90); +lean_dec(x_89); +x_92 = lean_array_get_size(x_87); +x_93 = lean_nat_dec_le(x_91, x_92); +lean_dec(x_92); lean_dec(x_91); -lean_dec(x_90); -if (x_92 == 0) +if (x_93 == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_93 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_86); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_84); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_st_ref_set(x_3, x_94, x_35); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; +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_94 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_87); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_84); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_st_ref_set(x_3, x_95, x_34); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_96); + x_98 = lean_box(0); } -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(0, 2, 0); } else { - x_98 = x_97; + x_99 = x_98; } -lean_ctor_set(x_98, 0, x_31); -lean_ctor_set(x_98, 1, x_96); -return x_98; +lean_ctor_set(x_99, 0, x_30); +lean_ctor_set(x_99, 1, x_97); +return x_99; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_84); -lean_ctor_set(x_99, 1, x_86); -x_100 = lean_st_ref_set(x_3, x_99, x_35); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_84); +lean_ctor_set(x_100, 1, x_87); +x_101 = lean_st_ref_set(x_3, x_100, x_34); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; } else { - lean_dec_ref(x_100); - x_102 = lean_box(0); + lean_dec_ref(x_101); + x_103 = lean_box(0); } -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); } else { - x_103 = x_102; + x_104 = x_103; } -lean_ctor_set(x_103, 0, x_31); -lean_ctor_set(x_103, 1, x_101); -return x_103; +lean_ctor_set(x_104, 0, x_30); +lean_ctor_set(x_104, 1, x_102); +return x_104; } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_104 = lean_box(0); -x_105 = lean_array_uset(x_76, x_80, x_104); -lean_inc(x_31); -x_106 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_31, x_81); -x_107 = lean_array_uset(x_105, x_80, x_106); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_75); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_st_ref_set(x_3, x_108, x_35); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; +lean_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; +x_105 = lean_box(0); +x_106 = lean_array_uset(x_76, x_80, x_105); +lean_inc(x_30); +x_107 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_30, x_81); +x_108 = lean_array_uset(x_106, x_80, x_107); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_75); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_st_ref_set(x_3, x_109, x_34); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_112 = x_110; } else { - lean_dec_ref(x_109); - x_111 = lean_box(0); + lean_dec_ref(x_110); + x_112 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_113 = x_112; } -lean_ctor_set(x_112, 0, x_31); -lean_ctor_set(x_112, 1, x_110); -return x_112; +lean_ctor_set(x_113, 0, x_30); +lean_ctor_set(x_113, 1, x_111); +return x_113; } } } } else { -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint64_t x_222; uint64_t x_223; uint64_t x_224; uint64_t x_225; uint64_t x_226; uint64_t x_227; uint64_t x_228; size_t x_229; size_t x_230; size_t x_231; lean_object* x_232; lean_object* x_233; size_t x_277; size_t x_278; lean_object* x_279; lean_object* x_280; -x_218 = lean_ctor_get(x_15, 0); -x_219 = lean_ctor_get(x_15, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_15); -x_220 = lean_ctor_get(x_218, 1); +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint64_t x_223; uint64_t x_224; uint64_t x_225; uint64_t x_226; uint64_t x_227; uint64_t x_228; size_t x_229; size_t x_230; size_t x_231; lean_object* x_232; lean_object* x_233; size_t x_278; size_t x_279; lean_object* x_280; lean_object* x_281; +x_219 = lean_ctor_get(x_15, 0); +x_220 = lean_ctor_get(x_15, 1); lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_array_get_size(x_220); -x_222 = lean_uint64_of_nat(x_14); +lean_inc(x_219); +lean_dec(x_15); +x_221 = lean_ctor_get(x_219, 1); +lean_inc(x_221); +lean_dec(x_219); +x_222 = lean_array_get_size(x_221); x_223 = 32; -x_224 = lean_uint64_shift_right(x_222, x_223); -x_225 = lean_uint64_xor(x_222, x_224); +x_224 = lean_uint64_shift_right(x_14, x_223); +x_225 = lean_uint64_xor(x_14, x_224); x_226 = 16; x_227 = lean_uint64_shift_right(x_225, x_226); x_228 = lean_uint64_xor(x_225, x_227); x_229 = lean_uint64_to_usize(x_228); -x_230 = lean_usize_of_nat(x_221); -lean_dec(x_221); +x_230 = lean_usize_of_nat(x_222); +lean_dec(x_222); x_231 = 1; -x_277 = lean_usize_sub(x_230, x_231); -x_278 = lean_usize_land(x_229, x_277); -x_279 = lean_array_uget(x_220, x_278); -lean_dec(x_220); -x_280 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_279); -lean_dec(x_279); -if (lean_obj_tag(x_280) == 0) +x_278 = lean_usize_sub(x_230, x_231); +x_279 = lean_usize_land(x_229, x_278); +x_280 = lean_array_uget(x_221, x_279); +lean_dec(x_221); +x_281 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_280); +if (lean_obj_tag(x_281) == 0) { switch (lean_obj_tag(x_13)) { case 0: { -lean_object* x_281; +lean_object* x_282; lean_dec(x_2); lean_dec(x_1); -x_281 = lean_ctor_get(x_13, 0); -lean_inc(x_281); +x_282 = lean_ctor_get(x_13, 0); +lean_inc(x_282); lean_dec(x_13); -x_232 = x_281; -x_233 = x_219; -goto block_276; +x_232 = x_282; +x_233 = x_220; +goto block_277; } case 1: { -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_282 = lean_ctor_get(x_13, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_13, 1); +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_283 = lean_ctor_get(x_13, 0); lean_inc(x_283); -x_284 = lean_ctor_get(x_13, 2); +x_284 = lean_ctor_get(x_13, 1); lean_inc(x_284); +x_285 = lean_ctor_get(x_13, 2); +lean_inc(x_285); lean_dec(x_13); -x_285 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_282); x_286 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_283); -x_287 = lean_ctor_get(x_1, 0); -lean_inc(x_287); +x_287 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_284); +x_288 = lean_ctor_get(x_1, 0); +lean_inc(x_288); lean_dec(x_1); -x_288 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_287); -x_289 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__3; -x_290 = l_Lean_reflBoolTrue; -x_291 = l_Lean_mkApp6(x_289, x_2, x_285, x_286, x_288, x_290, x_284); -x_232 = x_291; -x_233 = x_219; -goto block_276; +x_289 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_288); +x_290 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__3; +x_291 = l_Lean_reflBoolTrue; +x_292 = l_Lean_mkApp6(x_290, x_2, x_286, x_287, x_289, x_291, x_285); +x_232 = x_292; +x_233 = x_220; +goto block_277; } case 2: { -lean_object* x_292; lean_object* x_293; -x_292 = lean_ctor_get(x_13, 0); -lean_inc(x_292); +lean_object* x_293; lean_object* x_294; +x_293 = lean_ctor_get(x_13, 0); +lean_inc(x_293); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_292); -x_293 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_292, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_219); -if (lean_obj_tag(x_293) == 0) +lean_inc(x_293); +x_294 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_293, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_220); +if (lean_obj_tag(x_294) == 0) { -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_293, 1); +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_295 = lean_ctor_get(x_294, 0); lean_inc(x_295); -lean_dec(x_293); -x_296 = lean_ctor_get(x_292, 0); +x_296 = lean_ctor_get(x_294, 1); lean_inc(x_296); -lean_dec(x_292); -x_297 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_296); -x_298 = lean_ctor_get(x_1, 0); -lean_inc(x_298); +lean_dec(x_294); +x_297 = lean_ctor_get(x_293, 0); +lean_inc(x_297); +lean_dec(x_293); +x_298 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_297); +x_299 = lean_ctor_get(x_1, 0); +lean_inc(x_299); lean_dec(x_1); -x_299 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_298); -x_300 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__6; -x_301 = l_Lean_reflBoolTrue; -x_302 = l_Lean_mkApp5(x_300, x_2, x_297, x_299, x_301, x_294); -x_232 = x_302; -x_233 = x_295; -goto block_276; +x_300 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_299); +x_301 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__6; +x_302 = l_Lean_reflBoolTrue; +x_303 = l_Lean_mkApp5(x_301, x_2, x_298, x_300, x_302, x_295); +x_232 = x_303; +x_233 = x_296; +goto block_277; } else { -lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; -lean_dec(x_292); -lean_dec(x_14); +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +lean_dec(x_293); lean_dec(x_2); lean_dec(x_1); -x_303 = lean_ctor_get(x_293, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_293, 1); +x_304 = lean_ctor_get(x_294, 0); lean_inc(x_304); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_305 = x_293; +x_305 = lean_ctor_get(x_294, 1); +lean_inc(x_305); +if (lean_is_exclusive(x_294)) { + lean_ctor_release(x_294, 0); + lean_ctor_release(x_294, 1); + x_306 = x_294; } else { - lean_dec_ref(x_293); - x_305 = lean_box(0); + lean_dec_ref(x_294); + x_306 = lean_box(0); } -if (lean_is_scalar(x_305)) { - x_306 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_306)) { + x_307 = lean_alloc_ctor(1, 2, 0); } else { - x_306 = x_305; + x_307 = x_306; } -lean_ctor_set(x_306, 0, x_303); -lean_ctor_set(x_306, 1, x_304); -return x_306; +lean_ctor_set(x_307, 0, x_304); +lean_ctor_set(x_307, 1, x_305); +return x_307; } } case 3: { -lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_307 = lean_ctor_get(x_13, 0); -lean_inc(x_307); -lean_dec(x_13); -x_308 = lean_ctor_get(x_307, 0); +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +x_308 = lean_ctor_get(x_13, 0); lean_inc(x_308); -x_309 = l_Int_Linear_Poly_getConst(x_308); -x_310 = l_Int_Linear_Poly_gcdCoeffs(x_308, x_309); +lean_dec(x_13); +x_309 = lean_ctor_get(x_308, 0); +lean_inc(x_309); +x_310 = l_Int_Linear_Poly_getConst(x_309); +x_311 = l_Int_Linear_Poly_gcdCoeffs(x_309, x_310); lean_inc(x_2); -x_311 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_307, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_219); -if (lean_obj_tag(x_311) == 0) +x_312 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_308, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_220); +if (lean_obj_tag(x_312) == 0) { -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; -x_312 = lean_ctor_get(x_311, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_311, 1); +lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; uint8_t x_319; +x_313 = lean_ctor_get(x_312, 0); lean_inc(x_313); -lean_dec(x_311); -x_314 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_308); -x_315 = lean_ctor_get(x_1, 0); -lean_inc(x_315); +x_314 = lean_ctor_get(x_312, 1); +lean_inc(x_314); +lean_dec(x_312); +x_315 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_309); +x_316 = lean_ctor_get(x_1, 0); +lean_inc(x_316); lean_dec(x_1); -x_316 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_315); -x_317 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; -x_318 = lean_int_dec_le(x_317, x_310); -if (x_318 == 0) +x_317 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_316); +x_318 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__12; +x_319 = lean_int_dec_le(x_318, x_311); +if (x_319 == 0) { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_319 = lean_int_neg(x_310); -lean_dec(x_310); -x_320 = l_Int_toNat(x_319); -lean_dec(x_319); -x_321 = l_Lean_instToExprInt_mkNat(x_320); -x_322 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; -x_323 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; -x_324 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; -x_325 = l_Lean_mkApp3(x_322, x_323, x_324, x_321); -x_326 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; -x_327 = l_Lean_reflBoolTrue; -x_328 = l_Lean_mkApp6(x_326, x_2, x_314, x_316, x_325, x_327, x_312); -x_232 = x_328; -x_233 = x_313; -goto block_276; +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +x_320 = lean_int_neg(x_311); +lean_dec(x_311); +x_321 = l_Int_toNat(x_320); +lean_dec(x_320); +x_322 = l_Lean_instToExprInt_mkNat(x_321); +x_323 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__18; +x_324 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__20; +x_325 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof___closed__23; +x_326 = l_Lean_mkApp3(x_323, x_324, x_325, x_322); +x_327 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; +x_328 = l_Lean_reflBoolTrue; +x_329 = l_Lean_mkApp6(x_327, x_2, x_315, x_317, x_326, x_328, x_313); +x_232 = x_329; +x_233 = x_314; +goto block_277; } else { -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; -x_329 = l_Int_toNat(x_310); -lean_dec(x_310); -x_330 = l_Lean_instToExprInt_mkNat(x_329); -x_331 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; -x_332 = l_Lean_reflBoolTrue; -x_333 = l_Lean_mkApp6(x_331, x_2, x_314, x_316, x_330, x_332, x_312); -x_232 = x_333; -x_233 = x_313; -goto block_276; +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; +x_330 = l_Int_toNat(x_311); +lean_dec(x_311); +x_331 = l_Lean_instToExprInt_mkNat(x_330); +x_332 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__9; +x_333 = l_Lean_reflBoolTrue; +x_334 = l_Lean_mkApp6(x_332, x_2, x_315, x_317, x_331, x_333, x_313); +x_232 = x_334; +x_233 = x_314; +goto block_277; } } else { -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; -lean_dec(x_310); -lean_dec(x_308); -lean_dec(x_14); +lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; +lean_dec(x_311); +lean_dec(x_309); lean_dec(x_2); lean_dec(x_1); -x_334 = lean_ctor_get(x_311, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_311, 1); +x_335 = lean_ctor_get(x_312, 0); lean_inc(x_335); -if (lean_is_exclusive(x_311)) { - lean_ctor_release(x_311, 0); - lean_ctor_release(x_311, 1); - x_336 = x_311; +x_336 = lean_ctor_get(x_312, 1); +lean_inc(x_336); +if (lean_is_exclusive(x_312)) { + lean_ctor_release(x_312, 0); + lean_ctor_release(x_312, 1); + x_337 = x_312; } else { - lean_dec_ref(x_311); - x_336 = lean_box(0); + lean_dec_ref(x_312); + x_337 = lean_box(0); } -if (lean_is_scalar(x_336)) { - x_337 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 2, 0); } else { - x_337 = x_336; + x_338 = x_337; } -lean_ctor_set(x_337, 0, x_334); -lean_ctor_set(x_337, 1, x_335); -return x_337; +lean_ctor_set(x_338, 0, x_335); +lean_ctor_set(x_338, 1, x_336); +return x_338; } } case 4: { -lean_object* x_338; lean_object* x_339; -x_338 = lean_ctor_get(x_13, 0); -lean_inc(x_338); +lean_object* x_339; lean_object* x_340; +x_339 = lean_ctor_get(x_13, 0); +lean_inc(x_339); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_338); -x_339 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_338, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_219); -if (lean_obj_tag(x_339) == 0) +lean_inc(x_339); +x_340 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_339, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_220); +if (lean_obj_tag(x_340) == 0) { -lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; -x_340 = lean_ctor_get(x_339, 0); -lean_inc(x_340); -x_341 = lean_ctor_get(x_339, 1); +lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +x_341 = lean_ctor_get(x_340, 0); lean_inc(x_341); -lean_dec(x_339); -x_342 = lean_ctor_get(x_338, 0); +x_342 = lean_ctor_get(x_340, 1); lean_inc(x_342); -lean_dec(x_338); -x_343 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_342); -x_344 = lean_ctor_get(x_1, 0); -lean_inc(x_344); +lean_dec(x_340); +x_343 = lean_ctor_get(x_339, 0); +lean_inc(x_343); +lean_dec(x_339); +x_344 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_343); +x_345 = lean_ctor_get(x_1, 0); +lean_inc(x_345); lean_dec(x_1); -x_345 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_344); -x_346 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__12; -x_347 = l_Lean_reflBoolTrue; -x_348 = l_Lean_mkApp5(x_346, x_2, x_343, x_345, x_347, x_340); -x_232 = x_348; -x_233 = x_341; -goto block_276; +x_346 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_345); +x_347 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__12; +x_348 = l_Lean_reflBoolTrue; +x_349 = l_Lean_mkApp5(x_347, x_2, x_344, x_346, x_348, x_341); +x_232 = x_349; +x_233 = x_342; +goto block_277; } else { -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -lean_dec(x_338); -lean_dec(x_14); +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +lean_dec(x_339); lean_dec(x_2); lean_dec(x_1); -x_349 = lean_ctor_get(x_339, 0); -lean_inc(x_349); -x_350 = lean_ctor_get(x_339, 1); +x_350 = lean_ctor_get(x_340, 0); lean_inc(x_350); -if (lean_is_exclusive(x_339)) { - lean_ctor_release(x_339, 0); - lean_ctor_release(x_339, 1); - x_351 = x_339; +x_351 = lean_ctor_get(x_340, 1); +lean_inc(x_351); +if (lean_is_exclusive(x_340)) { + lean_ctor_release(x_340, 0); + lean_ctor_release(x_340, 1); + x_352 = x_340; } else { - lean_dec_ref(x_339); - x_351 = lean_box(0); + lean_dec_ref(x_340); + x_352 = lean_box(0); } -if (lean_is_scalar(x_351)) { - x_352 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_352)) { + x_353 = lean_alloc_ctor(1, 2, 0); } else { - x_352 = x_351; + x_353 = x_352; } -lean_ctor_set(x_352, 0, x_349); -lean_ctor_set(x_352, 1, x_350); -return x_352; +lean_ctor_set(x_353, 0, x_350); +lean_ctor_set(x_353, 1, x_351); +return x_353; } } default: { -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; -x_353 = lean_ctor_get(x_13, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_13, 1); +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; +x_354 = lean_ctor_get(x_13, 0); lean_inc(x_354); -x_355 = lean_ctor_get(x_13, 2); +x_355 = lean_ctor_get(x_13, 1); lean_inc(x_355); +x_356 = lean_ctor_get(x_13, 2); +lean_inc(x_356); lean_dec(x_13); lean_inc(x_2); -lean_inc(x_354); -x_356 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_354, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_219); -if (lean_obj_tag(x_356) == 0) +lean_inc(x_355); +x_357 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_toExprProof(x_355, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_220); +if (lean_obj_tag(x_357) == 0) { -lean_object* x_357; lean_object* x_358; lean_object* x_359; -x_357 = lean_ctor_get(x_356, 0); -lean_inc(x_357); -x_358 = lean_ctor_get(x_356, 1); +lean_object* x_358; lean_object* x_359; lean_object* x_360; +x_358 = lean_ctor_get(x_357, 0); lean_inc(x_358); -lean_dec(x_356); -lean_inc(x_2); -lean_inc(x_355); -x_359 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_355, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_358); -if (lean_obj_tag(x_359) == 0) -{ -lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; -x_360 = lean_ctor_get(x_359, 0); -lean_inc(x_360); -x_361 = lean_ctor_get(x_359, 1); -lean_inc(x_361); -lean_dec(x_359); -x_362 = l_Lean_mkNatLit(x_353); -x_363 = lean_ctor_get(x_354, 0); -lean_inc(x_363); -lean_dec(x_354); -x_364 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_363); -x_365 = lean_ctor_get(x_355, 0); -lean_inc(x_365); -lean_dec(x_355); -x_366 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_365); -x_367 = lean_ctor_get(x_1, 0); -lean_inc(x_367); -lean_dec(x_1); -x_368 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_367); -x_369 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__15; -x_370 = l_Lean_reflBoolTrue; -x_371 = l_Lean_mkApp8(x_369, x_2, x_362, x_364, x_366, x_368, x_370, x_357, x_360); -x_232 = x_371; -x_233 = x_361; -goto block_276; -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +x_359 = lean_ctor_get(x_357, 1); +lean_inc(x_359); lean_dec(x_357); +lean_inc(x_2); +lean_inc(x_356); +x_360 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof(x_356, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_359); +if (lean_obj_tag(x_360) == 0) +{ +lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; +x_361 = lean_ctor_get(x_360, 0); +lean_inc(x_361); +x_362 = lean_ctor_get(x_360, 1); +lean_inc(x_362); +lean_dec(x_360); +x_363 = l_Lean_mkNatLit(x_354); +x_364 = lean_ctor_get(x_355, 0); +lean_inc(x_364); +lean_dec(x_355); +x_365 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_364); +x_366 = lean_ctor_get(x_356, 0); +lean_inc(x_366); +lean_dec(x_356); +x_367 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_366); +x_368 = lean_ctor_get(x_1, 0); +lean_inc(x_368); +lean_dec(x_1); +x_369 = l_Lean_Meta_Simp_Arith_Int_ofPoly(x_368); +x_370 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__15; +x_371 = l_Lean_reflBoolTrue; +x_372 = l_Lean_mkApp8(x_370, x_2, x_363, x_365, x_367, x_369, x_371, x_358, x_361); +x_232 = x_372; +x_233 = x_362; +goto block_277; +} +else +{ +lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; +lean_dec(x_358); +lean_dec(x_356); lean_dec(x_355); lean_dec(x_354); -lean_dec(x_353); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_372 = lean_ctor_get(x_359, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_359, 1); +x_373 = lean_ctor_get(x_360, 0); lean_inc(x_373); -if (lean_is_exclusive(x_359)) { - lean_ctor_release(x_359, 0); - lean_ctor_release(x_359, 1); - x_374 = x_359; +x_374 = lean_ctor_get(x_360, 1); +lean_inc(x_374); +if (lean_is_exclusive(x_360)) { + lean_ctor_release(x_360, 0); + lean_ctor_release(x_360, 1); + x_375 = x_360; } else { - lean_dec_ref(x_359); - x_374 = lean_box(0); + lean_dec_ref(x_360); + x_375 = lean_box(0); } -if (lean_is_scalar(x_374)) { - x_375 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_375)) { + x_376 = lean_alloc_ctor(1, 2, 0); } else { - x_375 = x_374; + x_376 = x_375; } -lean_ctor_set(x_375, 0, x_372); -lean_ctor_set(x_375, 1, x_373); -return x_375; +lean_ctor_set(x_376, 0, x_373); +lean_ctor_set(x_376, 1, x_374); +return x_376; } } else { -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; +lean_dec(x_356); lean_dec(x_355); lean_dec(x_354); -lean_dec(x_353); -lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_376 = lean_ctor_get(x_356, 0); -lean_inc(x_376); -x_377 = lean_ctor_get(x_356, 1); +x_377 = lean_ctor_get(x_357, 0); lean_inc(x_377); -if (lean_is_exclusive(x_356)) { - lean_ctor_release(x_356, 0); - lean_ctor_release(x_356, 1); - x_378 = x_356; +x_378 = lean_ctor_get(x_357, 1); +lean_inc(x_378); +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + lean_ctor_release(x_357, 1); + x_379 = x_357; } else { - lean_dec_ref(x_356); - x_378 = lean_box(0); + lean_dec_ref(x_357); + x_379 = lean_box(0); } -if (lean_is_scalar(x_378)) { - x_379 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_379)) { + x_380 = lean_alloc_ctor(1, 2, 0); } else { - x_379 = x_378; + x_380 = x_379; } -lean_ctor_set(x_379, 0, x_376); -lean_ctor_set(x_379, 1, x_377); -return x_379; +lean_ctor_set(x_380, 0, x_377); +lean_ctor_set(x_380, 1, x_378); +return x_380; } } } } else { -lean_object* x_380; lean_object* x_381; -lean_dec(x_14); +lean_object* x_381; lean_object* x_382; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_380 = lean_ctor_get(x_280, 0); -lean_inc(x_380); -lean_dec(x_280); -x_381 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_381, 0, x_380); -lean_ctor_set(x_381, 1, x_219); -return x_381; +x_381 = lean_ctor_get(x_281, 0); +lean_inc(x_381); +lean_dec(x_281); +x_382 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_220); +return x_382; } -block_276: +block_277: { 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; size_t x_241; size_t x_242; size_t x_243; lean_object* x_244; uint8_t x_245; x_234 = lean_st_ref_take(x_3, x_233); @@ -13377,124 +12338,126 @@ lean_dec(x_240); x_242 = lean_usize_sub(x_241, x_231); x_243 = lean_usize_land(x_229, x_242); x_244 = lean_array_uget(x_238, x_243); +lean_inc(x_244); x_245 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_244); if (x_245 == 0) { -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; x_246 = lean_unsigned_to_nat(1u); x_247 = lean_nat_add(x_237, x_246); lean_dec(x_237); +x_248 = lean_box_uint64(x_14); lean_inc(x_232); -x_248 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_248, 0, x_14); -lean_ctor_set(x_248, 1, x_232); -lean_ctor_set(x_248, 2, x_244); -x_249 = lean_array_uset(x_238, x_243, x_248); -x_250 = lean_unsigned_to_nat(4u); -x_251 = lean_nat_mul(x_247, x_250); -x_252 = lean_unsigned_to_nat(3u); -x_253 = lean_nat_div(x_251, x_252); -lean_dec(x_251); -x_254 = lean_array_get_size(x_249); -x_255 = lean_nat_dec_le(x_253, x_254); +x_249 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_232); +lean_ctor_set(x_249, 2, x_244); +x_250 = lean_array_uset(x_238, x_243, x_249); +x_251 = lean_unsigned_to_nat(4u); +x_252 = lean_nat_mul(x_247, x_251); +x_253 = lean_unsigned_to_nat(3u); +x_254 = lean_nat_div(x_252, x_253); +lean_dec(x_252); +x_255 = lean_array_get_size(x_250); +x_256 = lean_nat_dec_le(x_254, x_255); +lean_dec(x_255); lean_dec(x_254); -lean_dec(x_253); -if (x_255 == 0) +if (x_256 == 0) { -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_256 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_249); +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_257 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_250); if (lean_is_scalar(x_239)) { - x_257 = lean_alloc_ctor(0, 2, 0); + x_258 = lean_alloc_ctor(0, 2, 0); } else { - x_257 = x_239; + x_258 = x_239; } -lean_ctor_set(x_257, 0, x_247); -lean_ctor_set(x_257, 1, x_256); -x_258 = lean_st_ref_set(x_3, x_257, x_236); -x_259 = lean_ctor_get(x_258, 1); -lean_inc(x_259); -if (lean_is_exclusive(x_258)) { - lean_ctor_release(x_258, 0); - lean_ctor_release(x_258, 1); - x_260 = x_258; +lean_ctor_set(x_258, 0, x_247); +lean_ctor_set(x_258, 1, x_257); +x_259 = lean_st_ref_set(x_3, x_258, x_236); +x_260 = lean_ctor_get(x_259, 1); +lean_inc(x_260); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_261 = x_259; } else { - lean_dec_ref(x_258); - x_260 = lean_box(0); + lean_dec_ref(x_259); + x_261 = lean_box(0); } -if (lean_is_scalar(x_260)) { - x_261 = lean_alloc_ctor(0, 2, 0); -} else { - x_261 = x_260; -} -lean_ctor_set(x_261, 0, x_232); -lean_ctor_set(x_261, 1, x_259); -return x_261; -} -else -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -if (lean_is_scalar(x_239)) { +if (lean_is_scalar(x_261)) { x_262 = lean_alloc_ctor(0, 2, 0); } else { - x_262 = x_239; + x_262 = x_261; } -lean_ctor_set(x_262, 0, x_247); -lean_ctor_set(x_262, 1, x_249); -x_263 = lean_st_ref_set(x_3, x_262, x_236); -x_264 = lean_ctor_get(x_263, 1); -lean_inc(x_264); -if (lean_is_exclusive(x_263)) { - lean_ctor_release(x_263, 0); - lean_ctor_release(x_263, 1); - x_265 = x_263; +lean_ctor_set(x_262, 0, x_232); +lean_ctor_set(x_262, 1, x_260); +return x_262; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +if (lean_is_scalar(x_239)) { + x_263 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_263); - x_265 = lean_box(0); + x_263 = x_239; } -if (lean_is_scalar(x_265)) { - x_266 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_247); +lean_ctor_set(x_263, 1, x_250); +x_264 = lean_st_ref_set(x_3, x_263, x_236); +x_265 = lean_ctor_get(x_264, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_266 = x_264; } else { - x_266 = x_265; + lean_dec_ref(x_264); + x_266 = lean_box(0); } -lean_ctor_set(x_266, 0, x_232); -lean_ctor_set(x_266, 1, x_264); -return x_266; +if (lean_is_scalar(x_266)) { + x_267 = lean_alloc_ctor(0, 2, 0); +} else { + x_267 = x_266; +} +lean_ctor_set(x_267, 0, x_232); +lean_ctor_set(x_267, 1, x_265); +return x_267; } } else { -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_267 = lean_box(0); -x_268 = lean_array_uset(x_238, x_243, x_267); +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_268 = lean_box(0); +x_269 = lean_array_uset(x_238, x_243, x_268); lean_inc(x_232); -x_269 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_232, x_244); -x_270 = lean_array_uset(x_268, x_243, x_269); +x_270 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_232, x_244); +x_271 = lean_array_uset(x_269, x_243, x_270); if (lean_is_scalar(x_239)) { - x_271 = lean_alloc_ctor(0, 2, 0); + x_272 = lean_alloc_ctor(0, 2, 0); } else { - x_271 = x_239; + x_272 = x_239; } -lean_ctor_set(x_271, 0, x_237); -lean_ctor_set(x_271, 1, x_270); -x_272 = lean_st_ref_set(x_3, x_271, x_236); -x_273 = lean_ctor_get(x_272, 1); -lean_inc(x_273); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - x_274 = x_272; +lean_ctor_set(x_272, 0, x_237); +lean_ctor_set(x_272, 1, x_271); +x_273 = lean_st_ref_set(x_3, x_272, x_236); +x_274 = lean_ctor_get(x_273, 1); +lean_inc(x_274); +if (lean_is_exclusive(x_273)) { + lean_ctor_release(x_273, 0); + lean_ctor_release(x_273, 1); + x_275 = x_273; } else { - lean_dec_ref(x_272); - x_274 = lean_box(0); + lean_dec_ref(x_273); + x_275 = lean_box(0); } -if (lean_is_scalar(x_274)) { - x_275 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_275)) { + x_276 = lean_alloc_ctor(0, 2, 0); } else { - x_275 = x_274; + x_276 = x_275; } -lean_ctor_set(x_275, 0, x_232); -lean_ctor_set(x_275, 1, x_273); -return x_275; +lean_ctor_set(x_276, 0, x_232); +lean_ctor_set(x_276, 1, x_274); +return x_276; } } } @@ -13705,114 +12668,6 @@ lean_dec(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_14; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___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: { @@ -14066,21 +12921,22 @@ lean_dec(x_4); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*14); -lean_dec(x_12); -if (x_13 == 0) +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*14); +lean_dec(x_13); +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -14088,22 +12944,22 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -if (lean_obj_tag(x_15) == 0) +x_16 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_Meta_Grind_closeGoal(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -return x_18; +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Meta_Grind_closeGoal(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_19; } else { -uint8_t x_19; +uint8_t x_20; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -14111,114 +12967,114 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) { -return x_15; +return x_16; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_15, 0); -x_21 = lean_ctor_get(x_15, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +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_inc(x_20); -lean_dec(x_15); -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_dec(x_16); +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; } } } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_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; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_23 = lean_ctor_get(x_11, 1); -lean_inc(x_23); -lean_dec(x_11); -x_24 = lean_st_ref_take(x_2, x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_25, 13); +x_24 = lean_ctor_get(x_12, 1); +lean_inc(x_24); +lean_dec(x_12); +x_25 = lean_st_ref_take(x_3, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -x_27 = lean_ctor_get(x_26, 1); +x_27 = lean_ctor_get(x_26, 13); lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); +x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); -lean_dec(x_24); -x_29 = !lean_is_exclusive(x_25); -if (x_29 == 0) +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = !lean_is_exclusive(x_26); +if (x_30 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_25, 13); -lean_dec(x_30); -x_31 = !lean_is_exclusive(x_26); -if (x_31 == 0) +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_26, 13); +lean_dec(x_31); +x_32 = !lean_is_exclusive(x_27); +if (x_32 == 0) { -lean_object* x_32; uint8_t x_33; -x_32 = lean_ctor_get(x_26, 1); -lean_dec(x_32); -x_33 = !lean_is_exclusive(x_27); -if (x_33 == 0) +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_27, 1); +lean_dec(x_33); +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_34 = lean_ctor_get(x_27, 12); -lean_dec(x_34); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_1); -lean_ctor_set(x_27, 12, x_35); -x_36 = lean_st_ref_set(x_2, x_25, x_28); -lean_dec(x_2); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_28, 12); +lean_dec(x_35); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_1); +lean_ctor_set(x_28, 12, x_36); +x_37 = lean_st_ref_set(x_3, x_26, x_29); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_36, 0); -lean_dec(x_38); -x_39 = lean_box(0); -lean_ctor_set(x_36, 0, x_39); -return x_36; +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +x_40 = lean_box(0); +lean_ctor_set(x_37, 0, x_40); +return x_37; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_36, 1); -lean_inc(x_40); -lean_dec(x_36); -x_41 = lean_box(0); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -return x_42; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_37, 1); +lean_inc(x_41); +lean_dec(x_37); +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +return x_43; } } else { -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; uint8_t 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_43 = lean_ctor_get(x_27, 0); -x_44 = lean_ctor_get(x_27, 1); -x_45 = lean_ctor_get(x_27, 2); -x_46 = lean_ctor_get(x_27, 3); -x_47 = lean_ctor_get(x_27, 4); -x_48 = lean_ctor_get(x_27, 5); -x_49 = lean_ctor_get(x_27, 6); -x_50 = lean_ctor_get(x_27, 7); -x_51 = lean_ctor_get(x_27, 8); -x_52 = lean_ctor_get(x_27, 9); -x_53 = lean_ctor_get(x_27, 10); -x_54 = lean_ctor_get(x_27, 11); -x_55 = lean_ctor_get_uint8(x_27, sizeof(void*)*14); -x_56 = lean_ctor_get(x_27, 13); -lean_inc(x_56); +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; uint8_t 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_44 = lean_ctor_get(x_28, 0); +x_45 = lean_ctor_get(x_28, 1); +x_46 = lean_ctor_get(x_28, 2); +x_47 = lean_ctor_get(x_28, 3); +x_48 = lean_ctor_get(x_28, 4); +x_49 = lean_ctor_get(x_28, 5); +x_50 = lean_ctor_get(x_28, 6); +x_51 = lean_ctor_get(x_28, 7); +x_52 = lean_ctor_get(x_28, 8); +x_53 = lean_ctor_get(x_28, 9); +x_54 = lean_ctor_get(x_28, 10); +x_55 = lean_ctor_get(x_28, 11); +x_56 = lean_ctor_get_uint8(x_28, sizeof(void*)*14); +x_57 = lean_ctor_get(x_28, 13); +lean_inc(x_57); +lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); lean_inc(x_52); @@ -14230,314 +13086,1121 @@ lean_inc(x_47); lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_27); -x_57 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_57, 0, x_1); -x_58 = lean_alloc_ctor(0, 14, 1); -lean_ctor_set(x_58, 0, x_43); -lean_ctor_set(x_58, 1, x_44); -lean_ctor_set(x_58, 2, x_45); -lean_ctor_set(x_58, 3, x_46); -lean_ctor_set(x_58, 4, x_47); -lean_ctor_set(x_58, 5, x_48); -lean_ctor_set(x_58, 6, x_49); -lean_ctor_set(x_58, 7, x_50); -lean_ctor_set(x_58, 8, x_51); -lean_ctor_set(x_58, 9, x_52); -lean_ctor_set(x_58, 10, x_53); -lean_ctor_set(x_58, 11, x_54); -lean_ctor_set(x_58, 12, x_57); -lean_ctor_set(x_58, 13, x_56); -lean_ctor_set_uint8(x_58, sizeof(void*)*14, x_55); -lean_ctor_set(x_26, 1, x_58); -x_59 = lean_st_ref_set(x_2, x_25, x_28); -lean_dec(x_2); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; +lean_dec(x_28); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_1); +x_59 = lean_alloc_ctor(0, 14, 1); +lean_ctor_set(x_59, 0, x_44); +lean_ctor_set(x_59, 1, x_45); +lean_ctor_set(x_59, 2, x_46); +lean_ctor_set(x_59, 3, x_47); +lean_ctor_set(x_59, 4, x_48); +lean_ctor_set(x_59, 5, x_49); +lean_ctor_set(x_59, 6, x_50); +lean_ctor_set(x_59, 7, x_51); +lean_ctor_set(x_59, 8, x_52); +lean_ctor_set(x_59, 9, x_53); +lean_ctor_set(x_59, 10, x_54); +lean_ctor_set(x_59, 11, x_55); +lean_ctor_set(x_59, 12, x_58); +lean_ctor_set(x_59, 13, x_57); +lean_ctor_set_uint8(x_59, sizeof(void*)*14, x_56); +lean_ctor_set(x_27, 1, x_59); +x_60 = lean_st_ref_set(x_3, x_26, x_29); +lean_dec(x_3); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_62 = x_60; } else { - lean_dec_ref(x_59); - x_61 = lean_box(0); + lean_dec_ref(x_60); + x_62 = lean_box(0); } -x_62 = lean_box(0); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); +x_63 = lean_box(0); +if (lean_is_scalar(x_62)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_63 = x_61; + x_64 = x_62; } -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_61); +return x_64; } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_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_64 = lean_ctor_get(x_26, 0); -lean_inc(x_64); -lean_dec(x_26); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_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_65 = lean_ctor_get(x_27, 0); lean_inc(x_65); -x_66 = lean_ctor_get(x_27, 1); +lean_dec(x_27); +x_66 = lean_ctor_get(x_28, 0); lean_inc(x_66); -x_67 = lean_ctor_get(x_27, 2); +x_67 = lean_ctor_get(x_28, 1); lean_inc(x_67); -x_68 = lean_ctor_get(x_27, 3); +x_68 = lean_ctor_get(x_28, 2); lean_inc(x_68); -x_69 = lean_ctor_get(x_27, 4); +x_69 = lean_ctor_get(x_28, 3); lean_inc(x_69); -x_70 = lean_ctor_get(x_27, 5); +x_70 = lean_ctor_get(x_28, 4); lean_inc(x_70); -x_71 = lean_ctor_get(x_27, 6); +x_71 = lean_ctor_get(x_28, 5); lean_inc(x_71); -x_72 = lean_ctor_get(x_27, 7); +x_72 = lean_ctor_get(x_28, 6); lean_inc(x_72); -x_73 = lean_ctor_get(x_27, 8); +x_73 = lean_ctor_get(x_28, 7); lean_inc(x_73); -x_74 = lean_ctor_get(x_27, 9); +x_74 = lean_ctor_get(x_28, 8); lean_inc(x_74); -x_75 = lean_ctor_get(x_27, 10); +x_75 = lean_ctor_get(x_28, 9); lean_inc(x_75); -x_76 = lean_ctor_get(x_27, 11); +x_76 = lean_ctor_get(x_28, 10); lean_inc(x_76); -x_77 = lean_ctor_get_uint8(x_27, sizeof(void*)*14); -x_78 = lean_ctor_get(x_27, 13); -lean_inc(x_78); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - lean_ctor_release(x_27, 3); - lean_ctor_release(x_27, 4); - lean_ctor_release(x_27, 5); - lean_ctor_release(x_27, 6); - lean_ctor_release(x_27, 7); - lean_ctor_release(x_27, 8); - lean_ctor_release(x_27, 9); - lean_ctor_release(x_27, 10); - lean_ctor_release(x_27, 11); - lean_ctor_release(x_27, 12); - lean_ctor_release(x_27, 13); - x_79 = x_27; +x_77 = lean_ctor_get(x_28, 11); +lean_inc(x_77); +x_78 = lean_ctor_get_uint8(x_28, sizeof(void*)*14); +x_79 = lean_ctor_get(x_28, 13); +lean_inc(x_79); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + lean_ctor_release(x_28, 2); + lean_ctor_release(x_28, 3); + lean_ctor_release(x_28, 4); + lean_ctor_release(x_28, 5); + lean_ctor_release(x_28, 6); + lean_ctor_release(x_28, 7); + lean_ctor_release(x_28, 8); + lean_ctor_release(x_28, 9); + lean_ctor_release(x_28, 10); + lean_ctor_release(x_28, 11); + lean_ctor_release(x_28, 12); + lean_ctor_release(x_28, 13); + x_80 = x_28; } else { - lean_dec_ref(x_27); - x_79 = lean_box(0); + lean_dec_ref(x_28); + x_80 = lean_box(0); } -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_1); -if (lean_is_scalar(x_79)) { - x_81 = lean_alloc_ctor(0, 14, 1); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_1); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(0, 14, 1); } else { - x_81 = x_79; + x_82 = x_80; } -lean_ctor_set(x_81, 0, x_65); -lean_ctor_set(x_81, 1, x_66); -lean_ctor_set(x_81, 2, x_67); -lean_ctor_set(x_81, 3, x_68); -lean_ctor_set(x_81, 4, x_69); -lean_ctor_set(x_81, 5, x_70); -lean_ctor_set(x_81, 6, x_71); -lean_ctor_set(x_81, 7, x_72); -lean_ctor_set(x_81, 8, x_73); -lean_ctor_set(x_81, 9, x_74); -lean_ctor_set(x_81, 10, x_75); -lean_ctor_set(x_81, 11, x_76); -lean_ctor_set(x_81, 12, x_80); -lean_ctor_set(x_81, 13, x_78); -lean_ctor_set_uint8(x_81, sizeof(void*)*14, x_77); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_64); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_25, 13, x_82); -x_83 = lean_st_ref_set(x_2, x_25, x_28); -lean_dec(x_2); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_85 = x_83; +lean_ctor_set(x_82, 0, x_66); +lean_ctor_set(x_82, 1, x_67); +lean_ctor_set(x_82, 2, x_68); +lean_ctor_set(x_82, 3, x_69); +lean_ctor_set(x_82, 4, x_70); +lean_ctor_set(x_82, 5, x_71); +lean_ctor_set(x_82, 6, x_72); +lean_ctor_set(x_82, 7, x_73); +lean_ctor_set(x_82, 8, x_74); +lean_ctor_set(x_82, 9, x_75); +lean_ctor_set(x_82, 10, x_76); +lean_ctor_set(x_82, 11, x_77); +lean_ctor_set(x_82, 12, x_81); +lean_ctor_set(x_82, 13, x_79); +lean_ctor_set_uint8(x_82, sizeof(void*)*14, x_78); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_65); +lean_ctor_set(x_83, 1, x_82); +lean_ctor_set(x_26, 13, x_83); +x_84 = lean_st_ref_set(x_3, x_26, x_29); +lean_dec(x_3); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_86 = x_84; } else { - lean_dec_ref(x_83); - x_85 = lean_box(0); + lean_dec_ref(x_84); + x_86 = lean_box(0); } -x_86 = lean_box(0); -if (lean_is_scalar(x_85)) { - x_87 = lean_alloc_ctor(0, 2, 0); +x_87 = lean_box(0); +if (lean_is_scalar(x_86)) { + x_88 = lean_alloc_ctor(0, 2, 0); } else { - x_87 = x_85; + x_88 = x_86; } -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_84); -return x_87; +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +return x_88; } } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_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; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_88 = lean_ctor_get(x_25, 0); -x_89 = lean_ctor_get(x_25, 1); -x_90 = lean_ctor_get(x_25, 2); -x_91 = lean_ctor_get(x_25, 3); -x_92 = lean_ctor_get(x_25, 4); -x_93 = lean_ctor_get(x_25, 5); -x_94 = lean_ctor_get(x_25, 6); -x_95 = lean_ctor_get_uint8(x_25, sizeof(void*)*15); -x_96 = lean_ctor_get(x_25, 7); -x_97 = lean_ctor_get(x_25, 8); -x_98 = lean_ctor_get(x_25, 9); -x_99 = lean_ctor_get(x_25, 10); -x_100 = lean_ctor_get(x_25, 11); -x_101 = lean_ctor_get(x_25, 12); -x_102 = lean_ctor_get(x_25, 14); +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; uint8_t 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; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_89 = lean_ctor_get(x_26, 0); +x_90 = lean_ctor_get(x_26, 1); +x_91 = lean_ctor_get(x_26, 2); +x_92 = lean_ctor_get(x_26, 3); +x_93 = lean_ctor_get(x_26, 4); +x_94 = lean_ctor_get(x_26, 5); +x_95 = lean_ctor_get(x_26, 6); +x_96 = lean_ctor_get_uint8(x_26, sizeof(void*)*15); +x_97 = lean_ctor_get(x_26, 7); +x_98 = lean_ctor_get(x_26, 8); +x_99 = lean_ctor_get(x_26, 9); +x_100 = lean_ctor_get(x_26, 10); +x_101 = lean_ctor_get(x_26, 11); +x_102 = lean_ctor_get(x_26, 12); +x_103 = lean_ctor_get(x_26, 14); +lean_inc(x_103); lean_inc(x_102); lean_inc(x_101); lean_inc(x_100); lean_inc(x_99); lean_inc(x_98); lean_inc(x_97); -lean_inc(x_96); +lean_inc(x_95); lean_inc(x_94); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); lean_inc(x_90); lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_25); -x_103 = lean_ctor_get(x_26, 0); -lean_inc(x_103); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - x_104 = x_26; -} else { - lean_dec_ref(x_26); - x_104 = lean_box(0); -} -x_105 = lean_ctor_get(x_27, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_27, 1); -lean_inc(x_106); -x_107 = lean_ctor_get(x_27, 2); -lean_inc(x_107); -x_108 = lean_ctor_get(x_27, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_27, 4); -lean_inc(x_109); -x_110 = lean_ctor_get(x_27, 5); -lean_inc(x_110); -x_111 = lean_ctor_get(x_27, 6); -lean_inc(x_111); -x_112 = lean_ctor_get(x_27, 7); -lean_inc(x_112); -x_113 = lean_ctor_get(x_27, 8); -lean_inc(x_113); -x_114 = lean_ctor_get(x_27, 9); -lean_inc(x_114); -x_115 = lean_ctor_get(x_27, 10); -lean_inc(x_115); -x_116 = lean_ctor_get(x_27, 11); -lean_inc(x_116); -x_117 = lean_ctor_get_uint8(x_27, sizeof(void*)*14); -x_118 = lean_ctor_get(x_27, 13); -lean_inc(x_118); +lean_dec(x_26); +x_104 = lean_ctor_get(x_27, 0); +lean_inc(x_104); if (lean_is_exclusive(x_27)) { lean_ctor_release(x_27, 0); lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - lean_ctor_release(x_27, 3); - lean_ctor_release(x_27, 4); - lean_ctor_release(x_27, 5); - lean_ctor_release(x_27, 6); - lean_ctor_release(x_27, 7); - lean_ctor_release(x_27, 8); - lean_ctor_release(x_27, 9); - lean_ctor_release(x_27, 10); - lean_ctor_release(x_27, 11); - lean_ctor_release(x_27, 12); - lean_ctor_release(x_27, 13); - x_119 = x_27; + x_105 = x_27; } else { lean_dec_ref(x_27); - x_119 = lean_box(0); + x_105 = lean_box(0); } -x_120 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_120, 0, x_1); -if (lean_is_scalar(x_119)) { - x_121 = lean_alloc_ctor(0, 14, 1); +x_106 = lean_ctor_get(x_28, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_28, 1); +lean_inc(x_107); +x_108 = lean_ctor_get(x_28, 2); +lean_inc(x_108); +x_109 = lean_ctor_get(x_28, 3); +lean_inc(x_109); +x_110 = lean_ctor_get(x_28, 4); +lean_inc(x_110); +x_111 = lean_ctor_get(x_28, 5); +lean_inc(x_111); +x_112 = lean_ctor_get(x_28, 6); +lean_inc(x_112); +x_113 = lean_ctor_get(x_28, 7); +lean_inc(x_113); +x_114 = lean_ctor_get(x_28, 8); +lean_inc(x_114); +x_115 = lean_ctor_get(x_28, 9); +lean_inc(x_115); +x_116 = lean_ctor_get(x_28, 10); +lean_inc(x_116); +x_117 = lean_ctor_get(x_28, 11); +lean_inc(x_117); +x_118 = lean_ctor_get_uint8(x_28, sizeof(void*)*14); +x_119 = lean_ctor_get(x_28, 13); +lean_inc(x_119); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + lean_ctor_release(x_28, 2); + lean_ctor_release(x_28, 3); + lean_ctor_release(x_28, 4); + lean_ctor_release(x_28, 5); + lean_ctor_release(x_28, 6); + lean_ctor_release(x_28, 7); + lean_ctor_release(x_28, 8); + lean_ctor_release(x_28, 9); + lean_ctor_release(x_28, 10); + lean_ctor_release(x_28, 11); + lean_ctor_release(x_28, 12); + lean_ctor_release(x_28, 13); + x_120 = x_28; } else { - x_121 = x_119; + lean_dec_ref(x_28); + x_120 = lean_box(0); } -lean_ctor_set(x_121, 0, x_105); -lean_ctor_set(x_121, 1, x_106); -lean_ctor_set(x_121, 2, x_107); -lean_ctor_set(x_121, 3, x_108); -lean_ctor_set(x_121, 4, x_109); -lean_ctor_set(x_121, 5, x_110); -lean_ctor_set(x_121, 6, x_111); -lean_ctor_set(x_121, 7, x_112); -lean_ctor_set(x_121, 8, x_113); -lean_ctor_set(x_121, 9, x_114); -lean_ctor_set(x_121, 10, x_115); -lean_ctor_set(x_121, 11, x_116); -lean_ctor_set(x_121, 12, x_120); -lean_ctor_set(x_121, 13, x_118); -lean_ctor_set_uint8(x_121, sizeof(void*)*14, x_117); -if (lean_is_scalar(x_104)) { - x_122 = lean_alloc_ctor(0, 2, 0); +x_121 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_121, 0, x_1); +if (lean_is_scalar(x_120)) { + x_122 = lean_alloc_ctor(0, 14, 1); } else { - x_122 = x_104; + x_122 = x_120; } -lean_ctor_set(x_122, 0, x_103); -lean_ctor_set(x_122, 1, x_121); -x_123 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_123, 0, x_88); -lean_ctor_set(x_123, 1, x_89); -lean_ctor_set(x_123, 2, x_90); -lean_ctor_set(x_123, 3, x_91); -lean_ctor_set(x_123, 4, x_92); -lean_ctor_set(x_123, 5, x_93); -lean_ctor_set(x_123, 6, x_94); -lean_ctor_set(x_123, 7, x_96); -lean_ctor_set(x_123, 8, x_97); -lean_ctor_set(x_123, 9, x_98); -lean_ctor_set(x_123, 10, x_99); -lean_ctor_set(x_123, 11, x_100); -lean_ctor_set(x_123, 12, x_101); -lean_ctor_set(x_123, 13, x_122); -lean_ctor_set(x_123, 14, x_102); -lean_ctor_set_uint8(x_123, sizeof(void*)*15, x_95); -x_124 = lean_st_ref_set(x_2, x_123, x_28); +lean_ctor_set(x_122, 0, x_106); +lean_ctor_set(x_122, 1, x_107); +lean_ctor_set(x_122, 2, x_108); +lean_ctor_set(x_122, 3, x_109); +lean_ctor_set(x_122, 4, x_110); +lean_ctor_set(x_122, 5, x_111); +lean_ctor_set(x_122, 6, x_112); +lean_ctor_set(x_122, 7, x_113); +lean_ctor_set(x_122, 8, x_114); +lean_ctor_set(x_122, 9, x_115); +lean_ctor_set(x_122, 10, x_116); +lean_ctor_set(x_122, 11, x_117); +lean_ctor_set(x_122, 12, x_121); +lean_ctor_set(x_122, 13, x_119); +lean_ctor_set_uint8(x_122, sizeof(void*)*14, x_118); +if (lean_is_scalar(x_105)) { + x_123 = lean_alloc_ctor(0, 2, 0); +} else { + x_123 = x_105; +} +lean_ctor_set(x_123, 0, x_104); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_124, 0, x_89); +lean_ctor_set(x_124, 1, x_90); +lean_ctor_set(x_124, 2, x_91); +lean_ctor_set(x_124, 3, x_92); +lean_ctor_set(x_124, 4, x_93); +lean_ctor_set(x_124, 5, x_94); +lean_ctor_set(x_124, 6, x_95); +lean_ctor_set(x_124, 7, x_97); +lean_ctor_set(x_124, 8, x_98); +lean_ctor_set(x_124, 9, x_99); +lean_ctor_set(x_124, 10, x_100); +lean_ctor_set(x_124, 11, x_101); +lean_ctor_set(x_124, 12, x_102); +lean_ctor_set(x_124, 13, x_123); +lean_ctor_set(x_124, 14, x_103); +lean_ctor_set_uint8(x_124, sizeof(void*)*15, x_96); +x_125 = lean_st_ref_set(x_3, x_124, x_29); +lean_dec(x_3); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +x_128 = lean_box(0); +if (lean_is_scalar(x_127)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_127; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +return x_129; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("grind", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("debug", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cutsat", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("conflict", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___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_Meta_Grind_Arith_Cutsat_setInconsistent___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("setInconsistent [", 17, 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]: ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("false", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__12; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__13; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__7; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__14; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__15; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__9; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("true", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__17; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__18; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__7; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__19; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__20; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__9; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__5; +x_12 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_11, x_2, x_3, 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_dec(x_12); +x_16 = lean_box(0); +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(x_1, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +return x_17; +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_12); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_12, 1); +x_20 = lean_ctor_get(x_12, 0); +lean_dec(x_20); +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); +lean_inc(x_2); +x_21 = l_Lean_Meta_Grind_Arith_Cutsat_inconsistent(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(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_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +lean_inc(x_1); +x_24 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +x_25 = lean_unbox(x_22); +lean_dec(x_22); +if (x_25 == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_24); +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; +x_27 = lean_ctor_get(x_24, 0); +x_28 = lean_ctor_get(x_24, 1); +x_29 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__16; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_27); +lean_ctor_set(x_24, 0, x_29); +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11; +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_30); +lean_ctor_set(x_12, 0, x_24); +x_31 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(x_1, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_33); +lean_dec(x_32); +return x_34; +} +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_24, 0); +x_36 = lean_ctor_get(x_24, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_24); +x_37 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__16; +x_38 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11; +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_39); +lean_ctor_set(x_12, 0, x_38); +x_40 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(x_1, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_42); +lean_dec(x_41); +return x_43; +} +} +else +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_24); +if (x_44 == 0) +{ +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; +x_45 = lean_ctor_get(x_24, 0); +x_46 = lean_ctor_get(x_24, 1); +x_47 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__21; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_45); +lean_ctor_set(x_24, 0, x_47); +x_48 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11; +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_48); +lean_ctor_set(x_12, 0, x_24); +x_49 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_46); +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_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(x_1, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_51); +lean_dec(x_50); +return x_52; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_53 = lean_ctor_get(x_24, 0); +x_54 = lean_ctor_get(x_24, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_24); +x_55 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__21; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +x_57 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11; +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_57); +lean_ctor_set(x_12, 0, x_56); +x_58 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_54); +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_Grind_Arith_Cutsat_setInconsistent___lambda__1(x_1, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_60); +lean_dec(x_59); +return x_61; +} +} +} +else +{ +uint8_t x_62; +lean_free_object(x_12); +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_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_126 = x_124; +lean_dec(x_1); +x_62 = !lean_is_exclusive(x_21); +if (x_62 == 0) +{ +return x_21; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_21, 0); +x_64 = lean_ctor_get(x_21, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_21); +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 +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_12, 1); +lean_inc(x_66); +lean_dec(x_12); +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); +lean_inc(x_2); +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_inconsistent(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_66); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +lean_inc(x_1); +x_70 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_69); +x_71 = lean_unbox(x_68); +lean_dec(x_68); +if (x_71 == 0) +{ +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; +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_70, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_74 = x_70; } else { - lean_dec_ref(x_124); - x_126 = lean_box(0); + lean_dec_ref(x_70); + x_74 = lean_box(0); } -x_127 = lean_box(0); -if (lean_is_scalar(x_126)) { - x_128 = lean_alloc_ctor(0, 2, 0); +x_75 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__16; +if (lean_is_scalar(x_74)) { + x_76 = lean_alloc_ctor(7, 2, 0); } else { - x_128 = x_126; + x_76 = x_74; + lean_ctor_set_tag(x_76, 7); } -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_125); -return x_128; +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_72); +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11; +x_78 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_78, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_73); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(x_1, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_81); +lean_dec(x_80); +return x_82; +} +else +{ +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; +x_83 = lean_ctor_get(x_70, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_70, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_85 = x_70; +} else { + lean_dec_ref(x_70); + x_85 = lean_box(0); +} +x_86 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__21; +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(7, 2, 0); +} else { + x_87 = x_85; + lean_ctor_set_tag(x_87, 7); +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_83); +x_88 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11; +x_89 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_11, x_89, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_84); +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 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(x_1, x_91, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_92); +lean_dec(x_91); +return x_93; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +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_94 = lean_ctor_get(x_67, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_67, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_96 = x_67; +} else { + lean_dec_ref(x_67); + 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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT uint64_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1___rarg(lean_object* x_1) { +_start: +{ +size_t x_2; uint64_t x_3; uint64_t x_4; uint64_t x_5; +x_2 = lean_ptr_addr(x_1); +x_3 = lean_usize_to_uint64(x_2); +x_4 = 2; +x_5 = lean_uint64_shift_right(x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1___rarg___boxed), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1___rarg___boxed(lean_object* x_1) { +_start: +{ +uint64_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1___rarg(x_1); +lean_dec(x_1); +x_3 = lean_box_uint64(x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1(uint64_t 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; uint64_t x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 2); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_unbox_uint64(x_4); +lean_dec(x_4); +x_7 = lean_uint64_dec_eq(x_6, x_1); +if (x_7 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_9; +lean_dec(x_5); +x_9 = 1; +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__4___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___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; uint64_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; +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 = 32; +x_8 = lean_unbox_uint64(x_4); +x_9 = lean_uint64_shift_right(x_8, x_7); +x_10 = lean_unbox_uint64(x_4); +x_11 = lean_uint64_xor(x_10, x_9); +x_12 = 16; +x_13 = lean_uint64_shift_right(x_11, x_12); +x_14 = lean_uint64_xor(x_11, x_13); +x_15 = lean_uint64_to_usize(x_14); +x_16 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_17 = 1; +x_18 = lean_usize_sub(x_16, x_17); +x_19 = lean_usize_land(x_15, x_18); +x_20 = lean_array_uget(x_1, x_19); +lean_ctor_set(x_2, 2, x_20); +x_21 = lean_array_uset(x_1, x_19, x_2); +x_1 = x_21; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* 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; uint64_t x_33; uint64_t x_34; size_t x_35; size_t x_36; size_t x_37; size_t x_38; size_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_23 = lean_ctor_get(x_2, 0); +x_24 = lean_ctor_get(x_2, 1); +x_25 = lean_ctor_get(x_2, 2); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_2); +x_26 = lean_array_get_size(x_1); +x_27 = 32; +x_28 = lean_unbox_uint64(x_23); +x_29 = lean_uint64_shift_right(x_28, x_27); +x_30 = lean_unbox_uint64(x_23); +x_31 = lean_uint64_xor(x_30, x_29); +x_32 = 16; +x_33 = lean_uint64_shift_right(x_31, x_32); +x_34 = lean_uint64_xor(x_31, x_33); +x_35 = lean_uint64_to_usize(x_34); +x_36 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_37 = 1; +x_38 = lean_usize_sub(x_36, x_37); +x_39 = lean_usize_land(x_35, x_38); +x_40 = lean_array_uget(x_1, x_39); +x_41 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_41, 0, x_23); +lean_ctor_set(x_41, 1, x_24); +lean_ctor_set(x_41, 2, x_40); +x_42 = lean_array_uset(x_1, x_39, x_41); +x_1 = x_42; +x_2 = x_25; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__4___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__3(x_7, x_1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___lambda__1(uint64_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -14549,39 +14212,40 @@ x_6 = lean_ctor_get(x_4, 0); 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; +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; size_t x_17; size_t x_18; size_t x_19; size_t x_20; size_t x_21; lean_object* x_22; uint8_t x_23; 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); +x_11 = 32; +x_12 = lean_uint64_shift_right(x_1, x_11); +x_13 = lean_uint64_xor(x_1, 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_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___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_foundBVar___spec__1(x_1, x_23); -if (x_24 == 0) +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_9, x_21); +lean_inc(x_22); +x_23 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1(x_1, x_22); +if (x_23 == 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; lean_object* x_34; uint8_t x_35; -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_8, x_25); +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; +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_8, x_24); lean_dec(x_8); -x_27 = lean_box(0); +x_26 = lean_box(0); +x_27 = lean_box_uint64(x_1); x_28 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_27); -lean_ctor_set(x_28, 2, x_23); -x_29 = lean_array_uset(x_9, x_22, x_28); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_22); +x_29 = lean_array_uset(x_9, x_21, x_28); x_30 = lean_unsigned_to_nat(4u); -x_31 = lean_nat_mul(x_26, x_30); +x_31 = lean_nat_mul(x_25, x_30); x_32 = lean_unsigned_to_nat(3u); x_33 = lean_nat_div(x_31, x_32); lean_dec(x_31); @@ -14592,9 +14256,9 @@ lean_dec(x_33); if (x_35 == 0) { lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; -x_36 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveBVar___spec__1(x_29); +x_36 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__2(x_29); lean_ctor_set(x_6, 1, x_36); -lean_ctor_set(x_6, 0, x_26); +lean_ctor_set(x_6, 0, x_25); x_37 = 0; x_38 = lean_box(x_37); x_39 = lean_alloc_ctor(0, 2, 0); @@ -14606,7 +14270,7 @@ else { uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_ctor_set(x_6, 1, x_29); -lean_ctor_set(x_6, 0, x_26); +lean_ctor_set(x_6, 0, x_25); x_40 = 0; x_41 = lean_box(x_40); x_42 = lean_alloc_ctor(0, 2, 0); @@ -14618,8 +14282,7 @@ return x_42; else { uint8_t x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_23); -lean_dec(x_1); +lean_dec(x_22); x_43 = 0; x_44 = lean_box(x_43); x_45 = lean_alloc_ctor(0, 2, 0); @@ -14630,42 +14293,43 @@ 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; +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; size_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_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); +x_49 = 32; +x_50 = lean_uint64_shift_right(x_1, x_49); +x_51 = lean_uint64_xor(x_1, x_50); +x_52 = 16; +x_53 = lean_uint64_shift_right(x_51, x_52); +x_54 = lean_uint64_xor(x_51, x_53); +x_55 = lean_uint64_to_usize(x_54); +x_56 = 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___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_foundBVar___spec__1(x_1, x_61); -if (x_62 == 0) +x_57 = 1; +x_58 = lean_usize_sub(x_56, x_57); +x_59 = lean_usize_land(x_55, x_58); +x_60 = lean_array_uget(x_47, x_59); +lean_inc(x_60); +x_61 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1(x_1, x_60); +if (x_61 == 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; lean_object* x_72; uint8_t x_73; -x_63 = lean_unsigned_to_nat(1u); -x_64 = lean_nat_add(x_46, x_63); +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; uint8_t x_73; +x_62 = lean_unsigned_to_nat(1u); +x_63 = lean_nat_add(x_46, x_62); lean_dec(x_46); -x_65 = lean_box(0); +x_64 = lean_box(0); +x_65 = lean_box_uint64(x_1); x_66 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_66, 0, x_1); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_61); -x_67 = lean_array_uset(x_47, x_60, x_66); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_66, 2, x_60); +x_67 = lean_array_uset(x_47, x_59, x_66); x_68 = lean_unsigned_to_nat(4u); -x_69 = lean_nat_mul(x_64, x_68); +x_69 = lean_nat_mul(x_63, x_68); x_70 = lean_unsigned_to_nat(3u); x_71 = lean_nat_div(x_69, x_70); lean_dec(x_69); @@ -14676,9 +14340,9 @@ lean_dec(x_71); if (x_73 == 0) { lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; -x_74 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveBVar___spec__1(x_67); +x_74 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__2(x_67); x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_64); +lean_ctor_set(x_75, 0, x_63); lean_ctor_set(x_75, 1, x_74); lean_ctor_set(x_4, 0, x_75); x_76 = 0; @@ -14692,7 +14356,7 @@ else { lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_64); +lean_ctor_set(x_79, 0, x_63); lean_ctor_set(x_79, 1, x_67); lean_ctor_set(x_4, 0, x_79); x_80 = 0; @@ -14706,8 +14370,7 @@ return x_82; else { lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_61); -lean_dec(x_1); +lean_dec(x_60); x_83 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_83, 0, x_46); lean_ctor_set(x_83, 1, x_47); @@ -14723,7 +14386,7 @@ 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; +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; size_t x_99; size_t x_100; size_t x_101; size_t x_102; size_t x_103; lean_object* x_104; uint8_t x_105; x_87 = lean_ctor_get(x_4, 0); x_88 = lean_ctor_get(x_4, 1); lean_inc(x_88); @@ -14742,35 +14405,36 @@ if (lean_is_exclusive(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); +x_93 = 32; +x_94 = lean_uint64_shift_right(x_1, x_93); +x_95 = lean_uint64_xor(x_1, x_94); +x_96 = 16; +x_97 = lean_uint64_shift_right(x_95, x_96); +x_98 = lean_uint64_xor(x_95, x_97); +x_99 = lean_uint64_to_usize(x_98); +x_100 = 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___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_foundBVar___spec__1(x_1, x_105); -if (x_106 == 0) +x_101 = 1; +x_102 = lean_usize_sub(x_100, x_101); +x_103 = lean_usize_land(x_99, x_102); +x_104 = lean_array_uget(x_90, x_103); +lean_inc(x_104); +x_105 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1(x_1, x_104); +if (x_105 == 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; lean_object* x_116; uint8_t x_117; -x_107 = lean_unsigned_to_nat(1u); -x_108 = lean_nat_add(x_89, x_107); +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; uint8_t x_117; +x_106 = lean_unsigned_to_nat(1u); +x_107 = lean_nat_add(x_89, x_106); lean_dec(x_89); -x_109 = lean_box(0); +x_108 = lean_box(0); +x_109 = lean_box_uint64(x_1); x_110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_110, 0, x_1); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_105); -x_111 = lean_array_uset(x_90, x_104, x_110); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +lean_ctor_set(x_110, 2, x_104); +x_111 = lean_array_uset(x_90, x_103, x_110); x_112 = lean_unsigned_to_nat(4u); -x_113 = lean_nat_mul(x_108, x_112); +x_113 = lean_nat_mul(x_107, x_112); x_114 = lean_unsigned_to_nat(3u); x_115 = lean_nat_div(x_113, x_114); lean_dec(x_113); @@ -14781,13 +14445,13 @@ lean_dec(x_115); if (x_117 == 0) { lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; -x_118 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveBVar___spec__1(x_111); +x_118 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__2(x_111); if (lean_is_scalar(x_91)) { x_119 = lean_alloc_ctor(0, 2, 0); } else { x_119 = x_91; } -lean_ctor_set(x_119, 0, x_108); +lean_ctor_set(x_119, 0, x_107); lean_ctor_set(x_119, 1, x_118); x_120 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_120, 0, x_119); @@ -14807,7 +14471,7 @@ if (lean_is_scalar(x_91)) { } else { x_124 = x_91; } -lean_ctor_set(x_124, 0, x_108); +lean_ctor_set(x_124, 0, x_107); lean_ctor_set(x_124, 1, x_111); x_125 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_125, 0, x_124); @@ -14823,8 +14487,7 @@ return x_128; else { lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; -lean_dec(x_105); -lean_dec(x_1); +lean_dec(x_104); if (lean_is_scalar(x_91)) { x_129 = lean_alloc_ctor(0, 2, 0); } else { @@ -14845,117 +14508,134 @@ return x_133; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___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_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) +uint64_t x_4; lean_object* x_5; uint8_t x_6; +x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited_unsafe__1___rarg(x_1); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 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; uint8_t 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); +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; size_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; lean_object* x_21; uint8_t x_22; +x_7 = lean_ctor_get(x_5, 1); +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_array_get_size(x_7); x_10 = 32; -x_11 = lean_uint64_shift_right(x_9, x_10); -x_12 = lean_uint64_xor(x_9, x_11); +x_11 = lean_uint64_shift_right(x_4, x_10); +x_12 = lean_uint64_xor(x_4, 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_17 = lean_usize_of_nat(x_9); +lean_dec(x_9); 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_contains___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_foundBVar___spec__1(x_1, x_21); -lean_dec(x_21); +x_21 = lean_array_uget(x_7, x_20); +lean_dec(x_7); +x_22 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1(x_4, x_21); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -lean_free_object(x_4); +lean_free_object(x_5); x_23 = lean_box(0); -x_24 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___lambda__1(x_1, x_23, x_2, x_3); +x_24 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___lambda__1(x_4, x_23, x_2, x_3); return x_24; } else { uint8_t x_25; lean_object* x_26; -lean_dec(x_1); x_25 = 1; x_26 = lean_box(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; uint8_t 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_contains___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_foundBVar___spec__1(x_1, x_41); -lean_dec(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_box(0); -x_44 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___lambda__1(x_1, x_43, x_2, x_3); -return x_44; -} -else -{ -uint8_t x_45; lean_object* x_46; lean_object* x_47; -lean_dec(x_1); -x_45 = 1; -x_46 = lean_box(x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_3); -return x_47; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 0, x_26); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +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; size_t x_35; size_t x_36; size_t x_37; size_t x_38; size_t x_39; lean_object* x_40; uint8_t x_41; +x_27 = lean_ctor_get(x_5, 1); +lean_inc(x_27); +lean_dec(x_5); +x_28 = lean_array_get_size(x_27); +x_29 = 32; +x_30 = lean_uint64_shift_right(x_4, x_29); +x_31 = lean_uint64_xor(x_4, x_30); +x_32 = 16; +x_33 = lean_uint64_shift_right(x_31, x_32); +x_34 = lean_uint64_xor(x_31, x_33); +x_35 = lean_uint64_to_usize(x_34); +x_36 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_37 = 1; +x_38 = lean_usize_sub(x_36, x_37); +x_39 = lean_usize_land(x_35, x_38); +x_40 = lean_array_uget(x_27, x_39); +lean_dec(x_27); +x_41 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1(x_4, x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_box(0); +x_43 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___lambda__1(x_4, x_42, x_2, x_3); +return x_43; +} +else +{ +uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_44 = 1; +x_45 = lean_box(x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_3); +return x_46; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint64_t x_3; uint8_t x_4; lean_object* x_5; +x_3 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___spec__1(x_3, x_2); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint64_t x_5; lean_object* x_6; +x_5 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_6 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___lambda__1(x_5, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(x_1, x_2, x_3); +x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg(x_1, x_2, x_3); lean_dec(x_2); +lean_dec(x_1); return x_4; } } @@ -15054,7 +14734,143 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(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 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg(x_1, x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 1); +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; +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(x_9, x_2, x_8); +return x_10; +} +case 1: +{ +uint8_t x_11; +lean_dec(x_7); +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_4, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set(x_4, 0, x_13); +return x_4; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_dec(x_4); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +case 4: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_4, 1); +lean_inc(x_17); +lean_dec(x_4); +x_18 = lean_ctor_get(x_7, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 2); +lean_inc(x_19); +lean_dec(x_7); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_18, x_2, x_17); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_1 = x_19; +x_3 = x_21; +goto _start; +} +case 5: +{ +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_4, 1); +lean_inc(x_23); +lean_dec(x_4); +x_24 = lean_ctor_get(x_7, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_7, 1); +lean_inc(x_25); +lean_dec(x_7); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_24, x_2, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_25, x_2, x_27); +return x_28; +} +default: +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_4, 1); +lean_inc(x_29); +lean_dec(x_4); +x_30 = lean_ctor_get(x_7, 0); +lean_inc(x_30); +lean_dec(x_7); +x_1 = x_30; +x_3 = x_29; +goto _start; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_4); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_4, 0); +lean_dec(x_33); +x_34 = lean_box(0); +lean_ctor_set(x_4, 0, x_34); +return x_4; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_4, 1); +lean_inc(x_35); +lean_dec(x_4); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___spec__1(lean_object* 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; @@ -15087,599 +14903,273 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(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, 3); -lean_inc(x_4); -x_5 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(x_4, x_2, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_unbox(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_1, 2); -lean_inc(x_8); -lean_dec(x_1); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_5, 1); -lean_inc(x_9); -lean_dec(x_5); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_markAsFound(x_10, x_2, x_9); -return x_11; -} -else -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_5); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_ctor_get(x_5, 1); -x_14 = lean_ctor_get(x_5, 0); -lean_dec(x_14); -x_15 = lean_ctor_get(x_8, 1); -lean_inc(x_15); -lean_dec(x_8); -x_16 = lean_array_get_size(x_15); -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_nat_dec_lt(x_17, x_16); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_16); -lean_dec(x_15); -x_19 = lean_box(0); -lean_ctor_set(x_5, 0, x_19); -return x_5; -} -else -{ -uint8_t x_20; -x_20 = lean_nat_dec_le(x_16, x_16); -if (x_20 == 0) -{ -lean_object* x_21; -lean_dec(x_16); -lean_dec(x_15); -x_21 = lean_box(0); -lean_ctor_set(x_5, 0, x_21); -return x_5; -} -else -{ -size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; -lean_free_object(x_5); -x_22 = 0; -x_23 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_24 = lean_box(0); -x_25 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___spec__1(x_15, x_22, x_23, x_24, x_2, x_13); -lean_dec(x_15); -return x_25; -} -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_26 = lean_ctor_get(x_5, 1); -lean_inc(x_26); -lean_dec(x_5); -x_27 = lean_ctor_get(x_8, 1); -lean_inc(x_27); -lean_dec(x_8); -x_28 = lean_array_get_size(x_27); -x_29 = lean_unsigned_to_nat(0u); -x_30 = lean_nat_dec_lt(x_29, x_28); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -lean_dec(x_28); -lean_dec(x_27); -x_31 = lean_box(0); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_26); -return x_32; -} -else -{ -uint8_t x_33; -x_33 = lean_nat_dec_le(x_28, x_28); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -lean_dec(x_28); -lean_dec(x_27); -x_34 = lean_box(0); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_26); -return x_35; -} -else -{ -size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; -x_36 = 0; -x_37 = lean_usize_of_nat(x_28); -lean_dec(x_28); -x_38 = lean_box(0); -x_39 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___spec__1(x_27, x_36, x_37, x_38, x_2, x_26); -lean_dec(x_27); -return x_39; -} -} -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_5); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_5, 0); -lean_dec(x_41); -x_42 = lean_box(0); -lean_ctor_set(x_5, 0, x_42); -return x_5; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_5, 1); -lean_inc(x_43); -lean_dec(x_5); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -return x_45; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___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_2); -lean_dec(x_2); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___spec__1(x_1, x_7, x_8, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(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, 2); -lean_inc(x_4); -x_5 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(x_4, x_2, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_unbox(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_dec(x_1); -switch (lean_obj_tag(x_8)) { -case 0: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_5, 1); -lean_inc(x_9); -lean_dec(x_5); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(x_10, x_2, x_9); -return x_11; -} -case 1: -{ -uint8_t x_12; -lean_dec(x_8); -x_12 = !lean_is_exclusive(x_5); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_5, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_5, 0, x_14); -return x_5; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_5, 1); -lean_inc(x_15); -lean_dec(x_5); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -case 4: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_5, 1); -lean_inc(x_18); -lean_dec(x_5); -x_19 = lean_ctor_get(x_8, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_8, 2); -lean_inc(x_20); -lean_dec(x_8); -x_21 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_19, x_2, x_18); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_1 = x_20; -x_3 = x_22; -goto _start; -} -case 5: -{ -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_24 = lean_ctor_get(x_5, 1); -lean_inc(x_24); -lean_dec(x_5); -x_25 = lean_ctor_get(x_8, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_8, 1); -lean_inc(x_26); -lean_dec(x_8); -x_27 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_25, x_2, x_24); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_26, x_2, x_28); -return x_29; -} -default: -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_5, 1); -lean_inc(x_30); -lean_dec(x_5); -x_31 = lean_ctor_get(x_8, 0); -lean_inc(x_31); -lean_dec(x_8); -x_1 = x_31; -x_3 = x_30; -goto _start; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_5); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_5, 0); -lean_dec(x_34); -x_35 = lean_box(0); -lean_ctor_set(x_5, 0, x_35); -return x_5; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_5, 1); -lean_inc(x_36); -lean_dec(x_5); -x_37 = lean_box(0); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -return x_38; -} -} -} -} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(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, 2); -lean_inc(x_4); -x_5 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(x_4, x_2, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_unbox(x_6); -lean_dec(x_6); -if (x_7 == 0) +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg(x_1, x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) { -lean_object* x_8; -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); lean_dec(x_1); -switch (lean_obj_tag(x_8)) { +switch (lean_obj_tag(x_7)) { case 0: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_5, 1); +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); -lean_dec(x_5); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(x_10, x_2, x_9); -return x_11; +lean_dec(x_7); +x_10 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(x_9, x_2, x_8); +return x_10; } case 1: { -uint8_t x_12; -lean_dec(x_8); -x_12 = !lean_is_exclusive(x_5); -if (x_12 == 0) +uint8_t x_11; +lean_dec(x_7); +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_5, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_5, 0, x_14); -return x_5; +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_4, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set(x_4, 0, x_13); +return x_4; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_5, 1); -lean_inc(x_15); -lean_dec(x_5); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_dec(x_4); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; } } case 4: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_5, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_4, 1); +lean_inc(x_17); +lean_dec(x_4); +x_18 = lean_ctor_get(x_7, 0); lean_inc(x_18); -lean_dec(x_5); -x_19 = lean_ctor_get(x_8, 0); +x_19 = lean_ctor_get(x_7, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_8, 1); -lean_inc(x_20); -lean_dec(x_8); -x_21 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_19, x_2, x_18); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_1 = x_20; -x_3 = x_22; +lean_dec(x_7); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_18, x_2, x_17); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_1 = x_19; +x_3 = x_21; goto _start; } case 5: { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_5, 1); +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_4, 1); +lean_inc(x_23); +lean_dec(x_4); +x_24 = lean_ctor_get(x_7, 1); lean_inc(x_24); -lean_dec(x_5); -x_25 = lean_ctor_get(x_8, 1); +x_25 = lean_ctor_get(x_7, 2); lean_inc(x_25); -x_26 = lean_ctor_get(x_8, 2); -lean_inc(x_26); -lean_dec(x_8); -x_27 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_25, x_2, x_24); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_1 = x_26; -x_3 = x_28; +lean_dec(x_7); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_24, x_2, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_1 = x_25; +x_3 = x_27; goto _start; } case 6: { -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_30 = lean_ctor_get(x_5, 1); +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_4, 1); +lean_inc(x_29); +lean_dec(x_4); +x_30 = lean_ctor_get(x_7, 0); lean_inc(x_30); -lean_dec(x_5); -x_31 = lean_ctor_get(x_8, 0); +x_31 = lean_ctor_get(x_7, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_8, 1); -lean_inc(x_32); -lean_dec(x_8); -x_33 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_31, x_2, x_30); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_collectDecVars(x_32, x_2, x_34); -return x_35; +lean_dec(x_7); +x_32 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_30, x_2, x_29); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_collectDecVars(x_31, x_2, x_33); +return x_34; } case 7: { -uint8_t x_36; -x_36 = !lean_is_exclusive(x_5); -if (x_36 == 0) +uint8_t x_35; +x_35 = !lean_is_exclusive(x_4); +if (x_35 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_37 = lean_ctor_get(x_5, 1); -x_38 = lean_ctor_get(x_5, 0); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_36 = lean_ctor_get(x_4, 1); +x_37 = lean_ctor_get(x_4, 0); +lean_dec(x_37); +x_38 = lean_ctor_get(x_7, 3); +lean_inc(x_38); +lean_dec(x_7); +x_39 = lean_array_get_size(x_38); +x_40 = lean_unsigned_to_nat(0u); +x_41 = lean_nat_dec_lt(x_40, x_39); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_39); lean_dec(x_38); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_dec(x_8); -x_40 = lean_array_get_size(x_39); -x_41 = lean_unsigned_to_nat(0u); -x_42 = lean_nat_dec_lt(x_41, x_40); -if (x_42 == 0) -{ -lean_object* x_43; -lean_dec(x_40); -lean_dec(x_39); -x_43 = lean_box(0); -lean_ctor_set(x_5, 0, x_43); -return x_5; +x_42 = lean_box(0); +lean_ctor_set(x_4, 0, x_42); +return x_4; } else { -uint8_t x_44; -x_44 = lean_nat_dec_le(x_40, x_40); -if (x_44 == 0) +uint8_t x_43; +x_43 = lean_nat_dec_le(x_39, x_39); +if (x_43 == 0) { -lean_object* x_45; -lean_dec(x_40); +lean_object* x_44; lean_dec(x_39); -x_45 = lean_box(0); -lean_ctor_set(x_5, 0, x_45); -return x_5; +lean_dec(x_38); +x_44 = lean_box(0); +lean_ctor_set(x_4, 0, x_44); +return x_4; } else { -size_t x_46; size_t x_47; lean_object* x_48; lean_object* x_49; -lean_free_object(x_5); -x_46 = 0; -x_47 = lean_usize_of_nat(x_40); -lean_dec(x_40); -x_48 = lean_box(0); -x_49 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___spec__1(x_39, x_46, x_47, x_48, x_2, x_37); +size_t x_45; size_t x_46; lean_object* x_47; lean_object* x_48; +lean_free_object(x_4); +x_45 = 0; +x_46 = lean_usize_of_nat(x_39); lean_dec(x_39); -return x_49; +x_47 = lean_box(0); +x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___spec__1(x_38, x_45, x_46, x_47, x_2, x_36); +lean_dec(x_38); +return x_48; } } } else { -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_5, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_4, 1); +lean_inc(x_49); +lean_dec(x_4); +x_50 = lean_ctor_get(x_7, 3); lean_inc(x_50); -lean_dec(x_5); -x_51 = lean_ctor_get(x_8, 3); -lean_inc(x_51); -lean_dec(x_8); -x_52 = lean_array_get_size(x_51); -x_53 = lean_unsigned_to_nat(0u); -x_54 = lean_nat_dec_lt(x_53, x_52); -if (x_54 == 0) +lean_dec(x_7); +x_51 = lean_array_get_size(x_50); +x_52 = lean_unsigned_to_nat(0u); +x_53 = lean_nat_dec_lt(x_52, x_51); +if (x_53 == 0) { -lean_object* x_55; lean_object* x_56; -lean_dec(x_52); +lean_object* x_54; lean_object* x_55; lean_dec(x_51); -x_55 = lean_box(0); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_50); -return x_56; +lean_dec(x_50); +x_54 = lean_box(0); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_49); +return x_55; } else { -uint8_t x_57; -x_57 = lean_nat_dec_le(x_52, x_52); -if (x_57 == 0) +uint8_t x_56; +x_56 = lean_nat_dec_le(x_51, x_51); +if (x_56 == 0) { -lean_object* x_58; lean_object* x_59; -lean_dec(x_52); +lean_object* x_57; lean_object* x_58; lean_dec(x_51); -x_58 = lean_box(0); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_50); -return x_59; +lean_dec(x_50); +x_57 = lean_box(0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_49); +return x_58; } else { -size_t x_60; size_t x_61; lean_object* x_62; lean_object* x_63; -x_60 = 0; -x_61 = lean_usize_of_nat(x_52); -lean_dec(x_52); -x_62 = lean_box(0); -x_63 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___spec__1(x_51, x_60, x_61, x_62, x_2, x_50); +size_t x_59; size_t x_60; lean_object* x_61; lean_object* x_62; +x_59 = 0; +x_60 = lean_usize_of_nat(x_51); lean_dec(x_51); -return x_63; +x_61 = lean_box(0); +x_62 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___spec__1(x_50, x_59, x_60, x_61, x_2, x_49); +lean_dec(x_50); +return x_62; } } } } case 8: { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_5, 1); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_4, 1); +lean_inc(x_63); +lean_dec(x_4); +x_64 = lean_ctor_get(x_7, 0); lean_inc(x_64); -lean_dec(x_5); -x_65 = lean_ctor_get(x_8, 0); -lean_inc(x_65); -lean_dec(x_8); -x_66 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(x_65, x_2, x_64); -return x_66; +lean_dec(x_7); +x_65 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(x_64, x_2, x_63); +return x_65; } default: { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_5, 1); +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_4, 1); +lean_inc(x_66); +lean_dec(x_4); +x_67 = lean_ctor_get(x_7, 0); lean_inc(x_67); -lean_dec(x_5); -x_68 = lean_ctor_get(x_8, 0); -lean_inc(x_68); -lean_dec(x_8); -x_1 = x_68; -x_3 = x_67; +lean_dec(x_7); +x_1 = x_67; +x_3 = x_66; goto _start; } } } else { -uint8_t x_70; +uint8_t x_69; lean_dec(x_1); -x_70 = !lean_is_exclusive(x_5); -if (x_70 == 0) +x_69 = !lean_is_exclusive(x_4); +if (x_69 == 0) { -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_5, 0); -lean_dec(x_71); -x_72 = lean_box(0); -lean_ctor_set(x_5, 0, x_72); -return x_5; +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_4, 0); +lean_dec(x_70); +x_71 = lean_box(0); +lean_ctor_set(x_4, 0, x_71); +return x_4; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_5, 1); -lean_inc(x_73); -lean_dec(x_5); -x_74 = lean_box(0); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -return x_75; +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_4, 1); +lean_inc(x_72); +lean_dec(x_4); +x_73 = lean_box(0); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +return x_74; } } } @@ -15687,119 +15177,490 @@ return x_75; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_collectDecVars(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, 2); -lean_inc(x_4); -x_5 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(x_4, x_2, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_unbox(x_6); -lean_dec(x_6); -if (x_7 == 0) +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg(x_1, x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) { -lean_object* x_8; -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); lean_dec(x_1); -switch (lean_obj_tag(x_8)) { +switch (lean_obj_tag(x_7)) { case 0: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_5, 1); +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); -lean_dec(x_5); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(x_10, x_2, x_9); -return x_11; +lean_dec(x_7); +x_10 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(x_9, x_2, x_8); +return x_10; } case 1: { -uint8_t x_12; -lean_dec(x_8); -x_12 = !lean_is_exclusive(x_5); -if (x_12 == 0) +uint8_t x_11; +lean_dec(x_7); +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_5, 0); -lean_dec(x_13); +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_4, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set(x_4, 0, x_13); +return x_4; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_dec(x_4); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +case 5: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_4, 1); +lean_inc(x_17); +lean_dec(x_4); +x_18 = lean_ctor_get(x_7, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 2); +lean_inc(x_19); +lean_dec(x_7); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_18, x_2, x_17); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_1 = x_19; +x_3 = x_21; +goto _start; +} +default: +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +lean_dec(x_4); +x_24 = lean_ctor_get(x_7, 0); +lean_inc(x_24); +lean_dec(x_7); +x_1 = x_24; +x_3 = x_23; +goto _start; +} +} +} +else +{ +uint8_t x_26; +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_4); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_4, 0); +lean_dec(x_27); +x_28 = lean_box(0); +lean_ctor_set(x_4, 0, x_28); +return x_4; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_4, 1); +lean_inc(x_29); +lean_dec(x_4); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 2); +lean_inc(x_5); +lean_dec(x_1); +if (lean_obj_tag(x_5) == 0) +{ +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 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_markAsFound(x_6, x_3, x_4); +return x_7; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_5); +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_5, 1); +x_10 = lean_ctor_get(x_5, 0); +lean_dec(x_10); +x_11 = lean_array_get_size(x_9); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_lt(x_12, x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_11); +lean_dec(x_9); x_14 = lean_box(0); +lean_ctor_set_tag(x_5, 0); +lean_ctor_set(x_5, 1, x_4); lean_ctor_set(x_5, 0, x_14); return x_5; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_5, 1); -lean_inc(x_15); -lean_dec(x_5); +uint8_t x_15; +x_15 = lean_nat_dec_le(x_11, x_11); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_11); +lean_dec(x_9); x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -case 5: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_5, 1); -lean_inc(x_18); -lean_dec(x_5); -x_19 = lean_ctor_get(x_8, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_8, 2); -lean_inc(x_20); -lean_dec(x_8); -x_21 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_19, x_2, x_18); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_1 = x_20; -x_3 = x_22; -goto _start; -} -default: -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_5, 1); -lean_inc(x_24); -lean_dec(x_5); -x_25 = lean_ctor_get(x_8, 0); -lean_inc(x_25); -lean_dec(x_8); -x_1 = x_25; -x_3 = x_24; -goto _start; -} -} -} -else -{ -uint8_t x_27; -lean_dec(x_1); -x_27 = !lean_is_exclusive(x_5); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_5, 0); -lean_dec(x_28); -x_29 = lean_box(0); -lean_ctor_set(x_5, 0, x_29); +lean_ctor_set_tag(x_5, 0); +lean_ctor_set(x_5, 1, x_4); +lean_ctor_set(x_5, 0, x_16); return x_5; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_5, 1); -lean_inc(x_30); +size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; +lean_free_object(x_5); +x_17 = 0; +x_18 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_19 = lean_box(0); +x_20 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___spec__1(x_9, x_17, x_18, x_19, x_3, x_4); +lean_dec(x_9); +return x_20; +} +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_5, 1); +lean_inc(x_21); lean_dec(x_5); -x_31 = lean_box(0); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -return x_32; +x_22 = lean_array_get_size(x_21); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_nat_dec_lt(x_23, x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_21); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_4); +return x_26; +} +else +{ +uint8_t x_27; +x_27 = lean_nat_dec_le(x_22, x_22); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_22); +lean_dec(x_21); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_4); +return x_29; +} +else +{ +size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; +x_30 = 0; +x_31 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_32 = lean_box(0); +x_33 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___spec__1(x_21, x_30, x_31, x_32, x_3, x_4); +lean_dec(x_21); +return x_33; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(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 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg(x_1, x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_dec(x_4); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_9, x_2, x_7); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_8, 1); +lean_inc(x_12); +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars(x_12, x_2, x_11); +x_14 = lean_ctor_get(x_8, 2); +lean_inc(x_14); +lean_dec(x_8); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_box(0); +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___lambda__1(x_1, x_16, x_2, x_15); +return x_17; +} +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; +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_dec(x_13); +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars(x_19, x_2, x_18); +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 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___lambda__1(x_1, x_21, x_2, x_22); +lean_dec(x_21); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_4); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_4, 0); +lean_dec(x_25); +x_26 = lean_box(0); +lean_ctor_set(x_4, 0, x_26); +return x_4; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_4, 1); +lean_inc(x_27); +lean_dec(x_4); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars(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 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited___rarg(x_1, x_2, x_3); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_unbox(x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 2); +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; +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(x_9, x_2, x_8); +return x_10; +} +case 3: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_dec(x_7); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars(x_12, x_2, x_11); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_1 = x_13; +x_3 = x_15; +goto _start; +} +case 4: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_4, 1); +lean_inc(x_17); +lean_dec(x_4); +x_18 = lean_ctor_get(x_7, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 1); +lean_inc(x_19); +lean_dec(x_7); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars(x_18, x_2, x_17); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_1 = x_19; +x_3 = x_21; +goto _start; +} +case 6: +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +lean_dec(x_4); +x_24 = lean_ctor_get(x_7, 1); +lean_inc(x_24); +lean_dec(x_7); +x_25 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_24, x_2, x_23); +return x_25; +} +case 7: +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_4, 1); +lean_inc(x_26); +lean_dec(x_4); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +lean_dec(x_7); +x_29 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_27, x_2, x_26); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_1 = x_28; +x_3 = x_30; +goto _start; +} +case 8: +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_4, 1); +lean_inc(x_32); +lean_dec(x_4); +x_33 = lean_ctor_get(x_7, 0); +lean_inc(x_33); +lean_dec(x_7); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(x_33, x_2, x_32); +return x_34; +} +case 9: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_4, 1); +lean_inc(x_35); +lean_dec(x_4); +x_36 = lean_ctor_get(x_7, 0); +lean_inc(x_36); +lean_dec(x_7); +x_37 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(x_36, x_2, x_35); +return x_37; +} +default: +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_4, 1); +lean_inc(x_38); +lean_dec(x_4); +x_39 = lean_ctor_get(x_7, 0); +lean_inc(x_39); +lean_dec(x_7); +x_1 = x_39; +x_3 = x_38; +goto _start; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_4); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_4, 0); +lean_dec(x_42); +x_43 = lean_box(0); +lean_ctor_set(x_4, 0, x_43); +return x_4; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_4, 1); +lean_inc(x_44); +lean_dec(x_4); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +return x_46; } } } @@ -15813,6 +15674,20 @@ lean_dec(x_2); return x_4; } } +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___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_2); +lean_dec(x_2); +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___spec__1(x_1, x_7, x_8, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_9; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_collectDecVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -15831,171 +15706,23 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_1, 3); -lean_inc(x_4); -x_5 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_alreadyVisited(x_4, x_2, x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_unbox(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_1, 2); -lean_inc(x_8); -lean_dec(x_1); -switch (lean_obj_tag(x_8)) { -case 0: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_5, 1); -lean_inc(x_9); -lean_dec(x_5); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Proof_0__Lean_Meta_Grind_Arith_Cutsat_collectExpr(x_10, x_2, x_9); -return x_11; -} -case 3: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_5, 1); -lean_inc(x_12); -lean_dec(x_5); -x_13 = lean_ctor_get(x_8, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_8, 1); -lean_inc(x_14); -lean_dec(x_8); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars(x_13, x_2, x_12); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_1 = x_14; -x_3 = x_16; -goto _start; -} -case 4: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_5, 1); -lean_inc(x_18); -lean_dec(x_5); -x_19 = lean_ctor_get(x_8, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_8, 1); -lean_inc(x_20); -lean_dec(x_8); -x_21 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars(x_19, x_2, x_18); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_1 = x_20; -x_3 = x_22; -goto _start; -} -case 6: -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_5, 1); -lean_inc(x_24); -lean_dec(x_5); -x_25 = lean_ctor_get(x_8, 1); -lean_inc(x_25); -lean_dec(x_8); -x_26 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_25, x_2, x_24); -return x_26; -} -case 7: -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_5, 1); -lean_inc(x_27); -lean_dec(x_5); -x_28 = lean_ctor_get(x_8, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_8, 2); -lean_inc(x_29); -lean_dec(x_8); -x_30 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_collectDecVars(x_28, x_2, x_27); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_1 = x_29; -x_3 = x_31; -goto _start; -} -case 8: -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_5, 1); -lean_inc(x_33); -lean_dec(x_5); -x_34 = lean_ctor_get(x_8, 0); -lean_inc(x_34); -lean_dec(x_8); -x_35 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(x_34, x_2, x_33); -return x_35; -} -case 9: -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_5, 1); -lean_inc(x_36); -lean_dec(x_5); -x_37 = lean_ctor_get(x_8, 0); -lean_inc(x_37); -lean_dec(x_8); -x_38 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(x_37, x_2, x_36); -return x_38; -} -default: -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_5, 1); -lean_inc(x_39); -lean_dec(x_5); -x_40 = lean_ctor_get(x_8, 0); -lean_inc(x_40); -lean_dec(x_8); -x_1 = x_40; -x_3 = x_39; -goto _start; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_1); -x_42 = !lean_is_exclusive(x_5); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_5, 0); -lean_dec(x_43); -x_44 = lean_box(0); -lean_ctor_set(x_5, 0, x_44); +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); return x_5; } -else +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_5, 1); -lean_inc(x_45); -lean_dec(x_5); -x_46 = lean_box(0); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} +lean_object* x_4; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_collectDecVars(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_collectDecVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -16351,41 +16078,6 @@ l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__34 = _init_l_Lean_ lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__34); l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__35 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__35(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_toExprProof___closed__35); -l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__1(); -l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__2); -l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___spec__2___closed__3); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__1___closed__3); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__2___closed__3); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__3); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__4); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__5); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__6 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__6(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__3___closed__6); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___lambda__4___closed__3); l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__2(); @@ -16410,6 +16102,12 @@ l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__11 = _init_l lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__11); l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__12); +l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__13 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__13(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__13); +l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__14 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__14(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__14); +l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__15 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__15(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProofCore___closed__15); l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_toExprProof___closed__2(); @@ -16460,6 +16158,48 @@ l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__6 = _init_l_Lean lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__6); l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__7 = _init_l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__7(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof___closed__7); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__5); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__6 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__6); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__7 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__7(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__7); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__8 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__8(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__8); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__9 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__9(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__9); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__10 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__10(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__10); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__11); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__12 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__12(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__12); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__13 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__13(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__13); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__14 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__14(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__14); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__15 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__15(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__15); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__16 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__16(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__16); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__17 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__17(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__17); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__18 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__18(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__18); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__19 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__19(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__19); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__20 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__20(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__20); +l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__21 = _init_l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__21(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_setInconsistent___closed__21); l_Lean_Meta_Grind_Arith_Cutsat_CollectDecVarsM_run___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CollectDecVarsM_run___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CollectDecVarsM_run___closed__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c index 41c2075d43..76295be234 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c @@ -15,38 +15,46 @@ extern "C" { #endif lean_object* l_Std_Internal_Rat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_findDiseq_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_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5___boxed(lean_object**); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__3; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__3; lean_object* l_Int_gcd(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__2; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___closed__1; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_traceModel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_skipAssignment(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_RBNode_fold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedFindIntValResult; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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_mk_empty_array_with_capacity(lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_Cutsat_inDiseqValues(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__5; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__8(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___closed__4; +static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; static lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__3___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findIntVal_go(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___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* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_throwUnexpected___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_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedFindIntValResult___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findDiseq_x3f___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__1; uint8_t lean_usize_dec_le(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_setAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -61,79 +69,97 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar(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* l_Int_Linear_Poly_addConst(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__2; static lean_object* l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(size_t, size_t, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___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* l_Lean_MessageData_ofList(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__1; lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__4___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__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*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDiseq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_mul(size_t, size_t); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_hasAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6(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_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___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_object* l_Int_Linear_Poly_satisfiedLe(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_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__4; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_skipAssignment___closed__1; -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_gcdExt(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6; -static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_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*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__1; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_emod(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__5___closed__2; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___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_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_RBTree_toArray___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__3(lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__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_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__4(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_object* l_Lean_RBNode_balLeft___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooper(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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; uint8_t l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___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_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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_Grind_Arith_Cutsat_DiseqCnstr_throwUnexpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__4___boxed(lean_object**); lean_object* l_Int_Linear_Poly_coeff(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*); -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__1___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_balRight___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentArray_toList___rarg(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___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* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_pop___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_leAvoiding___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_processVar___spec__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* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(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_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__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*); extern lean_object* l_instInhabitedPUnit; static lean_object* l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__1; static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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_Grind_Arith_Cutsat_getBestLower_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__2; lean_object* l_Lean_PersistentArray_set___rarg(lean_object*, lean_object*, lean_object*); @@ -146,27 +172,28 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findDiseq_x3f___closed__3; LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars_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_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__4; +LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__7___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding___closed__1; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___closed__1; lean_object* l_Lean_RBNode_appendTrees___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findIntVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__4(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_Meta_Grind_Arith_Cutsat_searchAssigment___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__4; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__3___boxed(lean_object**); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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_Grind_Arith_Cutsat_resolveConflict___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__5___boxed(lean_object**); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_setAssignment___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); lean_object* lean_nat_to_int(lean_object*); @@ -179,27 +206,35 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDiseq___closed__ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findRatDiseq_x3f___boxed(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Int_Linear_Poly_updateOccs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___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_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findIntVal(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, 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* l_Lean_MessageData_ofFormat(lean_object*); static lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1___closed__2; lean_object* l_Std_Internal_Rat_neg(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(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_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_outOfBounds___rarg(lean_object*); static lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__3___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__1; lean_object* l_Lean_quoteIfNotAtom(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_throwUnexpected___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_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars_go___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findDiseq_x3f___lambda__1___boxed(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars_go___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* l_Lean_RBNode_findCore___at_Lean_Meta_Closure_process___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__3; @@ -208,16 +243,20 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findIntVal_go___boxed(le static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_findDiseq_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; +lean_object* lean_array_to_list(lean_object*); +lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__10; lean_object* l_Int_Linear_Poly_mul(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__6; lean_object* l_Std_Internal_Rat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__3(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_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__3(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*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__5(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_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__3___closed__2; extern lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedDvdCnstr; extern lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCase; @@ -229,29 +268,38 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___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_Grind_Arith_Cutsat_resolveRatDiseq___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findDiseq_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_ge___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__4; uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_18_(uint8_t, uint8_t); uint8_t l_Std_Internal_Rat_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDvd___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__2___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__4(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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__3; +LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2; lean_object* l_Std_Internal_Rat_ceil(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__11; uint8_t l___private_Init_Data_Int_Linear_0__Int_Linear_beqPoly____x40_Init_Data_Int_Linear___hyg_596_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase(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_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__1; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_collectDecVars(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_isApprox(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(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* l_Int_Linear_cdiv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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*); extern lean_object* l_Lean_Meta_instMonadMetaM; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -262,21 +310,28 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_skipAssignment___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Types_0__Lean_Meta_Grind_Arith_Cutsat_hashPoly____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_Types___hyg_6_(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___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*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__2; lean_object* lean_usize_to_nat(size_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__5; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict(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_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_sub(lean_object*, lean_object*); static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__1; +lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_processVar___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_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_traceModel___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_RBTree_toList___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__6___boxed(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__5___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__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_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(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_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(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*); @@ -284,19 +339,23 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_ge(lean_obje LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, 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_Meta_Grind_Arith_Cutsat_resolveCooperDiseq___closed__1; lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(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_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__3(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_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___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_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_nat_abs(lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,170 +364,1173 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___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_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_tail(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___boxed(lean_object**); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDiseq___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_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___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_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(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*); static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1(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_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(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_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__4; lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooper___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_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setImprecise___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3(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_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3(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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__3; lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__4; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_leAvoiding(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___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*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__9(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__3___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___closed__1; lean_object* lean_panic_fn(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9(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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__9; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___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*); uint8_t lean_int_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__3(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findDiseq_x3f___boxed(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_inconsistent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__5; uint8_t l_Lean_RBNode_isBlack___rarg(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___closed__3; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_throwUnexpected___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_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__5(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_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___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* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars_go___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_hasAssignment___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*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___boxed(lean_object**); +lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__3; lean_object* l_Std_Internal_Rat_inv(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); lean_object* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__5___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__6; LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Grind_Arith_Cutsat_processVar___spec__1(lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__3___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__2; -lean_object* l_Lean_isTracingEnabledForCore(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__8; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___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_RBTree_toList___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__6(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_array_size(lean_object*); lean_object* l_Lean_instInhabitedPersistentArray(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__1; lean_object* lean_int_add(lean_object*, lean_object*); lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase(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_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__7; lean_object* l_Int_Linear_Poly_combine_x27(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(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_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___closed__1; uint8_t lean_int_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3___boxed(lean_object**); static lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__1(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__2___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findDiseq_x3f(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_int_ediv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_findRatDiseq_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___boxed(lean_object**); lean_object* lean_int_neg(lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__1; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__5; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findRatVal(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_eliminated(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict___closed__2; lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq(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*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_get_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findRatDiseq_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_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*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_substCore___spec__5(size_t, size_t, lean_object*); +static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars___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_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__2; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__7; lean_object* l_Lean_Meta_Grind_getConfig___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___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_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__2; lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); lean_object* l_Std_Internal_Rat_floor(lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_isInconsistent(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___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__3(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_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__3; lean_object* l_ReaderT_instMonad___rarg(lean_object*); size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___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_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___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* l_Lean_Meta_Grind_Arith_Cutsat_getVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__6; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDvd(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_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("dvd₂: ", 8, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___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_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_1); +if (x_23 == 0) +{ +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_24 = lean_ctor_get(x_1, 0); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Int_Linear_Poly_tail(x_25); +x_28 = l_Int_Linear_Poly_leadCoeff(x_25); +lean_dec(x_25); +if (x_3 == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_8); +x_68 = lean_int_neg(x_28); +lean_dec(x_28); +x_69 = l_Int_Linear_Poly_mul(x_4, x_68); +x_70 = l_Int_Linear_Poly_mul(x_27, x_5); +x_71 = lean_unsigned_to_nat(100000000u); +x_72 = l_Int_Linear_Poly_combine_x27(x_71, x_69, x_70); +x_73 = lean_int_mul(x_68, x_6); +lean_dec(x_68); +x_74 = l_Int_Linear_Poly_addConst(x_72, x_73); +lean_dec(x_73); +x_75 = lean_int_mul(x_5, x_26); +lean_dec(x_26); +lean_ctor_set_tag(x_1, 9); +lean_ctor_set(x_1, 0, x_7); +x_76 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +lean_ctor_set(x_76, 2, x_1); +x_29 = x_76; +goto block_67; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_4); +x_77 = l_Int_Linear_Poly_mul(x_8, x_28); +x_78 = l_Int_Linear_Poly_mul(x_27, x_9); +x_79 = lean_unsigned_to_nat(100000000u); +x_80 = l_Int_Linear_Poly_combine_x27(x_79, x_77, x_78); +x_81 = lean_int_mul(x_28, x_6); +lean_dec(x_28); +x_82 = l_Int_Linear_Poly_addConst(x_80, x_81); +lean_dec(x_81); +x_83 = lean_int_mul(x_10, x_26); +lean_dec(x_26); +lean_ctor_set_tag(x_1, 9); +lean_ctor_set(x_1, 0, x_7); +x_84 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +lean_ctor_set(x_84, 2, x_1); +x_29 = x_84; +goto block_67; +} +block_67: +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_inc(x_2); +x_30 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_2, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_2); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_29, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_33); +return x_34; +} +else +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_30, 1); +x_37 = lean_ctor_get(x_30, 0); +lean_dec(x_37); +lean_inc(x_29); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_29, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_36); +x_39 = !lean_is_exclusive(x_38); +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; +x_40 = lean_ctor_get(x_38, 0); +x_41 = lean_ctor_get(x_38, 1); +x_42 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2; +lean_ctor_set_tag(x_38, 7); +lean_ctor_set(x_38, 1, x_40); +lean_ctor_set(x_38, 0, x_42); +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_30, 7); +lean_ctor_set(x_30, 1, x_43); +lean_ctor_set(x_30, 0, x_38); +x_44 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_2, x_30, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_41); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_29, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, 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; +x_47 = lean_ctor_get(x_38, 0); +x_48 = lean_ctor_get(x_38, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_38); +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +x_51 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_30, 7); +lean_ctor_set(x_30, 1, x_51); +lean_ctor_set(x_30, 0, x_50); +x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_2, x_30, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_48); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_29, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_53); +return x_54; +} +} +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; 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_55 = lean_ctor_get(x_30, 1); +lean_inc(x_55); +lean_dec(x_30); +lean_inc(x_29); +x_56 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_29, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_59 = x_56; +} else { + lean_dec_ref(x_56); + x_59 = lean_box(0); +} +x_60 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2; +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(7, 2, 0); +} else { + x_61 = x_59; + lean_ctor_set_tag(x_61, 7); +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_57); +x_62 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_2, x_63, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_58); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_29, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_65); +return x_66; +} +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_85 = lean_ctor_get(x_1, 0); +lean_inc(x_85); +lean_dec(x_1); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 0); +lean_inc(x_87); +lean_dec(x_85); +x_88 = l_Int_Linear_Poly_tail(x_86); +x_89 = l_Int_Linear_Poly_leadCoeff(x_86); +lean_dec(x_86); +if (x_3 == 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; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_8); +x_110 = lean_int_neg(x_89); +lean_dec(x_89); +x_111 = l_Int_Linear_Poly_mul(x_4, x_110); +x_112 = l_Int_Linear_Poly_mul(x_88, x_5); +x_113 = lean_unsigned_to_nat(100000000u); +x_114 = l_Int_Linear_Poly_combine_x27(x_113, x_111, x_112); +x_115 = lean_int_mul(x_110, x_6); +lean_dec(x_110); +x_116 = l_Int_Linear_Poly_addConst(x_114, x_115); +lean_dec(x_115); +x_117 = lean_int_mul(x_5, x_87); +lean_dec(x_87); +x_118 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_118, 0, x_7); +x_119 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_116); +lean_ctor_set(x_119, 2, x_118); +x_90 = x_119; +goto block_109; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_4); +x_120 = l_Int_Linear_Poly_mul(x_8, x_89); +x_121 = l_Int_Linear_Poly_mul(x_88, x_9); +x_122 = lean_unsigned_to_nat(100000000u); +x_123 = l_Int_Linear_Poly_combine_x27(x_122, x_120, x_121); +x_124 = lean_int_mul(x_89, x_6); +lean_dec(x_89); +x_125 = l_Int_Linear_Poly_addConst(x_123, x_124); +lean_dec(x_124); +x_126 = lean_int_mul(x_10, x_87); +lean_dec(x_87); +x_127 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_127, 0, x_7); +x_128 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_125); +lean_ctor_set(x_128, 2, x_127); +x_90 = x_128; +goto block_109; +} +block_109: +{ +lean_object* x_91; lean_object* x_92; uint8_t x_93; +lean_inc(x_2); +x_91 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_2, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_unbox(x_92); +lean_dec(x_92); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_2); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +lean_dec(x_91); +x_95 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_90, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_94); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_96 = lean_ctor_get(x_91, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_97 = x_91; +} else { + lean_dec_ref(x_91); + x_97 = lean_box(0); +} +lean_inc(x_90); +x_98 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_90, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_96); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_101 = x_98; +} else { + lean_dec_ref(x_98); + x_101 = lean_box(0); +} +x_102 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2; +if (lean_is_scalar(x_101)) { + x_103 = lean_alloc_ctor(7, 2, 0); +} else { + x_103 = x_101; + lean_ctor_set_tag(x_103, 7); +} +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_99); +x_104 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +if (lean_is_scalar(x_97)) { + x_105 = lean_alloc_ctor(7, 2, 0); +} else { + x_105 = x_97; + lean_ctor_set_tag(x_105, 7); +} +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_2, x_105, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_100); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_90, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_107); +return x_108; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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) { +_start: +{ +lean_object* x_22; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_24 = l_Lean_Meta_Grind_Arith_Cutsat_inconsistent(x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_box(0); +x_29 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_27); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_24, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_24, 0, x_32); +return x_24; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); +lean_dec(x_24); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_24); +if (x_36 == 0) +{ +return x_24; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_24, 0); +x_38 = lean_ctor_get(x_24, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_24); +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 +{ +uint8_t x_40; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_22); +if (x_40 == 0) +{ +return x_22; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 0); +x_42 = lean_ctor_get(x_22, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_22); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("dvd₁: ", 8, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { +_start: +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_nat_to_int(x_1); +lean_inc(x_2); +x_22 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_22, 0, x_2); +lean_inc(x_3); +x_23 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +if (x_5 == 0) +{ +lean_inc(x_6); +x_24 = x_6; +goto block_72; +} +else +{ +lean_inc(x_8); +x_24 = x_8; +goto block_72; +} +block_72: +{ +lean_object* x_25; lean_object* x_26; +x_25 = l_Int_Linear_Poly_addConst(x_24, x_21); +if (x_5 == 0) +{ +lean_inc(x_7); +x_26 = x_7; +goto block_71; +} +else +{ +lean_inc(x_10); +x_26 = x_10; +goto block_71; +} +block_71: +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_23); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_25); +lean_ctor_set(x_30, 2, x_22); +x_31 = lean_unbox(x_28); +lean_dec(x_28); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_free_object(x_23); +x_32 = lean_box(0); +x_33 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(x_30, x_4, x_3, x_5, x_6, x_7, x_21, x_2, x_8, x_9, x_10, x_32, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_29); +lean_dec(x_10); +lean_dec(x_21); +lean_dec(x_7); +return x_33; +} +else +{ +lean_object* x_34; uint8_t x_35; +lean_inc(x_30); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_30, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_29); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__2; +lean_ctor_set_tag(x_34, 7); +lean_ctor_set(x_34, 1, x_36); +lean_ctor_set(x_34, 0, x_38); +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_23, 7); +lean_ctor_set(x_23, 1, x_39); +lean_ctor_set(x_23, 0, x_34); +lean_inc(x_3); +x_40 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_23, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_37); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(x_30, x_4, x_3, x_5, x_6, x_7, x_21, x_2, x_8, x_9, x_10, x_41, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_42); +lean_dec(x_41); +lean_dec(x_10); +lean_dec(x_21); +lean_dec(x_7); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_44 = lean_ctor_get(x_34, 0); +x_45 = lean_ctor_get(x_34, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_34); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__2; +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_44); +x_48 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_23, 7); +lean_ctor_set(x_23, 1, x_48); +lean_ctor_set(x_23, 0, x_47); +lean_inc(x_3); +x_49 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_23, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_45); +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_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(x_30, x_4, x_3, x_5, x_6, x_7, x_21, x_2, x_8, x_9, x_10, x_50, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_51); +lean_dec(x_50); +lean_dec(x_10); +lean_dec(x_21); +lean_dec(x_7); +return x_52; +} +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_53 = lean_ctor_get(x_23, 0); +x_54 = lean_ctor_get(x_23, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_23); +x_55 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_55, 0, x_26); +lean_ctor_set(x_55, 1, x_25); +lean_ctor_set(x_55, 2, x_22); +x_56 = lean_unbox(x_53); +lean_dec(x_53); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_box(0); +x_58 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(x_55, x_4, x_3, x_5, x_6, x_7, x_21, x_2, x_8, x_9, x_10, x_57, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_54); +lean_dec(x_10); +lean_dec(x_21); +lean_dec(x_7); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_inc(x_55); +x_59 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_55, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_54); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_62 = x_59; +} else { + lean_dec_ref(x_59); + x_62 = lean_box(0); +} +x_63 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__2; +if (lean_is_scalar(x_62)) { + x_64 = lean_alloc_ctor(7, 2, 0); +} else { + x_64 = x_62; + lean_ctor_set_tag(x_64, 7); +} +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_60); +x_65 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +lean_inc(x_3); +x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_66, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_61); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(x_55, x_4, x_3, x_5, x_6, x_7, x_21, x_2, x_8, x_9, x_10, x_68, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_69); +lean_dec(x_68); +lean_dec(x_10); +lean_dec(x_21); +lean_dec(x_7); +return x_70; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5(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, 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) { +_start: +{ +lean_object* x_22; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_24 = l_Lean_Meta_Grind_Arith_Cutsat_inconsistent(x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_box(0); +x_29 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_27); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_24, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_24, 0, x_32); +return x_24; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); +lean_dec(x_24); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_24); +if (x_36 == 0) +{ +return x_24; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_24, 0); +x_38 = lean_ctor_get(x_24, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_24); +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 +{ +uint8_t x_40; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_22); +if (x_40 == 0) +{ +return x_22; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 0); +x_42 = lean_ctor_get(x_22, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_22); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert), 10, 0); +x_1 = lean_mk_string_unchecked("grind", 5, 5); return x_1; } } +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("debug", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cutsat", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cooper", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert(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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_11; uint8_t 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; uint8_t x_30; x_11 = lean_ctor_get(x_1, 0); lean_inc(x_11); x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*3); @@ -503,521 +1565,322 @@ x_27 = l_Int_Linear_Poly_combine_x27(x_26, x_23, x_25); lean_inc(x_1); x_28 = lean_alloc_ctor(8, 1, 0); lean_ctor_set(x_28, 0, x_1); +x_29 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__5; if (x_12 == 0) { -uint8_t x_159; -x_159 = 0; -x_29 = x_159; -goto block_158; +uint8_t x_78; +x_78 = 0; +x_30 = x_78; +goto block_77; } else { -uint8_t x_160; -x_160 = 1; -x_29 = x_160; -goto block_158; +uint8_t x_79; +x_79 = 1; +x_30 = x_79; +goto block_77; } -block_158: +block_77: { -if (x_29 == 0) +lean_object* x_31; +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_19); -x_30 = lean_nat_to_int(x_16); -x_31 = lean_int_mul(x_24, x_30); -lean_dec(x_24); +lean_object* x_73; lean_object* x_74; +lean_inc(x_16); +x_73 = lean_nat_to_int(x_16); +x_74 = lean_int_mul(x_24, x_73); +lean_dec(x_73); +x_31 = x_74; +goto block_72; +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_inc(x_16); +x_75 = lean_nat_to_int(x_16); +x_76 = lean_int_mul(x_22, x_75); +lean_dec(x_75); +x_31 = x_76; +goto block_72; +} +block_72: +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; x_32 = l_Int_Linear_Poly_addConst(x_27, x_31); lean_dec(x_31); -x_33 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_32, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_28); +x_34 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -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); -lean_inc(x_2); -x_36 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); -if (lean_obj_tag(x_36) == 0) +x_36 = lean_unbox(x_35); +lean_dec(x_35); +if (x_36 == 0) { -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_37 = lean_ctor_get(x_36, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 1); lean_inc(x_37); -lean_dec(x_36); -lean_inc(x_1); -x_38 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_38, 0, x_1); -lean_inc(x_20); -x_39 = l_Int_Linear_Poly_addConst(x_20, x_30); -lean_inc(x_22); -x_40 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_22, x_39, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_37); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -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); -lean_inc(x_2); -x_43 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_42); -if (lean_obj_tag(x_43) == 0) +lean_dec(x_34); +x_38 = lean_box(0); +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5(x_33, x_16, x_1, x_29, x_15, x_30, x_20, x_22, x_19, x_24, x_21, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_37); +lean_dec(x_24); +return x_39; +} +else { -if (lean_obj_tag(x_15) == 0) +uint8_t x_40; +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) { -uint8_t x_44; -lean_dec(x_30); -lean_dec(x_22); -lean_dec(x_20); -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); +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_41 = lean_ctor_get(x_34, 1); +x_42 = lean_ctor_get(x_34, 0); +lean_dec(x_42); +lean_inc(x_33); +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_41); x_44 = !lean_is_exclusive(x_43); if (x_44 == 0) { -lean_object* x_45; lean_object* x_46; +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_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 -{ -lean_object* x_50; uint8_t x_51; -x_50 = lean_ctor_get(x_43, 1); +x_46 = lean_ctor_get(x_43, 1); +x_47 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_43, 7); +lean_ctor_set(x_43, 1, x_45); +lean_ctor_set(x_43, 0, x_47); +lean_ctor_set_tag(x_34, 7); +lean_ctor_set(x_34, 1, x_47); +lean_ctor_set(x_34, 0, x_43); +x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_29, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_46); +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_43); -x_51 = !lean_is_exclusive(x_15); -if (x_51 == 0) +lean_dec(x_48); +x_51 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5(x_33, x_16, x_1, x_29, x_15, x_30, x_20, x_22, x_19, x_24, x_21, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); +lean_dec(x_49); +lean_dec(x_24); +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; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_52 = lean_ctor_get(x_15, 0); -x_53 = lean_ctor_get(x_52, 1); +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_52 = lean_ctor_get(x_43, 0); +x_53 = lean_ctor_get(x_43, 1); lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -lean_dec(x_52); -x_55 = l_Int_Linear_Poly_tail(x_53); -x_56 = l_Int_Linear_Poly_leadCoeff(x_53); -lean_dec(x_53); -x_57 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; -x_58 = lean_int_neg(x_56); -lean_dec(x_56); -x_59 = l_Int_Linear_Poly_mul(x_20, x_58); -x_60 = l_Int_Linear_Poly_mul(x_55, x_22); -x_61 = l_Int_Linear_Poly_combine_x27(x_26, x_59, x_60); -x_62 = lean_int_mul(x_58, x_30); -lean_dec(x_30); -lean_dec(x_58); -x_63 = l_Int_Linear_Poly_addConst(x_61, x_62); -lean_dec(x_62); -x_64 = lean_int_mul(x_22, x_54); -lean_dec(x_54); -lean_dec(x_22); -lean_ctor_set_tag(x_15, 9); -lean_ctor_set(x_15, 0, x_1); -x_65 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_64, x_63, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_apply_10(x_57, x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_67); -return x_68; -} -else -{ -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; -x_69 = lean_ctor_get(x_15, 0); -lean_inc(x_69); -lean_dec(x_15); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 0); -lean_inc(x_71); -lean_dec(x_69); -x_72 = l_Int_Linear_Poly_tail(x_70); -x_73 = l_Int_Linear_Poly_leadCoeff(x_70); -lean_dec(x_70); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; -x_75 = lean_int_neg(x_73); -lean_dec(x_73); -x_76 = l_Int_Linear_Poly_mul(x_20, x_75); -x_77 = l_Int_Linear_Poly_mul(x_72, x_22); -x_78 = l_Int_Linear_Poly_combine_x27(x_26, x_76, x_77); -x_79 = lean_int_mul(x_75, x_30); -lean_dec(x_30); -lean_dec(x_75); -x_80 = l_Int_Linear_Poly_addConst(x_78, x_79); -lean_dec(x_79); -x_81 = lean_int_mul(x_22, x_71); -lean_dec(x_71); -lean_dec(x_22); -x_82 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_82, 0, x_1); -x_83 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_81, x_80, x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_apply_10(x_74, x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_85); -return x_86; -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_30); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_15); -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_87 = !lean_is_exclusive(x_43); -if (x_87 == 0) -{ -return x_43; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_43, 0); -x_89 = lean_ctor_get(x_43, 1); -lean_inc(x_89); -lean_inc(x_88); +lean_inc(x_52); lean_dec(x_43); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +lean_ctor_set_tag(x_34, 7); +lean_ctor_set(x_34, 1, x_54); +lean_ctor_set(x_34, 0, x_55); +x_56 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_29, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +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_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5(x_33, x_16, x_1, x_29, x_15, x_30, x_20, x_22, x_19, x_24, x_21, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); +lean_dec(x_57); +lean_dec(x_24); +return x_59; } } else { -uint8_t x_91; -lean_dec(x_30); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_15); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_60 = lean_ctor_get(x_34, 1); +lean_inc(x_60); +lean_dec(x_34); +lean_inc(x_33); +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_60); +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 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +if (lean_is_scalar(x_64)) { + x_66 = lean_alloc_ctor(7, 2, 0); +} else { + x_66 = x_64; + lean_ctor_set_tag(x_66, 7); +} +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_62); +x_67 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_29, x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_63); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5(x_33, x_16, x_1, x_29, x_15, x_30, x_20, x_22, x_19, x_24, x_21, x_69, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_70); +lean_dec(x_69); +lean_dec(x_24); +return x_71; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +uint8_t x_21; lean_object* x_22; +x_21 = lean_unbox(x_3); +lean_dec(x_3); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2(x_1, x_2, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec(x_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); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +_start: +{ +uint8_t x_22; lean_object* x_23; +x_22 = lean_unbox(x_4); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_91 = !lean_is_exclusive(x_36); -if (x_91 == 0) -{ -return x_36; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_36, 0); -x_93 = lean_ctor_get(x_36, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_36); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -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_dec(x_20); -x_95 = lean_nat_to_int(x_16); -x_96 = lean_int_mul(x_22, x_95); -lean_dec(x_22); -x_97 = l_Int_Linear_Poly_addConst(x_27, x_96); -lean_dec(x_96); -x_98 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_97, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -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); -lean_inc(x_2); -x_101 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_99, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_100); -if (lean_obj_tag(x_101) == 0) -{ -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_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -lean_inc(x_1); -x_103 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_103, 0, x_1); -lean_inc(x_19); -x_104 = l_Int_Linear_Poly_addConst(x_19, x_95); -lean_inc(x_21); -x_105 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_21, x_104, x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_102); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -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); -lean_inc(x_2); -x_108 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_107); -if (lean_obj_tag(x_108) == 0) -{ -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_109; -lean_dec(x_95); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_9); -lean_dec(x_8); +x_23 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(x_1, x_2, x_3, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); +return x_23; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +uint8_t x_21; lean_object* x_22; +x_21 = lean_unbox(x_5); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_109 = !lean_is_exclusive(x_108); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_108, 0); -lean_dec(x_110); -x_111 = lean_box(0); -lean_ctor_set(x_108, 0, x_111); -return x_108; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_108, 1); -lean_inc(x_112); -lean_dec(x_108); -x_113 = lean_box(0); -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -return x_114; -} -} -else -{ -lean_object* x_115; uint8_t x_116; -x_115 = lean_ctor_get(x_108, 1); -lean_inc(x_115); -lean_dec(x_108); -x_116 = !lean_is_exclusive(x_15); -if (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; lean_object* x_131; lean_object* x_132; -x_117 = lean_ctor_get(x_15, 0); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 0); -lean_inc(x_119); -lean_dec(x_117); -x_120 = l_Int_Linear_Poly_tail(x_118); -x_121 = l_Int_Linear_Poly_leadCoeff(x_118); -lean_dec(x_118); -x_122 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; -x_123 = l_Int_Linear_Poly_mul(x_19, x_121); -x_124 = l_Int_Linear_Poly_mul(x_120, x_24); -lean_dec(x_24); -x_125 = l_Int_Linear_Poly_combine_x27(x_26, x_123, x_124); -x_126 = lean_int_mul(x_121, x_95); -lean_dec(x_95); -lean_dec(x_121); -x_127 = l_Int_Linear_Poly_addConst(x_125, x_126); -lean_dec(x_126); -x_128 = lean_int_mul(x_21, x_119); -lean_dec(x_119); -lean_dec(x_21); -lean_ctor_set_tag(x_15, 9); -lean_ctor_set(x_15, 0, x_1); -x_129 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_128, x_127, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_115); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = lean_apply_10(x_122, x_130, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_131); -return x_132; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_133 = lean_ctor_get(x_15, 0); -lean_inc(x_133); -lean_dec(x_15); -x_134 = lean_ctor_get(x_133, 1); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 0); -lean_inc(x_135); -lean_dec(x_133); -x_136 = l_Int_Linear_Poly_tail(x_134); -x_137 = l_Int_Linear_Poly_leadCoeff(x_134); -lean_dec(x_134); -x_138 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; -x_139 = l_Int_Linear_Poly_mul(x_19, x_137); -x_140 = l_Int_Linear_Poly_mul(x_136, x_24); -lean_dec(x_24); -x_141 = l_Int_Linear_Poly_combine_x27(x_26, x_139, x_140); -x_142 = lean_int_mul(x_137, x_95); -lean_dec(x_95); -lean_dec(x_137); -x_143 = l_Int_Linear_Poly_addConst(x_141, x_142); -lean_dec(x_142); -x_144 = lean_int_mul(x_21, x_135); -lean_dec(x_135); -lean_dec(x_21); -x_145 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_145, 0, x_1); -x_146 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_144, x_143, x_145, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_115); -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -lean_dec(x_146); -x_149 = lean_apply_10(x_138, x_147, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_148); -return x_149; -} -} -} -else -{ -uint8_t x_150; -lean_dec(x_95); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_15); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4(x_1, x_2, x_3, x_4, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec(x_11); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +_start: +{ +uint8_t x_22; lean_object* x_23; +x_22 = lean_unbox(x_6); 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_150 = !lean_is_exclusive(x_108); -if (x_150 == 0) -{ -return x_108; -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_151 = lean_ctor_get(x_108, 0); -x_152 = lean_ctor_get(x_108, 1); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_108); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -return x_153; -} -} -} -else -{ -uint8_t x_154; -lean_dec(x_95); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_15); -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_154 = !lean_is_exclusive(x_101); -if (x_154 == 0) -{ -return x_101; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_155 = lean_ctor_get(x_101, 0); -x_156 = lean_ctor_get(x_101, 1); -lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_101); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_155); -lean_ctor_set(x_157, 1, x_156); -return x_157; -} -} -} -} +x_23 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__5(x_1, x_2, x_3, x_4, x_5, x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_12); +lean_dec(x_10); +return x_23; } } static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___closed__1() { @@ -1128,55 +1991,22 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("grind", 5, 5); +x_1 = lean_mk_string_unchecked("assign", 6, 6); return x_1; } } static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("cutsat", 6, 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("assign", 6, 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__1; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2; -x_3 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; +x_3 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("", 0, 0); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__3() { _start: { lean_object* x_1; @@ -1184,16 +2014,16 @@ x_1 = lean_mk_string_unchecked(" := ", 4, 4); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -1202,7 +2032,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6() { _start: { lean_object* x_1; @@ -1210,7 +2040,7 @@ x_1 = lean_mk_string_unchecked("/", 1, 1); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7() { _start: { lean_object* x_1; @@ -1222,7 +2052,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_ _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; +x_12 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2; x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); @@ -1269,11 +2099,11 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean x_25 = lean_ctor_get(x_23, 0); x_26 = lean_ctor_get(x_23, 1); x_27 = l_Lean_quoteIfNotAtom(x_25); -x_28 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_28 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; lean_ctor_set_tag(x_23, 7); lean_ctor_set(x_23, 1, x_27); lean_ctor_set(x_23, 0, x_28); -x_29 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8; +x_29 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; x_30 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_30, 0, x_23); lean_ctor_set(x_30, 1, x_29); @@ -1288,7 +2118,7 @@ x_34 = lean_ctor_get(x_2, 0); lean_inc(x_34); lean_dec(x_2); x_35 = l___private_Init_Data_Repr_0__Nat_reprFast(x_31); -x_36 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_36 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_37 = lean_int_dec_lt(x_34, x_36); if (x_37 == 0) { @@ -1296,10 +2126,10 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean x_38 = lean_nat_abs(x_34); lean_dec(x_34); x_39 = l___private_Init_Data_Repr_0__Nat_reprFast(x_38); -x_40 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_40 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_41 = lean_string_append(x_40, x_39); lean_dec(x_39); -x_42 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_42 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_43 = lean_string_append(x_41, x_42); x_44 = lean_string_append(x_43, x_35); lean_dec(x_35); @@ -1326,13 +2156,13 @@ lean_dec(x_51); x_53 = lean_nat_add(x_52, x_32); lean_dec(x_52); x_54 = l___private_Init_Data_Repr_0__Nat_reprFast(x_53); -x_55 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_55 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_56 = lean_string_append(x_55, x_54); lean_dec(x_54); -x_57 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_57 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_58 = lean_string_append(x_57, x_56); lean_dec(x_56); -x_59 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_59 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_60 = lean_string_append(x_58, x_59); x_61 = lean_string_append(x_60, x_35); lean_dec(x_35); @@ -1357,7 +2187,7 @@ lean_dec(x_31); x_68 = lean_ctor_get(x_2, 0); lean_inc(x_68); lean_dec(x_2); -x_69 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_69 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_70 = lean_int_dec_lt(x_68, x_69); if (x_70 == 0) { @@ -1387,7 +2217,7 @@ lean_dec(x_78); x_80 = lean_nat_add(x_79, x_32); lean_dec(x_79); x_81 = l___private_Init_Data_Repr_0__Nat_reprFast(x_80); -x_82 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_82 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_83 = lean_string_append(x_82, x_81); lean_dec(x_81); x_84 = lean_alloc_ctor(3, 1, 0); @@ -1413,11 +2243,11 @@ lean_inc(x_90); lean_inc(x_89); lean_dec(x_23); x_91 = l_Lean_quoteIfNotAtom(x_89); -x_92 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_92 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; x_93 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); -x_94 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8; +x_94 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; x_95 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_95, 0, x_93); lean_ctor_set(x_95, 1, x_94); @@ -1432,7 +2262,7 @@ x_99 = lean_ctor_get(x_2, 0); lean_inc(x_99); lean_dec(x_2); x_100 = l___private_Init_Data_Repr_0__Nat_reprFast(x_96); -x_101 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_101 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_102 = lean_int_dec_lt(x_99, x_101); if (x_102 == 0) { @@ -1440,10 +2270,10 @@ lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; x_103 = lean_nat_abs(x_99); lean_dec(x_99); x_104 = l___private_Init_Data_Repr_0__Nat_reprFast(x_103); -x_105 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_105 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_106 = lean_string_append(x_105, x_104); lean_dec(x_104); -x_107 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_107 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_108 = lean_string_append(x_106, x_107); x_109 = lean_string_append(x_108, x_100); lean_dec(x_100); @@ -1470,13 +2300,13 @@ lean_dec(x_116); x_118 = lean_nat_add(x_117, x_97); lean_dec(x_117); x_119 = l___private_Init_Data_Repr_0__Nat_reprFast(x_118); -x_120 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_120 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_121 = lean_string_append(x_120, x_119); lean_dec(x_119); -x_122 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_122 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_123 = lean_string_append(x_122, x_121); lean_dec(x_121); -x_124 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_124 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_125 = lean_string_append(x_123, x_124); x_126 = lean_string_append(x_125, x_100); lean_dec(x_100); @@ -1501,7 +2331,7 @@ lean_dec(x_96); x_133 = lean_ctor_get(x_2, 0); lean_inc(x_133); lean_dec(x_2); -x_134 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_134 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_135 = lean_int_dec_lt(x_133, x_134); if (x_135 == 0) { @@ -1531,7 +2361,7 @@ lean_dec(x_143); x_145 = lean_nat_add(x_144, x_97); lean_dec(x_144); x_146 = l___private_Init_Data_Repr_0__Nat_reprFast(x_145); -x_147 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_147 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_148 = lean_string_append(x_147, x_146); lean_dec(x_146); x_149 = lean_alloc_ctor(3, 1, 0); @@ -2017,7 +2847,7 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___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); @@ -4130,7 +4960,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = l_Int_Linear_Poly_coeff(x_19, x_13); -x_21 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_21 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_22 = lean_int_dec_eq(x_20, x_21); if (x_22 == 0) { @@ -8235,7 +9065,7 @@ x_68 = lean_ctor_get(x_60, 0); x_69 = lean_ctor_get(x_60, 1); lean_dec(x_69); x_70 = lean_int_emod(x_68, x_46); -x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_72 = lean_int_dec_eq(x_70, x_71); lean_dec(x_70); if (x_72 == 0) @@ -8278,7 +9108,7 @@ x_77 = lean_ctor_get(x_60, 0); lean_inc(x_77); lean_dec(x_60); x_78 = lean_int_emod(x_77, x_46); -x_79 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_79 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_80 = lean_int_dec_eq(x_78, x_79); lean_dec(x_78); if (x_80 == 0) @@ -8333,7 +9163,7 @@ if (lean_is_exclusive(x_60)) { x_88 = lean_box(0); } x_89 = lean_int_emod(x_87, x_46); -x_90 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_90 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_91 = lean_int_dec_eq(x_89, x_90); lean_dec(x_89); if (x_91 == 0) @@ -8462,7 +9292,7 @@ if (lean_is_exclusive(x_113)) { x_120 = lean_box(0); } x_121 = lean_int_emod(x_119, x_46); -x_122 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_122 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_123 = lean_int_dec_eq(x_121, x_122); lean_dec(x_121); if (x_123 == 0) @@ -8593,7 +9423,7 @@ if (lean_is_exclusive(x_142)) { x_150 = lean_box(0); } x_151 = lean_int_emod(x_149, x_46); -x_152 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_152 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_153 = lean_int_dec_eq(x_151, x_152); lean_dec(x_151); if (x_153 == 0) @@ -9079,7 +9909,7 @@ x_68 = lean_ctor_get(x_60, 0); x_69 = lean_ctor_get(x_60, 1); lean_dec(x_69); x_70 = lean_int_emod(x_68, x_46); -x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_72 = lean_int_dec_eq(x_70, x_71); lean_dec(x_70); if (x_72 == 0) @@ -9122,7 +9952,7 @@ x_77 = lean_ctor_get(x_60, 0); lean_inc(x_77); lean_dec(x_60); x_78 = lean_int_emod(x_77, x_46); -x_79 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_79 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_80 = lean_int_dec_eq(x_78, x_79); lean_dec(x_78); if (x_80 == 0) @@ -9177,7 +10007,7 @@ if (lean_is_exclusive(x_60)) { x_88 = lean_box(0); } x_89 = lean_int_emod(x_87, x_46); -x_90 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_90 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_91 = lean_int_dec_eq(x_89, x_90); lean_dec(x_89); if (x_91 == 0) @@ -9306,7 +10136,7 @@ if (lean_is_exclusive(x_113)) { x_120 = lean_box(0); } x_121 = lean_int_emod(x_119, x_46); -x_122 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_122 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_123 = lean_int_dec_eq(x_121, x_122); lean_dec(x_121); if (x_123 == 0) @@ -9437,7 +10267,7 @@ if (lean_is_exclusive(x_142)) { x_150 = lean_box(0); } x_151 = lean_int_emod(x_149, x_46); -x_152 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_152 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_153 = lean_int_dec_eq(x_151, x_152); lean_dec(x_151); if (x_153 == 0) @@ -10179,7 +11009,7 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_obje x_26 = lean_ctor_get(x_23, 0); x_27 = lean_ctor_get(x_23, 1); lean_dec(x_27); -x_28 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_28 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_29 = lean_int_dec_lt(x_26, x_28); x_30 = lean_int_neg(x_20); lean_dec(x_20); @@ -10220,7 +11050,7 @@ lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; x_36 = lean_ctor_get(x_23, 0); lean_inc(x_36); lean_dec(x_23); -x_37 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_37 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_38 = lean_int_dec_lt(x_36, x_37); x_39 = lean_int_neg(x_20); lean_dec(x_20); @@ -10274,7 +11104,7 @@ if (lean_is_exclusive(x_47)) { lean_dec_ref(x_47); x_49 = lean_box(0); } -x_50 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_50 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_51 = lean_int_dec_lt(x_48, x_50); x_52 = lean_int_neg(x_20); lean_dec(x_20); @@ -10333,7 +11163,7 @@ lean_inc(x_17); x_18 = lean_nat_to_int(x_17); x_19 = lean_int_emod(x_16, x_18); lean_dec(x_18); -x_20 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_20 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_21 = lean_int_dec_eq(x_19, x_20); lean_dec(x_19); if (x_21 == 0) @@ -10539,28 +11369,53 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 2); -lean_inc(x_15); +uint8_t x_14; +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_ctor_get(x_12, 2); +x_17 = lean_ctor_get(x_12, 1); +lean_dec(x_17); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = l_Int_gcd(x_15, x_18); +lean_dec(x_18); +lean_dec(x_15); +x_20 = lean_nat_to_int(x_19); +x_21 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_21, 0, x_1); +lean_ctor_set_tag(x_12, 0); +lean_ctor_set(x_12, 2, x_21); +lean_ctor_set(x_12, 1, x_16); +lean_ctor_set(x_12, 0, x_20); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_22; +} +else +{ +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_23 = lean_ctor_get(x_12, 0); +x_24 = lean_ctor_get(x_12, 2); +lean_inc(x_24); +lean_inc(x_23); lean_dec(x_12); -x_16 = lean_ctor_get(x_1, 0); -lean_inc(x_16); -x_17 = l_Int_gcd(x_14, x_16); -lean_dec(x_16); -lean_dec(x_14); -x_18 = lean_nat_to_int(x_17); -x_19 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_19, 0, x_1); -x_20 = l_Lean_Meta_Grind_Arith_Cutsat_mkDvdCnstr(x_18, x_15, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -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 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -return x_23; +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); +x_26 = l_Int_gcd(x_23, x_25); +lean_dec(x_25); +lean_dec(x_23); +x_27 = lean_nat_to_int(x_26); +x_28 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_28, 0, x_1); +x_29 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_24); +lean_ctor_set(x_29, 2, x_28); +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_30; +} } } } @@ -10576,8 +11431,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__1; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; x_3 = l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -10621,7 +11476,7 @@ if (x_22 == 0) lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_23 = lean_ctor_get(x_21, 0); x_24 = lean_ctor_get(x_21, 1); -x_25 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_25 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; lean_ctor_set_tag(x_21, 7); lean_ctor_set(x_21, 1, x_23); lean_ctor_set(x_21, 0, x_25); @@ -10646,7 +11501,7 @@ x_31 = lean_ctor_get(x_21, 1); lean_inc(x_31); lean_inc(x_30); lean_dec(x_21); -x_32 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_32 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_30); @@ -10684,7 +11539,7 @@ if (lean_is_exclusive(x_39)) { lean_dec_ref(x_39); x_42 = lean_box(0); } -x_43 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; if (lean_is_scalar(x_42)) { x_44 = lean_alloc_ctor(7, 2, 0); } else { @@ -11267,7 +12122,7 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedFindIntVal _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -11456,40 +12311,154 @@ lean_dec(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___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_13; -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) +uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_11 = 0; +x_12 = lean_box(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_1, 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) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +x_15 = 1; +x_16 = lean_box(x_15); +lean_ctor_set(x_12, 0, x_16); +return x_12; +} +else +{ +lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = 1; +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_12); +if (x_21 == 0) +{ +return x_12; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_12, 0); +x_23 = lean_ctor_get(x_12, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_12); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1___boxed), 10, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("not resolved", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("resolved: ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: { lean_object* x_14; -lean_dec(x_13); -lean_dec(x_2); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_throwUnexpected___rarg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_14; -} -else +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) { lean_object* x_15; -x_15 = lean_ctor_get(x_2, 0); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_2); +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_throwUnexpected___rarg(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_15; +} +else { lean_object* x_16; -lean_dec(x_15); -lean_dec(x_13); +x_16 = lean_ctor_get(x_2, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_3); lean_dec(x_1); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_throwUnexpected___rarg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_throwUnexpected___rarg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -11497,224 +12466,349 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_16; +return x_17; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 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_17 = lean_ctor_get(x_13, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_13, 2); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_18 = lean_ctor_get(x_14, 0); lean_inc(x_18); -lean_dec(x_13); -x_19 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_14, 2); lean_inc(x_19); -x_20 = lean_ctor_get(x_15, 2); +lean_dec(x_14); +x_20 = lean_ctor_get(x_16, 0); lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_nat_abs(x_19); -lean_dec(x_19); -x_22 = lean_nat_to_int(x_21); -x_23 = l_Int_Linear_Poly_mul(x_18, x_22); -lean_dec(x_22); -x_24 = lean_nat_abs(x_17); -lean_dec(x_17); -x_25 = lean_nat_to_int(x_24); -x_26 = l_Int_Linear_Poly_mul(x_20, x_25); -lean_dec(x_25); -x_27 = lean_unsigned_to_nat(100000000u); -x_28 = l_Int_Linear_Poly_combine_x27(x_27, x_23, x_26); -lean_inc(x_28); -x_29 = l_Int_Linear_Poly_satisfiedLe(x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) +x_21 = lean_ctor_get(x_16, 2); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_nat_abs(x_20); +lean_dec(x_20); +x_23 = lean_nat_to_int(x_22); +x_24 = l_Int_Linear_Poly_mul(x_19, x_23); +lean_dec(x_23); +x_25 = lean_nat_abs(x_18); +lean_dec(x_18); +x_26 = lean_nat_to_int(x_25); +x_27 = l_Int_Linear_Poly_mul(x_21, x_26); +lean_dec(x_26); +x_28 = lean_unsigned_to_nat(100000000u); +x_29 = l_Int_Linear_Poly_combine_x27(x_28, x_24, x_27); +lean_inc(x_29); +x_30 = l_Int_Linear_Poly_satisfiedLe(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -x_33 = 0; -x_34 = lean_unbox(x_31); -lean_dec(x_31); -x_35 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_18_(x_34, x_33); -if (x_35 == 0) +lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +x_34 = 0; +x_35 = lean_unbox(x_32); +lean_dec(x_32); +x_36 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_18_(x_35, x_34); +if (x_36 == 0) { -uint8_t x_36; lean_object* x_37; -lean_dec(x_28); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_36 = 0; -x_37 = lean_box(x_36); -lean_ctor_set(x_29, 0, x_37); -return x_29; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_free_object(x_29); -x_38 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_38, 0, x_1); -lean_ctor_set(x_38, 1, x_2); -x_39 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_28, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = 1; -x_46 = lean_box(x_45); -lean_ctor_set(x_42, 0, x_46); -return x_42; -} -else -{ -lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_42, 1); -lean_inc(x_47); -lean_dec(x_42); -x_48 = 1; -x_49 = lean_box(x_48); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_47); -return x_50; -} -} -else -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_42); -if (x_51 == 0) -{ -return x_42; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_42, 0); -x_53 = lean_ctor_get(x_42, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_42); -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; -} -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; uint8_t x_57; uint8_t x_58; uint8_t x_59; -x_55 = lean_ctor_get(x_29, 0); -x_56 = lean_ctor_get(x_29, 1); -lean_inc(x_56); -lean_inc(x_55); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_free_object(x_30); lean_dec(x_29); -x_57 = 0; -x_58 = lean_unbox(x_55); -lean_dec(x_55); -x_59 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_18_(x_58, x_57); -if (x_59 == 0) -{ -uint8_t x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_28); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_60 = 0; -x_61 = lean_box(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_56); -return x_62; +lean_inc(x_3); +x_37 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_33); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__1; +x_41 = lean_unbox(x_38); +lean_dec(x_38); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_3); +x_42 = lean_box(0); +x_43 = lean_apply_10(x_40, x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); +return x_43; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_63 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_63, 0, x_1); -lean_ctor_set(x_63, 1, x_2); -x_64 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_28, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_56); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__3; +x_45 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_44, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_apply_10(x_40, x_46, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_ctor_set_tag(x_30, 4); +lean_ctor_set(x_30, 1, x_2); +lean_ctor_set(x_30, 0, x_1); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_29); +lean_ctor_set(x_49, 1, x_30); +lean_inc(x_3); +x_50 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_33); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_3); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_box(0); +x_55 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(x_49, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_53); +return x_55; +} +else +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_50); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = lean_ctor_get(x_50, 1); +x_58 = lean_ctor_get(x_50, 0); +lean_dec(x_58); +lean_inc(x_49); +x_59 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_49, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57); +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; +x_61 = lean_ctor_get(x_59, 0); +x_62 = lean_ctor_get(x_59, 1); +x_63 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5; +lean_ctor_set_tag(x_59, 7); +lean_ctor_set(x_59, 1, x_61); +lean_ctor_set(x_59, 0, x_63); +x_64 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_50, 7); +lean_ctor_set(x_50, 1, x_64); +lean_ctor_set(x_50, 0, x_59); +x_65 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_50, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_62); +x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_66); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_69 = x_67; -} else { - lean_dec_ref(x_67); - x_69 = lean_box(0); -} -x_70 = 1; -x_71 = lean_box(x_70); -if (lean_is_scalar(x_69)) { - x_72 = lean_alloc_ctor(0, 2, 0); -} else { - x_72 = x_69; -} -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_68); -return x_72; +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(x_49, x_66, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_67); +lean_dec(x_66); +return x_68; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_73 = lean_ctor_get(x_67, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_67, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_75 = x_67; -} else { - lean_dec_ref(x_67); - x_75 = lean_box(0); +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_ctor_get(x_59, 0); +x_70 = lean_ctor_get(x_59, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_59); +x_71 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5; +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +x_73 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_50, 7); +lean_ctor_set(x_50, 1, x_73); +lean_ctor_set(x_50, 0, x_72); +x_74 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_50, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_70); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(x_49, x_75, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_76); +lean_dec(x_75); +return x_77; } -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(1, 2, 0); -} else { - x_76 = x_75; } -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_74); -return x_76; +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_78 = lean_ctor_get(x_50, 1); +lean_inc(x_78); +lean_dec(x_50); +lean_inc(x_49); +x_79 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_49, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_78); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_82 = x_79; +} else { + lean_dec_ref(x_79); + x_82 = lean_box(0); +} +x_83 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5; +if (lean_is_scalar(x_82)) { + x_84 = lean_alloc_ctor(7, 2, 0); +} else { + x_84 = x_82; + lean_ctor_set_tag(x_84, 7); +} +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_80); +x_85 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_86 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_86, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_81); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(x_49, x_88, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_89); +lean_dec(x_88); +return x_90; +} +} +} +} +else +{ +lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; +x_91 = lean_ctor_get(x_30, 0); +x_92 = lean_ctor_get(x_30, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_30); +x_93 = 0; +x_94 = lean_unbox(x_91); +lean_dec(x_91); +x_95 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_18_(x_94, x_93); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +lean_dec(x_29); +lean_dec(x_2); +lean_dec(x_1); +lean_inc(x_3); +x_96 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__1; +x_100 = lean_unbox(x_97); +lean_dec(x_97); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; +lean_dec(x_3); +x_101 = lean_box(0); +x_102 = lean_apply_10(x_99, x_101, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_98); +return x_102; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_103 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__3; +x_104 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_103, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_98); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = lean_apply_10(x_99, x_105, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_106); +return x_107; +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_108 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_108, 0, x_1); +lean_ctor_set(x_108, 1, x_2); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_29); +lean_ctor_set(x_109, 1, x_108); +lean_inc(x_3); +x_110 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); +x_111 = lean_ctor_get(x_110, 0); +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_dec(x_3); +x_113 = lean_ctor_get(x_110, 1); +lean_inc(x_113); +lean_dec(x_110); +x_114 = lean_box(0); +x_115 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(x_109, x_114, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_113); +return x_115; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_116 = lean_ctor_get(x_110, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_117 = x_110; +} else { + lean_dec_ref(x_110); + x_117 = lean_box(0); +} +lean_inc(x_109); +x_118 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_109, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_116); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_121 = x_118; +} else { + lean_dec_ref(x_118); + x_121 = lean_box(0); +} +x_122 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5; +if (lean_is_scalar(x_121)) { + x_123 = lean_alloc_ctor(7, 2, 0); +} else { + x_123 = x_121; + lean_ctor_set_tag(x_123, 7); +} +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_119); +x_124 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +if (lean_is_scalar(x_117)) { + x_125 = lean_alloc_ctor(7, 2, 0); +} else { + x_125 = x_117; + lean_ctor_set_tag(x_125, 7); +} +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +x_126 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_125, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_120); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(x_109, x_127, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_128); +lean_dec(x_127); +return x_129; } } } @@ -11756,7 +12850,7 @@ x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); x_17 = lean_box(0); -x_18 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(x_1, x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3(x_1, x_2, x_12, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); return x_18; } else @@ -11785,7 +12879,7 @@ 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; x_28 = lean_ctor_get(x_26, 0); x_29 = lean_ctor_get(x_26, 1); -x_30 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; lean_ctor_set_tag(x_26, 7); lean_ctor_set(x_26, 1, x_24); lean_ctor_set(x_26, 0, x_30); @@ -11805,7 +12899,7 @@ lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -x_36 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(x_1, x_2, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35); +x_36 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3(x_1, x_2, x_12, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35); lean_dec(x_34); return x_36; } @@ -11817,7 +12911,7 @@ x_38 = lean_ctor_get(x_26, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_26); -x_39 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; x_40 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_24); @@ -11837,7 +12931,7 @@ lean_inc(x_44); x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); -x_46 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(x_1, x_2, x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3(x_1, x_2, x_12, x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); lean_dec(x_44); return x_46; } @@ -11864,7 +12958,7 @@ if (lean_is_exclusive(x_49)) { lean_dec_ref(x_49); x_52 = lean_box(0); } -x_53 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_53 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; if (lean_is_scalar(x_52)) { x_54 = lean_alloc_ctor(7, 2, 0); } else { @@ -11889,7 +12983,7 @@ 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_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(x_1, x_2, x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3(x_1, x_2, x_12, 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; } @@ -11928,7 +13022,7 @@ if (lean_is_exclusive(x_67)) { lean_dec_ref(x_67); x_70 = lean_box(0); } -x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_71 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; if (lean_is_scalar(x_70)) { x_72 = lean_alloc_ctor(7, 2, 0); } else { @@ -11958,56 +13052,288 @@ lean_inc(x_78); x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); lean_dec(x_77); -x_80 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(x_1, x_2, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_79); +x_80 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3(x_1, x_2, x_12, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_79); lean_dec(x_78); return x_80; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___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_13; -x_13 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_11; +x_11 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_13; +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___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) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_1); +x_15 = lean_box(0); +x_16 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; +lean_inc(x_1); +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_15); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +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_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_14, x_21); +lean_dec(x_14); +x_23 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_23, 0, x_19); +x_24 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_22); +lean_ctor_set(x_24, 2, x_23); +x_25 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +return x_25; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("[", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]: ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _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_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_13 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_1); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -lean_inc(x_1); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict___closed__2; +x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); +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); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -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_unsigned_to_nat(1u); -x_23 = lean_nat_sub(x_13, x_22); -lean_dec(x_13); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_17); -x_25 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_23); -lean_ctor_set(x_25, 2, x_24); -lean_ctor_set(x_25, 3, x_20); -x_26 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); -return x_26; +lean_dec(x_14); +x_18 = lean_box(0); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___lambda__1(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +return x_19; +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_14, 1); +x_22 = lean_ctor_get(x_14, 0); +lean_dec(x_22); +lean_inc(x_1); +x_23 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 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; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_1); +x_28 = l___private_Init_Data_Repr_0__Nat_reprFast(x_27); +x_29 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = l_Lean_MessageData_ofFormat(x_29); +x_31 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2; +lean_ctor_set_tag(x_23, 7); +lean_ctor_set(x_23, 1, x_30); +lean_ctor_set(x_23, 0, x_31); +x_32 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4; +lean_ctor_set_tag(x_14, 7); +lean_ctor_set(x_14, 1, x_32); +lean_ctor_set(x_14, 0, x_23); +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_14); +lean_ctor_set(x_33, 1, x_25); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_13, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___lambda__1(x_1, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); +lean_dec(x_37); +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; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_40 = lean_ctor_get(x_23, 0); +x_41 = lean_ctor_get(x_23, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_23); +x_42 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_1); +x_43 = l___private_Init_Data_Repr_0__Nat_reprFast(x_42); +x_44 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = l_Lean_MessageData_ofFormat(x_44); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2; +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4; +lean_ctor_set_tag(x_14, 7); +lean_ctor_set(x_14, 1, x_48); +lean_ctor_set(x_14, 0, x_47); +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_14); +lean_ctor_set(x_49, 1, x_40); +x_50 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_13, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___lambda__1(x_1, x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_54); +lean_dec(x_53); +return x_55; +} +} +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; 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; +x_56 = lean_ctor_get(x_14, 1); +lean_inc(x_56); +lean_dec(x_14); +lean_inc(x_1); +x_57 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_60 = x_57; +} else { + lean_dec_ref(x_57); + x_60 = lean_box(0); +} +x_61 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_1); +x_62 = l___private_Init_Data_Repr_0__Nat_reprFast(x_61); +x_63 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = l_Lean_MessageData_ofFormat(x_63); +x_65 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2; +if (lean_is_scalar(x_60)) { + x_66 = lean_alloc_ctor(7, 2, 0); +} else { + x_66 = x_60; + lean_ctor_set_tag(x_66, 7); +} +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4; +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_58); +x_70 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_71 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_13, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_59); +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 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___lambda__1(x_1, x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_74); +lean_dec(x_73); +return x_75; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___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) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___lambda__1(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +lean_dec(x_2); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___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) { @@ -12148,7 +13474,7 @@ lean_ctor_set(x_13, 0, x_17); x_23 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_23, 0, x_13); lean_ctor_set(x_23, 1, x_19); -x_24 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_24 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; x_25 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -12174,7 +13500,7 @@ lean_ctor_set(x_13, 0, x_30); x_32 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_32, 0, x_13); lean_ctor_set(x_32, 1, x_27); -x_33 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_33 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; x_34 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); @@ -12219,7 +13545,7 @@ lean_ctor_set(x_45, 1, x_44); x_46 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_39); -x_47 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_47 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; x_48 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); @@ -12535,33 +13861,7 @@ x_5 = l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolve return x_5; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_10, 2); -x_14 = l_Lean_isTracingEnabledForCore(x_1, x_13, x_12); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -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_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; -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(size_t 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; @@ -12588,7 +13888,7 @@ x_17 = lean_usize_shift_right(x_12, x_16); x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_add(x_5, x_18); lean_dec(x_5); -x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_6, x_17, x_1, x_9, x_10); +x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_6, x_17, x_1, x_9, x_10); x_4 = lean_box(0); x_5 = x_19; x_6 = x_20; @@ -12596,7 +13896,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(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; @@ -12688,7 +13988,7 @@ return x_29; } } } -static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___closed__1() { +static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6___closed__1() { _start: { lean_object* x_1; @@ -12696,7 +13996,7 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -12809,7 +14109,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_3 x_35 = lean_ctor_get(x_15, 0); x_36 = lean_usize_shift_right(x_2, x_9); x_37 = lean_usize_add(x_3, x_8); -x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_35, x_36, x_37, x_4, x_5); +x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_39 = lean_array_fset(x_17, x_12, x_15); lean_dec(x_12); @@ -12824,7 +14124,7 @@ lean_inc(x_40); lean_dec(x_15); x_41 = lean_usize_shift_right(x_2, x_9); x_42 = lean_usize_add(x_3, x_8); -x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_40, x_41, x_42, x_4, x_5); +x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_40, x_41, x_42, x_4, x_5); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); x_45 = lean_array_fset(x_17, x_12, x_44); @@ -12940,7 +14240,7 @@ if (lean_is_exclusive(x_57)) { } x_73 = lean_usize_shift_right(x_2, x_50); x_74 = lean_usize_add(x_3, x_49); -x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_71, x_73, x_74, x_4, x_5); +x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_71, x_73, x_74, x_4, x_5); if (lean_is_scalar(x_72)) { x_76 = lean_alloc_ctor(1, 1, 0); } else { @@ -12977,7 +14277,7 @@ if (x_82 == 0) { lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; x_83 = lean_unsigned_to_nat(0u); -x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__9(x_1, x_83, x_4, x_5); +x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(x_1, x_83, x_4, x_5); x_85 = 7; x_86 = lean_usize_dec_le(x_85, x_3); if (x_86 == 0) @@ -12995,8 +14295,8 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_84, 1); lean_inc(x_91); lean_dec(x_84); -x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___closed__1; -x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(x_3, x_90, x_91, lean_box(0), x_83, x_92); +x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6___closed__1; +x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_3, x_90, x_91, lean_box(0), x_83, x_92); lean_dec(x_91); lean_dec(x_90); return x_93; @@ -13023,7 +14323,7 @@ x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); x_97 = lean_unsigned_to_nat(0u); -x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__9(x_96, x_97, x_4, x_5); +x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(x_96, x_97, x_4, x_5); x_99 = 7; x_100 = lean_usize_dec_le(x_99, x_3); if (x_100 == 0) @@ -13041,8 +14341,8 @@ lean_inc(x_104); x_105 = lean_ctor_get(x_98, 1); lean_inc(x_105); lean_dec(x_98); -x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___closed__1; -x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(x_3, x_104, x_105, lean_box(0), x_97, x_106); +x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6___closed__1; +x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_3, x_104, x_105, lean_box(0), x_97, x_106); lean_dec(x_105); lean_dec(x_104); return x_107; @@ -13060,345 +14360,17 @@ return x_98; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint64_t x_4; size_t x_5; size_t x_6; lean_object* x_7; x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Types_0__Lean_Meta_Grind_Arith_Cutsat_hashPoly____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_Types___hyg_6_(x_2); x_5 = lean_uint64_to_usize(x_4); x_6 = 1; -x_7 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_1, x_5, x_6, x_2, x_3); +x_7 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_1, x_5, x_6, x_2, x_3); return x_7; } } -static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1() { -_start: -{ -lean_object* x_1; uint8_t x_2; double x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = 0; -x_3 = l_Float_ofScientific(x_1, x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(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) { -_start: -{ -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_14 = lean_ctor_get(x_11, 5); -x_15 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -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_st_ref_take(x_12, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 3); -lean_inc(x_20); -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, 1); -x_23 = lean_ctor_get(x_18, 0); -lean_dec(x_23); -x_24 = !lean_is_exclusive(x_19); -if (x_24 == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_19, 3); -lean_dec(x_25); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -lean_object* x_27; double x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_27 = lean_ctor_get(x_20, 0); -x_28 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; -x_29 = 0; -x_30 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_31 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set_float(x_31, sizeof(void*)*2, x_28); -lean_ctor_set_float(x_31, sizeof(void*)*2 + 8, x_28); -lean_ctor_set_uint8(x_31, sizeof(void*)*2 + 16, x_29); -x_32 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -x_33 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_16); -lean_ctor_set(x_33, 2, x_32); -lean_inc(x_14); -lean_ctor_set(x_18, 1, x_33); -lean_ctor_set(x_18, 0, x_14); -x_34 = l_Lean_PersistentArray_push___rarg(x_27, x_18); -lean_ctor_set(x_20, 0, x_34); -x_35 = lean_st_ref_set(x_12, x_19, x_22); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -x_38 = lean_box(0); -lean_ctor_set(x_35, 0, x_38); -return x_35; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_35, 1); -lean_inc(x_39); -lean_dec(x_35); -x_40 = lean_box(0); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; -} -} -else -{ -uint64_t x_42; lean_object* x_43; double x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_42 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); -x_43 = lean_ctor_get(x_20, 0); -lean_inc(x_43); -lean_dec(x_20); -x_44 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; -x_45 = 0; -x_46 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_47 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_47, 0, x_1); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set_float(x_47, sizeof(void*)*2, x_44); -lean_ctor_set_float(x_47, sizeof(void*)*2 + 8, x_44); -lean_ctor_set_uint8(x_47, sizeof(void*)*2 + 16, x_45); -x_48 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -x_49 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_16); -lean_ctor_set(x_49, 2, x_48); -lean_inc(x_14); -lean_ctor_set(x_18, 1, x_49); -lean_ctor_set(x_18, 0, x_14); -x_50 = l_Lean_PersistentArray_push___rarg(x_43, x_18); -x_51 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set_uint64(x_51, sizeof(void*)*1, x_42); -lean_ctor_set(x_19, 3, x_51); -x_52 = lean_st_ref_set(x_12, x_19, x_22); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -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; uint64_t x_64; lean_object* x_65; lean_object* x_66; double x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_57 = lean_ctor_get(x_19, 0); -x_58 = lean_ctor_get(x_19, 1); -x_59 = lean_ctor_get(x_19, 2); -x_60 = lean_ctor_get(x_19, 4); -x_61 = lean_ctor_get(x_19, 5); -x_62 = lean_ctor_get(x_19, 6); -x_63 = lean_ctor_get(x_19, 7); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_19); -x_64 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); -x_65 = lean_ctor_get(x_20, 0); -lean_inc(x_65); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_66 = x_20; -} else { - lean_dec_ref(x_20); - x_66 = lean_box(0); -} -x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; -x_68 = 0; -x_69 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_70 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_70, 0, x_1); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set_float(x_70, sizeof(void*)*2, x_67); -lean_ctor_set_float(x_70, sizeof(void*)*2 + 8, x_67); -lean_ctor_set_uint8(x_70, sizeof(void*)*2 + 16, x_68); -x_71 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -x_72 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_16); -lean_ctor_set(x_72, 2, x_71); -lean_inc(x_14); -lean_ctor_set(x_18, 1, x_72); -lean_ctor_set(x_18, 0, x_14); -x_73 = l_Lean_PersistentArray_push___rarg(x_65, x_18); -if (lean_is_scalar(x_66)) { - x_74 = lean_alloc_ctor(0, 1, 8); -} else { - x_74 = x_66; -} -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set_uint64(x_74, sizeof(void*)*1, x_64); -x_75 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_75, 0, x_57); -lean_ctor_set(x_75, 1, x_58); -lean_ctor_set(x_75, 2, x_59); -lean_ctor_set(x_75, 3, x_74); -lean_ctor_set(x_75, 4, x_60); -lean_ctor_set(x_75, 5, x_61); -lean_ctor_set(x_75, 6, x_62); -lean_ctor_set(x_75, 7, x_63); -x_76 = lean_st_ref_set(x_12, x_75, x_22); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_78 = x_76; -} else { - lean_dec_ref(x_76); - x_78 = lean_box(0); -} -x_79 = lean_box(0); -if (lean_is_scalar(x_78)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_78; -} -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_77); -return x_80; -} -} -else -{ -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; uint64_t x_90; lean_object* x_91; lean_object* x_92; double x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_81 = lean_ctor_get(x_18, 1); -lean_inc(x_81); -lean_dec(x_18); -x_82 = lean_ctor_get(x_19, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_19, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_19, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_19, 4); -lean_inc(x_85); -x_86 = lean_ctor_get(x_19, 5); -lean_inc(x_86); -x_87 = lean_ctor_get(x_19, 6); -lean_inc(x_87); -x_88 = lean_ctor_get(x_19, 7); -lean_inc(x_88); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - lean_ctor_release(x_19, 2); - lean_ctor_release(x_19, 3); - lean_ctor_release(x_19, 4); - lean_ctor_release(x_19, 5); - lean_ctor_release(x_19, 6); - lean_ctor_release(x_19, 7); - x_89 = x_19; -} else { - lean_dec_ref(x_19); - x_89 = lean_box(0); -} -x_90 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); -x_91 = lean_ctor_get(x_20, 0); -lean_inc(x_91); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_92 = x_20; -} else { - lean_dec_ref(x_20); - x_92 = lean_box(0); -} -x_93 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; -x_94 = 0; -x_95 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_96 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_96, 0, x_1); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set_float(x_96, sizeof(void*)*2, x_93); -lean_ctor_set_float(x_96, sizeof(void*)*2 + 8, x_93); -lean_ctor_set_uint8(x_96, sizeof(void*)*2 + 16, x_94); -x_97 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -x_98 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_16); -lean_ctor_set(x_98, 2, x_97); -lean_inc(x_14); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_14); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_PersistentArray_push___rarg(x_91, x_99); -if (lean_is_scalar(x_92)) { - x_101 = lean_alloc_ctor(0, 1, 8); -} else { - x_101 = x_92; -} -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set_uint64(x_101, sizeof(void*)*1, x_90); -if (lean_is_scalar(x_89)) { - x_102 = lean_alloc_ctor(0, 8, 0); -} else { - x_102 = x_89; -} -lean_ctor_set(x_102, 0, x_82); -lean_ctor_set(x_102, 1, x_83); -lean_ctor_set(x_102, 2, x_84); -lean_ctor_set(x_102, 3, x_101); -lean_ctor_set(x_102, 4, x_85); -lean_ctor_set(x_102, 5, x_86); -lean_ctor_set(x_102, 6, x_87); -lean_ctor_set(x_102, 7, x_88); -x_103 = lean_st_ref_set(x_12, x_102, x_81); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; -} else { - lean_dec_ref(x_103); - x_105 = lean_box(0); -} -x_106 = lean_box(0); -if (lean_is_scalar(x_105)) { - x_107 = lean_alloc_ctor(0, 2, 0); -} else { - x_107 = x_105; -} -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_104); -return x_107; -} -} -} static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__1() { _start: { @@ -13447,7 +14419,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__4; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__5; -x_3 = lean_unsigned_to_nat(313u); +x_3 = lean_unsigned_to_nat(320u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13457,7 +14429,7 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_15 = lean_ctor_get(x_1, 0); lean_inc(x_15); lean_dec(x_1); @@ -13466,12 +14438,9 @@ x_17 = l_Int_Linear_Poly_addConst(x_15, x_16); x_18 = l_Lean_Expr_fvar___override(x_3); x_19 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_19, 0, x_18); -x_20 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_17, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -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_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -13480,27 +14449,27 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_23 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict(x_2, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -if (lean_obj_tag(x_23) == 0) +x_21 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict(x_2, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__6; -x_28 = l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1(x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_26); -return x_28; +lean_dec(x_21); +x_25 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__6; +x_26 = l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_24); +return x_26; } else { -uint8_t x_29; +uint8_t x_27; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -13510,33 +14479,33 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_29 = !lean_is_exclusive(x_23); -if (x_29 == 0) +x_27 = !lean_is_exclusive(x_21); +if (x_27 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_23, 0); -lean_dec(x_30); +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_21, 0); +lean_dec(x_28); +x_29 = lean_box(0); +lean_ctor_set(x_21, 0, x_29); +return x_21; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); +lean_dec(x_21); x_31 = lean_box(0); -lean_ctor_set(x_23, 0, x_31); -return x_23; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -lean_dec(x_23); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +return x_32; } } } else { -uint8_t x_35; +uint8_t x_33; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -13546,23 +14515,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_35 = !lean_is_exclusive(x_23); -if (x_35 == 0) +x_33 = !lean_is_exclusive(x_21); +if (x_33 == 0) { -return x_23; +return x_21; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 0); -x_37 = lean_ctor_get(x_23, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_23); -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; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_21, 0); +x_35 = lean_ctor_get(x_21, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_21); +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; } } } @@ -13599,7 +14568,7 @@ if (x_25 == 0) 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_19, 13); lean_inc(x_2); -x_27 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_26, x_1, x_2); +x_27 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_26, x_1, x_2); lean_ctor_set(x_19, 13, x_27); x_28 = lean_st_ref_set(x_7, x_17, x_20); x_29 = lean_ctor_get(x_28, 1); @@ -13643,7 +14612,7 @@ lean_inc(x_33); lean_inc(x_32); lean_dec(x_19); lean_inc(x_2); -x_47 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_46, x_1, x_2); +x_47 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_46, x_1, x_2); x_48 = lean_alloc_ctor(0, 14, 1); lean_ctor_set(x_48, 0, x_32); lean_ctor_set(x_48, 1, x_33); @@ -13726,7 +14695,7 @@ if (lean_is_exclusive(x_19)) { x_69 = lean_box(0); } lean_inc(x_2); -x_70 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_68, x_1, x_2); +x_70 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_68, x_1, x_2); if (lean_is_scalar(x_69)) { x_71 = lean_alloc_ctor(0, 14, 1); } else { @@ -13853,7 +14822,7 @@ if (lean_is_exclusive(x_19)) { x_109 = lean_box(0); } lean_inc(x_2); -x_110 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_108, x_1, x_2); +x_110 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_108, x_1, x_2); if (lean_is_scalar(x_109)) { x_111 = lean_alloc_ctor(0, 14, 1); } else { @@ -13917,15 +14886,7 @@ x_16 = lean_apply_12(x_1, x_2, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, return x_16; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___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_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1() { _start: { lean_object* x_1; @@ -13933,7 +14894,7 @@ x_1 = lean_mk_string_unchecked("diseq", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__2() { _start: { lean_object* x_1; @@ -13941,20 +14902,20 @@ x_1 = lean_mk_string_unchecked("split", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__1; -x_3 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2; -x_4 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__2; -x_5 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1; +x_5 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__2; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__5() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__4() { _start: { lean_object* x_1; @@ -13962,651 +14923,16 @@ x_1 = lean_mk_string_unchecked(", reusing ", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__5; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -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, 0); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_1); -lean_inc(x_2); -x_18 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___boxed), 14, 2); -lean_closure_set(x_18, 0, x_2); -lean_closure_set(x_18, 1, x_1); -x_19 = lean_ctor_get(x_16, 13); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_ctor_get(x_2, 0); -lean_inc(x_20); -x_21 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__2(x_19, x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -lean_dec(x_1); -lean_inc(x_2); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_2); -x_23 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -x_27 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4; -x_28 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_unbox(x_29); -lean_dec(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_free_object(x_23); -lean_free_object(x_14); -lean_dec(x_2); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -x_32 = lean_box(0); -x_33 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_20, x_25, x_18, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_31); -return x_33; -} -else -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_28); -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_28, 1); -x_36 = lean_ctor_get(x_28, 0); -lean_dec(x_36); -x_37 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_39 = lean_ctor_get(x_37, 0); -x_40 = lean_ctor_get(x_37, 1); -x_41 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -lean_ctor_set_tag(x_37, 7); -lean_ctor_set(x_37, 1, x_39); -lean_ctor_set(x_37, 0, x_41); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; -lean_ctor_set_tag(x_28, 7); -lean_ctor_set(x_28, 1, x_42); -lean_ctor_set(x_28, 0, x_37); -lean_inc(x_25); -x_43 = l_Lean_MessageData_ofName(x_25); -lean_ctor_set_tag(x_23, 7); -lean_ctor_set(x_23, 1, x_43); -lean_ctor_set(x_23, 0, x_28); -lean_ctor_set_tag(x_14, 7); -lean_ctor_set(x_14, 1, x_41); -lean_ctor_set(x_14, 0, x_23); -x_44 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_27, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_40); -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_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_20, x_25, x_18, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_46); -lean_dec(x_45); -return x_47; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_48 = lean_ctor_get(x_37, 0); -x_49 = lean_ctor_get(x_37, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_37); -x_50 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_48); -x_52 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; -lean_ctor_set_tag(x_28, 7); -lean_ctor_set(x_28, 1, x_52); -lean_ctor_set(x_28, 0, x_51); -lean_inc(x_25); -x_53 = l_Lean_MessageData_ofName(x_25); -lean_ctor_set_tag(x_23, 7); -lean_ctor_set(x_23, 1, x_53); -lean_ctor_set(x_23, 0, x_28); -lean_ctor_set_tag(x_14, 7); -lean_ctor_set(x_14, 1, x_50); -lean_ctor_set(x_14, 0, x_23); -x_54 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_27, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_49); -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 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_20, x_25, x_18, x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_56); -lean_dec(x_55); -return x_57; -} -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_58 = lean_ctor_get(x_28, 1); -lean_inc(x_58); -lean_dec(x_28); -x_59 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_58); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_62 = x_59; -} else { - lean_dec_ref(x_59); - x_62 = lean_box(0); -} -x_63 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(7, 2, 0); -} else { - x_64 = x_62; - lean_ctor_set_tag(x_64, 7); -} -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_60); -x_65 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; -x_66 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -lean_inc(x_25); -x_67 = l_Lean_MessageData_ofName(x_25); -lean_ctor_set_tag(x_23, 7); -lean_ctor_set(x_23, 1, x_67); -lean_ctor_set(x_23, 0, x_66); -lean_ctor_set_tag(x_14, 7); -lean_ctor_set(x_14, 1, x_63); -lean_ctor_set(x_14, 0, x_23); -x_68 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_27, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_20, x_25, x_18, x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_70); -lean_dec(x_69); -return x_71; -} -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_72 = lean_ctor_get(x_23, 0); -x_73 = lean_ctor_get(x_23, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_23); -x_74 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4; -x_75 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_unbox(x_76); -lean_dec(x_76); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_free_object(x_14); -lean_dec(x_2); -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_box(0); -x_80 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_20, x_72, x_18, x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_78); -return x_80; -} -else -{ -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; -x_81 = lean_ctor_get(x_75, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_82 = x_75; -} else { - lean_dec_ref(x_75); - x_82 = lean_box(0); -} -x_83 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_81); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_86 = x_83; -} else { - lean_dec_ref(x_83); - x_86 = lean_box(0); -} -x_87 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -if (lean_is_scalar(x_86)) { - x_88 = lean_alloc_ctor(7, 2, 0); -} else { - x_88 = x_86; - lean_ctor_set_tag(x_88, 7); -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_84); -x_89 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; -if (lean_is_scalar(x_82)) { - x_90 = lean_alloc_ctor(7, 2, 0); -} else { - x_90 = x_82; - lean_ctor_set_tag(x_90, 7); -} -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -lean_inc(x_72); -x_91 = l_Lean_MessageData_ofName(x_72); -x_92 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -lean_ctor_set_tag(x_14, 7); -lean_ctor_set(x_14, 1, x_87); -lean_ctor_set(x_14, 0, x_92); -x_93 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_74, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_85); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_20, x_72, x_18, x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_95); -lean_dec(x_94); -return x_96; -} -} -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -lean_dec(x_20); -lean_dec(x_18); -x_97 = lean_ctor_get(x_21, 0); -lean_inc(x_97); -lean_dec(x_21); -x_98 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4; -x_99 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_98, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_unbox(x_100); -lean_dec(x_100); -if (x_101 == 0) -{ -lean_object* x_102; lean_object* x_103; -lean_free_object(x_14); -x_102 = lean_ctor_get(x_99, 1); -lean_inc(x_102); -lean_dec(x_99); -x_103 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_2, x_1, x_97, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_102); -return x_103; -} -else -{ -uint8_t x_104; -x_104 = !lean_is_exclusive(x_99); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_105 = lean_ctor_get(x_99, 1); -x_106 = lean_ctor_get(x_99, 0); -lean_dec(x_106); -lean_inc(x_2); -x_107 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_105); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_109 = lean_ctor_get(x_107, 0); -x_110 = lean_ctor_get(x_107, 1); -x_111 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -lean_ctor_set_tag(x_107, 7); -lean_ctor_set(x_107, 1, x_109); -lean_ctor_set(x_107, 0, x_111); -x_112 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6; -lean_ctor_set_tag(x_99, 7); -lean_ctor_set(x_99, 1, x_112); -lean_ctor_set(x_99, 0, x_107); -lean_inc(x_97); -x_113 = l_Lean_MessageData_ofName(x_97); -lean_ctor_set_tag(x_14, 7); -lean_ctor_set(x_14, 1, x_113); -lean_ctor_set(x_14, 0, x_99); -x_114 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_114, 0, x_14); -lean_ctor_set(x_114, 1, x_111); -x_115 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_98, x_114, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_110); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -x_117 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_2, x_1, x_97, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_116); -return x_117; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_118 = lean_ctor_get(x_107, 0); -x_119 = lean_ctor_get(x_107, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_107); -x_120 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -x_121 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_118); -x_122 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6; -lean_ctor_set_tag(x_99, 7); -lean_ctor_set(x_99, 1, x_122); -lean_ctor_set(x_99, 0, x_121); -lean_inc(x_97); -x_123 = l_Lean_MessageData_ofName(x_97); -lean_ctor_set_tag(x_14, 7); -lean_ctor_set(x_14, 1, x_123); -lean_ctor_set(x_14, 0, x_99); -x_124 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_124, 0, x_14); -lean_ctor_set(x_124, 1, x_120); -x_125 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_98, x_124, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_119); -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -lean_dec(x_125); -x_127 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_2, x_1, x_97, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_126); -return x_127; -} -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_128 = lean_ctor_get(x_99, 1); -lean_inc(x_128); -lean_dec(x_99); -lean_inc(x_2); -x_129 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_128); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - x_132 = x_129; -} else { - lean_dec_ref(x_129); - x_132 = lean_box(0); -} -x_133 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -if (lean_is_scalar(x_132)) { - x_134 = lean_alloc_ctor(7, 2, 0); -} else { - x_134 = x_132; - lean_ctor_set_tag(x_134, 7); -} -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_130); -x_135 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6; -x_136 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -lean_inc(x_97); -x_137 = l_Lean_MessageData_ofName(x_97); -lean_ctor_set_tag(x_14, 7); -lean_ctor_set(x_14, 1, x_137); -lean_ctor_set(x_14, 0, x_136); -x_138 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_138, 0, x_14); -lean_ctor_set(x_138, 1, x_133); -x_139 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_98, x_138, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_131); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_141 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_2, x_1, x_97, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_140); -return x_141; -} -} -} -} -else -{ -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_ctor_get(x_14, 0); -x_143 = lean_ctor_get(x_14, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_14); -lean_inc(x_1); -lean_inc(x_2); -x_144 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___boxed), 14, 2); -lean_closure_set(x_144, 0, x_2); -lean_closure_set(x_144, 1, x_1); -x_145 = lean_ctor_get(x_142, 13); -lean_inc(x_145); -lean_dec(x_142); -x_146 = lean_ctor_get(x_2, 0); -lean_inc(x_146); -x_147 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__2(x_145, x_146); -if (lean_obj_tag(x_147) == 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_154; lean_object* x_155; uint8_t x_156; -lean_dec(x_1); -lean_inc(x_2); -x_148 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_148, 0, x_2); -x_149 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase(x_148, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_143); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - x_152 = x_149; -} else { - lean_dec_ref(x_149); - x_152 = lean_box(0); -} -x_153 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4; -x_154 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_153, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_151); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_unbox(x_155); -lean_dec(x_155); -if (x_156 == 0) -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; -lean_dec(x_152); -lean_dec(x_2); -x_157 = lean_ctor_get(x_154, 1); -lean_inc(x_157); -lean_dec(x_154); -x_158 = lean_box(0); -x_159 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_146, x_150, x_144, x_158, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_157); -return x_159; -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_160 = lean_ctor_get(x_154, 1); -lean_inc(x_160); -if (lean_is_exclusive(x_154)) { - lean_ctor_release(x_154, 0); - lean_ctor_release(x_154, 1); - x_161 = x_154; -} else { - lean_dec_ref(x_154); - x_161 = lean_box(0); -} -x_162 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_160); -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_162, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_162)) { - lean_ctor_release(x_162, 0); - lean_ctor_release(x_162, 1); - x_165 = x_162; -} else { - lean_dec_ref(x_162); - x_165 = lean_box(0); -} -x_166 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -if (lean_is_scalar(x_165)) { - x_167 = lean_alloc_ctor(7, 2, 0); -} else { - x_167 = x_165; - lean_ctor_set_tag(x_167, 7); -} -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_163); -x_168 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; -if (lean_is_scalar(x_161)) { - x_169 = lean_alloc_ctor(7, 2, 0); -} else { - x_169 = x_161; - lean_ctor_set_tag(x_169, 7); -} -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -lean_inc(x_150); -x_170 = l_Lean_MessageData_ofName(x_150); -if (lean_is_scalar(x_152)) { - x_171 = lean_alloc_ctor(7, 2, 0); -} else { - x_171 = x_152; - lean_ctor_set_tag(x_171, 7); -} -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -x_172 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_166); -x_173 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_153, x_172, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_164); -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); -lean_inc(x_175); -lean_dec(x_173); -x_176 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_146, x_150, x_144, x_174, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_175); -lean_dec(x_174); -return x_176; -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; -lean_dec(x_146); -lean_dec(x_144); -x_177 = lean_ctor_get(x_147, 0); -lean_inc(x_177); -lean_dec(x_147); -x_178 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4; -x_179 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_178, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_143); -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_unbox(x_180); -lean_dec(x_180); -if (x_181 == 0) -{ -lean_object* x_182; lean_object* x_183; -x_182 = lean_ctor_get(x_179, 1); -lean_inc(x_182); -lean_dec(x_179); -x_183 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_2, x_1, x_177, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_182); -return x_183; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_184 = lean_ctor_get(x_179, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_185 = x_179; -} else { - lean_dec_ref(x_179); - x_185 = lean_box(0); -} -lean_inc(x_2); -x_186 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_184); -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - x_189 = x_186; -} else { - lean_dec_ref(x_186); - x_189 = lean_box(0); -} -x_190 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -if (lean_is_scalar(x_189)) { - x_191 = lean_alloc_ctor(7, 2, 0); -} else { - x_191 = x_189; - lean_ctor_set_tag(x_191, 7); -} -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_187); -x_192 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6; -if (lean_is_scalar(x_185)) { - x_193 = lean_alloc_ctor(7, 2, 0); -} else { - x_193 = x_185; - lean_ctor_set_tag(x_193, 7); -} -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -lean_inc(x_177); -x_194 = l_Lean_MessageData_ofName(x_177); -x_195 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -x_196 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_190); -x_197 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_178, x_196, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_188); -x_198 = lean_ctor_get(x_197, 1); -lean_inc(x_198); -lean_dec(x_197); -x_199 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_2, x_1, x_177, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_198); -return x_199; -} -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -14618,35 +14944,480 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq(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) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_14 = lean_ctor_get(x_2, 0); lean_inc(x_14); x_15 = l_Int_Linear_Poly_leadCoeff(x_14); -x_16 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_16 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_17 = lean_int_dec_lt(x_15, x_16); lean_dec(x_15); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (x_17 == 0) { -lean_object* x_18; +lean_object* x_154; lean_object* x_155; lean_dec(x_14); -x_18 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_18; +x_154 = lean_ctor_get(x_18, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_18, 1); +lean_inc(x_155); +lean_dec(x_18); +x_19 = x_2; +x_20 = x_154; +x_21 = x_155; +goto block_153; } 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; -x_19 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1; -x_20 = l_Int_Linear_Poly_mul(x_14, x_19); -x_21 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_21, 0, x_2); -x_22 = l_Lean_Meta_Grind_Arith_Cutsat_mkDiseqCnstr(x_20, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_23 = lean_ctor_get(x_22, 0); +uint8_t x_156; +x_156 = !lean_is_exclusive(x_18); +if (x_156 == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_157 = lean_ctor_get(x_18, 0); +x_158 = lean_ctor_get(x_18, 1); +x_159 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__6; +x_160 = l_Int_Linear_Poly_mul(x_14, x_159); +x_161 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_161, 0, x_2); +lean_ctor_set(x_18, 1, x_161); +lean_ctor_set(x_18, 0, x_160); +x_19 = x_18; +x_20 = x_157; +x_21 = x_158; +goto block_153; +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_162 = lean_ctor_get(x_18, 0); +x_163 = lean_ctor_get(x_18, 1); +lean_inc(x_163); +lean_inc(x_162); +lean_dec(x_18); +x_164 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__6; +x_165 = l_Int_Linear_Poly_mul(x_14, x_164); +x_166 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_166, 0, x_2); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +x_19 = x_167; +x_20 = x_162; +x_21 = x_163; +goto block_153; +} +} +block_153: +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_inc(x_1); +lean_inc(x_19); +x_22 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___boxed), 14, 2); +lean_closure_set(x_22, 0, x_19); +lean_closure_set(x_22, 1, x_1); +x_23 = lean_ctor_get(x_20, 13); lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_dec(x_20); +x_24 = lean_ctor_get(x_19, 0); lean_inc(x_24); +x_25 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__2(x_23, x_24); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_1); +lean_inc(x_19); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_19); +x_27 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +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_29 = lean_ctor_get(x_27, 0); +x_30 = lean_ctor_get(x_27, 1); +x_31 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3; +x_32 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_30); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_unbox(x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_free_object(x_27); +lean_dec(x_19); +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_box(0); +x_37 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_24, x_29, x_22, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35); +return x_37; +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_32, 1); +x_40 = lean_ctor_get(x_32, 0); +lean_dec(x_40); +x_41 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_43 = lean_ctor_get(x_41, 0); +x_44 = lean_ctor_get(x_41, 1); +x_45 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_41, 7); +lean_ctor_set(x_41, 1, x_43); +lean_ctor_set(x_41, 0, x_45); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; +lean_ctor_set_tag(x_32, 7); +lean_ctor_set(x_32, 1, x_46); +lean_ctor_set(x_32, 0, x_41); +lean_inc(x_29); +x_47 = l_Lean_MessageData_ofName(x_29); +lean_ctor_set_tag(x_27, 7); +lean_ctor_set(x_27, 1, x_47); +lean_ctor_set(x_27, 0, x_32); +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_27); +lean_ctor_set(x_48, 1, x_45); +x_49 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_31, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_44); +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_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_24, x_29, x_22, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_51); +lean_dec(x_50); +return x_52; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_53 = lean_ctor_get(x_41, 0); +x_54 = lean_ctor_get(x_41, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_41); +x_55 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +x_57 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; +lean_ctor_set_tag(x_32, 7); +lean_ctor_set(x_32, 1, x_57); +lean_ctor_set(x_32, 0, x_56); +lean_inc(x_29); +x_58 = l_Lean_MessageData_ofName(x_29); +lean_ctor_set_tag(x_27, 7); +lean_ctor_set(x_27, 1, x_58); +lean_ctor_set(x_27, 0, x_32); +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_27); +lean_ctor_set(x_59, 1, x_55); +x_60 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_31, x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_54); +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_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_24, x_29, x_22, x_61, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_62); +lean_dec(x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; 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_64 = lean_ctor_get(x_32, 1); +lean_inc(x_64); +lean_dec(x_32); +x_65 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_64); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_68 = x_65; +} else { + lean_dec_ref(x_65); + x_68 = lean_box(0); +} +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +if (lean_is_scalar(x_68)) { + x_70 = lean_alloc_ctor(7, 2, 0); +} else { + x_70 = x_68; + lean_ctor_set_tag(x_70, 7); +} +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_66); +x_71 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +lean_inc(x_29); +x_73 = l_Lean_MessageData_ofName(x_29); +lean_ctor_set_tag(x_27, 7); +lean_ctor_set(x_27, 1, x_73); +lean_ctor_set(x_27, 0, x_72); +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_27); +lean_ctor_set(x_74, 1, x_69); +x_75 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_31, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_67); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_24, x_29, x_22, x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_77); +lean_dec(x_76); +return x_78; +} +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_79 = lean_ctor_get(x_27, 0); +x_80 = lean_ctor_get(x_27, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_27); +x_81 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3; +x_82 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_81, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_80); +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_object* x_86; lean_object* x_87; +lean_dec(x_19); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec(x_82); +x_86 = lean_box(0); +x_87 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_24, x_79, x_22, x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_85); +return x_87; +} +else +{ +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; +x_88 = lean_ctor_get(x_82, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_89 = x_82; +} else { + lean_dec_ref(x_82); + x_89 = lean_box(0); +} +x_90 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_88); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_93 = x_90; +} else { + lean_dec_ref(x_90); + x_93 = lean_box(0); +} +x_94 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +if (lean_is_scalar(x_93)) { + x_95 = lean_alloc_ctor(7, 2, 0); +} else { + x_95 = x_93; + lean_ctor_set_tag(x_95, 7); +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_91); +x_96 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; +if (lean_is_scalar(x_89)) { + x_97 = lean_alloc_ctor(7, 2, 0); +} else { + x_97 = x_89; + lean_ctor_set_tag(x_97, 7); +} +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +lean_inc(x_79); +x_98 = l_Lean_MessageData_ofName(x_79); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_94); +x_101 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_81, x_100, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__2(x_24, x_79, x_22, x_102, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_103); +lean_dec(x_102); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +lean_dec(x_24); lean_dec(x_22); -x_25 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4(x_1, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_24); -return x_25; +x_105 = lean_ctor_get(x_25, 0); +lean_inc(x_105); +lean_dec(x_25); +x_106 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3; +x_107 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_106, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_unbox(x_108); +lean_dec(x_108); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_107, 1); +lean_inc(x_110); +lean_dec(x_107); +x_111 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_19, x_1, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_110); +return x_111; +} +else +{ +uint8_t x_112; +x_112 = !lean_is_exclusive(x_107); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_107, 1); +x_114 = lean_ctor_get(x_107, 0); +lean_dec(x_114); +lean_inc(x_19); +x_115 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_113); +x_116 = !lean_is_exclusive(x_115); +if (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; +x_117 = lean_ctor_get(x_115, 0); +x_118 = lean_ctor_get(x_115, 1); +x_119 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_115, 7); +lean_ctor_set(x_115, 1, x_117); +lean_ctor_set(x_115, 0, x_119); +x_120 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__5; +lean_ctor_set_tag(x_107, 7); +lean_ctor_set(x_107, 1, x_120); +lean_ctor_set(x_107, 0, x_115); +lean_inc(x_105); +x_121 = l_Lean_MessageData_ofName(x_105); +x_122 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_122, 0, x_107); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_119); +x_124 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_106, x_123, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_118); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +lean_dec(x_124); +x_126 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_19, x_1, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_125); +return x_126; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_127 = lean_ctor_get(x_115, 0); +x_128 = lean_ctor_get(x_115, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_115); +x_129 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_130 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_127); +x_131 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__5; +lean_ctor_set_tag(x_107, 7); +lean_ctor_set(x_107, 1, x_131); +lean_ctor_set(x_107, 0, x_130); +lean_inc(x_105); +x_132 = l_Lean_MessageData_ofName(x_105); +x_133 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_133, 0, x_107); +lean_ctor_set(x_133, 1, x_132); +x_134 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_129); +x_135 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_106, x_134, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_128); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +lean_dec(x_135); +x_137 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_19, x_1, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_136); +return x_137; +} +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_138 = lean_ctor_get(x_107, 1); +lean_inc(x_138); +lean_dec(x_107); +lean_inc(x_19); +x_139 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_142 = x_139; +} else { + lean_dec_ref(x_139); + x_142 = lean_box(0); +} +x_143 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +if (lean_is_scalar(x_142)) { + x_144 = lean_alloc_ctor(7, 2, 0); +} else { + x_144 = x_142; + lean_ctor_set_tag(x_144, 7); +} +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_140); +x_145 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__5; +x_146 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +lean_inc(x_105); +x_147 = l_Lean_MessageData_ofName(x_105); +x_148 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +x_149 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_143); +x_150 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_106, x_149, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_141); +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +lean_dec(x_150); +x_152 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1(x_19, x_1, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_151); +return x_152; +} +} +} } } } @@ -14691,38 +15462,19 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); -lean_dec(x_2); -x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { size_t x_7; lean_object* x_8; x_7 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__8(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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; @@ -14730,29 +15482,10 @@ x_6 = lean_unbox_usize(x_2); lean_dec(x_2); x_7 = lean_unbox_usize(x_3); lean_dec(x_3); -x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7(x_1, x_6, x_7, x_4, x_5); +x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6(x_1, x_6, x_7, x_4, x_5); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); -lean_dec(x_3); -x_15 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -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_15; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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: { @@ -14785,16 +15518,6 @@ lean_dec(x_3); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___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, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); -lean_dec(x_3); -x_15 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -14874,7 +15597,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__4; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(377u); +x_3 = lean_unsigned_to_nat(386u); x_4 = lean_unsigned_to_nat(13u); x_5 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -15640,9 +16363,9 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__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_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__1; -x_3 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; x_4 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -15701,7 +16424,7 @@ lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_23 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_24 = l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding(x_2, x_23, x_21); lean_dec(x_21); lean_dec(x_2); @@ -15905,7 +16628,7 @@ if (lean_is_exclusive(x_61)) { x_70 = lean_box(0); } x_71 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__2; -x_72 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_64); +x_72 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_64); x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); x_74 = lean_unbox(x_73); @@ -15968,7 +16691,7 @@ lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; x_179 = lean_ctor_get(x_65, 0); lean_inc(x_179); x_180 = l___private_Init_Data_Repr_0__Nat_reprFast(x_84); -x_181 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_181 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_182 = lean_int_dec_lt(x_179, x_181); if (x_182 == 0) { @@ -15976,10 +16699,10 @@ lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; x_183 = lean_nat_abs(x_179); lean_dec(x_179); x_184 = l___private_Init_Data_Repr_0__Nat_reprFast(x_183); -x_185 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_185 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_186 = lean_string_append(x_185, x_184); lean_dec(x_184); -x_187 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_187 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_188 = lean_string_append(x_186, x_187); x_189 = lean_string_append(x_188, x_180); lean_dec(x_180); @@ -15997,13 +16720,13 @@ lean_dec(x_191); x_193 = lean_nat_add(x_192, x_85); lean_dec(x_192); x_194 = l___private_Init_Data_Repr_0__Nat_reprFast(x_193); -x_195 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_195 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_196 = lean_string_append(x_195, x_194); lean_dec(x_194); -x_197 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_197 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_198 = lean_string_append(x_197, x_196); lean_dec(x_196); -x_199 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_199 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_200 = lean_string_append(x_198, x_199); x_201 = lean_string_append(x_200, x_180); lean_dec(x_180); @@ -16018,7 +16741,7 @@ lean_object* x_203; lean_object* x_204; uint8_t x_205; lean_dec(x_84); x_203 = lean_ctor_get(x_65, 0); lean_inc(x_203); -x_204 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_204 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_205 = lean_int_dec_lt(x_203, x_204); if (x_205 == 0) { @@ -16039,7 +16762,7 @@ lean_dec(x_208); x_210 = lean_nat_add(x_209, x_85); lean_dec(x_209); x_211 = l___private_Init_Data_Repr_0__Nat_reprFast(x_210); -x_212 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_212 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_213 = lean_string_append(x_212, x_211); lean_dec(x_211); x_92 = x_213; @@ -16057,7 +16780,7 @@ if (lean_is_scalar(x_62)) { } lean_ctor_set(x_93, 0, x_92); x_94 = l_Lean_MessageData_ofFormat(x_93); -x_95 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_95 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; if (lean_is_scalar(x_83)) { x_96 = lean_alloc_ctor(7, 2, 0); } else { @@ -16075,7 +16798,7 @@ if (lean_is_scalar(x_79)) { } lean_ctor_set(x_98, 0, x_96); lean_ctor_set(x_98, 1, x_97); -x_168 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_168 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_169 = lean_int_dec_lt(x_87, x_168); if (x_169 == 0) { @@ -16096,7 +16819,7 @@ lean_dec(x_172); x_174 = lean_nat_add(x_173, x_85); lean_dec(x_173); x_175 = l___private_Init_Data_Repr_0__Nat_reprFast(x_174); -x_176 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_176 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_177 = lean_string_append(x_176, x_175); lean_dec(x_175); x_99 = x_177; @@ -16135,7 +16858,7 @@ lean_ctor_set(x_104, 1, x_88); x_105 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_97); -x_157 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_157 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_158 = lean_int_dec_lt(x_89, x_157); if (x_158 == 0) { @@ -16156,7 +16879,7 @@ lean_dec(x_161); x_163 = lean_nat_add(x_162, x_85); lean_dec(x_162); x_164 = l___private_Init_Data_Repr_0__Nat_reprFast(x_163); -x_165 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_165 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_166 = lean_string_append(x_165, x_164); lean_dec(x_164); x_106 = x_166; @@ -16180,7 +16903,7 @@ lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; x_121 = lean_ctor_get(x_68, 0); lean_inc(x_121); x_122 = l___private_Init_Data_Repr_0__Nat_reprFast(x_90); -x_123 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_123 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_124 = lean_int_dec_lt(x_121, x_123); if (x_124 == 0) { @@ -16188,10 +16911,10 @@ lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; x_125 = lean_nat_abs(x_121); lean_dec(x_121); x_126 = l___private_Init_Data_Repr_0__Nat_reprFast(x_125); -x_127 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_127 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_128 = lean_string_append(x_127, x_126); lean_dec(x_126); -x_129 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_129 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_130 = lean_string_append(x_128, x_129); x_131 = lean_string_append(x_130, x_122); lean_dec(x_122); @@ -16209,13 +16932,13 @@ lean_dec(x_133); x_135 = lean_nat_add(x_134, x_85); lean_dec(x_134); x_136 = l___private_Init_Data_Repr_0__Nat_reprFast(x_135); -x_137 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_137 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_138 = lean_string_append(x_137, x_136); lean_dec(x_136); -x_139 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_139 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_140 = lean_string_append(x_139, x_138); lean_dec(x_138); -x_141 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_141 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_142 = lean_string_append(x_140, x_141); x_143 = lean_string_append(x_142, x_122); lean_dec(x_122); @@ -16230,7 +16953,7 @@ lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_dec(x_90); x_145 = lean_ctor_get(x_68, 0); lean_inc(x_145); -x_146 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_146 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_147 = lean_int_dec_lt(x_145, x_146); if (x_147 == 0) { @@ -16251,7 +16974,7 @@ lean_dec(x_150); x_152 = lean_nat_add(x_151, x_85); lean_dec(x_151); x_153 = l___private_Init_Data_Repr_0__Nat_reprFast(x_152); -x_154 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_154 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_155 = lean_string_append(x_154, x_153); lean_dec(x_153); x_111 = x_155; @@ -16270,7 +16993,7 @@ lean_ctor_set(x_114, 1, x_113); x_115 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_95); -x_116 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_71, x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); +x_116 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_71, x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); x_117 = lean_ctor_get(x_116, 0); lean_inc(x_117); x_118 = lean_ctor_get(x_116, 1); @@ -16393,268 +17116,314 @@ return x_225; } } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(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) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("dvd conflict: ", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding___closed__1; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; x_14 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_box(0); -x_18 = lean_ctor_get(x_15, 2); -lean_inc(x_18); +x_71 = lean_box(0); +x_72 = lean_ctor_get(x_15, 2); +lean_inc(x_72); lean_dec(x_15); -x_19 = lean_ctor_get(x_18, 2); +x_73 = lean_ctor_get(x_72, 2); +lean_inc(x_73); +x_74 = lean_nat_dec_lt(x_1, x_73); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; +lean_dec(x_72); +x_75 = l_outOfBounds___rarg(x_71); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; +x_76 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__3; +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6(x_1, x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_77; +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_75, 0); +lean_inc(x_78); +lean_dec(x_75); +x_17 = x_78; +goto block_70; +} +} +else +{ +lean_object* x_79; +x_79 = l_Lean_PersistentArray_get_x21___rarg(x_71, x_72, x_1); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__3; +x_81 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6(x_1, x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_81; +} +else +{ +lean_object* x_82; +x_82 = lean_ctor_get(x_79, 0); +lean_inc(x_82); +lean_dec(x_79); +x_17 = x_82; +goto block_70; +} +} +block_70: +{ +lean_object* x_18; +lean_inc(x_17); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_x3f(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -x_20 = lean_nat_dec_lt(x_1, x_19); -lean_dec(x_19); -if (x_20 == 0) +if (lean_obj_tag(x_19) == 0) { -lean_object* x_21; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_dec(x_1); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); lean_dec(x_18); -x_21 = l_outOfBounds___rarg(x_17); -if (lean_obj_tag(x_21) == 0) +x_21 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__2; +x_22 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___closed__1; -x_23 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -return x_23; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_box(0); +x_27 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(x_17, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_25); +lean_dec(x_4); +return x_27; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 0); -lean_inc(x_24); -lean_dec(x_21); -lean_inc(x_24); -x_25 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_x3f(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -if (lean_obj_tag(x_25) == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_4); -lean_dec(x_1); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_27); -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; -x_30 = lean_ctor_get(x_28, 0); +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_22, 1); +x_30 = lean_ctor_get(x_22, 0); lean_dec(x_30); -x_31 = lean_box(0); -lean_ctor_set(x_28, 0, x_31); -return x_28; -} -else +lean_inc(x_17); +x_31 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_28, 1); -lean_inc(x_32); -lean_dec(x_28); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; -} -} -else -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_28); -if (x_35 == 0) -{ -return x_28; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_28, 0); -x_37 = lean_ctor_get(x_28, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_28); -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; lean_object* x_40; lean_object* x_41; -lean_dec(x_24); -x_39 = lean_ctor_get(x_25, 1); +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_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +x_35 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__2; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_33); +lean_ctor_set(x_31, 0, x_35); +x_36 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_22, 7); +lean_ctor_set(x_22, 1, x_36); +lean_ctor_set(x_22, 0, x_31); +x_37 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_21, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_34); +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_25); -x_40 = lean_ctor_get(x_26, 0); -lean_inc(x_40); -lean_dec(x_26); -x_41 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6(x_1, x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); -return x_41; -} -} -else -{ -uint8_t x_42; -lean_dec(x_24); -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_37); +x_40 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(x_17, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); lean_dec(x_4); -lean_dec(x_1); -x_42 = !lean_is_exclusive(x_25); -if (x_42 == 0) -{ -return x_25; +lean_dec(x_38); +return x_40; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_25, 0); -x_44 = lean_ctor_get(x_25, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_25); -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; -} -} -} -} -else -{ -lean_object* x_46; -x_46 = l_Lean_PersistentArray_get_x21___rarg(x_17, x_18, x_1); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___closed__1; -x_48 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6(x_1, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -return x_48; -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 0); -lean_inc(x_49); +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_41 = lean_ctor_get(x_31, 0); +x_42 = lean_ctor_get(x_31, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_31); +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___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_41); +x_45 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_22, 7); +lean_ctor_set(x_22, 1, x_45); +lean_ctor_set(x_22, 0, x_44); +x_46 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_21, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_42); +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); -lean_inc(x_49); -x_50 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_x3f(x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(x_17, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_48); lean_dec(x_4); -lean_dec(x_1); -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_47); +return x_49; +} +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_50 = lean_ctor_get(x_22, 1); +lean_inc(x_50); +lean_dec(x_22); +lean_inc(x_17); +x_51 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_50); +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict(x_49, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_52); -if (lean_obj_tag(x_53) == 0) -{ -uint8_t x_54; -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -x_56 = lean_box(0); -lean_ctor_set(x_53, 0, x_56); -return x_53; +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_51); + x_54 = lean_box(0); } -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_53, 1); -lean_inc(x_57); -lean_dec(x_53); -x_58 = lean_box(0); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -return x_59; +x_55 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__2; +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(7, 2, 0); +} else { + x_56 = x_54; + lean_ctor_set_tag(x_56, 7); } -} -else -{ -uint8_t x_60; -x_60 = !lean_is_exclusive(x_53); -if (x_60 == 0) -{ -return x_53; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_53, 0); -x_62 = lean_ctor_get(x_53, 1); -lean_inc(x_62); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_52); +x_57 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_21, x_58, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_53); +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_53); -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_dec(x_59); +x_62 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(x_17, x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61); +lean_dec(x_4); +lean_dec(x_60); +return x_62; } } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec(x_49); -x_64 = lean_ctor_get(x_50, 1); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_17); +x_63 = lean_ctor_get(x_18, 1); +lean_inc(x_63); +lean_dec(x_18); +x_64 = lean_ctor_get(x_19, 0); lean_inc(x_64); -lean_dec(x_50); -x_65 = lean_ctor_get(x_51, 0); -lean_inc(x_65); -lean_dec(x_51); -x_66 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6(x_1, x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_64); -return x_66; +lean_dec(x_19); +x_65 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6(x_1, x_64, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_63); +return x_65; } } else { -uint8_t x_67; -lean_dec(x_49); +uint8_t x_66; +lean_dec(x_17); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -16665,28 +17434,99 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_67 = !lean_is_exclusive(x_50); -if (x_67 == 0) +x_66 = !lean_is_exclusive(x_18); +if (x_66 == 0) { -return x_50; +return x_18; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_50, 0); -x_69 = lean_ctor_get(x_50, 1); -lean_inc(x_69); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_18, 0); +x_68 = lean_ctor_get(x_18, 1); lean_inc(x_68); -lean_dec(x_50); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_inc(x_67); +lean_dec(x_18); +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; } } } } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_skipAssignment(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("eliminated: ", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: @@ -16704,17 +17544,29 @@ x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); x_17 = lean_box(0); -x_18 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); return x_18; } else { -lean_object* x_19; lean_object* x_20; -lean_dec(x_3); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_19 = lean_ctor_get(x_13, 1); lean_inc(x_19); lean_dec(x_13); -x_20 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_skipAssignment(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__2; +x_21 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_box(0); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__9(x_1, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -16723,53 +17575,146 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -x_23 = lean_box(0); -lean_ctor_set(x_20, 0, x_23); -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); return x_26; } -} else { uint8_t x_27; -x_27 = !lean_is_exclusive(x_20); +x_27 = !lean_is_exclusive(x_21); if (x_27 == 0) { -return x_20; +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_21, 1); +x_29 = lean_ctor_get(x_21, 0); +lean_dec(x_29); +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_getVar(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +x_34 = l_Lean_MessageData_ofExpr(x_32); +x_35 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__2; +lean_ctor_set_tag(x_30, 7); +lean_ctor_set(x_30, 1, x_34); +lean_ctor_set(x_30, 0, x_35); +x_36 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_36); +lean_ctor_set(x_21, 0, x_30); +x_37 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_20, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__9(x_1, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_39); +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_38); +lean_dec(x_1); +return x_40; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_20, 0); -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_20); -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_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_41 = lean_ctor_get(x_30, 0); +x_42 = lean_ctor_get(x_30, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_30); +x_43 = l_Lean_MessageData_ofExpr(x_41); +x_44 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__2; +x_45 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_46); +lean_ctor_set(x_21, 0, x_45); +x_47 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_20, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__9(x_1, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_49); +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_48); +lean_dec(x_1); +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; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_51 = lean_ctor_get(x_21, 1); +lean_inc(x_51); +lean_dec(x_21); +x_52 = l_Lean_Meta_Grind_Arith_Cutsat_getVar(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_55 = x_52; +} else { + lean_dec_ref(x_52); + x_55 = lean_box(0); +} +x_56 = l_Lean_MessageData_ofExpr(x_53); +x_57 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__2; +if (lean_is_scalar(x_55)) { + x_58 = lean_alloc_ctor(7, 2, 0); +} else { + x_58 = x_55; + lean_ctor_set_tag(x_58, 7); +} +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_20, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_54); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__9(x_1, x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +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_62); +lean_dec(x_1); +return x_64; } } } @@ -16947,10 +17892,43 @@ uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_3); lean_dec(x_3); x_15 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); lean_dec(x_2); return x_15; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__9(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___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: { @@ -17108,9 +18086,9 @@ static lean_object* _init_l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic _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_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__1; -x_3 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; x_4 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -17138,7 +18116,7 @@ _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_15 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__2; -x_16 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_unbox(x_17); @@ -17186,11 +18164,11 @@ x_28 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat x_29 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; x_31 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_15, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_25); +x_32 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_15, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_25); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) { @@ -17250,7 +18228,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__4; x_2 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___closed__3; -x_3 = lean_unsigned_to_nat(386u); +x_3 = lean_unsigned_to_nat(395u); x_4 = lean_unsigned_to_nat(4u); x_5 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -17810,7 +18788,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__4; x_2 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___closed__3; -x_3 = lean_unsigned_to_nat(393u); +x_3 = lean_unsigned_to_nat(402u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -18015,6 +18993,40 @@ lean_dec(x_1); return x_14; } } +LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union___spec__1(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); +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l_Lean_RBNode_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union___spec__1(x_1, x_3); +x_7 = lean_box(0); +x_8 = l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(x_6, x_4, x_7); +x_1 = x_8; +x_2 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_RBNode_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union___spec__1(x_2, x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__2(lean_object* x_1, lean_object* x_2) { _start: { @@ -18212,41 +19224,159 @@ x_3 = l_Lean_RBNode_fold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spe return x_3; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_10, 5); -x_14 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_8, x_9, x_10, x_11, x_12); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_13); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_13); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set_tag(x_14, 1); -lean_ctor_set(x_14, 0, x_17); -return x_14; +return x_3; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_14, 0); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_14); -lean_inc(x_13); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_13); -lean_ctor_set(x_20, 1, x_18); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; +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; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__7(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; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_2, 3); +x_6 = l_Lean_RBNode_revFold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__7(x_1, x_5); +lean_inc(x_4); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_6); +x_1 = x_7; +x_2 = x_3; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBTree_toList___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = l_Lean_RBNode_revFold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__7(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__8(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 1); +lean_ctor_set(x_1, 1, x_2); +{ +lean_object* _tmp_0 = x_5; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_1); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_2); +x_1 = x_8; +x_2 = x_9; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__9(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +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; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_7); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +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_1 = x_10; +x_2 = x_12; +goto _start; +} } } } @@ -18254,98 +19384,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda _start: { lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -x_17 = 1; -x_18 = lean_box(x_17); -lean_ctor_set(x_14, 0, x_18); -return x_14; -} -else -{ -lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_dec(x_14); -x_20 = 1; -x_21 = lean_box(x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_19); -return x_22; -} -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_14); -if (x_23 == 0) -{ -return x_14; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_14, 0); -x_25 = lean_ctor_get(x_14, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_14); -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; -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("resolved diseq split: ", 22, 22); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("NIY resolve conflict", 20, 20); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -18354,162 +19392,305 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_15 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_15) == 0) +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 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; uint8_t x_22; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_st_ref_take(x_6, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 13); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = !lean_is_exclusive(x_19); -if (x_22 == 0) +lean_dec(x_14); +x_17 = l_Lean_Meta_Grind_closeGoal(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_19, 13); -lean_dec(x_23); -x_24 = !lean_is_exclusive(x_20); +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) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_20, 1); -lean_dec(x_25); -x_26 = lean_ctor_get(x_16, 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); -x_27 = lean_ctor_get(x_16, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_16, 2); -lean_inc(x_28); -lean_dec(x_16); -lean_ctor_set(x_20, 1, x_28); -x_29 = lean_st_ref_set(x_6, x_19, x_21); -if (lean_obj_tag(x_26) == 0) +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; +} +} +} +else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_30 = lean_ctor_get(x_29, 1); +uint8_t x_28; +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); +x_28 = !lean_is_exclusive(x_14); +if (x_28 == 0) +{ +return x_14; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_14, 0); +x_30 = lean_ctor_get(x_14, 1); lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_ctor_get(x_26, 0); -lean_inc(x_31); -lean_dec(x_26); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1; -x_34 = l_Int_Linear_Poly_mul(x_32, x_33); -x_35 = l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding___closed__1; -x_36 = l_Int_Linear_Poly_addConst(x_34, x_35); -x_37 = l_Lean_RBNode_erase___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__1(x_27, x_1); -x_38 = l_Lean_RBTree_toArray___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__3(x_37); -x_39 = lean_alloc_ctor(7, 4, 0); -lean_ctor_set(x_39, 0, x_31); -lean_ctor_set(x_39, 1, x_27); -lean_ctor_set(x_39, 2, x_2); -lean_ctor_set(x_39, 3, x_38); -x_40 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_36, x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__2; -x_44 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_42); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_unbox(x_45); -lean_dec(x_45); -if (x_46 == 0) +lean_inc(x_29); +lean_dec(x_14); +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_Meta_Grind_Arith_Cutsat_resolveConflict___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_object* x_12, lean_object* x_13) { +_start: { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = lean_box(0); -x_49 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_41, x_48, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_47); -lean_dec(x_5); -return x_49; +lean_object* x_14; +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4(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, 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; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_3); +lean_ctor_set(x_19, 1, x_18); +lean_ctor_set(x_19, 2, x_17); +x_20 = lean_box(x_6); +x_21 = lean_apply_12(x_4, x_19, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_21; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__3___boxed), 12, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cooper last case, ", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", dec vars: ", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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, 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) { +_start: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__1; +x_19 = lean_array_get_size(x_1); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_19, x_20); +x_22 = lean_nat_dec_lt(x_21, x_2); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec(x_19); +x_23 = l_Lean_RBTree_toArray___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__3(x_3); +lean_inc(x_4); +x_24 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_4); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_box(0); +x_29 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4(x_1, x_23, x_5, x_18, x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_27); +return x_29; } else { -uint8_t x_50; -x_50 = !lean_is_exclusive(x_44); -if (x_50 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_ctor_get(x_44, 1); -x_52 = lean_ctor_get(x_44, 0); -lean_dec(x_52); -lean_inc(x_41); -x_53 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_41, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_51); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_24, 1); +x_32 = lean_ctor_get(x_24, 0); +lean_dec(x_32); +lean_inc(x_5); +x_33 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_31); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -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; -x_55 = lean_ctor_get(x_53, 0); -x_56 = lean_ctor_get(x_53, 1); -x_57 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2; -lean_ctor_set_tag(x_53, 7); -lean_ctor_set(x_53, 1, x_55); -lean_ctor_set(x_53, 0, x_57); -x_58 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -lean_ctor_set_tag(x_44, 7); -lean_ctor_set(x_44, 1, x_58); -lean_ctor_set(x_44, 0, x_53); -x_59 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_43, x_44, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_56); -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 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_41, x_60, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_61); -lean_dec(x_5); -lean_dec(x_60); -return x_62; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t 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; +x_35 = lean_ctor_get(x_33, 0); +x_36 = lean_ctor_get(x_33, 1); +x_37 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__3; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_35); +lean_ctor_set(x_33, 0, x_37); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__5; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_38); +lean_ctor_set(x_24, 0, x_33); +x_39 = lean_array_size(x_23); +x_40 = 0; +lean_inc(x_23); +x_41 = l_Array_mapMUnsafe_map___at_Lean_Meta_substCore___spec__5(x_39, x_40, x_23); +x_42 = lean_array_to_list(x_41); +x_43 = lean_box(0); +x_44 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_42, x_43); +x_45 = l_Lean_MessageData_ofList(x_44); +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_24); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +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_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_4, x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_36); +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_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4(x_1, x_23, x_5, x_18, x_50, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_51); +lean_dec(x_50); +return x_52; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_63 = lean_ctor_get(x_53, 0); -x_64 = lean_ctor_get(x_53, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_53); -x_65 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2; -x_66 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_63); -x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -lean_ctor_set_tag(x_44, 7); -lean_ctor_set(x_44, 1, x_67); -lean_ctor_set(x_44, 0, x_66); -x_68 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_43, x_44, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_64); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 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; +x_53 = lean_ctor_get(x_33, 0); +x_54 = lean_ctor_get(x_33, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_33); +x_55 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__3; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +x_57 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__5; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_57); +lean_ctor_set(x_24, 0, x_56); +x_58 = lean_array_size(x_23); +x_59 = 0; +lean_inc(x_23); +x_60 = l_Array_mapMUnsafe_map___at_Lean_Meta_substCore___spec__5(x_58, x_59, x_23); +x_61 = lean_array_to_list(x_60); +x_62 = lean_box(0); +x_63 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_61, x_62); +x_64 = l_Lean_MessageData_ofList(x_63); +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_24); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_67 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_4, x_67, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_54); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); lean_inc(x_70); lean_dec(x_68); -x_71 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_41, x_69, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_70); -lean_dec(x_5); +x_71 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4(x_1, x_23, x_5, x_18, x_69, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_70); lean_dec(x_69); return x_71; } } 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; 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; -x_72 = lean_ctor_get(x_44, 1); +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; size_t x_81; size_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_72 = lean_ctor_get(x_24, 1); lean_inc(x_72); -lean_dec(x_44); -lean_inc(x_41); -x_73 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_41, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_72); +lean_dec(x_24); +lean_inc(x_5); +x_73 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_72); x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); x_75 = lean_ctor_get(x_73, 1); @@ -18522,7 +19703,7 @@ if (lean_is_exclusive(x_73)) { lean_dec_ref(x_73); x_76 = lean_box(0); } -x_77 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2; +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__3; if (lean_is_scalar(x_76)) { x_78 = lean_alloc_ctor(7, 2, 0); } else { @@ -18531,381 +19712,941 @@ if (lean_is_scalar(x_76)) { } lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_74); -x_79 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_79 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__5; x_80 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_43, x_80, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_75); -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 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_41, x_82, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_83); -lean_dec(x_5); -lean_dec(x_82); -return x_84; +x_81 = lean_array_size(x_23); +x_82 = 0; +lean_inc(x_23); +x_83 = l_Array_mapMUnsafe_map___at_Lean_Meta_substCore___spec__5(x_81, x_82, x_23); +x_84 = lean_array_to_list(x_83); +x_85 = lean_box(0); +x_86 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_84, x_85); +x_87 = l_Lean_MessageData_ofList(x_86); +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_80); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_90 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_4, x_90, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_75); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4(x_1, x_23, x_5, x_18, x_92, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_93); +lean_dec(x_92); +return x_94; } } } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_2); -lean_dec(x_1); -x_85 = lean_ctor_get(x_29, 1); -lean_inc(x_85); -lean_dec(x_29); -x_86 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__4; -x_87 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(x_86, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_85); -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); -return x_87; -} -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_88 = lean_ctor_get(x_20, 0); -lean_inc(x_88); -lean_dec(x_20); -x_89 = lean_ctor_get(x_16, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_16, 1); -lean_inc(x_90); -x_91 = lean_ctor_get(x_16, 2); -lean_inc(x_91); -lean_dec(x_16); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_88); -lean_ctor_set(x_92, 1, x_91); -lean_ctor_set(x_19, 13, x_92); -x_93 = lean_st_ref_set(x_6, x_19, x_21); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_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; uint8_t x_110; -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_95 = lean_ctor_get(x_89, 0); -lean_inc(x_95); -lean_dec(x_89); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1; -x_98 = l_Int_Linear_Poly_mul(x_96, x_97); -x_99 = l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding___closed__1; -x_100 = l_Int_Linear_Poly_addConst(x_98, x_99); -x_101 = l_Lean_RBNode_erase___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__1(x_90, x_1); -x_102 = l_Lean_RBTree_toArray___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__3(x_101); -x_103 = lean_alloc_ctor(7, 4, 0); -lean_ctor_set(x_103, 0, x_95); -lean_ctor_set(x_103, 1, x_90); -lean_ctor_set(x_103, 2, x_2); -lean_ctor_set(x_103, 3, x_102); -x_104 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_100, x_103, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_94); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__2; -x_108 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_107, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_106); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_unbox(x_109); -lean_dec(x_109); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_108, 1); -lean_inc(x_111); -lean_dec(x_108); -x_112 = lean_box(0); -x_113 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_105, x_112, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_111); -lean_dec(x_5); -return x_113; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_114 = lean_ctor_get(x_108, 1); -lean_inc(x_114); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_115 = x_108; -} else { - lean_dec_ref(x_108); - x_115 = lean_box(0); -} -lean_inc(x_105); -x_116 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_105, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_114); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_119 = x_116; -} else { - lean_dec_ref(x_116); - x_119 = lean_box(0); -} -x_120 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2; -if (lean_is_scalar(x_119)) { - x_121 = lean_alloc_ctor(7, 2, 0); -} else { - x_121 = x_119; - lean_ctor_set_tag(x_121, 7); -} -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_117); -x_122 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -if (lean_is_scalar(x_115)) { - x_123 = lean_alloc_ctor(7, 2, 0); -} else { - x_123 = x_115; - lean_ctor_set_tag(x_123, 7); -} -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -x_124 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_107, x_123, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_118); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_105, x_125, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_126); -lean_dec(x_5); -lean_dec(x_125); -return x_127; -} -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_90); -lean_dec(x_89); -lean_dec(x_2); -lean_dec(x_1); -x_128 = lean_ctor_get(x_93, 1); -lean_inc(x_128); -lean_dec(x_93); -x_129 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__4; -x_130 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(x_129, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_128); -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); -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; uint8_t x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_131 = lean_ctor_get(x_19, 0); -x_132 = lean_ctor_get(x_19, 1); -x_133 = lean_ctor_get(x_19, 2); -x_134 = lean_ctor_get(x_19, 3); -x_135 = lean_ctor_get(x_19, 4); -x_136 = lean_ctor_get(x_19, 5); -x_137 = lean_ctor_get(x_19, 6); -x_138 = lean_ctor_get_uint8(x_19, sizeof(void*)*15); -x_139 = lean_ctor_get(x_19, 7); -x_140 = lean_ctor_get(x_19, 8); -x_141 = lean_ctor_get(x_19, 9); -x_142 = lean_ctor_get(x_19, 10); -x_143 = lean_ctor_get(x_19, 11); -x_144 = lean_ctor_get(x_19, 12); -x_145 = lean_ctor_get(x_19, 14); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_inc(x_139); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); -lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); +lean_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_dec(x_4); +lean_inc(x_5); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_5); +lean_ctor_set(x_95, 1, x_1); +lean_ctor_set(x_95, 2, x_3); +x_96 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase(x_95, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = lean_nat_sub(x_2, x_19); lean_dec(x_19); -x_146 = lean_ctor_get(x_20, 0); -lean_inc(x_146); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_147 = x_20; -} else { - lean_dec_ref(x_20); - x_147 = lean_box(0); +x_100 = lean_nat_sub(x_99, x_20); +lean_dec(x_99); +x_101 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_101, 0, x_97); +x_102 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_102, 0, x_5); +lean_ctor_set(x_102, 1, x_100); +lean_ctor_set(x_102, 2, x_101); +x_103 = lean_box(x_7); +x_104 = lean_apply_12(x_18, x_102, x_103, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_98); +return x_104; } -x_148 = lean_ctor_get(x_16, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_16, 1); -lean_inc(x_149); -x_150 = lean_ctor_get(x_16, 2); -lean_inc(x_150); -lean_dec(x_16); -if (lean_is_scalar(x_147)) { - x_151 = lean_alloc_ctor(0, 2, 0); -} else { - x_151 = x_147; } -lean_ctor_set(x_151, 0, x_146); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_152, 0, x_131); -lean_ctor_set(x_152, 1, x_132); -lean_ctor_set(x_152, 2, x_133); -lean_ctor_set(x_152, 3, x_134); -lean_ctor_set(x_152, 4, x_135); -lean_ctor_set(x_152, 5, x_136); -lean_ctor_set(x_152, 6, x_137); -lean_ctor_set(x_152, 7, x_139); -lean_ctor_set(x_152, 8, x_140); -lean_ctor_set(x_152, 9, x_141); -lean_ctor_set(x_152, 10, x_142); -lean_ctor_set(x_152, 11, x_143); -lean_ctor_set(x_152, 12, x_144); -lean_ctor_set(x_152, 13, x_151); -lean_ctor_set(x_152, 14, x_145); -lean_ctor_set_uint8(x_152, sizeof(void*)*15, x_138); -x_153 = lean_st_ref_set(x_6, x_152, x_21); -if (lean_obj_tag(x_148) == 0) +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__1() { +_start: { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec(x_153); -x_155 = lean_ctor_get(x_148, 0); -lean_inc(x_155); -lean_dec(x_148); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1; -x_158 = l_Int_Linear_Poly_mul(x_156, x_157); -x_159 = l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding___closed__1; -x_160 = l_Int_Linear_Poly_addConst(x_158, x_159); -x_161 = l_Lean_RBNode_erase___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__1(x_149, x_1); -x_162 = l_Lean_RBTree_toArray___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__3(x_161); -x_163 = lean_alloc_ctor(7, 4, 0); -lean_ctor_set(x_163, 0, x_155); -lean_ctor_set(x_163, 1, x_149); -lean_ctor_set(x_163, 2, x_2); -lean_ctor_set(x_163, 3, x_162); -x_164 = l_Lean_Meta_Grind_Arith_Cutsat_mkLeCnstr(x_160, x_163, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_154); -x_165 = lean_ctor_get(x_164, 0); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("resolved diseq split: ", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cooper #", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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, 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) { +_start: +{ +lean_object* x_18; +x_18 = l_Lean_RBNode_erase___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 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; lean_object* x_29; uint8_t x_30; +x_19 = lean_ctor_get(x_3, 0); +lean_inc(x_19); +lean_dec(x_3); +x_20 = l_Lean_RBTree_toArray___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__3(x_18); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__6; +x_23 = l_Int_Linear_Poly_mul(x_21, x_22); +x_24 = l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_geAvoiding___closed__1; +x_25 = l_Int_Linear_Poly_addConst(x_23, x_24); +x_26 = lean_alloc_ctor(7, 4, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_1); +lean_ctor_set(x_26, 2, x_4); +lean_ctor_set(x_26, 3, x_20); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +lean_inc(x_5); +x_28 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_8); +lean_dec(x_5); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +x_32 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_31); +return x_32; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_28); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_28, 1); +x_35 = lean_ctor_get(x_28, 0); +lean_dec(x_35); +lean_inc(x_27); +x_36 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_34); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_38 = lean_ctor_get(x_36, 0); +x_39 = lean_ctor_get(x_36, 1); +x_40 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__2; +lean_ctor_set_tag(x_36, 7); +lean_ctor_set(x_36, 1, x_38); +lean_ctor_set(x_36, 0, x_40); +x_41 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_28, 7); +lean_ctor_set(x_28, 1, x_41); +lean_ctor_set(x_28, 0, x_36); +x_42 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_5, x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_39); +lean_dec(x_8); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_43); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_45 = lean_ctor_get(x_36, 0); +x_46 = lean_ctor_get(x_36, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_36); +x_47 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__2; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_28, 7); +lean_ctor_set(x_28, 1, x_49); +lean_ctor_set(x_28, 0, x_48); +x_50 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_5, x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_46); +lean_dec(x_8); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_51); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_53 = lean_ctor_get(x_28, 1); +lean_inc(x_53); +lean_dec(x_28); +lean_inc(x_27); +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_53); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); +} +x_58 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__2; +if (lean_is_scalar(x_57)) { + x_59 = lean_alloc_ctor(7, 2, 0); +} else { + x_59 = x_57; + lean_ctor_set_tag(x_59, 7); +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_55); +x_60 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +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_Grind_Arith_Cutsat_mkCase___spec__4(x_5, x_61, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_56); +lean_dec(x_8); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_63); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_65 = lean_ctor_get(x_3, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 1); +lean_inc(x_66); +x_67 = lean_ctor_get(x_3, 2); +lean_inc(x_67); +lean_dec(x_3); +x_68 = l_Lean_RBNode_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union___spec__1(x_67, x_18); +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(x_65); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_1); +lean_ctor_set(x_70, 1, x_4); +x_71 = lean_array_push(x_66, x_70); +lean_inc(x_5); +x_72 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_73 = lean_ctor_get(x_72, 0); +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; +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); +lean_dec(x_72); +x_76 = lean_box(0); +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5(x_71, x_69, x_68, x_5, x_65, x_76, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_75); +lean_dec(x_69); +return x_77; +} +else +{ +uint8_t x_78; +x_78 = !lean_is_exclusive(x_72); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_72, 1); +x_80 = lean_ctor_get(x_72, 0); +lean_dec(x_80); +lean_inc(x_65); +x_81 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(x_65, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_79); +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) +{ +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; size_t x_95; size_t 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; +x_83 = lean_ctor_get(x_81, 0); +x_84 = lean_ctor_get(x_81, 1); +x_85 = lean_array_get_size(x_71); +x_86 = lean_unsigned_to_nat(1u); +x_87 = lean_nat_add(x_85, x_86); +lean_dec(x_85); +x_88 = l___private_Init_Data_Repr_0__Nat_reprFast(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 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__4; +lean_ctor_set_tag(x_81, 7); +lean_ctor_set(x_81, 1, x_90); +lean_ctor_set(x_81, 0, x_91); +x_92 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; +lean_ctor_set_tag(x_72, 7); +lean_ctor_set(x_72, 1, x_92); +lean_ctor_set(x_72, 0, x_81); +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_72); +lean_ctor_set(x_93, 1, x_83); +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_array_size(x_71); +x_96 = 0; +lean_inc(x_71); +x_97 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(x_95, x_96, x_71); +x_98 = lean_array_to_list(x_97); +x_99 = lean_box(0); +x_100 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_98, x_99); +x_101 = l_Lean_MessageData_ofList(x_100); +x_102 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_102, 0, x_94); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_104 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +lean_inc(x_5); +x_105 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_5, x_104, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_84); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5(x_71, x_69, x_68, x_5, x_65, x_106, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_107); +lean_dec(x_106); +lean_dec(x_69); +return x_108; +} +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; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; size_t x_122; size_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_109 = lean_ctor_get(x_81, 0); +x_110 = lean_ctor_get(x_81, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_81); +x_111 = lean_array_get_size(x_71); +x_112 = lean_unsigned_to_nat(1u); +x_113 = lean_nat_add(x_111, x_112); +lean_dec(x_111); +x_114 = l___private_Init_Data_Repr_0__Nat_reprFast(x_113); +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 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__4; +x_118 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_116); +x_119 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; +lean_ctor_set_tag(x_72, 7); +lean_ctor_set(x_72, 1, x_119); +lean_ctor_set(x_72, 0, x_118); +x_120 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_120, 0, x_72); +lean_ctor_set(x_120, 1, x_109); +x_121 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = lean_array_size(x_71); +x_123 = 0; +lean_inc(x_71); +x_124 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(x_122, x_123, x_71); +x_125 = lean_array_to_list(x_124); +x_126 = lean_box(0); +x_127 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_125, x_126); +x_128 = l_Lean_MessageData_ofList(x_127); +x_129 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_129, 0, x_121); +lean_ctor_set(x_129, 1, x_128); +x_130 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_131 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +lean_inc(x_5); +x_132 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_5, x_131, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_110); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5(x_71, x_69, x_68, x_5, x_65, x_133, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_134); +lean_dec(x_133); +lean_dec(x_69); +return x_135; +} +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; size_t x_153; size_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_136 = lean_ctor_get(x_72, 1); +lean_inc(x_136); +lean_dec(x_72); +lean_inc(x_65); +x_137 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(x_65, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_136); +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_140 = x_137; +} else { + lean_dec_ref(x_137); + x_140 = lean_box(0); +} +x_141 = lean_array_get_size(x_71); +x_142 = lean_unsigned_to_nat(1u); +x_143 = lean_nat_add(x_141, x_142); +lean_dec(x_141); +x_144 = l___private_Init_Data_Repr_0__Nat_reprFast(x_143); +x_145 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_145, 0, x_144); +x_146 = l_Lean_MessageData_ofFormat(x_145); +x_147 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__4; +if (lean_is_scalar(x_140)) { + x_148 = lean_alloc_ctor(7, 2, 0); +} else { + x_148 = x_140; + lean_ctor_set_tag(x_148, 7); +} +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_146); +x_149 = l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2; +x_150 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +x_151 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_138); +x_152 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_149); +x_153 = lean_array_size(x_71); +x_154 = 0; +lean_inc(x_71); +x_155 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(x_153, x_154, x_71); +x_156 = lean_array_to_list(x_155); +x_157 = lean_box(0); +x_158 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_156, x_157); +x_159 = l_Lean_MessageData_ofList(x_158); +x_160 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_160, 0, x_152); +lean_ctor_set(x_160, 1, x_159); +x_161 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_162 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_162, 0, x_160); +lean_ctor_set(x_162, 1, x_161); +lean_inc(x_5); +x_163 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_5, x_162, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_139); +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_163, 1); lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); +lean_dec(x_163); +x_166 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5(x_71, x_69, x_68, x_5, x_65, x_164, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_165); lean_dec(x_164); -x_167 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__2; -x_168 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__5(x_167, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_166); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_unbox(x_169); -lean_dec(x_169); -if (x_170 == 0) +lean_dec(x_69); +return x_166; +} +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__1() { +_start: { -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_168, 1); -lean_inc(x_171); -lean_dec(x_168); -x_172 = lean_box(0); -x_173 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_165, x_172, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_171); -lean_dec(x_5); -return x_173; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("backtracking ", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_16 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +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_st_ref_take(x_7, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 13); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 13); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_26 = lean_ctor_get(x_21, 1); +lean_dec(x_26); +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_17, 2); +lean_inc(x_29); +lean_dec(x_17); +lean_ctor_set(x_21, 1, x_29); +x_30 = lean_st_ref_set(x_7, x_20, x_22); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_32 = lean_ctor_get(x_30, 1); +x_33 = lean_ctor_get(x_30, 0); +lean_dec(x_33); +lean_inc(x_2); +x_34 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_free_object(x_30); +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_box(0); +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_28, x_1, x_27, x_3, x_2, x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_37); +return x_39; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_174 = lean_ctor_get(x_168, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_175 = x_168; -} else { - lean_dec_ref(x_168); - x_175 = lean_box(0); +uint8_t x_40; +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_41 = lean_ctor_get(x_34, 1); +x_42 = lean_ctor_get(x_34, 0); +lean_dec(x_42); +lean_inc(x_28); +x_43 = l_Lean_MessageData_ofName(x_28); +x_44 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2; +lean_ctor_set_tag(x_34, 7); +lean_ctor_set(x_34, 1, x_43); +lean_ctor_set(x_34, 0, x_44); +x_45 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_30, 7); +lean_ctor_set(x_30, 1, x_45); +lean_ctor_set(x_30, 0, x_34); +lean_inc(x_2); +x_46 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_41); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_28, x_1, x_27, x_3, x_2, x_47, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_48); +lean_dec(x_47); +return x_49; } -lean_inc(x_165); -x_176 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_165, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_174); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - lean_ctor_release(x_176, 1); - x_179 = x_176; -} else { - lean_dec_ref(x_176); - x_179 = lean_box(0); +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_50 = lean_ctor_get(x_34, 1); +lean_inc(x_50); +lean_dec(x_34); +lean_inc(x_28); +x_51 = l_Lean_MessageData_ofName(x_28); +x_52 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___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_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_30, 7); +lean_ctor_set(x_30, 1, x_54); +lean_ctor_set(x_30, 0, x_53); +lean_inc(x_2); +x_55 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_50); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_28, x_1, x_27, x_3, x_2, x_56, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_57); +lean_dec(x_56); +return x_58; } -x_180 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2; -if (lean_is_scalar(x_179)) { - x_181 = lean_alloc_ctor(7, 2, 0); -} else { - x_181 = x_179; - lean_ctor_set_tag(x_181, 7); -} -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_177); -x_182 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -if (lean_is_scalar(x_175)) { - x_183 = lean_alloc_ctor(7, 2, 0); -} else { - x_183 = x_175; - lean_ctor_set_tag(x_183, 7); -} -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -x_184 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10(x_167, x_183, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_178); -x_185 = lean_ctor_get(x_184, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_184, 1); -lean_inc(x_186); -lean_dec(x_184); -x_187 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_165, x_185, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_186); -lean_dec(x_5); -lean_dec(x_185); -return x_187; } } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec(x_149); -lean_dec(x_148); -lean_dec(x_2); -lean_dec(x_1); -x_188 = lean_ctor_get(x_153, 1); -lean_inc(x_188); -lean_dec(x_153); -x_189 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__4; -x_190 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(x_189, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_188); +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_30, 1); +lean_inc(x_59); +lean_dec(x_30); +lean_inc(x_2); +x_60 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_59); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_unbox(x_61); +lean_dec(x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_60, 1); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_box(0); +x_65 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_28, x_1, x_27, x_3, x_2, x_64, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_63); +return x_65; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_67 = x_60; +} else { + lean_dec_ref(x_60); + x_67 = lean_box(0); +} +lean_inc(x_28); +x_68 = l_Lean_MessageData_ofName(x_28); +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2; +if (lean_is_scalar(x_67)) { + x_70 = lean_alloc_ctor(7, 2, 0); +} else { + x_70 = x_67; + lean_ctor_set_tag(x_70, 7); +} +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +lean_inc(x_2); +x_73 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_72, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_28, x_1, x_27, x_3, x_2, x_74, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_75); +lean_dec(x_74); +return x_76; +} +} +} +else +{ +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; uint8_t x_87; +x_77 = lean_ctor_get(x_21, 0); +lean_inc(x_77); +lean_dec(x_21); +x_78 = lean_ctor_get(x_17, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_17, 1); +lean_inc(x_79); +x_80 = lean_ctor_get(x_17, 2); +lean_inc(x_80); +lean_dec(x_17); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_77); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_20, 13, x_81); +x_82 = lean_st_ref_set(x_7, x_20, x_22); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_84 = x_82; +} else { + lean_dec_ref(x_82); + x_84 = lean_box(0); +} +lean_inc(x_2); +x_85 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_83); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_unbox(x_86); +lean_dec(x_86); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_84); +x_88 = lean_ctor_get(x_85, 1); +lean_inc(x_88); +lean_dec(x_85); +x_89 = lean_box(0); +x_90 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_79, x_1, x_78, x_3, x_2, x_89, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_88); +return x_90; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_91 = lean_ctor_get(x_85, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_92 = x_85; +} else { + lean_dec_ref(x_85); + x_92 = lean_box(0); +} +lean_inc(x_79); +x_93 = l_Lean_MessageData_ofName(x_79); +x_94 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2; +if (lean_is_scalar(x_92)) { + x_95 = lean_alloc_ctor(7, 2, 0); +} else { + x_95 = x_92; + lean_ctor_set_tag(x_95, 7); +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +x_96 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +if (lean_is_scalar(x_84)) { + x_97 = lean_alloc_ctor(7, 2, 0); +} else { + x_97 = x_84; + lean_ctor_set_tag(x_97, 7); +} +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +lean_inc(x_2); +x_98 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_97, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_91); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_79, x_1, x_78, x_3, x_2, x_99, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_100); +lean_dec(x_99); +return x_101; +} +} +} +else +{ +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; uint8_t 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; uint8_t x_129; +x_102 = lean_ctor_get(x_20, 0); +x_103 = lean_ctor_get(x_20, 1); +x_104 = lean_ctor_get(x_20, 2); +x_105 = lean_ctor_get(x_20, 3); +x_106 = lean_ctor_get(x_20, 4); +x_107 = lean_ctor_get(x_20, 5); +x_108 = lean_ctor_get(x_20, 6); +x_109 = lean_ctor_get_uint8(x_20, sizeof(void*)*15); +x_110 = lean_ctor_get(x_20, 7); +x_111 = lean_ctor_get(x_20, 8); +x_112 = lean_ctor_get(x_20, 9); +x_113 = lean_ctor_get(x_20, 10); +x_114 = lean_ctor_get(x_20, 11); +x_115 = lean_ctor_get(x_20, 12); +x_116 = lean_ctor_get(x_20, 14); +lean_inc(x_116); +lean_inc(x_115); +lean_inc(x_114); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_108); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_20); +x_117 = lean_ctor_get(x_21, 0); +lean_inc(x_117); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_118 = x_21; +} else { + lean_dec_ref(x_21); + x_118 = lean_box(0); +} +x_119 = lean_ctor_get(x_17, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_17, 1); +lean_inc(x_120); +x_121 = lean_ctor_get(x_17, 2); +lean_inc(x_121); +lean_dec(x_17); +if (lean_is_scalar(x_118)) { + x_122 = lean_alloc_ctor(0, 2, 0); +} else { + x_122 = x_118; +} +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_123, 0, x_102); +lean_ctor_set(x_123, 1, x_103); +lean_ctor_set(x_123, 2, x_104); +lean_ctor_set(x_123, 3, x_105); +lean_ctor_set(x_123, 4, x_106); +lean_ctor_set(x_123, 5, x_107); +lean_ctor_set(x_123, 6, x_108); +lean_ctor_set(x_123, 7, x_110); +lean_ctor_set(x_123, 8, x_111); +lean_ctor_set(x_123, 9, x_112); +lean_ctor_set(x_123, 10, x_113); +lean_ctor_set(x_123, 11, x_114); +lean_ctor_set(x_123, 12, x_115); +lean_ctor_set(x_123, 13, x_122); +lean_ctor_set(x_123, 14, x_116); +lean_ctor_set_uint8(x_123, sizeof(void*)*15, x_109); +x_124 = lean_st_ref_set(x_7, x_123, x_22); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; +} else { + lean_dec_ref(x_124); + x_126 = lean_box(0); +} +lean_inc(x_2); +x_127 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_125); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_unbox(x_128); +lean_dec(x_128); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_126); +x_130 = lean_ctor_get(x_127, 1); +lean_inc(x_130); +lean_dec(x_127); +x_131 = lean_box(0); +x_132 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_120, x_1, x_119, x_3, x_2, x_131, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_130); +return x_132; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_133 = lean_ctor_get(x_127, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_134 = x_127; +} else { + lean_dec_ref(x_127); + x_134 = lean_box(0); +} +lean_inc(x_120); +x_135 = l_Lean_MessageData_ofName(x_120); +x_136 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2; +if (lean_is_scalar(x_134)) { + x_137 = lean_alloc_ctor(7, 2, 0); +} else { + x_137 = x_134; + lean_ctor_set_tag(x_137, 7); +} +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_135); +x_138 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +if (lean_is_scalar(x_126)) { + x_139 = lean_alloc_ctor(7, 2, 0); +} else { + x_139 = x_126; + lean_ctor_set_tag(x_139, 7); +} +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +lean_inc(x_2); +x_140 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_139, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_133); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_140, 1); +lean_inc(x_142); +lean_dec(x_140); +x_143 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_120, x_1, x_119, x_3, x_2, x_141, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_142); +lean_dec(x_141); +return x_143; +} +} +} +else +{ +uint8_t x_144; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -18914,47 +20655,192 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -return x_190; -} -} -} -else -{ -uint8_t x_191; -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_3); lean_dec(x_2); lean_dec(x_1); -x_191 = !lean_is_exclusive(x_15); -if (x_191 == 0) +x_144 = !lean_is_exclusive(x_16); +if (x_144 == 0) { -return x_15; +return x_16; } else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_192 = lean_ctor_get(x_15, 0); -x_193 = lean_ctor_get(x_15, 1); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_15); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_192); -lean_ctor_set(x_194, 1, x_193); -return x_194; +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_16, 0); +x_146 = lean_ctor_get(x_16, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_16); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +return x_147; } } } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("close goal: ", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_inc(x_2); +x_16 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unbox(x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_2); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = lean_box(0); +x_21 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_3, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_19); +lean_dec(x_6); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_16); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_16, 1); +x_24 = lean_ctor_get(x_16, 0); +lean_dec(x_24); +lean_inc(x_3); +x_25 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_ctor_get(x_25, 1); +x_29 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__2; +lean_ctor_set_tag(x_25, 7); +lean_ctor_set(x_25, 1, x_27); +lean_ctor_set(x_25, 0, x_29); +x_30 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_16, 7); +lean_ctor_set(x_16, 1, x_30); +lean_ctor_set(x_16, 0, x_25); +x_31 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_3, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_33); +lean_dec(x_6); +lean_dec(x_32); +return x_34; +} +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_25, 0); +x_36 = lean_ctor_get(x_25, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_25); +x_37 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__2; +x_38 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_16, 7); +lean_ctor_set(x_16, 1, x_39); +lean_ctor_set(x_16, 0, x_38); +x_40 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_3, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_42); +lean_dec(x_6); +lean_dec(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; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_44 = lean_ctor_get(x_16, 1); +lean_inc(x_44); +lean_dec(x_16); +lean_inc(x_3); +x_45 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_48 = x_45; +} else { + lean_dec_ref(x_45); + x_48 = lean_box(0); +} +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__2; +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(7, 2, 0); +} else { + x_50 = x_48; + lean_ctor_set_tag(x_50, 7); +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_46); +x_51 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_52, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_47); +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 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__1(x_3, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_55); +lean_dec(x_6); +lean_dec(x_54); +return x_56; +} +} +} +else +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_box(0); +x_58 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7(x_1, x_2, x_3, x_57, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_58; +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -18964,173 +20850,393 @@ x_3 = l_Nat_nextPowerOfTwo_go(x_1, x_2, lean_box(0)); return x_3; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__1; x_3 = lean_mk_array(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___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_Meta_Grind_Arith_Cutsat_resolveConflict___closed__4() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__3; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__3; x_3 = lean_alloc_ctor(0, 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_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("dec vars: ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_15 = lean_st_ref_get(x_5, x_14); +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_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__4; +lean_inc(x_1); +x_20 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_collectDecVars(x_1, x_18, x_19); +lean_dec(x_18); +lean_inc(x_2); +x_21 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_17); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_box(0); +x_28 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8(x_26, x_2, x_1, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_25); +return x_28; +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_20); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_ctor_get(x_20, 1); +x_31 = lean_ctor_get(x_20, 0); +lean_dec(x_31); +x_32 = !lean_is_exclusive(x_21); +if (x_32 == 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; 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_21, 1); +x_34 = lean_ctor_get(x_21, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_dec(x_30); +x_36 = l_Lean_RBTree_toList___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__6(x_35); +x_37 = lean_box(0); +x_38 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__8(x_36, x_37); +x_39 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_38, x_37); +x_40 = l_Lean_MessageData_ofList(x_39); +x_41 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__6; +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_40); +lean_ctor_set(x_21, 0, x_41); +x_42 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_20, 7); +lean_ctor_set(x_20, 1, x_42); +lean_ctor_set(x_20, 0, x_21); +lean_inc(x_2); +x_43 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_33); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8(x_35, x_2, x_1, x_44, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_45); +lean_dec(x_44); +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; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_47 = lean_ctor_get(x_21, 1); +lean_inc(x_47); +lean_dec(x_21); +x_48 = lean_ctor_get(x_30, 1); +lean_inc(x_48); +lean_dec(x_30); +x_49 = l_Lean_RBTree_toList___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__6(x_48); +x_50 = lean_box(0); +x_51 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__8(x_49, x_50); +x_52 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_51, x_50); +x_53 = l_Lean_MessageData_ofList(x_52); +x_54 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___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_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_20, 7); +lean_ctor_set(x_20, 1, x_56); +lean_ctor_set(x_20, 0, x_55); +lean_inc(x_2); +x_57 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_47); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8(x_48, x_2, x_1, x_58, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_59); +lean_dec(x_58); +return x_60; +} +} +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; 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_61 = lean_ctor_get(x_20, 1); +lean_inc(x_61); +lean_dec(x_20); +x_62 = lean_ctor_get(x_21, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_63 = x_21; +} else { + lean_dec_ref(x_21); + x_63 = lean_box(0); +} +x_64 = lean_ctor_get(x_61, 1); +lean_inc(x_64); +lean_dec(x_61); +x_65 = l_Lean_RBTree_toList___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__6(x_64); +x_66 = lean_box(0); +x_67 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__8(x_65, x_66); +x_68 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_67, x_66); +x_69 = l_Lean_MessageData_ofList(x_68); +x_70 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__6; +if (lean_is_scalar(x_63)) { + x_71 = lean_alloc_ctor(7, 2, 0); +} else { + x_71 = x_63; + lean_ctor_set_tag(x_71, 7); +} +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_73 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +lean_inc(x_2); +x_74 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_2, x_73, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_62); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8(x_64, x_2, x_1, x_75, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_76); +lean_dec(x_75); +return x_77; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("resolve conflict, decision stack: ", 34, 34); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _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; -x_13 = lean_st_ref_get(x_3, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__2; +x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); +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_17 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__4; -lean_inc(x_1); -x_18 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_collectDecVars(x_1, x_16, x_17); -lean_dec(x_16); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; -lean_dec(x_3); -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_21 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_toExprProof(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -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 = l_Lean_Meta_Grind_closeGoal(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_24) == 0) -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = 0; -x_28 = lean_box(x_27); -lean_ctor_set(x_24, 0, x_28); -return x_24; +x_18 = lean_box(0); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9(x_1, x_13, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +return x_19; } else { -lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_dec(x_24); -x_30 = 0; -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_29); -return x_32; -} +uint8_t x_20; +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_14, 1); +x_22 = lean_ctor_get(x_14, 0); +lean_dec(x_22); +x_23 = lean_st_ref_get(x_3, x_21); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 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_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_PersistentArray_toList___rarg(x_27); +lean_dec(x_27); +x_29 = lean_box(0); +x_30 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__9(x_28, x_29); +x_31 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_30, x_29); +x_32 = l_Lean_MessageData_ofList(x_31); +x_33 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2; +lean_ctor_set_tag(x_23, 7); +lean_ctor_set(x_23, 1, x_32); +lean_ctor_set(x_23, 0, x_33); +x_34 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_14, 7); +lean_ctor_set(x_14, 1, x_34); +lean_ctor_set(x_14, 0, x_23); +x_35 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9(x_1, x_13, x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +lean_dec(x_36); +return x_38; } else { -uint8_t x_33; -x_33 = !lean_is_exclusive(x_24); -if (x_33 == 0) -{ -return x_24; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_24, 0); -x_35 = lean_ctor_get(x_24, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_24); -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_37; -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); -x_37 = !lean_is_exclusive(x_21); -if (x_37 == 0) -{ -return x_21; -} -else -{ -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_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; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); lean_inc(x_39); -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; -} +lean_dec(x_23); +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_PersistentArray_toList___rarg(x_41); +lean_dec(x_41); +x_43 = lean_box(0); +x_44 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__9(x_42, x_43); +x_45 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_44, x_43); +x_46 = l_Lean_MessageData_ofList(x_45); +x_47 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_14, 7); +lean_ctor_set(x_14, 1, x_49); +lean_ctor_set(x_14, 0, x_48); +x_50 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_40); +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_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9(x_1, x_13, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_52); +lean_dec(x_51); +return x_53; } } else { -lean_object* x_41; lean_object* x_42; -x_41 = lean_box(0); -x_42 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2(x_20, x_1, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -return x_42; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_54 = lean_ctor_get(x_14, 1); +lean_inc(x_54); +lean_dec(x_14); +x_55 = lean_st_ref_get(x_3, x_54); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = lean_ctor_get(x_56, 0); +lean_inc(x_59); +lean_dec(x_56); +x_60 = l_Lean_PersistentArray_toList___rarg(x_59); +lean_dec(x_59); +x_61 = lean_box(0); +x_62 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__9(x_60, x_61); +x_63 = l_List_mapTR_loop___at_Lean_compileDecls_doCompile___spec__1(x_62, x_61); +x_64 = l_Lean_MessageData_ofList(x_63); +x_65 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2; +if (lean_is_scalar(x_58)) { + x_66 = lean_alloc_ctor(7, 2, 0); +} else { + x_66 = x_58; + lean_ctor_set_tag(x_66, 7); +} +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_13, x_68, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_57); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9(x_1, x_13, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_71); +lean_dec(x_70); +return x_72; +} } } } @@ -19152,23 +21258,34 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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, 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_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); +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_14 = l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_14; +x_6 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__5(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_RBNode_revFold___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__7(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_RBTree_toList___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__6___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_RBTree_toList___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__6(x_1); +lean_dec(x_1); +return x_2; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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) { @@ -19183,13 +21300,126 @@ lean_dec(x_2); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +lean_dec(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_2); +lean_dec(x_2); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__3(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_6); +lean_dec(x_6); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4(x_1, x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_5); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_7); +lean_dec(x_7); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_6); +lean_dec(x_2); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_7); +lean_dec(x_7); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_6); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_5); +lean_dec(x_5); +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_4); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_5); +lean_dec(x_5); +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_4); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___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_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_4); lean_dec(x_4); -x_16 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_3); return x_16; } @@ -19204,79 +21434,362 @@ x_14 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict(x_1, x_13, x_3, x_4, x_5, return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___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_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 10); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_17, 2); -lean_inc(x_18); +lean_object* x_15; +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_processVar(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); lean_dec(x_17); -x_19 = l_Lean_Meta_Grind_Arith_Cutsat_processVar(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -if (lean_obj_tag(x_19) == 0) +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_2); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_1); -lean_ctor_set(x_19, 0, x_22); -return x_19; +uint8_t x_22; +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_19, 1); +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_1); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); +lean_dec(x_15); +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_26; -lean_dec(x_1); -x_26 = !lean_is_exclusive(x_19); -if (x_26 == 0) -{ -return x_19; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_19, 0); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_19); -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; -} -} } } static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__1() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("next var: ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 12); +lean_inc(x_17); +lean_dec(x_16); +if (lean_obj_tag(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; uint8_t x_26; +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); +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_ctor_get(x_20, 10); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 2); +lean_inc(x_23); +lean_dec(x_22); +lean_inc(x_1); +x_24 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_1); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_box(0); +x_29 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(x_23, x_2, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +return x_29; +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_24, 1); +x_32 = lean_ctor_get(x_24, 0); +lean_dec(x_32); +x_33 = l_Lean_Meta_Grind_Arith_Cutsat_getVar(x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_31); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_33, 0); +x_36 = lean_ctor_get(x_33, 1); +x_37 = l_Lean_MessageData_ofExpr(x_35); +x_38 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_37); +lean_ctor_set(x_33, 0, x_38); +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_39); +lean_ctor_set(x_24, 0, x_33); +x_40 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_1, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_36); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(x_23, x_2, x_41, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_42); +lean_dec(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; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_44 = lean_ctor_get(x_33, 0); +x_45 = lean_ctor_get(x_33, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_33); +x_46 = l_Lean_MessageData_ofExpr(x_44); +x_47 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +lean_ctor_set_tag(x_24, 7); +lean_ctor_set(x_24, 1, x_49); +lean_ctor_set(x_24, 0, x_48); +x_50 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_1, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_45); +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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(x_23, x_2, x_51, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_52); +lean_dec(x_51); +return x_53; +} +} +else +{ +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_54 = lean_ctor_get(x_24, 1); +lean_inc(x_54); +lean_dec(x_24); +x_55 = l_Lean_Meta_Grind_Arith_Cutsat_getVar(x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_54); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = l_Lean_MessageData_ofExpr(x_56); +x_60 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2; +if (lean_is_scalar(x_58)) { + x_61 = lean_alloc_ctor(7, 2, 0); +} else { + x_61 = x_58; + lean_ctor_set_tag(x_61, 7); +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_1, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_57); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(x_23, x_2, x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_66); +lean_dec(x_65); +return x_67; +} +} +} +else +{ +lean_object* x_68; uint8_t x_69; +lean_dec(x_1); +x_68 = lean_ctor_get(x_15, 1); +lean_inc(x_68); +lean_dec(x_15); +x_69 = !lean_is_exclusive(x_17); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_17, 0); +x_71 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict(x_70, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_68); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_71, 0, x_17); +return x_71; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); +lean_dec(x_71); +lean_ctor_set(x_17, 0, x_2); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_17); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +else +{ +uint8_t x_76; +lean_free_object(x_17); +lean_dec(x_2); +x_76 = !lean_is_exclusive(x_71); +if (x_76 == 0) +{ +return x_71; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_71, 0); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_71); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_17, 0); +lean_inc(x_80); +lean_dec(x_17); +x_81 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict(x_80, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_68); +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, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_83 = x_81; +} else { + lean_dec_ref(x_81); + x_83 = lean_box(0); +} +x_84 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_84, 0, x_2); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_2); +x_86 = lean_ctor_get(x_81, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_81, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_88 = x_81; +} else { + lean_dec_ref(x_81); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +} +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__1() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = lean_box(0); x_2 = lean_alloc_ctor(1, 1, 0); @@ -19284,11 +21797,11 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__1; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__1; x_2 = lean_box(0); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19296,65 +21809,39 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__2; 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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___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_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_get_x27(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 12); +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_Meta_Grind_isInconsistent(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_box(0); -x_19 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 1); -lean_inc(x_20); -lean_dec(x_14); -x_21 = lean_ctor_get(x_16, 0); -lean_inc(x_21); +x_17 = lean_unbox(x_16); lean_dec(x_16); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_22 = l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_22) == 0) +if (x_17 == 0) { -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_unbox(x_23); -lean_dec(x_23); -if (x_24 == 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_dec(x_15); +x_19 = lean_box(0); +x_20 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2(x_1, x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); +return x_20; +} +else { -uint8_t x_25; +uint8_t x_21; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -19363,99 +21850,56 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec(x_2); lean_dec(x_1); -x_25 = !lean_is_exclusive(x_22); -if (x_25 == 0) +x_21 = !lean_is_exclusive(x_15); +if (x_21 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_22, 0); -lean_dec(x_26); -x_27 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3; -lean_ctor_set(x_22, 0, x_27); -return x_22; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_15, 0); lean_dec(x_22); -x_29 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3; -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; -} +x_23 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3; +lean_ctor_set(x_15, 0, x_23); +return x_15; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); -lean_dec(x_22); -x_32 = lean_box(0); -x_33 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(x_1, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_31); -return x_33; -} -} -else -{ -uint8_t x_34; -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_34 = !lean_is_exclusive(x_22); -if (x_34 == 0) -{ -return x_22; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_22, 0); -x_36 = lean_ctor_get(x_22, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_22); -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_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_dec(x_15); +x_25 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } } } } -} -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___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_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_Meta_Grind_isInconsistent(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -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_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_hasAssignment(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unbox(x_16); +lean_dec(x_16); +if (x_17 == 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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -return x_19; +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_dec(x_15); +x_19 = lean_box(0); +x_20 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3(x_1, x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); +return x_20; } else { -uint8_t x_20; +uint8_t x_21; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -19464,50 +21908,68 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec(x_2); lean_dec(x_1); -x_20 = !lean_is_exclusive(x_14); -if (x_20 == 0) +x_21 = !lean_is_exclusive(x_15); +if (x_21 == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_14, 0); -lean_dec(x_21); -x_22 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3; -lean_ctor_set(x_14, 0, x_22); -return x_14; +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_15, 0); +lean_dec(x_22); +x_23 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3; +lean_ctor_set(x_15, 0, x_23); +return x_15; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 1); -lean_inc(x_23); -lean_dec(x_14); -x_24 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3; -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -return x_25; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_dec(x_15); +x_25 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } } } } +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("main loop", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_2); -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_hasAssignment(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -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) +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__2; +x_15 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +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_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); +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_dec(x_15); +x_19 = lean_box(0); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -19518,15 +21980,15 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_19 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); +x_20 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__4(x_14, x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); if (lean_obj_tag(x_20) == 0) { -uint8_t x_21; +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -19537,50 +21999,50 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 0); -lean_dec(x_22); +lean_object* x_23; lean_object* x_24; x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_19, 0, x_23); -return x_19; +lean_dec(x_23); +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +lean_dec(x_21); +lean_ctor_set(x_20, 0, x_24); +return x_20; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_dec(x_19); -x_25 = lean_ctor_get(x_20, 0); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_20, 1); lean_inc(x_25); lean_dec(x_20); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; +x_26 = lean_ctor_get(x_21, 0); +lean_inc(x_26); +lean_dec(x_21); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_dec(x_19); -x_28 = lean_ctor_get(x_20, 0); +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_20, 1); lean_inc(x_28); lean_dec(x_20); -x_2 = x_28; -x_13 = x_27; +x_29 = lean_ctor_get(x_21, 0); +lean_inc(x_29); +lean_dec(x_21); +x_2 = x_29; +x_13 = x_28; goto _start; } } else { -uint8_t x_30; +uint8_t x_31; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -19591,29 +22053,59 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_19); -if (x_30 == 0) +x_31 = !lean_is_exclusive(x_20); +if (x_31 == 0) { -return x_19; +return x_20; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_19, 0); -x_32 = lean_ctor_get(x_19, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_20, 0); +x_33 = lean_ctor_get(x_20, 1); +lean_inc(x_33); lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_19); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_dec(x_20); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } else { -uint8_t 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_35 = lean_ctor_get(x_15, 1); +lean_inc(x_35); +lean_dec(x_15); +x_36 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__2; +x_37 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_14, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35); +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_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_40 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__4(x_14, x_1, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); +lean_dec(x_38); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -19624,27 +22116,78 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_14); -if (x_34 == 0) +x_42 = !lean_is_exclusive(x_40); +if (x_42 == 0) { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_14, 0); -lean_dec(x_35); -x_36 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2; -lean_ctor_set(x_14, 0, x_36); -return x_14; +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_40, 0); +lean_dec(x_43); +x_44 = lean_ctor_get(x_41, 0); +lean_inc(x_44); +lean_dec(x_41); +lean_ctor_set(x_40, 0, x_44); +return x_40; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_14, 1); -lean_inc(x_37); -lean_dec(x_14); -x_38 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2; -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -return x_39; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = lean_ctor_get(x_41, 0); +lean_inc(x_46); +lean_dec(x_41); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +return x_47; +} +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_40, 1); +lean_inc(x_48); +lean_dec(x_40); +x_49 = lean_ctor_get(x_41, 0); +lean_inc(x_49); +lean_dec(x_41); +x_2 = x_49; +x_13 = x_48; +goto _start; +} +} +else +{ +uint8_t x_51; +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_51 = !lean_is_exclusive(x_40); +if (x_51 == 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_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; +} } } } @@ -19744,37 +22287,48 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_3); -x_15 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__1(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_2); -return x_15; +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_3); -x_15 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_2); -return x_15; +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_3); -x_15 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_2); -return x_15; +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___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, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__4(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_3); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -19797,6 +22351,16 @@ x_13 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_12, x_2, x_3, x_4, x return x_13; } } +static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; double x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = 0; +x_3 = l_Float_ofScientific(x_1, x_2, x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -19831,9 +22395,9 @@ if (x_24 == 0) { lean_object* x_25; double x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; x_25 = lean_ctor_get(x_18, 0); -x_26 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; +x_26 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; x_27 = 0; -x_28 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_28 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_29 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_29, 0, x_1); lean_ctor_set(x_29, 1, x_28); @@ -19881,9 +22445,9 @@ x_40 = lean_ctor_get_uint64(x_18, sizeof(void*)*1); x_41 = lean_ctor_get(x_18, 0); lean_inc(x_41); lean_dec(x_18); -x_42 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; +x_42 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; x_43 = 0; -x_44 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_44 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_45 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_45, 0, x_1); lean_ctor_set(x_45, 1, x_44); @@ -19953,9 +22517,9 @@ if (lean_is_exclusive(x_18)) { lean_dec_ref(x_18); x_64 = lean_box(0); } -x_65 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; +x_65 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; x_66 = 0; -x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_67 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_68 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_68, 0, x_1); lean_ctor_set(x_68, 1, x_67); @@ -20053,9 +22617,9 @@ if (lean_is_exclusive(x_18)) { lean_dec_ref(x_18); x_90 = lean_box(0); } -x_91 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1; +x_91 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; x_92 = 0; -x_93 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_93 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_94 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_94, 0, x_1); lean_ctor_set(x_94, 1, x_93); @@ -20181,11 +22745,11 @@ x_36 = lean_ctor_get(x_30, 1); x_37 = lean_ctor_get(x_30, 0); lean_dec(x_37); x_38 = l_Lean_quoteIfNotAtom(x_28); -x_39 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_39 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; lean_ctor_set_tag(x_30, 7); lean_ctor_set(x_30, 1, x_38); lean_ctor_set(x_30, 0, x_39); -x_40 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8; +x_40 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; lean_ctor_set_tag(x_19, 7); lean_ctor_set(x_19, 1, x_40); lean_ctor_set(x_19, 0, x_30); @@ -20200,7 +22764,7 @@ x_44 = lean_ctor_get(x_29, 0); lean_inc(x_44); lean_dec(x_29); x_45 = l___private_Init_Data_Repr_0__Nat_reprFast(x_41); -x_46 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_46 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_47 = lean_int_dec_lt(x_44, x_46); if (x_47 == 0) { @@ -20208,10 +22772,10 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean x_48 = lean_nat_abs(x_44); lean_dec(x_44); x_49 = l___private_Init_Data_Repr_0__Nat_reprFast(x_48); -x_50 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_50 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_51 = lean_string_append(x_50, x_49); lean_dec(x_49); -x_52 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_52 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_53 = lean_string_append(x_51, x_52); x_54 = lean_string_append(x_53, x_45); lean_dec(x_45); @@ -20245,13 +22809,13 @@ lean_dec(x_63); x_65 = lean_nat_add(x_64, x_42); lean_dec(x_64); x_66 = l___private_Init_Data_Repr_0__Nat_reprFast(x_65); -x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_68 = lean_string_append(x_67, x_66); lean_dec(x_66); -x_69 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_69 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_70 = lean_string_append(x_69, x_68); lean_dec(x_68); -x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_72 = lean_string_append(x_70, x_71); x_73 = lean_string_append(x_72, x_45); lean_dec(x_45); @@ -20283,7 +22847,7 @@ lean_dec(x_41); x_82 = lean_ctor_get(x_29, 0); lean_inc(x_82); lean_dec(x_29); -x_83 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_83 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_84 = lean_int_dec_lt(x_82, x_83); if (x_84 == 0) { @@ -20320,7 +22884,7 @@ lean_dec(x_94); x_96 = lean_nat_add(x_95, x_42); lean_dec(x_95); x_97 = l___private_Init_Data_Repr_0__Nat_reprFast(x_96); -x_98 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_98 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_99 = lean_string_append(x_98, x_97); lean_dec(x_97); x_100 = lean_alloc_ctor(3, 1, 0); @@ -20351,11 +22915,11 @@ x_107 = lean_ctor_get(x_30, 1); lean_inc(x_107); lean_dec(x_30); x_108 = l_Lean_quoteIfNotAtom(x_28); -x_109 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_109 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; x_110 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_110, 0, x_109); lean_ctor_set(x_110, 1, x_108); -x_111 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8; +x_111 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; lean_ctor_set_tag(x_19, 7); lean_ctor_set(x_19, 1, x_111); lean_ctor_set(x_19, 0, x_110); @@ -20370,7 +22934,7 @@ x_115 = lean_ctor_get(x_29, 0); lean_inc(x_115); lean_dec(x_29); x_116 = l___private_Init_Data_Repr_0__Nat_reprFast(x_112); -x_117 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_117 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_118 = lean_int_dec_lt(x_115, x_117); if (x_118 == 0) { @@ -20378,10 +22942,10 @@ lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; x_119 = lean_nat_abs(x_115); lean_dec(x_115); x_120 = l___private_Init_Data_Repr_0__Nat_reprFast(x_119); -x_121 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_121 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_122 = lean_string_append(x_121, x_120); lean_dec(x_120); -x_123 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_123 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_124 = lean_string_append(x_122, x_123); x_125 = lean_string_append(x_124, x_116); lean_dec(x_116); @@ -20415,13 +22979,13 @@ lean_dec(x_134); x_136 = lean_nat_add(x_135, x_113); lean_dec(x_135); x_137 = l___private_Init_Data_Repr_0__Nat_reprFast(x_136); -x_138 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_138 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_139 = lean_string_append(x_138, x_137); lean_dec(x_137); -x_140 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_140 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_141 = lean_string_append(x_140, x_139); lean_dec(x_139); -x_142 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_142 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_143 = lean_string_append(x_141, x_142); x_144 = lean_string_append(x_143, x_116); lean_dec(x_116); @@ -20453,7 +23017,7 @@ lean_dec(x_112); x_153 = lean_ctor_get(x_29, 0); lean_inc(x_153); lean_dec(x_29); -x_154 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_154 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_155 = lean_int_dec_lt(x_153, x_154); if (x_155 == 0) { @@ -20490,7 +23054,7 @@ lean_dec(x_165); x_167 = lean_nat_add(x_166, x_113); lean_dec(x_166); x_168 = l___private_Init_Data_Repr_0__Nat_reprFast(x_167); -x_169 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_169 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_170 = lean_string_append(x_169, x_168); lean_dec(x_168); x_171 = lean_alloc_ctor(3, 1, 0); @@ -20557,7 +23121,7 @@ if (lean_is_exclusive(x_180)) { x_186 = lean_box(0); } x_187 = l_Lean_quoteIfNotAtom(x_178); -x_188 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; +x_188 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; if (lean_is_scalar(x_186)) { x_189 = lean_alloc_ctor(7, 2, 0); } else { @@ -20566,7 +23130,7 @@ if (lean_is_scalar(x_186)) { } lean_ctor_set(x_189, 0, x_188); lean_ctor_set(x_189, 1, x_187); -x_190 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8; +x_190 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; x_191 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_191, 0, x_189); lean_ctor_set(x_191, 1, x_190); @@ -20581,7 +23145,7 @@ x_195 = lean_ctor_get(x_179, 0); lean_inc(x_195); lean_dec(x_179); x_196 = l___private_Init_Data_Repr_0__Nat_reprFast(x_192); -x_197 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_197 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_198 = lean_int_dec_lt(x_195, x_197); if (x_198 == 0) { @@ -20589,10 +23153,10 @@ lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; x_199 = lean_nat_abs(x_195); lean_dec(x_195); x_200 = l___private_Init_Data_Repr_0__Nat_reprFast(x_199); -x_201 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_201 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_202 = lean_string_append(x_201, x_200); lean_dec(x_200); -x_203 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_203 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_204 = lean_string_append(x_202, x_203); x_205 = lean_string_append(x_204, x_196); lean_dec(x_196); @@ -20626,13 +23190,13 @@ lean_dec(x_214); x_216 = lean_nat_add(x_215, x_193); lean_dec(x_215); x_217 = l___private_Init_Data_Repr_0__Nat_reprFast(x_216); -x_218 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_218 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_219 = lean_string_append(x_218, x_217); lean_dec(x_217); -x_220 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; +x_220 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; x_221 = lean_string_append(x_220, x_219); lean_dec(x_219); -x_222 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10; +x_222 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; x_223 = lean_string_append(x_221, x_222); x_224 = lean_string_append(x_223, x_196); lean_dec(x_196); @@ -20664,7 +23228,7 @@ lean_dec(x_192); x_233 = lean_ctor_get(x_179, 0); lean_inc(x_233); lean_dec(x_179); -x_234 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9; +x_234 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; x_235 = lean_int_dec_lt(x_233, x_234); if (x_235 == 0) { @@ -20701,7 +23265,7 @@ lean_dec(x_245); x_247 = lean_nat_add(x_246, x_193); lean_dec(x_246); x_248 = l___private_Init_Data_Repr_0__Nat_reprFast(x_247); -x_249 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11; +x_249 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; x_250 = lean_string_append(x_249, x_248); lean_dec(x_248); x_251 = lean_alloc_ctor(3, 1, 0); @@ -20754,8 +23318,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__2( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__1; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; x_3 = l_Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -20995,759 +23559,58 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -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_st_ref_take(x_5, x_13); -x_15 = lean_ctor_get(x_14, 0); +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_Meta_Grind_isInconsistent(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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); -x_16 = lean_ctor_get(x_15, 13); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_15, 13); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) -{ -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_16, 1); -lean_dec(x_22); -x_23 = !lean_is_exclusive(x_17); -if (x_23 == 0) -{ -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; lean_object* x_31; -x_24 = lean_ctor_get(x_17, 10); -lean_dec(x_24); -lean_ctor_set(x_17, 10, x_1); -x_25 = lean_st_ref_set(x_5, x_15, x_18); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_st_mk_ref(x_2, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = 1; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_28); -x_31 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_30, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29); -if (lean_obj_tag(x_31) == 0) -{ -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_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_st_ref_get(x_28, x_32); -lean_dec(x_28); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Meta_Grind_isInconsistent(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_34); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_unbox(x_36); -lean_dec(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -x_39 = lean_box(0); -x_40 = lean_apply_10(x_3, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_38); -return x_40; +lean_dec(x_12); +x_16 = lean_box(0); +x_17 = lean_apply_10(x_1, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +return x_17; } else { -uint8_t x_41; -lean_dec(x_12); -lean_dec(x_11); +uint8_t x_18; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_41 = !lean_is_exclusive(x_35); -if (x_41 == 0) +lean_dec(x_1); +x_18 = !lean_is_exclusive(x_12); +if (x_18 == 0) { -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_35, 0); -lean_dec(x_42); -x_43 = lean_box(0); -lean_ctor_set(x_35, 0, x_43); -return x_35; +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_12, 0); +lean_dec(x_19); +x_20 = lean_box(0); +lean_ctor_set(x_12, 0, x_20); +return x_12; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_35, 1); -lean_inc(x_44); -lean_dec(x_35); -x_45 = lean_box(0); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -return x_46; -} -} -} -else -{ -uint8_t x_47; -lean_dec(x_28); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); 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_3); -x_47 = !lean_is_exclusive(x_31); -if (x_47 == 0) -{ -return x_31; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_31, 0); -x_49 = lean_ctor_get(x_31, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_31); -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; -} -} -} -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; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; -x_51 = lean_ctor_get(x_17, 0); -x_52 = lean_ctor_get(x_17, 1); -x_53 = lean_ctor_get(x_17, 2); -x_54 = lean_ctor_get(x_17, 3); -x_55 = lean_ctor_get(x_17, 4); -x_56 = lean_ctor_get(x_17, 5); -x_57 = lean_ctor_get(x_17, 6); -x_58 = lean_ctor_get(x_17, 7); -x_59 = lean_ctor_get(x_17, 8); -x_60 = lean_ctor_get(x_17, 9); -x_61 = lean_ctor_get(x_17, 11); -x_62 = lean_ctor_get_uint8(x_17, sizeof(void*)*14); -x_63 = lean_ctor_get(x_17, 12); -x_64 = lean_ctor_get(x_17, 13); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_17); -x_65 = lean_alloc_ctor(0, 14, 1); -lean_ctor_set(x_65, 0, x_51); -lean_ctor_set(x_65, 1, x_52); -lean_ctor_set(x_65, 2, x_53); -lean_ctor_set(x_65, 3, x_54); -lean_ctor_set(x_65, 4, x_55); -lean_ctor_set(x_65, 5, x_56); -lean_ctor_set(x_65, 6, x_57); -lean_ctor_set(x_65, 7, x_58); -lean_ctor_set(x_65, 8, x_59); -lean_ctor_set(x_65, 9, x_60); -lean_ctor_set(x_65, 10, x_1); -lean_ctor_set(x_65, 11, x_61); -lean_ctor_set(x_65, 12, x_63); -lean_ctor_set(x_65, 13, x_64); -lean_ctor_set_uint8(x_65, sizeof(void*)*14, x_62); -lean_ctor_set(x_16, 1, x_65); -x_66 = lean_st_ref_set(x_5, x_15, x_18); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_68 = lean_st_mk_ref(x_2, x_67); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = 1; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_69); -x_72 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_71, x_69, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_70); -if (lean_obj_tag(x_72) == 0) -{ -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_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_st_ref_get(x_69, x_73); -lean_dec(x_69); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = l_Lean_Meta_Grind_isInconsistent(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_75); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_unbox(x_77); -lean_dec(x_77); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_dec(x_76); -x_80 = lean_box(0); -x_81 = lean_apply_10(x_3, x_80, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_79); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -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_3); -x_82 = lean_ctor_get(x_76, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_83 = x_76; -} else { - lean_dec_ref(x_76); - x_83 = lean_box(0); -} -x_84 = lean_box(0); -if (lean_is_scalar(x_83)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_83; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_82); -return x_85; -} -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_69); -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_3); -x_86 = lean_ctor_get(x_72, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_72, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_88 = x_72; -} else { - lean_dec_ref(x_72); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(1, 2, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); -return x_89; -} -} -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_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; uint8_t x_113; lean_object* x_114; -x_90 = lean_ctor_get(x_16, 0); -lean_inc(x_90); -lean_dec(x_16); -x_91 = lean_ctor_get(x_17, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_17, 1); -lean_inc(x_92); -x_93 = lean_ctor_get(x_17, 2); -lean_inc(x_93); -x_94 = lean_ctor_get(x_17, 3); -lean_inc(x_94); -x_95 = lean_ctor_get(x_17, 4); -lean_inc(x_95); -x_96 = lean_ctor_get(x_17, 5); -lean_inc(x_96); -x_97 = lean_ctor_get(x_17, 6); -lean_inc(x_97); -x_98 = lean_ctor_get(x_17, 7); -lean_inc(x_98); -x_99 = lean_ctor_get(x_17, 8); -lean_inc(x_99); -x_100 = lean_ctor_get(x_17, 9); -lean_inc(x_100); -x_101 = lean_ctor_get(x_17, 11); -lean_inc(x_101); -x_102 = lean_ctor_get_uint8(x_17, sizeof(void*)*14); -x_103 = lean_ctor_get(x_17, 12); -lean_inc(x_103); -x_104 = lean_ctor_get(x_17, 13); -lean_inc(x_104); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - lean_ctor_release(x_17, 2); - lean_ctor_release(x_17, 3); - lean_ctor_release(x_17, 4); - lean_ctor_release(x_17, 5); - lean_ctor_release(x_17, 6); - lean_ctor_release(x_17, 7); - lean_ctor_release(x_17, 8); - lean_ctor_release(x_17, 9); - lean_ctor_release(x_17, 10); - lean_ctor_release(x_17, 11); - lean_ctor_release(x_17, 12); - lean_ctor_release(x_17, 13); - x_105 = x_17; -} else { - lean_dec_ref(x_17); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(0, 14, 1); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_91); -lean_ctor_set(x_106, 1, x_92); -lean_ctor_set(x_106, 2, x_93); -lean_ctor_set(x_106, 3, x_94); -lean_ctor_set(x_106, 4, x_95); -lean_ctor_set(x_106, 5, x_96); -lean_ctor_set(x_106, 6, x_97); -lean_ctor_set(x_106, 7, x_98); -lean_ctor_set(x_106, 8, x_99); -lean_ctor_set(x_106, 9, x_100); -lean_ctor_set(x_106, 10, x_1); -lean_ctor_set(x_106, 11, x_101); -lean_ctor_set(x_106, 12, x_103); -lean_ctor_set(x_106, 13, x_104); -lean_ctor_set_uint8(x_106, sizeof(void*)*14, x_102); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_90); -lean_ctor_set(x_107, 1, x_106); -lean_ctor_set(x_15, 13, x_107); -x_108 = lean_st_ref_set(x_5, x_15, x_18); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_110 = lean_st_mk_ref(x_2, x_109); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = 1; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_111); -x_114 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_113, x_111, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_112); -if (lean_obj_tag(x_114) == 0) -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_116 = lean_st_ref_get(x_111, x_115); -lean_dec(x_111); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -lean_dec(x_116); -x_118 = l_Lean_Meta_Grind_isInconsistent(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_117); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_unbox(x_119); -lean_dec(x_119); -if (x_120 == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_118, 1); -lean_inc(x_121); -lean_dec(x_118); -x_122 = lean_box(0); -x_123 = lean_apply_10(x_3, x_122, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_121); -return x_123; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -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_3); -x_124 = lean_ctor_get(x_118, 1); -lean_inc(x_124); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_125 = x_118; -} else { - lean_dec_ref(x_118); - x_125 = lean_box(0); -} -x_126 = lean_box(0); -if (lean_is_scalar(x_125)) { - x_127 = lean_alloc_ctor(0, 2, 0); -} else { - x_127 = x_125; -} -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_124); -return x_127; -} -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -lean_dec(x_111); -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_3); -x_128 = lean_ctor_get(x_114, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_114, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_130 = x_114; -} else { - lean_dec_ref(x_114); - x_130 = lean_box(0); -} -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); -} else { - x_131 = x_130; -} -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_129); -return x_131; -} -} -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; -x_132 = lean_ctor_get(x_15, 0); -x_133 = lean_ctor_get(x_15, 1); -x_134 = lean_ctor_get(x_15, 2); -x_135 = lean_ctor_get(x_15, 3); -x_136 = lean_ctor_get(x_15, 4); -x_137 = lean_ctor_get(x_15, 5); -x_138 = lean_ctor_get(x_15, 6); -x_139 = lean_ctor_get_uint8(x_15, sizeof(void*)*15); -x_140 = lean_ctor_get(x_15, 7); -x_141 = lean_ctor_get(x_15, 8); -x_142 = lean_ctor_get(x_15, 9); -x_143 = lean_ctor_get(x_15, 10); -x_144 = lean_ctor_get(x_15, 11); -x_145 = lean_ctor_get(x_15, 12); -x_146 = lean_ctor_get(x_15, 14); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_inc(x_138); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_15); -x_147 = lean_ctor_get(x_16, 0); -lean_inc(x_147); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_148 = x_16; -} else { - lean_dec_ref(x_16); - x_148 = lean_box(0); -} -x_149 = lean_ctor_get(x_17, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_17, 1); -lean_inc(x_150); -x_151 = lean_ctor_get(x_17, 2); -lean_inc(x_151); -x_152 = lean_ctor_get(x_17, 3); -lean_inc(x_152); -x_153 = lean_ctor_get(x_17, 4); -lean_inc(x_153); -x_154 = lean_ctor_get(x_17, 5); -lean_inc(x_154); -x_155 = lean_ctor_get(x_17, 6); -lean_inc(x_155); -x_156 = lean_ctor_get(x_17, 7); -lean_inc(x_156); -x_157 = lean_ctor_get(x_17, 8); -lean_inc(x_157); -x_158 = lean_ctor_get(x_17, 9); -lean_inc(x_158); -x_159 = lean_ctor_get(x_17, 11); -lean_inc(x_159); -x_160 = lean_ctor_get_uint8(x_17, sizeof(void*)*14); -x_161 = lean_ctor_get(x_17, 12); -lean_inc(x_161); -x_162 = lean_ctor_get(x_17, 13); -lean_inc(x_162); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - lean_ctor_release(x_17, 2); - lean_ctor_release(x_17, 3); - lean_ctor_release(x_17, 4); - lean_ctor_release(x_17, 5); - lean_ctor_release(x_17, 6); - lean_ctor_release(x_17, 7); - lean_ctor_release(x_17, 8); - lean_ctor_release(x_17, 9); - lean_ctor_release(x_17, 10); - lean_ctor_release(x_17, 11); - lean_ctor_release(x_17, 12); - lean_ctor_release(x_17, 13); - x_163 = x_17; -} else { - lean_dec_ref(x_17); - x_163 = lean_box(0); -} -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(0, 14, 1); -} else { - x_164 = x_163; -} -lean_ctor_set(x_164, 0, x_149); -lean_ctor_set(x_164, 1, x_150); -lean_ctor_set(x_164, 2, x_151); -lean_ctor_set(x_164, 3, x_152); -lean_ctor_set(x_164, 4, x_153); -lean_ctor_set(x_164, 5, x_154); -lean_ctor_set(x_164, 6, x_155); -lean_ctor_set(x_164, 7, x_156); -lean_ctor_set(x_164, 8, x_157); -lean_ctor_set(x_164, 9, x_158); -lean_ctor_set(x_164, 10, x_1); -lean_ctor_set(x_164, 11, x_159); -lean_ctor_set(x_164, 12, x_161); -lean_ctor_set(x_164, 13, x_162); -lean_ctor_set_uint8(x_164, sizeof(void*)*14, x_160); -if (lean_is_scalar(x_148)) { - x_165 = lean_alloc_ctor(0, 2, 0); -} else { - x_165 = x_148; -} -lean_ctor_set(x_165, 0, x_147); -lean_ctor_set(x_165, 1, x_164); -x_166 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_166, 0, x_132); -lean_ctor_set(x_166, 1, x_133); -lean_ctor_set(x_166, 2, x_134); -lean_ctor_set(x_166, 3, x_135); -lean_ctor_set(x_166, 4, x_136); -lean_ctor_set(x_166, 5, x_137); -lean_ctor_set(x_166, 6, x_138); -lean_ctor_set(x_166, 7, x_140); -lean_ctor_set(x_166, 8, x_141); -lean_ctor_set(x_166, 9, x_142); -lean_ctor_set(x_166, 10, x_143); -lean_ctor_set(x_166, 11, x_144); -lean_ctor_set(x_166, 12, x_145); -lean_ctor_set(x_166, 13, x_165); -lean_ctor_set(x_166, 14, x_146); -lean_ctor_set_uint8(x_166, sizeof(void*)*15, x_139); -x_167 = lean_st_ref_set(x_5, x_166, x_18); -x_168 = lean_ctor_get(x_167, 1); -lean_inc(x_168); -lean_dec(x_167); -x_169 = lean_st_mk_ref(x_2, x_168); -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_169, 1); -lean_inc(x_171); -lean_dec(x_169); -x_172 = 1; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_170); -x_173 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_172, x_170, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_171); -if (lean_obj_tag(x_173) == 0) -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -lean_dec(x_173); -x_175 = lean_st_ref_get(x_170, x_174); -lean_dec(x_170); -x_176 = lean_ctor_get(x_175, 1); -lean_inc(x_176); -lean_dec(x_175); -x_177 = l_Lean_Meta_Grind_isInconsistent(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_176); -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_unbox(x_178); -lean_dec(x_178); -if (x_179 == 0) -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_177, 1); -lean_inc(x_180); -lean_dec(x_177); -x_181 = lean_box(0); -x_182 = lean_apply_10(x_3, x_181, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_180); -return x_182; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -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_3); -x_183 = lean_ctor_get(x_177, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_184 = x_177; -} else { - lean_dec_ref(x_177); - x_184 = lean_box(0); -} -x_185 = lean_box(0); -if (lean_is_scalar(x_184)) { - x_186 = lean_alloc_ctor(0, 2, 0); -} else { - x_186 = x_184; -} -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_183); -return x_186; -} -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec(x_170); -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_3); -x_187 = lean_ctor_get(x_173, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_173, 1); -lean_inc(x_188); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_189 = x_173; -} else { - lean_dec_ref(x_173); - x_189 = lean_box(0); -} -if (lean_is_scalar(x_189)) { - x_190 = lean_alloc_ctor(1, 2, 0); -} else { - x_190 = x_189; -} -lean_ctor_set(x_190, 0, x_187); -lean_ctor_set(x_190, 1, x_188); -return x_190; +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; } } } @@ -21756,28 +23619,969 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambd _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__1___boxed), 10, 0); +x_1 = lean_mk_string_unchecked("after search int model, inconsistent: ", 38, 38); return x_1; } } static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("false", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__4; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__2; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__5; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__6; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("true", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___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_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__9; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__2; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__10; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__11; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_15 = lean_st_ref_take(x_6, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 13); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_16, 13); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_17, 1); +lean_dec(x_23); +x_24 = !lean_is_exclusive(x_18); +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; uint8_t x_31; lean_object* x_32; +x_25 = lean_ctor_get(x_18, 10); +lean_dec(x_25); +lean_ctor_set(x_18, 10, x_1); +x_26 = lean_st_ref_set(x_6, x_16, x_19); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_mk_ref(x_2, x_27); +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 = 1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_29); +x_32 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_31, x_29, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_st_ref_get(x_29, x_33); +lean_dec(x_29); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +lean_inc(x_3); +x_36 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_35); +x_37 = lean_ctor_get(x_36, 0); +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_dec(x_3); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_box(0); +x_41 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_39); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +x_43 = l_Lean_Meta_Grind_isInconsistent(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_42); +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) +{ +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_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7; +x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_46); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, 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; +x_52 = lean_ctor_get(x_43, 1); +lean_inc(x_52); +lean_dec(x_43); +x_53 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12; +x_54 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_53, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_52); +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 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_55, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_56); +lean_dec(x_55); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_29); +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_4); +lean_dec(x_3); +x_58 = !lean_is_exclusive(x_32); +if (x_58 == 0) +{ +return x_32; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_32, 0); +x_60 = lean_ctor_get(x_32, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_32); +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; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t 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; uint8_t x_82; lean_object* x_83; +x_62 = lean_ctor_get(x_18, 0); +x_63 = lean_ctor_get(x_18, 1); +x_64 = lean_ctor_get(x_18, 2); +x_65 = lean_ctor_get(x_18, 3); +x_66 = lean_ctor_get(x_18, 4); +x_67 = lean_ctor_get(x_18, 5); +x_68 = lean_ctor_get(x_18, 6); +x_69 = lean_ctor_get(x_18, 7); +x_70 = lean_ctor_get(x_18, 8); +x_71 = lean_ctor_get(x_18, 9); +x_72 = lean_ctor_get(x_18, 11); +x_73 = lean_ctor_get_uint8(x_18, sizeof(void*)*14); +x_74 = lean_ctor_get(x_18, 12); +x_75 = lean_ctor_get(x_18, 13); +lean_inc(x_75); +lean_inc(x_74); +lean_inc(x_72); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_18); +x_76 = lean_alloc_ctor(0, 14, 1); +lean_ctor_set(x_76, 0, x_62); +lean_ctor_set(x_76, 1, x_63); +lean_ctor_set(x_76, 2, x_64); +lean_ctor_set(x_76, 3, x_65); +lean_ctor_set(x_76, 4, x_66); +lean_ctor_set(x_76, 5, x_67); +lean_ctor_set(x_76, 6, x_68); +lean_ctor_set(x_76, 7, x_69); +lean_ctor_set(x_76, 8, x_70); +lean_ctor_set(x_76, 9, x_71); +lean_ctor_set(x_76, 10, x_1); +lean_ctor_set(x_76, 11, x_72); +lean_ctor_set(x_76, 12, x_74); +lean_ctor_set(x_76, 13, x_75); +lean_ctor_set_uint8(x_76, sizeof(void*)*14, x_73); +lean_ctor_set(x_17, 1, x_76); +x_77 = lean_st_ref_set(x_6, x_16, x_19); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = lean_st_mk_ref(x_2, x_78); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = 1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_80); +x_83 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_82, x_80, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_81); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +x_85 = lean_st_ref_get(x_80, x_84); +lean_dec(x_80); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +lean_inc(x_3); +x_87 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_unbox(x_88); +lean_dec(x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_3); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +lean_dec(x_87); +x_91 = lean_box(0); +x_92 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_91, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_90); +return x_92; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_93 = lean_ctor_get(x_87, 1); +lean_inc(x_93); +lean_dec(x_87); +x_94 = l_Lean_Meta_Grind_isInconsistent(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_unbox(x_95); +lean_dec(x_95); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_dec(x_94); +x_98 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7; +x_99 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_98, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_97); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_100, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_101); +lean_dec(x_100); +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; +x_103 = lean_ctor_get(x_94, 1); +lean_inc(x_103); +lean_dec(x_94); +x_104 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12; +x_105 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_104, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_103); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_106, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_107); +lean_dec(x_106); +return x_108; +} +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_80); +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_4); +lean_dec(x_3); +x_109 = lean_ctor_get(x_83, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_83, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_111 = x_83; +} else { + lean_dec_ref(x_83); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_109); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; +x_113 = lean_ctor_get(x_17, 0); +lean_inc(x_113); +lean_dec(x_17); +x_114 = lean_ctor_get(x_18, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_18, 1); +lean_inc(x_115); +x_116 = lean_ctor_get(x_18, 2); +lean_inc(x_116); +x_117 = lean_ctor_get(x_18, 3); +lean_inc(x_117); +x_118 = lean_ctor_get(x_18, 4); +lean_inc(x_118); +x_119 = lean_ctor_get(x_18, 5); +lean_inc(x_119); +x_120 = lean_ctor_get(x_18, 6); +lean_inc(x_120); +x_121 = lean_ctor_get(x_18, 7); +lean_inc(x_121); +x_122 = lean_ctor_get(x_18, 8); +lean_inc(x_122); +x_123 = lean_ctor_get(x_18, 9); +lean_inc(x_123); +x_124 = lean_ctor_get(x_18, 11); +lean_inc(x_124); +x_125 = lean_ctor_get_uint8(x_18, sizeof(void*)*14); +x_126 = lean_ctor_get(x_18, 12); +lean_inc(x_126); +x_127 = lean_ctor_get(x_18, 13); +lean_inc(x_127); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + lean_ctor_release(x_18, 4); + lean_ctor_release(x_18, 5); + lean_ctor_release(x_18, 6); + lean_ctor_release(x_18, 7); + lean_ctor_release(x_18, 8); + lean_ctor_release(x_18, 9); + lean_ctor_release(x_18, 10); + lean_ctor_release(x_18, 11); + lean_ctor_release(x_18, 12); + lean_ctor_release(x_18, 13); + x_128 = x_18; +} else { + lean_dec_ref(x_18); + x_128 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(0, 14, 1); +} else { + x_129 = x_128; +} +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_115); +lean_ctor_set(x_129, 2, x_116); +lean_ctor_set(x_129, 3, x_117); +lean_ctor_set(x_129, 4, x_118); +lean_ctor_set(x_129, 5, x_119); +lean_ctor_set(x_129, 6, x_120); +lean_ctor_set(x_129, 7, x_121); +lean_ctor_set(x_129, 8, x_122); +lean_ctor_set(x_129, 9, x_123); +lean_ctor_set(x_129, 10, x_1); +lean_ctor_set(x_129, 11, x_124); +lean_ctor_set(x_129, 12, x_126); +lean_ctor_set(x_129, 13, x_127); +lean_ctor_set_uint8(x_129, sizeof(void*)*14, x_125); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_113); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set(x_16, 13, x_130); +x_131 = lean_st_ref_set(x_6, x_16, x_19); +x_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +lean_dec(x_131); +x_133 = lean_st_mk_ref(x_2, x_132); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = 1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_134); +x_137 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_136, x_134, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_135); +if (lean_obj_tag(x_137) == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec(x_137); +x_139 = lean_st_ref_get(x_134, x_138); +lean_dec(x_134); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +lean_dec(x_139); +lean_inc(x_3); +x_141 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_140); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_unbox(x_142); +lean_dec(x_142); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_3); +x_144 = lean_ctor_get(x_141, 1); +lean_inc(x_144); +lean_dec(x_141); +x_145 = lean_box(0); +x_146 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_145, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_144); +return x_146; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_147 = lean_ctor_get(x_141, 1); +lean_inc(x_147); +lean_dec(x_141); +x_148 = l_Lean_Meta_Grind_isInconsistent(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_147); +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_unbox(x_149); +lean_dec(x_149); +if (x_150 == 0) +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_151 = lean_ctor_get(x_148, 1); +lean_inc(x_151); +lean_dec(x_148); +x_152 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7; +x_153 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_152, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_151); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_154, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_155); +lean_dec(x_154); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_157 = lean_ctor_get(x_148, 1); +lean_inc(x_157); +lean_dec(x_148); +x_158 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12; +x_159 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_158, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_157); +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_160, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_161); +lean_dec(x_160); +return x_162; +} +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_134); +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_4); +lean_dec(x_3); +x_163 = lean_ctor_get(x_137, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_137, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_165 = x_137; +} else { + lean_dec_ref(x_137); + x_165 = lean_box(0); +} +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 2, 0); +} else { + x_166 = x_165; +} +lean_ctor_set(x_166, 0, x_163); +lean_ctor_set(x_166, 1, x_164); +return x_166; +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; +x_167 = lean_ctor_get(x_16, 0); +x_168 = lean_ctor_get(x_16, 1); +x_169 = lean_ctor_get(x_16, 2); +x_170 = lean_ctor_get(x_16, 3); +x_171 = lean_ctor_get(x_16, 4); +x_172 = lean_ctor_get(x_16, 5); +x_173 = lean_ctor_get(x_16, 6); +x_174 = lean_ctor_get_uint8(x_16, sizeof(void*)*15); +x_175 = lean_ctor_get(x_16, 7); +x_176 = lean_ctor_get(x_16, 8); +x_177 = lean_ctor_get(x_16, 9); +x_178 = lean_ctor_get(x_16, 10); +x_179 = lean_ctor_get(x_16, 11); +x_180 = lean_ctor_get(x_16, 12); +x_181 = lean_ctor_get(x_16, 14); +lean_inc(x_181); +lean_inc(x_180); +lean_inc(x_179); +lean_inc(x_178); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); +lean_inc(x_173); +lean_inc(x_172); +lean_inc(x_171); +lean_inc(x_170); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_16); +x_182 = lean_ctor_get(x_17, 0); +lean_inc(x_182); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_183 = x_17; +} else { + lean_dec_ref(x_17); + x_183 = lean_box(0); +} +x_184 = lean_ctor_get(x_18, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_18, 1); +lean_inc(x_185); +x_186 = lean_ctor_get(x_18, 2); +lean_inc(x_186); +x_187 = lean_ctor_get(x_18, 3); +lean_inc(x_187); +x_188 = lean_ctor_get(x_18, 4); +lean_inc(x_188); +x_189 = lean_ctor_get(x_18, 5); +lean_inc(x_189); +x_190 = lean_ctor_get(x_18, 6); +lean_inc(x_190); +x_191 = lean_ctor_get(x_18, 7); +lean_inc(x_191); +x_192 = lean_ctor_get(x_18, 8); +lean_inc(x_192); +x_193 = lean_ctor_get(x_18, 9); +lean_inc(x_193); +x_194 = lean_ctor_get(x_18, 11); +lean_inc(x_194); +x_195 = lean_ctor_get_uint8(x_18, sizeof(void*)*14); +x_196 = lean_ctor_get(x_18, 12); +lean_inc(x_196); +x_197 = lean_ctor_get(x_18, 13); +lean_inc(x_197); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + lean_ctor_release(x_18, 4); + lean_ctor_release(x_18, 5); + lean_ctor_release(x_18, 6); + lean_ctor_release(x_18, 7); + lean_ctor_release(x_18, 8); + lean_ctor_release(x_18, 9); + lean_ctor_release(x_18, 10); + lean_ctor_release(x_18, 11); + lean_ctor_release(x_18, 12); + lean_ctor_release(x_18, 13); + x_198 = x_18; +} else { + lean_dec_ref(x_18); + x_198 = lean_box(0); +} +if (lean_is_scalar(x_198)) { + x_199 = lean_alloc_ctor(0, 14, 1); +} else { + x_199 = x_198; +} +lean_ctor_set(x_199, 0, x_184); +lean_ctor_set(x_199, 1, x_185); +lean_ctor_set(x_199, 2, x_186); +lean_ctor_set(x_199, 3, x_187); +lean_ctor_set(x_199, 4, x_188); +lean_ctor_set(x_199, 5, x_189); +lean_ctor_set(x_199, 6, x_190); +lean_ctor_set(x_199, 7, x_191); +lean_ctor_set(x_199, 8, x_192); +lean_ctor_set(x_199, 9, x_193); +lean_ctor_set(x_199, 10, x_1); +lean_ctor_set(x_199, 11, x_194); +lean_ctor_set(x_199, 12, x_196); +lean_ctor_set(x_199, 13, x_197); +lean_ctor_set_uint8(x_199, sizeof(void*)*14, x_195); +if (lean_is_scalar(x_183)) { + x_200 = lean_alloc_ctor(0, 2, 0); +} else { + x_200 = x_183; +} +lean_ctor_set(x_200, 0, x_182); +lean_ctor_set(x_200, 1, x_199); +x_201 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_201, 0, x_167); +lean_ctor_set(x_201, 1, x_168); +lean_ctor_set(x_201, 2, x_169); +lean_ctor_set(x_201, 3, x_170); +lean_ctor_set(x_201, 4, x_171); +lean_ctor_set(x_201, 5, x_172); +lean_ctor_set(x_201, 6, x_173); +lean_ctor_set(x_201, 7, x_175); +lean_ctor_set(x_201, 8, x_176); +lean_ctor_set(x_201, 9, x_177); +lean_ctor_set(x_201, 10, x_178); +lean_ctor_set(x_201, 11, x_179); +lean_ctor_set(x_201, 12, x_180); +lean_ctor_set(x_201, 13, x_200); +lean_ctor_set(x_201, 14, x_181); +lean_ctor_set_uint8(x_201, sizeof(void*)*15, x_174); +x_202 = lean_st_ref_set(x_6, x_201, x_19); +x_203 = lean_ctor_get(x_202, 1); +lean_inc(x_203); +lean_dec(x_202); +x_204 = lean_st_mk_ref(x_2, x_203); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = 1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_205); +x_208 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(x_207, x_205, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_206); +if (lean_obj_tag(x_208) == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; +x_209 = lean_ctor_get(x_208, 1); +lean_inc(x_209); +lean_dec(x_208); +x_210 = lean_st_ref_get(x_205, x_209); +lean_dec(x_205); +x_211 = lean_ctor_get(x_210, 1); +lean_inc(x_211); +lean_dec(x_210); +lean_inc(x_3); +x_212 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_211); +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_unbox(x_213); +lean_dec(x_213); +if (x_214 == 0) +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; +lean_dec(x_3); +x_215 = lean_ctor_get(x_212, 1); +lean_inc(x_215); +lean_dec(x_212); +x_216 = lean_box(0); +x_217 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_216, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_215); +return x_217; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; +x_218 = lean_ctor_get(x_212, 1); +lean_inc(x_218); +lean_dec(x_212); +x_219 = l_Lean_Meta_Grind_isInconsistent(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_218); +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_unbox(x_220); +lean_dec(x_220); +if (x_221 == 0) +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_222 = lean_ctor_get(x_219, 1); +lean_inc(x_222); +lean_dec(x_219); +x_223 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7; +x_224 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_223, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_222); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_225, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_226); +lean_dec(x_225); +return x_227; +} +else +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_228 = lean_ctor_get(x_219, 1); +lean_inc(x_228); +lean_dec(x_219); +x_229 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12; +x_230 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_3, x_229, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_228); +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +lean_dec(x_230); +x_233 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_4, x_231, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_232); +lean_dec(x_231); +return x_233; +} +} +} +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +lean_dec(x_205); +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_4); +lean_dec(x_3); +x_234 = lean_ctor_get(x_208, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_208, 1); +lean_inc(x_235); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + lean_ctor_release(x_208, 1); + x_236 = x_208; +} else { + lean_dec_ref(x_208); + x_236 = lean_box(0); +} +if (lean_is_scalar(x_236)) { + x_237 = lean_alloc_ctor(1, 2, 0); +} else { + x_237 = x_236; +} +lean_ctor_set(x_237, 0, x_234); +lean_ctor_set(x_237, 1, x_235); +return x_237; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__1___boxed), 10, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__2() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("restart using Cooper resolution", 31, 31); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -21787,7 +24591,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__1; +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__1; x_18 = lean_ctor_get_uint8(x_15, sizeof(void*)*6 + 8); lean_dec(x_15); if (x_18 == 0) @@ -21810,7 +24614,7 @@ x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); lean_dec(x_21); x_25 = lean_box(0); -x_26 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_2, x_3, x_17, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_24); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3(x_2, x_3, x_20, x_17, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_24); return x_26; } else @@ -21819,14 +24623,14 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean x_27 = lean_ctor_get(x_21, 1); lean_inc(x_27); lean_dec(x_21); -x_28 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__3; +x_28 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__3; x_29 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_20, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_27); x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_32 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_2, x_3, x_17, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_31); +x_32 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3(x_2, x_3, x_20, x_17, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_31); lean_dec(x_30); return x_32; } @@ -21950,7 +24754,7 @@ lean_inc(x_23); lean_dec(x_20); x_24 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__3; x_25 = lean_box(0); -x_26 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3(x_18, x_24, x_10, x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4(x_18, x_24, x_10, x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); lean_dec(x_18); return x_26; } @@ -22032,20 +24836,29 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___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, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_4); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_4); lean_dec(x_1); return x_14; @@ -22084,8 +24897,28 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__4___closed__2); l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__5); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___closed__1); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_checkIsNextVar___closed__2(); @@ -22104,14 +24937,6 @@ l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_ lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7); -l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__8); -l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__9); -l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__10); -l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__11); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_skipAssignment___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_skipAssignment___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_skipAssignment___closed__1); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars_go___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars_go___closed__1(); @@ -22148,10 +24973,28 @@ l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___closed__2 = _init_l_Lean_Meta_Grind_ lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___closed__2); l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___closed__3(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_findRatVal___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___lambda__3___closed__5); l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperConflict___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4); l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDiseq___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDiseq___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDiseq___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDiseq___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperDiseq___closed__2(); @@ -22172,9 +25015,8 @@ l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__7 lean_mark_persistent(l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___closed__7); l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__3___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__3___closed__1(); l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__3___closed__2 = _init_l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__3___closed__2(); -l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___closed__1(); -lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__7___closed__1); -l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__10___closed__1(); +l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6___closed__1(); +lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__6___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__2(); @@ -22187,20 +25029,18 @@ l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__5 = _init_l lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__5); l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__6 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__6(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__1___closed__6); -l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__3); -l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__4); -l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__5(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__5); -l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___lambda__4___closed__6); l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__5); +l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__6 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__6); l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__1___closed__2(); @@ -22227,8 +25067,16 @@ l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__3 = _init_l_Lean lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__3); l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__4(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__4); -l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__8___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_processVar___closed__2); l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1___closed__1 = _init_l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1___closed__1(); lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1___closed__1); l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1___closed__2 = _init_l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__1___closed__2(); @@ -22261,28 +25109,63 @@ l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_ lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___lambda__1___closed__1); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__1); -l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__3); -l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__5); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__7___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__5); +l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__6 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__9___closed__6); l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__2); -l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__3); -l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___closed__4); l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__1); l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__2); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__2___closed__3); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__1); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__2); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___lambda__3___closed__3); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__1); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__1___closed__2); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1(); l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1(); @@ -22295,6 +25178,30 @@ l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__2 = _init_l lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__2); l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__3(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__5); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__6 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__6); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__7); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__8 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__8(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__8); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__9 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__9(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__9); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__10 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__10(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__10); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__11 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__11(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__11); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__3); l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/SearchM.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/SearchM.c index 14e888db67..a18b425932 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/SearchM.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/SearchM.c @@ -16,36 +16,52 @@ extern "C" { lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__8; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_118____boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__4; +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___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*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___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_Meta_Grind_Arith_Cutsat_instInhabitedCase___closed__5; lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_Search_Kind_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__2___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__2___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCase___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5; +lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__6; +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(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_Lean_Meta_Grind_Arith_Cutsat_Search_Kind_toCtorIdx(uint8_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCase___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___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_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__6; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___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_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setImprecise(uint8_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCase___closed__4; +static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_Search_Kind_noConfusion___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_Search_Kind_noConfusion(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setImprecise___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_Search_Kind_noConfusion___rarg___lambda__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_109____boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___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*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCase; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_isApprox(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(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_Meta_Grind_Arith_Cutsat_mkCase___closed__3; LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__1(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_Meta_Grind_Arith_Cutsat_Search_Kind_noConfusion___rarg___closed__1; +double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__7; LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_Cutsat_Search_instInhabitedKind; @@ -56,23 +72,31 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setImprecise___rarg(lean LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_setImprecise___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_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_Search_instBEqKind___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*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__5; +lean_object* lean_array_mk(lean_object*); static size_t l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCase___closed__2; +lean_object* l_Lean_isTracingEnabledForCore(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_isApprox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase(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_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_109_(uint8_t, uint8_t); +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_Search_Kind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCase___closed__7; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_get_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_Search_Kind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_118_(uint8_t, uint8_t); +lean_object* l_Lean_MessageData_ofName(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__10; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_Search_instBEqKind; static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__1() { _start: @@ -134,15 +158,13 @@ return x_2; static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__2; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__6; -x_3 = lean_unsigned_to_nat(0u); -x_4 = lean_alloc_ctor(0, 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; +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_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__8() { @@ -172,13 +194,15 @@ return x_2; static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__8; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___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; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__8; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind___closed__9; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 2, x_1); +return x_4; } } static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCaseKind() { @@ -381,7 +405,7 @@ x_1 = 0; return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_109_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_118_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -393,7 +417,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_109____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_118____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; @@ -401,7 +425,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_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_109_(x_3, x_4); +x_5 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_118_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -410,7 +434,7 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_Search_instBEqKind___cl _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_109____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_118____boxed), 2, 0); return x_1; } } @@ -427,7 +451,7 @@ _start: { uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; x_12 = 0; -x_13 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_109_(x_1, x_12); +x_13 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM_0__Lean_Meta_Grind_Arith_Cutsat_Search_beqKind____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_SearchM___hyg_118_(x_1, x_12); x_14 = lean_box(x_13); x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); @@ -793,6 +817,457 @@ return x_16; } } } +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_10, 2); +x_14 = l_Lean_isTracingEnabledForCore(x_1, x_13, x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +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_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; +} +} +} +static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; double x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = 0; +x_3 = l_Float_ofScientific(x_1, x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_array_mk(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__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_object* x_12, lean_object* x_13) { +_start: +{ +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_14 = lean_ctor_get(x_11, 5); +x_15 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); +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_st_ref_take(x_12, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +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, 1); +x_23 = lean_ctor_get(x_18, 0); +lean_dec(x_23); +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_19, 3); +lean_dec(x_25); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) +{ +lean_object* x_27; double x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_27 = lean_ctor_get(x_20, 0); +x_28 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__1; +x_29 = 0; +x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2; +x_31 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set_float(x_31, sizeof(void*)*2, x_28); +lean_ctor_set_float(x_31, sizeof(void*)*2 + 8, x_28); +lean_ctor_set_uint8(x_31, sizeof(void*)*2 + 16, x_29); +x_32 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3; +x_33 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_16); +lean_ctor_set(x_33, 2, x_32); +lean_inc(x_14); +lean_ctor_set(x_18, 1, x_33); +lean_ctor_set(x_18, 0, x_14); +x_34 = l_Lean_PersistentArray_push___rarg(x_27, x_18); +lean_ctor_set(x_20, 0, x_34); +x_35 = lean_st_ref_set(x_12, x_19, x_22); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +x_38 = lean_box(0); +lean_ctor_set(x_35, 0, x_38); +return x_35; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +} +else +{ +uint64_t x_42; lean_object* x_43; double x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_42 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); +x_43 = lean_ctor_get(x_20, 0); +lean_inc(x_43); +lean_dec(x_20); +x_44 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__1; +x_45 = 0; +x_46 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2; +x_47 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_47, 0, x_1); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set_float(x_47, sizeof(void*)*2, x_44); +lean_ctor_set_float(x_47, sizeof(void*)*2 + 8, x_44); +lean_ctor_set_uint8(x_47, sizeof(void*)*2 + 16, x_45); +x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3; +x_49 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_16); +lean_ctor_set(x_49, 2, x_48); +lean_inc(x_14); +lean_ctor_set(x_18, 1, x_49); +lean_ctor_set(x_18, 0, x_14); +x_50 = l_Lean_PersistentArray_push___rarg(x_43, x_18); +x_51 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set_uint64(x_51, sizeof(void*)*1, x_42); +lean_ctor_set(x_19, 3, x_51); +x_52 = lean_st_ref_set(x_12, x_19, x_22); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); +} +x_55 = lean_box(0); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +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; uint64_t x_64; lean_object* x_65; lean_object* x_66; double x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_57 = lean_ctor_get(x_19, 0); +x_58 = lean_ctor_get(x_19, 1); +x_59 = lean_ctor_get(x_19, 2); +x_60 = lean_ctor_get(x_19, 4); +x_61 = lean_ctor_get(x_19, 5); +x_62 = lean_ctor_get(x_19, 6); +x_63 = lean_ctor_get(x_19, 7); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_19); +x_64 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); +x_65 = lean_ctor_get(x_20, 0); +lean_inc(x_65); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_66 = x_20; +} else { + lean_dec_ref(x_20); + x_66 = lean_box(0); +} +x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__1; +x_68 = 0; +x_69 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2; +x_70 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_70, 0, x_1); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set_float(x_70, sizeof(void*)*2, x_67); +lean_ctor_set_float(x_70, sizeof(void*)*2 + 8, x_67); +lean_ctor_set_uint8(x_70, sizeof(void*)*2 + 16, x_68); +x_71 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3; +x_72 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_16); +lean_ctor_set(x_72, 2, x_71); +lean_inc(x_14); +lean_ctor_set(x_18, 1, x_72); +lean_ctor_set(x_18, 0, x_14); +x_73 = l_Lean_PersistentArray_push___rarg(x_65, x_18); +if (lean_is_scalar(x_66)) { + x_74 = lean_alloc_ctor(0, 1, 8); +} else { + x_74 = x_66; +} +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set_uint64(x_74, sizeof(void*)*1, x_64); +x_75 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_75, 0, x_57); +lean_ctor_set(x_75, 1, x_58); +lean_ctor_set(x_75, 2, x_59); +lean_ctor_set(x_75, 3, x_74); +lean_ctor_set(x_75, 4, x_60); +lean_ctor_set(x_75, 5, x_61); +lean_ctor_set(x_75, 6, x_62); +lean_ctor_set(x_75, 7, x_63); +x_76 = lean_st_ref_set(x_12, x_75, x_22); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_78 = x_76; +} else { + lean_dec_ref(x_76); + x_78 = lean_box(0); +} +x_79 = lean_box(0); +if (lean_is_scalar(x_78)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_78; +} +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +return x_80; +} +} +else +{ +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; uint64_t x_90; lean_object* x_91; lean_object* x_92; double x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_81 = lean_ctor_get(x_18, 1); +lean_inc(x_81); +lean_dec(x_18); +x_82 = lean_ctor_get(x_19, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_19, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_19, 2); +lean_inc(x_84); +x_85 = lean_ctor_get(x_19, 4); +lean_inc(x_85); +x_86 = lean_ctor_get(x_19, 5); +lean_inc(x_86); +x_87 = lean_ctor_get(x_19, 6); +lean_inc(x_87); +x_88 = lean_ctor_get(x_19, 7); +lean_inc(x_88); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + lean_ctor_release(x_19, 2); + lean_ctor_release(x_19, 3); + lean_ctor_release(x_19, 4); + lean_ctor_release(x_19, 5); + lean_ctor_release(x_19, 6); + lean_ctor_release(x_19, 7); + x_89 = x_19; +} else { + lean_dec_ref(x_19); + x_89 = lean_box(0); +} +x_90 = lean_ctor_get_uint64(x_20, sizeof(void*)*1); +x_91 = lean_ctor_get(x_20, 0); +lean_inc(x_91); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_92 = x_20; +} else { + lean_dec_ref(x_20); + x_92 = lean_box(0); +} +x_93 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__1; +x_94 = 0; +x_95 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2; +x_96 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_96, 0, x_1); +lean_ctor_set(x_96, 1, x_95); +lean_ctor_set_float(x_96, sizeof(void*)*2, x_93); +lean_ctor_set_float(x_96, sizeof(void*)*2 + 8, x_93); +lean_ctor_set_uint8(x_96, sizeof(void*)*2 + 16, x_94); +x_97 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3; +x_98 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_16); +lean_ctor_set(x_98, 2, x_97); +lean_inc(x_14); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_14); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_PersistentArray_push___rarg(x_91, x_99); +if (lean_is_scalar(x_92)) { + x_101 = lean_alloc_ctor(0, 1, 8); +} else { + x_101 = x_92; +} +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set_uint64(x_101, sizeof(void*)*1, x_90); +if (lean_is_scalar(x_89)) { + x_102 = lean_alloc_ctor(0, 8, 0); +} else { + x_102 = x_89; +} +lean_ctor_set(x_102, 0, x_82); +lean_ctor_set(x_102, 1, x_83); +lean_ctor_set(x_102, 2, x_84); +lean_ctor_set(x_102, 3, x_101); +lean_ctor_set(x_102, 4, x_85); +lean_ctor_set(x_102, 5, x_86); +lean_ctor_set(x_102, 6, x_87); +lean_ctor_set(x_102, 7, x_88); +x_103 = lean_st_ref_set(x_12, x_102, x_81); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = lean_box(0); +if (lean_is_scalar(x_105)) { + x_107 = lean_alloc_ctor(0, 2, 0); +} else { + x_107 = x_105; +} +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_104); +return x_107; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___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) { +_start: +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("grind", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("debug", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cutsat", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("backtrack", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___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_Meta_Grind_Arith_Cutsat_mkCase___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("mkCase fvarId: ", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -818,7 +1293,7 @@ lean_dec(x_19); x_22 = !lean_is_exclusive(x_20); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_object* x_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; uint8_t x_35; x_23 = lean_ctor_get(x_20, 0); x_24 = lean_ctor_get(x_20, 1); lean_inc(x_14); @@ -843,291 +1318,351 @@ x_33 = lean_ctor_get(x_32, 13); lean_inc(x_33); x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_36 = !lean_is_exclusive(x_32); -if (x_36 == 0) +x_35 = !lean_is_exclusive(x_31); +if (x_35 == 0) { -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_32, 13); +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_31, 1); +x_37 = lean_ctor_get(x_31, 0); lean_dec(x_37); -x_38 = !lean_is_exclusive(x_33); +x_38 = !lean_is_exclusive(x_32); if (x_38 == 0) { lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_33, 1); +x_39 = lean_ctor_get(x_32, 13); lean_dec(x_39); -x_40 = !lean_is_exclusive(x_34); +x_40 = !lean_is_exclusive(x_33); if (x_40 == 0) { -uint8_t x_41; lean_object* x_42; uint8_t x_43; -x_41 = 1; -lean_ctor_set_uint8(x_34, sizeof(void*)*14, x_41); -x_42 = lean_st_ref_set(x_4, x_32, x_35); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_33, 1); +lean_dec(x_41); +x_42 = !lean_is_exclusive(x_34); +if (x_42 == 0) { -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -lean_ctor_set(x_42, 0, x_14); -return x_42; -} -else +uint8_t x_43; lean_object* x_44; uint8_t x_45; +x_43 = 1; +lean_ctor_set_uint8(x_34, sizeof(void*)*14, x_43); +x_44 = lean_st_ref_set(x_4, x_32, x_36); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_14); -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; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_47 = lean_ctor_get(x_34, 0); -x_48 = lean_ctor_get(x_34, 1); -x_49 = lean_ctor_get(x_34, 2); -x_50 = lean_ctor_get(x_34, 3); -x_51 = lean_ctor_get(x_34, 4); -x_52 = lean_ctor_get(x_34, 5); -x_53 = lean_ctor_get(x_34, 6); -x_54 = lean_ctor_get(x_34, 7); -x_55 = lean_ctor_get(x_34, 8); -x_56 = lean_ctor_get(x_34, 9); -x_57 = lean_ctor_get(x_34, 10); -x_58 = lean_ctor_get(x_34, 11); -x_59 = lean_ctor_get(x_34, 12); -x_60 = lean_ctor_get(x_34, 13); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); +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_44, 1); +x_47 = lean_ctor_get(x_44, 0); +lean_dec(x_47); +x_48 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5; +x_49 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_46); +x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_34); -x_61 = 1; -x_62 = lean_alloc_ctor(0, 14, 1); -lean_ctor_set(x_62, 0, x_47); -lean_ctor_set(x_62, 1, x_48); -lean_ctor_set(x_62, 2, x_49); -lean_ctor_set(x_62, 3, x_50); -lean_ctor_set(x_62, 4, x_51); -lean_ctor_set(x_62, 5, x_52); -lean_ctor_set(x_62, 6, x_53); -lean_ctor_set(x_62, 7, x_54); -lean_ctor_set(x_62, 8, x_55); -lean_ctor_set(x_62, 9, x_56); -lean_ctor_set(x_62, 10, x_57); -lean_ctor_set(x_62, 11, x_58); -lean_ctor_set(x_62, 12, x_59); -lean_ctor_set(x_62, 13, x_60); -lean_ctor_set_uint8(x_62, sizeof(void*)*14, x_61); -lean_ctor_set(x_33, 1, x_62); -x_63 = lean_st_ref_set(x_4, x_32, x_35); -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_51 = lean_unbox(x_50); +lean_dec(x_50); +if (x_51 == 0) +{ +uint8_t x_52; +lean_free_object(x_44); +lean_free_object(x_31); +x_52 = !lean_is_exclusive(x_49); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_49, 0); +lean_dec(x_53); +lean_ctor_set(x_49, 0, x_14); +return x_49; } -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_65; -} -lean_ctor_set(x_66, 0, x_14); -lean_ctor_set(x_66, 1, x_64); -return x_66; +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +lean_dec(x_49); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_14); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_67 = lean_ctor_get(x_33, 0); -lean_inc(x_67); -lean_dec(x_33); -x_68 = lean_ctor_get(x_34, 0); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_56 = lean_ctor_get(x_49, 1); +lean_inc(x_56); +lean_dec(x_49); +lean_inc(x_14); +x_57 = l_Lean_MessageData_ofName(x_14); +x_58 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7; +lean_ctor_set_tag(x_44, 7); +lean_ctor_set(x_44, 1, x_57); +lean_ctor_set(x_44, 0, x_58); +x_59 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_59); +lean_ctor_set(x_31, 0, x_44); +x_60 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_48, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_56); +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_60, 0); +lean_dec(x_62); +lean_ctor_set(x_60, 0, x_14); +return x_60; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_60, 1); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_14); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_44, 1); +lean_inc(x_65); +lean_dec(x_44); +x_66 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5; +x_67 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); +x_68 = lean_ctor_get(x_67, 0); lean_inc(x_68); -x_69 = lean_ctor_get(x_34, 1); -lean_inc(x_69); -x_70 = lean_ctor_get(x_34, 2); +x_69 = lean_unbox(x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_free_object(x_31); +x_70 = lean_ctor_get(x_67, 1); lean_inc(x_70); -x_71 = lean_ctor_get(x_34, 3); -lean_inc(x_71); -x_72 = lean_ctor_get(x_34, 4); -lean_inc(x_72); -x_73 = lean_ctor_get(x_34, 5); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_71 = x_67; +} else { + lean_dec_ref(x_67); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_14); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +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; lean_object* x_80; lean_object* x_81; +x_73 = lean_ctor_get(x_67, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_34, 6); -lean_inc(x_74); -x_75 = lean_ctor_get(x_34, 7); -lean_inc(x_75); -x_76 = lean_ctor_get(x_34, 8); -lean_inc(x_76); -x_77 = lean_ctor_get(x_34, 9); -lean_inc(x_77); -x_78 = lean_ctor_get(x_34, 10); -lean_inc(x_78); -x_79 = lean_ctor_get(x_34, 11); +lean_dec(x_67); +lean_inc(x_14); +x_74 = l_Lean_MessageData_ofName(x_14); +x_75 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7; +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_77); +lean_ctor_set(x_31, 0, x_76); +x_78 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_66, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_73); +x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_34, 12); -lean_inc(x_80); -x_81 = lean_ctor_get(x_34, 13); -lean_inc(x_81); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - lean_ctor_release(x_34, 2); - lean_ctor_release(x_34, 3); - lean_ctor_release(x_34, 4); - lean_ctor_release(x_34, 5); - lean_ctor_release(x_34, 6); - lean_ctor_release(x_34, 7); - lean_ctor_release(x_34, 8); - lean_ctor_release(x_34, 9); - lean_ctor_release(x_34, 10); - lean_ctor_release(x_34, 11); - lean_ctor_release(x_34, 12); - lean_ctor_release(x_34, 13); - x_82 = x_34; +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_80 = x_78; } else { - lean_dec_ref(x_34); - x_82 = lean_box(0); + lean_dec_ref(x_78); + x_80 = lean_box(0); } -x_83 = 1; -if (lean_is_scalar(x_82)) { - x_84 = lean_alloc_ctor(0, 14, 1); +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(0, 2, 0); } else { - x_84 = x_82; + x_81 = x_80; } -lean_ctor_set(x_84, 0, x_68); -lean_ctor_set(x_84, 1, x_69); -lean_ctor_set(x_84, 2, x_70); -lean_ctor_set(x_84, 3, x_71); -lean_ctor_set(x_84, 4, x_72); -lean_ctor_set(x_84, 5, x_73); -lean_ctor_set(x_84, 6, x_74); -lean_ctor_set(x_84, 7, x_75); -lean_ctor_set(x_84, 8, x_76); -lean_ctor_set(x_84, 9, x_77); -lean_ctor_set(x_84, 10, x_78); -lean_ctor_set(x_84, 11, x_79); -lean_ctor_set(x_84, 12, x_80); -lean_ctor_set(x_84, 13, x_81); -lean_ctor_set_uint8(x_84, sizeof(void*)*14, x_83); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_67); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_32, 13, x_85); -x_86 = lean_st_ref_set(x_4, x_32, x_35); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_88 = x_86; -} else { - lean_dec_ref(x_86); - x_88 = lean_box(0); +lean_ctor_set(x_81, 0, x_14); +lean_ctor_set(x_81, 1, x_79); +return x_81; } -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_14); -lean_ctor_set(x_89, 1, x_87); -return x_89; } } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_90 = lean_ctor_get(x_32, 0); -x_91 = lean_ctor_get(x_32, 1); -x_92 = lean_ctor_get(x_32, 2); -x_93 = lean_ctor_get(x_32, 3); -x_94 = lean_ctor_get(x_32, 4); -x_95 = lean_ctor_get(x_32, 5); -x_96 = lean_ctor_get(x_32, 6); -x_97 = lean_ctor_get_uint8(x_32, sizeof(void*)*15); -x_98 = lean_ctor_get(x_32, 7); -x_99 = lean_ctor_get(x_32, 8); -x_100 = lean_ctor_get(x_32, 9); -x_101 = lean_ctor_get(x_32, 10); -x_102 = lean_ctor_get(x_32, 11); -x_103 = lean_ctor_get(x_32, 12); -x_104 = lean_ctor_get(x_32, 14); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_96); +lean_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; uint8_t 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; uint8_t x_104; +x_82 = lean_ctor_get(x_34, 0); +x_83 = lean_ctor_get(x_34, 1); +x_84 = lean_ctor_get(x_34, 2); +x_85 = lean_ctor_get(x_34, 3); +x_86 = lean_ctor_get(x_34, 4); +x_87 = lean_ctor_get(x_34, 5); +x_88 = lean_ctor_get(x_34, 6); +x_89 = lean_ctor_get(x_34, 7); +x_90 = lean_ctor_get(x_34, 8); +x_91 = lean_ctor_get(x_34, 9); +x_92 = lean_ctor_get(x_34, 10); +x_93 = lean_ctor_get(x_34, 11); +x_94 = lean_ctor_get(x_34, 12); +x_95 = lean_ctor_get(x_34, 13); lean_inc(x_95); lean_inc(x_94); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); lean_inc(x_90); -lean_dec(x_32); -x_105 = lean_ctor_get(x_33, 0); -lean_inc(x_105); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_106 = x_33; +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_34); +x_96 = 1; +x_97 = lean_alloc_ctor(0, 14, 1); +lean_ctor_set(x_97, 0, x_82); +lean_ctor_set(x_97, 1, x_83); +lean_ctor_set(x_97, 2, x_84); +lean_ctor_set(x_97, 3, x_85); +lean_ctor_set(x_97, 4, x_86); +lean_ctor_set(x_97, 5, x_87); +lean_ctor_set(x_97, 6, x_88); +lean_ctor_set(x_97, 7, x_89); +lean_ctor_set(x_97, 8, x_90); +lean_ctor_set(x_97, 9, x_91); +lean_ctor_set(x_97, 10, x_92); +lean_ctor_set(x_97, 11, x_93); +lean_ctor_set(x_97, 12, x_94); +lean_ctor_set(x_97, 13, x_95); +lean_ctor_set_uint8(x_97, sizeof(void*)*14, x_96); +lean_ctor_set(x_33, 1, x_97); +x_98 = lean_st_ref_set(x_4, x_32, x_36); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_100 = x_98; } else { - lean_dec_ref(x_33); + lean_dec_ref(x_98); + x_100 = lean_box(0); +} +x_101 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5; +x_102 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_101, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_99); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_unbox(x_103); +lean_dec(x_103); +if (x_104 == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_100); +lean_free_object(x_31); +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_106 = x_102; +} else { + lean_dec_ref(x_102); x_106 = lean_box(0); } -x_107 = lean_ctor_get(x_34, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_34, 1); +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(0, 2, 0); +} else { + x_107 = x_106; +} +lean_ctor_set(x_107, 0, x_14); +lean_ctor_set(x_107, 1, x_105); +return x_107; +} +else +{ +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 = lean_ctor_get(x_102, 1); lean_inc(x_108); -x_109 = lean_ctor_get(x_34, 2); -lean_inc(x_109); -x_110 = lean_ctor_get(x_34, 3); -lean_inc(x_110); -x_111 = lean_ctor_get(x_34, 4); -lean_inc(x_111); -x_112 = lean_ctor_get(x_34, 5); -lean_inc(x_112); -x_113 = lean_ctor_get(x_34, 6); -lean_inc(x_113); -x_114 = lean_ctor_get(x_34, 7); +lean_dec(x_102); +lean_inc(x_14); +x_109 = l_Lean_MessageData_ofName(x_14); +x_110 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7; +if (lean_is_scalar(x_100)) { + x_111 = lean_alloc_ctor(7, 2, 0); +} else { + x_111 = x_100; + lean_ctor_set_tag(x_111, 7); +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_112); +lean_ctor_set(x_31, 0, x_111); +x_113 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_101, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_108); +x_114 = lean_ctor_get(x_113, 1); lean_inc(x_114); -x_115 = lean_ctor_get(x_34, 8); -lean_inc(x_115); -x_116 = lean_ctor_get(x_34, 9); -lean_inc(x_116); -x_117 = lean_ctor_get(x_34, 10); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_115 = x_113; +} else { + lean_dec_ref(x_113); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_14); +lean_ctor_set(x_116, 1, x_114); +return x_116; +} +} +} +else +{ +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; uint8_t 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; uint8_t x_142; +x_117 = lean_ctor_get(x_33, 0); lean_inc(x_117); -x_118 = lean_ctor_get(x_34, 11); +lean_dec(x_33); +x_118 = lean_ctor_get(x_34, 0); lean_inc(x_118); -x_119 = lean_ctor_get(x_34, 12); +x_119 = lean_ctor_get(x_34, 1); lean_inc(x_119); -x_120 = lean_ctor_get(x_34, 13); +x_120 = lean_ctor_get(x_34, 2); lean_inc(x_120); +x_121 = lean_ctor_get(x_34, 3); +lean_inc(x_121); +x_122 = lean_ctor_get(x_34, 4); +lean_inc(x_122); +x_123 = lean_ctor_get(x_34, 5); +lean_inc(x_123); +x_124 = lean_ctor_get(x_34, 6); +lean_inc(x_124); +x_125 = lean_ctor_get(x_34, 7); +lean_inc(x_125); +x_126 = lean_ctor_get(x_34, 8); +lean_inc(x_126); +x_127 = lean_ctor_get(x_34, 9); +lean_inc(x_127); +x_128 = lean_ctor_get(x_34, 10); +lean_inc(x_128); +x_129 = lean_ctor_get(x_34, 11); +lean_inc(x_129); +x_130 = lean_ctor_get(x_34, 12); +lean_inc(x_130); +x_131 = lean_ctor_get(x_34, 13); +lean_inc(x_131); if (lean_is_exclusive(x_34)) { lean_ctor_release(x_34, 0); lean_ctor_release(x_34, 1); @@ -1143,289 +1678,873 @@ if (lean_is_exclusive(x_34)) { lean_ctor_release(x_34, 11); lean_ctor_release(x_34, 12); lean_ctor_release(x_34, 13); - x_121 = x_34; + x_132 = x_34; } else { lean_dec_ref(x_34); - x_121 = lean_box(0); + x_132 = lean_box(0); } -x_122 = 1; -if (lean_is_scalar(x_121)) { - x_123 = lean_alloc_ctor(0, 14, 1); +x_133 = 1; +if (lean_is_scalar(x_132)) { + x_134 = lean_alloc_ctor(0, 14, 1); } else { - x_123 = x_121; + x_134 = x_132; } -lean_ctor_set(x_123, 0, x_107); -lean_ctor_set(x_123, 1, x_108); -lean_ctor_set(x_123, 2, x_109); -lean_ctor_set(x_123, 3, x_110); -lean_ctor_set(x_123, 4, x_111); -lean_ctor_set(x_123, 5, x_112); -lean_ctor_set(x_123, 6, x_113); -lean_ctor_set(x_123, 7, x_114); -lean_ctor_set(x_123, 8, x_115); -lean_ctor_set(x_123, 9, x_116); -lean_ctor_set(x_123, 10, x_117); -lean_ctor_set(x_123, 11, x_118); -lean_ctor_set(x_123, 12, x_119); -lean_ctor_set(x_123, 13, x_120); -lean_ctor_set_uint8(x_123, sizeof(void*)*14, x_122); -if (lean_is_scalar(x_106)) { - x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_118); +lean_ctor_set(x_134, 1, x_119); +lean_ctor_set(x_134, 2, x_120); +lean_ctor_set(x_134, 3, x_121); +lean_ctor_set(x_134, 4, x_122); +lean_ctor_set(x_134, 5, x_123); +lean_ctor_set(x_134, 6, x_124); +lean_ctor_set(x_134, 7, x_125); +lean_ctor_set(x_134, 8, x_126); +lean_ctor_set(x_134, 9, x_127); +lean_ctor_set(x_134, 10, x_128); +lean_ctor_set(x_134, 11, x_129); +lean_ctor_set(x_134, 12, x_130); +lean_ctor_set(x_134, 13, x_131); +lean_ctor_set_uint8(x_134, sizeof(void*)*14, x_133); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_117); +lean_ctor_set(x_135, 1, x_134); +lean_ctor_set(x_32, 13, x_135); +x_136 = lean_st_ref_set(x_4, x_32, x_36); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_138 = x_136; } else { - x_124 = x_106; + lean_dec_ref(x_136); + x_138 = lean_box(0); } -lean_ctor_set(x_124, 0, x_105); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_125, 0, x_90); -lean_ctor_set(x_125, 1, x_91); -lean_ctor_set(x_125, 2, x_92); -lean_ctor_set(x_125, 3, x_93); -lean_ctor_set(x_125, 4, x_94); -lean_ctor_set(x_125, 5, x_95); -lean_ctor_set(x_125, 6, x_96); -lean_ctor_set(x_125, 7, x_98); -lean_ctor_set(x_125, 8, x_99); -lean_ctor_set(x_125, 9, x_100); -lean_ctor_set(x_125, 10, x_101); -lean_ctor_set(x_125, 11, x_102); -lean_ctor_set(x_125, 12, x_103); -lean_ctor_set(x_125, 13, x_124); -lean_ctor_set(x_125, 14, x_104); -lean_ctor_set_uint8(x_125, sizeof(void*)*15, x_97); -x_126 = lean_st_ref_set(x_4, x_125, x_35); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_128 = x_126; +x_139 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5; +x_140 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_139, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_137); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_unbox(x_141); +lean_dec(x_141); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_138); +lean_free_object(x_31); +x_143 = lean_ctor_get(x_140, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_144 = x_140; } else { - lean_dec_ref(x_126); - x_128 = lean_box(0); + lean_dec_ref(x_140); + x_144 = lean_box(0); } -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(0, 2, 0); } else { - x_129 = x_128; + x_145 = x_144; +} +lean_ctor_set(x_145, 0, x_14); +lean_ctor_set(x_145, 1, x_143); +return x_145; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_146 = lean_ctor_get(x_140, 1); +lean_inc(x_146); +lean_dec(x_140); +lean_inc(x_14); +x_147 = l_Lean_MessageData_ofName(x_14); +x_148 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7; +if (lean_is_scalar(x_138)) { + x_149 = lean_alloc_ctor(7, 2, 0); +} else { + x_149 = x_138; + lean_ctor_set_tag(x_149, 7); +} +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_147); +x_150 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_150); +lean_ctor_set(x_31, 0, x_149); +x_151 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_139, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_146); +x_152 = lean_ctor_get(x_151, 1); +lean_inc(x_152); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_153 = x_151; +} else { + lean_dec_ref(x_151); + x_153 = lean_box(0); +} +if (lean_is_scalar(x_153)) { + x_154 = lean_alloc_ctor(0, 2, 0); +} else { + x_154 = x_153; +} +lean_ctor_set(x_154, 0, x_14); +lean_ctor_set(x_154, 1, x_152); +return x_154; } -lean_ctor_set(x_129, 0, x_14); -lean_ctor_set(x_129, 1, x_127); -return x_129; } } else { -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; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_130 = lean_ctor_get(x_20, 0); -x_131 = lean_ctor_get_uint8(x_20, sizeof(void*)*2); -x_132 = lean_ctor_get(x_20, 1); -lean_inc(x_132); -lean_inc(x_130); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_155 = lean_ctor_get(x_32, 0); +x_156 = lean_ctor_get(x_32, 1); +x_157 = lean_ctor_get(x_32, 2); +x_158 = lean_ctor_get(x_32, 3); +x_159 = lean_ctor_get(x_32, 4); +x_160 = lean_ctor_get(x_32, 5); +x_161 = lean_ctor_get(x_32, 6); +x_162 = lean_ctor_get_uint8(x_32, sizeof(void*)*15); +x_163 = lean_ctor_get(x_32, 7); +x_164 = lean_ctor_get(x_32, 8); +x_165 = lean_ctor_get(x_32, 9); +x_166 = lean_ctor_get(x_32, 10); +x_167 = lean_ctor_get(x_32, 11); +x_168 = lean_ctor_get(x_32, 12); +x_169 = lean_ctor_get(x_32, 14); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +lean_inc(x_163); +lean_inc(x_161); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_32); +x_170 = lean_ctor_get(x_33, 0); +lean_inc(x_170); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_171 = x_33; +} else { + lean_dec_ref(x_33); + x_171 = lean_box(0); +} +x_172 = lean_ctor_get(x_34, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_34, 1); +lean_inc(x_173); +x_174 = lean_ctor_get(x_34, 2); +lean_inc(x_174); +x_175 = lean_ctor_get(x_34, 3); +lean_inc(x_175); +x_176 = lean_ctor_get(x_34, 4); +lean_inc(x_176); +x_177 = lean_ctor_get(x_34, 5); +lean_inc(x_177); +x_178 = lean_ctor_get(x_34, 6); +lean_inc(x_178); +x_179 = lean_ctor_get(x_34, 7); +lean_inc(x_179); +x_180 = lean_ctor_get(x_34, 8); +lean_inc(x_180); +x_181 = lean_ctor_get(x_34, 9); +lean_inc(x_181); +x_182 = lean_ctor_get(x_34, 10); +lean_inc(x_182); +x_183 = lean_ctor_get(x_34, 11); +lean_inc(x_183); +x_184 = lean_ctor_get(x_34, 12); +lean_inc(x_184); +x_185 = lean_ctor_get(x_34, 13); +lean_inc(x_185); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + lean_ctor_release(x_34, 2); + lean_ctor_release(x_34, 3); + lean_ctor_release(x_34, 4); + lean_ctor_release(x_34, 5); + lean_ctor_release(x_34, 6); + lean_ctor_release(x_34, 7); + lean_ctor_release(x_34, 8); + lean_ctor_release(x_34, 9); + lean_ctor_release(x_34, 10); + lean_ctor_release(x_34, 11); + lean_ctor_release(x_34, 12); + lean_ctor_release(x_34, 13); + x_186 = x_34; +} else { + lean_dec_ref(x_34); + x_186 = lean_box(0); +} +x_187 = 1; +if (lean_is_scalar(x_186)) { + x_188 = lean_alloc_ctor(0, 14, 1); +} else { + x_188 = x_186; +} +lean_ctor_set(x_188, 0, x_172); +lean_ctor_set(x_188, 1, x_173); +lean_ctor_set(x_188, 2, x_174); +lean_ctor_set(x_188, 3, x_175); +lean_ctor_set(x_188, 4, x_176); +lean_ctor_set(x_188, 5, x_177); +lean_ctor_set(x_188, 6, x_178); +lean_ctor_set(x_188, 7, x_179); +lean_ctor_set(x_188, 8, x_180); +lean_ctor_set(x_188, 9, x_181); +lean_ctor_set(x_188, 10, x_182); +lean_ctor_set(x_188, 11, x_183); +lean_ctor_set(x_188, 12, x_184); +lean_ctor_set(x_188, 13, x_185); +lean_ctor_set_uint8(x_188, sizeof(void*)*14, x_187); +if (lean_is_scalar(x_171)) { + x_189 = lean_alloc_ctor(0, 2, 0); +} else { + x_189 = x_171; +} +lean_ctor_set(x_189, 0, x_170); +lean_ctor_set(x_189, 1, x_188); +x_190 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_190, 0, x_155); +lean_ctor_set(x_190, 1, x_156); +lean_ctor_set(x_190, 2, x_157); +lean_ctor_set(x_190, 3, x_158); +lean_ctor_set(x_190, 4, x_159); +lean_ctor_set(x_190, 5, x_160); +lean_ctor_set(x_190, 6, x_161); +lean_ctor_set(x_190, 7, x_163); +lean_ctor_set(x_190, 8, x_164); +lean_ctor_set(x_190, 9, x_165); +lean_ctor_set(x_190, 10, x_166); +lean_ctor_set(x_190, 11, x_167); +lean_ctor_set(x_190, 12, x_168); +lean_ctor_set(x_190, 13, x_189); +lean_ctor_set(x_190, 14, x_169); +lean_ctor_set_uint8(x_190, sizeof(void*)*15, x_162); +x_191 = lean_st_ref_set(x_4, x_190, x_36); +x_192 = lean_ctor_get(x_191, 1); +lean_inc(x_192); +if (lean_is_exclusive(x_191)) { + lean_ctor_release(x_191, 0); + lean_ctor_release(x_191, 1); + x_193 = x_191; +} else { + lean_dec_ref(x_191); + x_193 = lean_box(0); +} +x_194 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5; +x_195 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_194, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_192); +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +x_197 = lean_unbox(x_196); +lean_dec(x_196); +if (x_197 == 0) +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_193); +lean_free_object(x_31); +x_198 = lean_ctor_get(x_195, 1); +lean_inc(x_198); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + x_199 = x_195; +} else { + lean_dec_ref(x_195); + x_199 = lean_box(0); +} +if (lean_is_scalar(x_199)) { + x_200 = lean_alloc_ctor(0, 2, 0); +} else { + x_200 = x_199; +} +lean_ctor_set(x_200, 0, x_14); +lean_ctor_set(x_200, 1, x_198); +return x_200; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_201 = lean_ctor_get(x_195, 1); +lean_inc(x_201); +lean_dec(x_195); +lean_inc(x_14); +x_202 = l_Lean_MessageData_ofName(x_14); +x_203 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7; +if (lean_is_scalar(x_193)) { + x_204 = lean_alloc_ctor(7, 2, 0); +} else { + x_204 = x_193; + lean_ctor_set_tag(x_204, 7); +} +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_202); +x_205 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_205); +lean_ctor_set(x_31, 0, x_204); +x_206 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_194, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_201); +x_207 = lean_ctor_get(x_206, 1); +lean_inc(x_207); +if (lean_is_exclusive(x_206)) { + lean_ctor_release(x_206, 0); + lean_ctor_release(x_206, 1); + x_208 = x_206; +} else { + lean_dec_ref(x_206); + x_208 = lean_box(0); +} +if (lean_is_scalar(x_208)) { + x_209 = lean_alloc_ctor(0, 2, 0); +} else { + x_209 = x_208; +} +lean_ctor_set(x_209, 0, x_14); +lean_ctor_set(x_209, 1, x_207); +return x_209; +} +} +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; +x_210 = lean_ctor_get(x_31, 1); +lean_inc(x_210); +lean_dec(x_31); +x_211 = lean_ctor_get(x_32, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_32, 1); +lean_inc(x_212); +x_213 = lean_ctor_get(x_32, 2); +lean_inc(x_213); +x_214 = lean_ctor_get(x_32, 3); +lean_inc(x_214); +x_215 = lean_ctor_get(x_32, 4); +lean_inc(x_215); +x_216 = lean_ctor_get(x_32, 5); +lean_inc(x_216); +x_217 = lean_ctor_get(x_32, 6); +lean_inc(x_217); +x_218 = lean_ctor_get_uint8(x_32, sizeof(void*)*15); +x_219 = lean_ctor_get(x_32, 7); +lean_inc(x_219); +x_220 = lean_ctor_get(x_32, 8); +lean_inc(x_220); +x_221 = lean_ctor_get(x_32, 9); +lean_inc(x_221); +x_222 = lean_ctor_get(x_32, 10); +lean_inc(x_222); +x_223 = lean_ctor_get(x_32, 11); +lean_inc(x_223); +x_224 = lean_ctor_get(x_32, 12); +lean_inc(x_224); +x_225 = lean_ctor_get(x_32, 14); +lean_inc(x_225); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + lean_ctor_release(x_32, 2); + lean_ctor_release(x_32, 3); + lean_ctor_release(x_32, 4); + lean_ctor_release(x_32, 5); + lean_ctor_release(x_32, 6); + lean_ctor_release(x_32, 7); + lean_ctor_release(x_32, 8); + lean_ctor_release(x_32, 9); + lean_ctor_release(x_32, 10); + lean_ctor_release(x_32, 11); + lean_ctor_release(x_32, 12); + lean_ctor_release(x_32, 13); + lean_ctor_release(x_32, 14); + x_226 = x_32; +} else { + lean_dec_ref(x_32); + x_226 = lean_box(0); +} +x_227 = lean_ctor_get(x_33, 0); +lean_inc(x_227); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_228 = x_33; +} else { + lean_dec_ref(x_33); + x_228 = lean_box(0); +} +x_229 = lean_ctor_get(x_34, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_34, 1); +lean_inc(x_230); +x_231 = lean_ctor_get(x_34, 2); +lean_inc(x_231); +x_232 = lean_ctor_get(x_34, 3); +lean_inc(x_232); +x_233 = lean_ctor_get(x_34, 4); +lean_inc(x_233); +x_234 = lean_ctor_get(x_34, 5); +lean_inc(x_234); +x_235 = lean_ctor_get(x_34, 6); +lean_inc(x_235); +x_236 = lean_ctor_get(x_34, 7); +lean_inc(x_236); +x_237 = lean_ctor_get(x_34, 8); +lean_inc(x_237); +x_238 = lean_ctor_get(x_34, 9); +lean_inc(x_238); +x_239 = lean_ctor_get(x_34, 10); +lean_inc(x_239); +x_240 = lean_ctor_get(x_34, 11); +lean_inc(x_240); +x_241 = lean_ctor_get(x_34, 12); +lean_inc(x_241); +x_242 = lean_ctor_get(x_34, 13); +lean_inc(x_242); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + lean_ctor_release(x_34, 2); + lean_ctor_release(x_34, 3); + lean_ctor_release(x_34, 4); + lean_ctor_release(x_34, 5); + lean_ctor_release(x_34, 6); + lean_ctor_release(x_34, 7); + lean_ctor_release(x_34, 8); + lean_ctor_release(x_34, 9); + lean_ctor_release(x_34, 10); + lean_ctor_release(x_34, 11); + lean_ctor_release(x_34, 12); + lean_ctor_release(x_34, 13); + x_243 = x_34; +} else { + lean_dec_ref(x_34); + x_243 = lean_box(0); +} +x_244 = 1; +if (lean_is_scalar(x_243)) { + x_245 = lean_alloc_ctor(0, 14, 1); +} else { + x_245 = x_243; +} +lean_ctor_set(x_245, 0, x_229); +lean_ctor_set(x_245, 1, x_230); +lean_ctor_set(x_245, 2, x_231); +lean_ctor_set(x_245, 3, x_232); +lean_ctor_set(x_245, 4, x_233); +lean_ctor_set(x_245, 5, x_234); +lean_ctor_set(x_245, 6, x_235); +lean_ctor_set(x_245, 7, x_236); +lean_ctor_set(x_245, 8, x_237); +lean_ctor_set(x_245, 9, x_238); +lean_ctor_set(x_245, 10, x_239); +lean_ctor_set(x_245, 11, x_240); +lean_ctor_set(x_245, 12, x_241); +lean_ctor_set(x_245, 13, x_242); +lean_ctor_set_uint8(x_245, sizeof(void*)*14, x_244); +if (lean_is_scalar(x_228)) { + x_246 = lean_alloc_ctor(0, 2, 0); +} else { + x_246 = x_228; +} +lean_ctor_set(x_246, 0, x_227); +lean_ctor_set(x_246, 1, x_245); +if (lean_is_scalar(x_226)) { + x_247 = lean_alloc_ctor(0, 15, 1); +} else { + x_247 = x_226; +} +lean_ctor_set(x_247, 0, x_211); +lean_ctor_set(x_247, 1, x_212); +lean_ctor_set(x_247, 2, x_213); +lean_ctor_set(x_247, 3, x_214); +lean_ctor_set(x_247, 4, x_215); +lean_ctor_set(x_247, 5, x_216); +lean_ctor_set(x_247, 6, x_217); +lean_ctor_set(x_247, 7, x_219); +lean_ctor_set(x_247, 8, x_220); +lean_ctor_set(x_247, 9, x_221); +lean_ctor_set(x_247, 10, x_222); +lean_ctor_set(x_247, 11, x_223); +lean_ctor_set(x_247, 12, x_224); +lean_ctor_set(x_247, 13, x_246); +lean_ctor_set(x_247, 14, x_225); +lean_ctor_set_uint8(x_247, sizeof(void*)*15, x_218); +x_248 = lean_st_ref_set(x_4, x_247, x_210); +x_249 = lean_ctor_get(x_248, 1); +lean_inc(x_249); +if (lean_is_exclusive(x_248)) { + lean_ctor_release(x_248, 0); + lean_ctor_release(x_248, 1); + x_250 = x_248; +} else { + lean_dec_ref(x_248); + x_250 = lean_box(0); +} +x_251 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5; +x_252 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_251, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_249); +x_253 = lean_ctor_get(x_252, 0); +lean_inc(x_253); +x_254 = lean_unbox(x_253); +lean_dec(x_253); +if (x_254 == 0) +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; +lean_dec(x_250); +x_255 = lean_ctor_get(x_252, 1); +lean_inc(x_255); +if (lean_is_exclusive(x_252)) { + lean_ctor_release(x_252, 0); + lean_ctor_release(x_252, 1); + x_256 = x_252; +} else { + lean_dec_ref(x_252); + x_256 = lean_box(0); +} +if (lean_is_scalar(x_256)) { + x_257 = lean_alloc_ctor(0, 2, 0); +} else { + x_257 = x_256; +} +lean_ctor_set(x_257, 0, x_14); +lean_ctor_set(x_257, 1, x_255); +return x_257; +} +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +x_258 = lean_ctor_get(x_252, 1); +lean_inc(x_258); +lean_dec(x_252); +lean_inc(x_14); +x_259 = l_Lean_MessageData_ofName(x_14); +x_260 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7; +if (lean_is_scalar(x_250)) { + x_261 = lean_alloc_ctor(7, 2, 0); +} else { + x_261 = x_250; + lean_ctor_set_tag(x_261, 7); +} +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_259); +x_262 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8; +x_263 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_263, 0, x_261); +lean_ctor_set(x_263, 1, x_262); +x_264 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_251, x_263, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_258); +x_265 = lean_ctor_get(x_264, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_266 = x_264; +} else { + lean_dec_ref(x_264); + x_266 = lean_box(0); +} +if (lean_is_scalar(x_266)) { + x_267 = lean_alloc_ctor(0, 2, 0); +} else { + x_267 = x_266; +} +lean_ctor_set(x_267, 0, x_14); +lean_ctor_set(x_267, 1, x_265); +return x_267; +} +} +} +else +{ +lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_268 = lean_ctor_get(x_20, 0); +x_269 = lean_ctor_get_uint8(x_20, sizeof(void*)*2); +x_270 = lean_ctor_get(x_20, 1); +lean_inc(x_270); +lean_inc(x_268); lean_dec(x_20); lean_inc(x_14); -x_133 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_133, 0, x_1); -lean_ctor_set(x_133, 1, x_14); -lean_ctor_set(x_133, 2, x_17); -x_134 = l_Lean_PersistentArray_push___rarg(x_130, x_133); -x_135 = lean_box(0); +x_271 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_271, 0, x_1); +lean_ctor_set(x_271, 1, x_14); +lean_ctor_set(x_271, 2, x_17); +x_272 = l_Lean_PersistentArray_push___rarg(x_268, x_271); +x_273 = lean_box(0); lean_inc(x_14); -x_136 = l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(x_132, x_14, x_135); -x_137 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_137, 0, x_134); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set_uint8(x_137, sizeof(void*)*2, x_131); -x_138 = lean_st_ref_set(x_3, x_137, x_21); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -lean_dec(x_138); -x_140 = lean_st_ref_take(x_4, x_139); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_141, 13); -lean_inc(x_142); -x_143 = lean_ctor_get(x_142, 1); -lean_inc(x_143); -x_144 = lean_ctor_get(x_140, 1); -lean_inc(x_144); -lean_dec(x_140); -x_145 = lean_ctor_get(x_141, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_141, 1); -lean_inc(x_146); -x_147 = lean_ctor_get(x_141, 2); -lean_inc(x_147); -x_148 = lean_ctor_get(x_141, 3); -lean_inc(x_148); -x_149 = lean_ctor_get(x_141, 4); -lean_inc(x_149); -x_150 = lean_ctor_get(x_141, 5); -lean_inc(x_150); -x_151 = lean_ctor_get(x_141, 6); -lean_inc(x_151); -x_152 = lean_ctor_get_uint8(x_141, sizeof(void*)*15); -x_153 = lean_ctor_get(x_141, 7); -lean_inc(x_153); -x_154 = lean_ctor_get(x_141, 8); -lean_inc(x_154); -x_155 = lean_ctor_get(x_141, 9); -lean_inc(x_155); -x_156 = lean_ctor_get(x_141, 10); -lean_inc(x_156); -x_157 = lean_ctor_get(x_141, 11); -lean_inc(x_157); -x_158 = lean_ctor_get(x_141, 12); -lean_inc(x_158); -x_159 = lean_ctor_get(x_141, 14); -lean_inc(x_159); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - lean_ctor_release(x_141, 2); - lean_ctor_release(x_141, 3); - lean_ctor_release(x_141, 4); - lean_ctor_release(x_141, 5); - lean_ctor_release(x_141, 6); - lean_ctor_release(x_141, 7); - lean_ctor_release(x_141, 8); - lean_ctor_release(x_141, 9); - lean_ctor_release(x_141, 10); - lean_ctor_release(x_141, 11); - lean_ctor_release(x_141, 12); - lean_ctor_release(x_141, 13); - lean_ctor_release(x_141, 14); - x_160 = x_141; +x_274 = l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(x_270, x_14, x_273); +x_275 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_275, 0, x_272); +lean_ctor_set(x_275, 1, x_274); +lean_ctor_set_uint8(x_275, sizeof(void*)*2, x_269); +x_276 = lean_st_ref_set(x_3, x_275, x_21); +x_277 = lean_ctor_get(x_276, 1); +lean_inc(x_277); +lean_dec(x_276); +x_278 = lean_st_ref_take(x_4, x_277); +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_279, 13); +lean_inc(x_280); +x_281 = lean_ctor_get(x_280, 1); +lean_inc(x_281); +x_282 = lean_ctor_get(x_278, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_278)) { + lean_ctor_release(x_278, 0); + lean_ctor_release(x_278, 1); + x_283 = x_278; } else { - lean_dec_ref(x_141); - x_160 = lean_box(0); + lean_dec_ref(x_278); + x_283 = lean_box(0); } -x_161 = lean_ctor_get(x_142, 0); -lean_inc(x_161); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_162 = x_142; +x_284 = lean_ctor_get(x_279, 0); +lean_inc(x_284); +x_285 = lean_ctor_get(x_279, 1); +lean_inc(x_285); +x_286 = lean_ctor_get(x_279, 2); +lean_inc(x_286); +x_287 = lean_ctor_get(x_279, 3); +lean_inc(x_287); +x_288 = lean_ctor_get(x_279, 4); +lean_inc(x_288); +x_289 = lean_ctor_get(x_279, 5); +lean_inc(x_289); +x_290 = lean_ctor_get(x_279, 6); +lean_inc(x_290); +x_291 = lean_ctor_get_uint8(x_279, sizeof(void*)*15); +x_292 = lean_ctor_get(x_279, 7); +lean_inc(x_292); +x_293 = lean_ctor_get(x_279, 8); +lean_inc(x_293); +x_294 = lean_ctor_get(x_279, 9); +lean_inc(x_294); +x_295 = lean_ctor_get(x_279, 10); +lean_inc(x_295); +x_296 = lean_ctor_get(x_279, 11); +lean_inc(x_296); +x_297 = lean_ctor_get(x_279, 12); +lean_inc(x_297); +x_298 = lean_ctor_get(x_279, 14); +lean_inc(x_298); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + lean_ctor_release(x_279, 2); + lean_ctor_release(x_279, 3); + lean_ctor_release(x_279, 4); + lean_ctor_release(x_279, 5); + lean_ctor_release(x_279, 6); + lean_ctor_release(x_279, 7); + lean_ctor_release(x_279, 8); + lean_ctor_release(x_279, 9); + lean_ctor_release(x_279, 10); + lean_ctor_release(x_279, 11); + lean_ctor_release(x_279, 12); + lean_ctor_release(x_279, 13); + lean_ctor_release(x_279, 14); + x_299 = x_279; } else { - lean_dec_ref(x_142); - x_162 = lean_box(0); + lean_dec_ref(x_279); + x_299 = lean_box(0); } -x_163 = lean_ctor_get(x_143, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_143, 1); -lean_inc(x_164); -x_165 = lean_ctor_get(x_143, 2); -lean_inc(x_165); -x_166 = lean_ctor_get(x_143, 3); -lean_inc(x_166); -x_167 = lean_ctor_get(x_143, 4); -lean_inc(x_167); -x_168 = lean_ctor_get(x_143, 5); -lean_inc(x_168); -x_169 = lean_ctor_get(x_143, 6); -lean_inc(x_169); -x_170 = lean_ctor_get(x_143, 7); -lean_inc(x_170); -x_171 = lean_ctor_get(x_143, 8); -lean_inc(x_171); -x_172 = lean_ctor_get(x_143, 9); -lean_inc(x_172); -x_173 = lean_ctor_get(x_143, 10); -lean_inc(x_173); -x_174 = lean_ctor_get(x_143, 11); -lean_inc(x_174); -x_175 = lean_ctor_get(x_143, 12); -lean_inc(x_175); -x_176 = lean_ctor_get(x_143, 13); -lean_inc(x_176); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - lean_ctor_release(x_143, 1); - lean_ctor_release(x_143, 2); - lean_ctor_release(x_143, 3); - lean_ctor_release(x_143, 4); - lean_ctor_release(x_143, 5); - lean_ctor_release(x_143, 6); - lean_ctor_release(x_143, 7); - lean_ctor_release(x_143, 8); - lean_ctor_release(x_143, 9); - lean_ctor_release(x_143, 10); - lean_ctor_release(x_143, 11); - lean_ctor_release(x_143, 12); - lean_ctor_release(x_143, 13); - x_177 = x_143; +x_300 = lean_ctor_get(x_280, 0); +lean_inc(x_300); +if (lean_is_exclusive(x_280)) { + lean_ctor_release(x_280, 0); + lean_ctor_release(x_280, 1); + x_301 = x_280; } else { - lean_dec_ref(x_143); - x_177 = lean_box(0); + lean_dec_ref(x_280); + x_301 = lean_box(0); } -x_178 = 1; -if (lean_is_scalar(x_177)) { - x_179 = lean_alloc_ctor(0, 14, 1); +x_302 = lean_ctor_get(x_281, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_281, 1); +lean_inc(x_303); +x_304 = lean_ctor_get(x_281, 2); +lean_inc(x_304); +x_305 = lean_ctor_get(x_281, 3); +lean_inc(x_305); +x_306 = lean_ctor_get(x_281, 4); +lean_inc(x_306); +x_307 = lean_ctor_get(x_281, 5); +lean_inc(x_307); +x_308 = lean_ctor_get(x_281, 6); +lean_inc(x_308); +x_309 = lean_ctor_get(x_281, 7); +lean_inc(x_309); +x_310 = lean_ctor_get(x_281, 8); +lean_inc(x_310); +x_311 = lean_ctor_get(x_281, 9); +lean_inc(x_311); +x_312 = lean_ctor_get(x_281, 10); +lean_inc(x_312); +x_313 = lean_ctor_get(x_281, 11); +lean_inc(x_313); +x_314 = lean_ctor_get(x_281, 12); +lean_inc(x_314); +x_315 = lean_ctor_get(x_281, 13); +lean_inc(x_315); +if (lean_is_exclusive(x_281)) { + lean_ctor_release(x_281, 0); + lean_ctor_release(x_281, 1); + lean_ctor_release(x_281, 2); + lean_ctor_release(x_281, 3); + lean_ctor_release(x_281, 4); + lean_ctor_release(x_281, 5); + lean_ctor_release(x_281, 6); + lean_ctor_release(x_281, 7); + lean_ctor_release(x_281, 8); + lean_ctor_release(x_281, 9); + lean_ctor_release(x_281, 10); + lean_ctor_release(x_281, 11); + lean_ctor_release(x_281, 12); + lean_ctor_release(x_281, 13); + x_316 = x_281; } else { - x_179 = x_177; + lean_dec_ref(x_281); + x_316 = lean_box(0); } -lean_ctor_set(x_179, 0, x_163); -lean_ctor_set(x_179, 1, x_164); -lean_ctor_set(x_179, 2, x_165); -lean_ctor_set(x_179, 3, x_166); -lean_ctor_set(x_179, 4, x_167); -lean_ctor_set(x_179, 5, x_168); -lean_ctor_set(x_179, 6, x_169); -lean_ctor_set(x_179, 7, x_170); -lean_ctor_set(x_179, 8, x_171); -lean_ctor_set(x_179, 9, x_172); -lean_ctor_set(x_179, 10, x_173); -lean_ctor_set(x_179, 11, x_174); -lean_ctor_set(x_179, 12, x_175); -lean_ctor_set(x_179, 13, x_176); -lean_ctor_set_uint8(x_179, sizeof(void*)*14, x_178); -if (lean_is_scalar(x_162)) { - x_180 = lean_alloc_ctor(0, 2, 0); +x_317 = 1; +if (lean_is_scalar(x_316)) { + x_318 = lean_alloc_ctor(0, 14, 1); } else { - x_180 = x_162; + x_318 = x_316; } -lean_ctor_set(x_180, 0, x_161); -lean_ctor_set(x_180, 1, x_179); -if (lean_is_scalar(x_160)) { - x_181 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_318, 0, x_302); +lean_ctor_set(x_318, 1, x_303); +lean_ctor_set(x_318, 2, x_304); +lean_ctor_set(x_318, 3, x_305); +lean_ctor_set(x_318, 4, x_306); +lean_ctor_set(x_318, 5, x_307); +lean_ctor_set(x_318, 6, x_308); +lean_ctor_set(x_318, 7, x_309); +lean_ctor_set(x_318, 8, x_310); +lean_ctor_set(x_318, 9, x_311); +lean_ctor_set(x_318, 10, x_312); +lean_ctor_set(x_318, 11, x_313); +lean_ctor_set(x_318, 12, x_314); +lean_ctor_set(x_318, 13, x_315); +lean_ctor_set_uint8(x_318, sizeof(void*)*14, x_317); +if (lean_is_scalar(x_301)) { + x_319 = lean_alloc_ctor(0, 2, 0); } else { - x_181 = x_160; + x_319 = x_301; } -lean_ctor_set(x_181, 0, x_145); -lean_ctor_set(x_181, 1, x_146); -lean_ctor_set(x_181, 2, x_147); -lean_ctor_set(x_181, 3, x_148); -lean_ctor_set(x_181, 4, x_149); -lean_ctor_set(x_181, 5, x_150); -lean_ctor_set(x_181, 6, x_151); -lean_ctor_set(x_181, 7, x_153); -lean_ctor_set(x_181, 8, x_154); -lean_ctor_set(x_181, 9, x_155); -lean_ctor_set(x_181, 10, x_156); -lean_ctor_set(x_181, 11, x_157); -lean_ctor_set(x_181, 12, x_158); -lean_ctor_set(x_181, 13, x_180); -lean_ctor_set(x_181, 14, x_159); -lean_ctor_set_uint8(x_181, sizeof(void*)*15, x_152); -x_182 = lean_st_ref_set(x_4, x_181, x_144); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - x_184 = x_182; +lean_ctor_set(x_319, 0, x_300); +lean_ctor_set(x_319, 1, x_318); +if (lean_is_scalar(x_299)) { + x_320 = lean_alloc_ctor(0, 15, 1); } else { - lean_dec_ref(x_182); - x_184 = lean_box(0); + x_320 = x_299; } -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_320, 0, x_284); +lean_ctor_set(x_320, 1, x_285); +lean_ctor_set(x_320, 2, x_286); +lean_ctor_set(x_320, 3, x_287); +lean_ctor_set(x_320, 4, x_288); +lean_ctor_set(x_320, 5, x_289); +lean_ctor_set(x_320, 6, x_290); +lean_ctor_set(x_320, 7, x_292); +lean_ctor_set(x_320, 8, x_293); +lean_ctor_set(x_320, 9, x_294); +lean_ctor_set(x_320, 10, x_295); +lean_ctor_set(x_320, 11, x_296); +lean_ctor_set(x_320, 12, x_297); +lean_ctor_set(x_320, 13, x_319); +lean_ctor_set(x_320, 14, x_298); +lean_ctor_set_uint8(x_320, sizeof(void*)*15, x_291); +x_321 = lean_st_ref_set(x_4, x_320, x_282); +x_322 = lean_ctor_get(x_321, 1); +lean_inc(x_322); +if (lean_is_exclusive(x_321)) { + lean_ctor_release(x_321, 0); + lean_ctor_release(x_321, 1); + x_323 = x_321; } else { - x_185 = x_184; + lean_dec_ref(x_321); + x_323 = lean_box(0); +} +x_324 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5; +x_325 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_324, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_322); +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_unbox(x_326); +lean_dec(x_326); +if (x_327 == 0) +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; +lean_dec(x_323); +lean_dec(x_283); +x_328 = lean_ctor_get(x_325, 1); +lean_inc(x_328); +if (lean_is_exclusive(x_325)) { + lean_ctor_release(x_325, 0); + lean_ctor_release(x_325, 1); + x_329 = x_325; +} else { + lean_dec_ref(x_325); + x_329 = lean_box(0); +} +if (lean_is_scalar(x_329)) { + x_330 = lean_alloc_ctor(0, 2, 0); +} else { + x_330 = x_329; +} +lean_ctor_set(x_330, 0, x_14); +lean_ctor_set(x_330, 1, x_328); +return x_330; +} +else +{ +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +x_331 = lean_ctor_get(x_325, 1); +lean_inc(x_331); +lean_dec(x_325); +lean_inc(x_14); +x_332 = l_Lean_MessageData_ofName(x_14); +x_333 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7; +if (lean_is_scalar(x_323)) { + x_334 = lean_alloc_ctor(7, 2, 0); +} else { + x_334 = x_323; + lean_ctor_set_tag(x_334, 7); +} +lean_ctor_set(x_334, 0, x_333); +lean_ctor_set(x_334, 1, x_332); +x_335 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8; +if (lean_is_scalar(x_283)) { + x_336 = lean_alloc_ctor(7, 2, 0); +} else { + x_336 = x_283; + lean_ctor_set_tag(x_336, 7); +} +lean_ctor_set(x_336, 0, x_334); +lean_ctor_set(x_336, 1, x_335); +x_337 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_324, x_336, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_331); +x_338 = lean_ctor_get(x_337, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_337)) { + lean_ctor_release(x_337, 0); + lean_ctor_release(x_337, 1); + x_339 = x_337; +} else { + lean_dec_ref(x_337); + x_339 = lean_box(0); +} +if (lean_is_scalar(x_339)) { + x_340 = lean_alloc_ctor(0, 2, 0); +} else { + x_340 = x_339; +} +lean_ctor_set(x_340, 0, x_14); +lean_ctor_set(x_340, 1, x_338); +return x_340; } -lean_ctor_set(x_185, 0, x_14); -lean_ctor_set(x_185, 1, x_183); -return x_185; } } } @@ -1475,6 +2594,64 @@ lean_dec(x_2); return x_13; } } +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_2); +lean_dec(x_2); +x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__3(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +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_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___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) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_Meta_Grind_Arith_Cutsat_mkCase___lambda__1(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_15; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCase___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: { @@ -1547,6 +2724,27 @@ l_Lean_Meta_Grind_Arith_Cutsat_Search_instBEqKind___closed__1 = _init_l_Lean_Met lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_Search_instBEqKind___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_Search_instBEqKind = _init_l_Lean_Meta_Grind_Arith_Cutsat_Search_instBEqKind(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_Search_instBEqKind); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__1(); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__2); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__5); +l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__6 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__6); +l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__7); +l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkCase___closed__8); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Types.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Types.c index 17e0b88944..ef3e7176d8 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Types.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Types.c @@ -227,15 +227,13 @@ return x_2; static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedLeCnstr___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedLeCnstr___closed__1; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedLeCnstr___closed__5; -x_3 = lean_unsigned_to_nat(0u); -x_4 = lean_alloc_ctor(0, 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; +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_Meta_Grind_Arith_Cutsat_instInhabitedLeCnstr() { @@ -259,17 +257,15 @@ return x_2; static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedDvdCnstr___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_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Types_0__Lean_Meta_Grind_Arith_Cutsat_hashPoly____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat_Types___hyg_6____closed__1; x_2 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedLeCnstr___closed__1; x_3 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedDvdCnstr___closed__1; -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_alloc_ctor(0, 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; +x_4 = lean_alloc_ctor(0, 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_Meta_Grind_Arith_Cutsat_instInhabitedDvdCnstr() { @@ -320,11 +316,10 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCooperSplitPred___closed__1; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Meta_Grind_Arith_Cutsat_instInhabitedCooperSplit___closed__1; -x_4 = lean_alloc_ctor(0, 4, 0); +x_4 = lean_alloc_ctor(0, 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); -lean_ctor_set(x_4, 3, x_2); return x_4; } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Util.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Util.c index aa3513d9fe..0babe6b3e0 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Util.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Util.c @@ -22,12 +22,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_addOcc(lean_object*, lea static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr___closed__10; lean_object* l_Int_gcd(lean_object*, lean_object*); uint8_t l_Bool_toLBool(uint8_t); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_caching(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_toContextExpr___closed__4; lean_object* l_Lean_RArray_toExpr___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_isTrivial___boxed(lean_object*); size_t lean_usize_shift_right(size_t, size_t); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Int_lcm(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_inconsistent___closed__1; @@ -41,7 +41,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_throwUnexpected( lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Int_Linear_Poly_eval_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_leadCoeff(lean_object*); -uint64_t lean_uint64_of_nat(lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_Linear_Poly_updateOccs_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); @@ -49,6 +48,7 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__5___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__6(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_withProofContext___closed__7; uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_toContextExpr___closed__2; lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Int_Linear_Poly_updateOccs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -64,16 +64,18 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_modify_x27(lean_object*, LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_emod(lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(uint64_t, lean_object*); static lean_object* l_Int_Linear_Poly_isZero___closed__1; extern lean_object* l___private_Lean_Expr_0__Lean_intLEPred; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_throwUnexpected___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_Grind_Arith_Cutsat_modify_x27___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_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(uint64_t, lean_object*); uint8_t l_Int_Linear_Poly_isUnsatLe(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_Grind_Arith_Cutsat_withProofContext___spec__1___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*); uint8_t l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37_(lean_object*, lean_object*); extern lean_object* l___private_Lean_Expr_0__Lean_intEqPred; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_throwUnexpected___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_Grind_Arith_Cutsat_DiseqCnstr_throwUnexpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -82,12 +84,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getVars(lean_object*, le static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp___closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resize(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___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_throwError___at_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_throwUnexpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Int_Linear_Poly_isZero(lean_object*); lean_object* l_Lean_PersistentArray_pop___rarg(lean_object*); uint8_t lean_int_dec_le(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_Cutsat_addOcc___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching(lean_object*); lean_object* l_Lean_Level_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_satisfied___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_addOcc___lambda__1___boxed(lean_object*, lean_object*); @@ -96,8 +99,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_inconsistent___lambda__1 LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_throwUnexpected(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr___closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_Grind_Arith_Cutsat_withProofContext___spec__1(lean_object*); +size_t lean_ptr_addr(lean_object*); lean_object* l_Lean_mkIntDvd(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__4; LEAN_EXPORT lean_object* l_Int_Linear_Poly_denoteExpr_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_addOcc___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -117,6 +122,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_EqC static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr___closed__9; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); +uint64_t lean_usize_to_uint64(size_t); lean_object* lean_nat_to_int(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_Linear_Poly_isSorted___boxed(lean_object*); @@ -142,11 +148,11 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr___closed_ lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_throwUnexpected(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_isTrivial(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Int_Linear_Poly_pp_go___closed__5; lean_object* l_Std_Internal_Rat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_throwUnexpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -180,6 +186,7 @@ uint8_t l_Std_Internal_Rat_instDecidableLe(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_Linear_Poly_isZero___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_Grind_Arith_Cutsat_withProofContext___spec__1___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*, lean_object*); lean_object* lean_usize_to_nat(size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_numCases___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_throwUnexpected___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_int_sub(lean_object*, lean_object*); @@ -192,8 +199,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_Dvd LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getOccursOf___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_Int_Linear_Poly_pp_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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp___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_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_caching(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(uint64_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_getConst(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -218,7 +224,6 @@ lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_Linear_Poly_satisfiedLe___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_Grind_Arith_Cutsat_gcdExt___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resetAssignmentFrom(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_Int_Linear_Poly_denoteExpr_x27___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr___closed__5; @@ -229,8 +234,10 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe uint64_t lean_uint64_xor(uint64_t, uint64_t); lean_object* l_Int_toNat(lean_object*); LEAN_EXPORT uint8_t l_Int_Linear_Poly_isSorted(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_Linear_Poly_gcdCoeffs_x27(lean_object*); LEAN_EXPORT lean_object* l_Int_Linear_Poly_eval_x3f___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_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__1; uint8_t lean_int_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_eliminated___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_Grind_Arith_Cutsat_withProofContext___closed__3; @@ -245,7 +252,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_isUnsat___boxed LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_throwUnexpected___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_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_throwUnexpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_withProofContext___closed__5; @@ -257,16 +266,19 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_Grind_Arith_Cuts LEAN_EXPORT lean_object* l_Int_Linear_Poly_isSorted_go___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_Linear_Poly_pp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_denoteExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint64_t l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(lean_object*); extern lean_object* l_Std_Internal_instInhabitedRat; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_withProofContext___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Int_Linear_Poly_updateOccs(lean_object*, lean_object*, 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); lean_object* l_Lean_instToExprInt_mkNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at_Lean_Meta_Grind_Arith_Cutsat_addOcc___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_denoteExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); uint8_t lean_int_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(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_Meta_Grind_Arith_Cutsat_LeCnstr_throwUnexpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); @@ -277,12 +289,10 @@ lean_object* lean_int_ediv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_Linear_Poly_updateOccs_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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_neg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_caching(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_isUnsat___boxed(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr___closed__2; 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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_caching(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_eliminated(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_throwUnexpected___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -313,6 +323,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Met static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_denoteExpr___closed__1; lean_object* l_Lean_RArray_ofFn_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_throwUnexpected___rarg___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_withProofContext___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_satisfied(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Int_Linear_Poly_isZero___closed__1() { @@ -1723,58 +1734,6 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(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; uint8_t x_13; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_mkCnstrId(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_2); -lean_ctor_set(x_15, 2, x_14); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -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); -x_18 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_2); -lean_ctor_set(x_18, 2, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Meta_Grind_Arith_Cutsat_mkEqCnstr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_assert___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: { @@ -8603,7 +8562,36 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint64_t l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(lean_object* x_1) { +_start: +{ +size_t x_2; uint64_t x_3; uint64_t x_4; uint64_t x_5; +x_2 = lean_ptr_addr(x_1); +x_3 = lean_usize_to_uint64(x_2); +x_4 = 2; +x_5 = lean_uint64_shift_right(x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg___boxed), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg___boxed(lean_object* x_1) { +_start: +{ +uint64_t x_2; lean_object* x_3; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(x_1); +lean_dec(x_1); +x_3 = lean_box_uint64(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(uint64_t x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -8614,28 +8602,35 @@ return x_3; } else { -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint8_t x_8; 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); -x_7 = lean_nat_dec_eq(x_4, x_1); -if (x_7 == 0) +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_unbox_uint64(x_4); +lean_dec(x_4); +x_8 = lean_uint64_dec_eq(x_7, x_1); +if (x_8 == 0) { +lean_dec(x_5); 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_object* x_10; +lean_dec(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_5); +return x_10; } } } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(uint64_t x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -8646,20 +8641,26 @@ return x_3; } else { -lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_object* x_4; lean_object* x_5; uint64_t x_6; uint8_t x_7; x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_nat_dec_eq(x_4, x_1); -if (x_6 == 0) +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_unbox_uint64(x_4); +lean_dec(x_4); +x_7 = lean_uint64_dec_eq(x_6, x_1); +if (x_7 == 0) { x_2 = x_5; goto _start; } else { -uint8_t x_8; -x_8 = 1; -return x_8; +uint8_t x_9; +lean_dec(x_5); +x_9 = 1; +return x_9; } } } @@ -8760,62 +8761,64 @@ 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; +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; uint64_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; 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); +x_7 = 32; +x_8 = lean_unbox_uint64(x_4); +x_9 = lean_uint64_shift_right(x_8, x_7); +x_10 = lean_unbox_uint64(x_4); +x_11 = lean_uint64_xor(x_10, x_9); +x_12 = 16; +x_13 = lean_uint64_shift_right(x_11, x_12); +x_14 = lean_uint64_xor(x_11, x_13); +x_15 = lean_uint64_to_usize(x_14); +x_16 = 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_17 = 1; +x_18 = lean_usize_sub(x_16, x_17); +x_19 = lean_usize_land(x_15, x_18); +x_20 = lean_array_uget(x_1, x_19); +lean_ctor_set(x_2, 2, x_20); +x_21 = lean_array_uset(x_1, x_19, x_2); +x_1 = x_21; 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_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* 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; uint64_t x_33; uint64_t x_34; size_t x_35; size_t x_36; size_t x_37; size_t x_38; size_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_23 = lean_ctor_get(x_2, 0); +x_24 = lean_ctor_get(x_2, 1); +x_25 = lean_ctor_get(x_2, 2); +lean_inc(x_25); 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_26 = lean_array_get_size(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_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; +x_28 = lean_unbox_uint64(x_23); +x_29 = lean_uint64_shift_right(x_28, x_27); +x_30 = lean_unbox_uint64(x_23); +x_31 = lean_uint64_xor(x_30, x_29); +x_32 = 16; +x_33 = lean_uint64_shift_right(x_31, x_32); +x_34 = lean_uint64_xor(x_31, x_33); +x_35 = lean_uint64_to_usize(x_34); +x_36 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_37 = 1; +x_38 = lean_usize_sub(x_36, x_37); +x_39 = lean_usize_land(x_35, x_38); +x_40 = lean_array_uget(x_1, x_39); +x_41 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_41, 0, x_23); +lean_ctor_set(x_41, 1, x_24); +lean_ctor_set(x_41, 2, x_40); +x_42 = lean_array_uset(x_1, x_39, x_41); +x_1 = x_42; +x_2 = x_25; goto _start; } } @@ -8866,14 +8869,13 @@ x_8 = l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Meta_Grind_Arith_Cut return x_8; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(uint64_t 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; } @@ -8883,101 +8885,105 @@ 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; +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; uint8_t x_10; 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) +x_9 = lean_unbox_uint64(x_6); +x_10 = lean_uint64_dec_eq(x_9, x_1); +if (x_10 == 0) { -lean_object* x_10; -x_10 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_1, x_2, x_8); -lean_ctor_set(x_3, 2, x_10); +lean_object* x_11; +x_11 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_1, x_2, x_8); +lean_ctor_set(x_3, 2, x_11); return x_3; } else { +lean_object* x_12; lean_dec(x_7); lean_dec(x_6); +x_12 = lean_box_uint64(x_1); lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 0, x_12); 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_object* x_13; lean_object* x_14; lean_object* x_15; uint64_t x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +lean_inc(x_15); +lean_inc(x_14); 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) +x_16 = lean_unbox_uint64(x_13); +x_17 = lean_uint64_dec_eq(x_16, x_1); +if (x_17 == 0) { -lean_object* x_15; lean_object* x_16; -x_15 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(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; +lean_object* x_18; lean_object* x_19; +x_18 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_1, x_2, x_15); +x_19 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_18); +return x_19; } 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_object* x_20; lean_object* x_21; +lean_dec(x_14); +lean_dec(x_13); +x_20 = lean_box_uint64(x_1); +x_21 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_2); +lean_ctor_set(x_21, 2, x_15); +return x_21; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; uint8_t x_15; -x_14 = lean_st_ref_get(x_4, x_13); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) +uint64_t x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_caching_unsafe__1___rarg(x_1); +x_15 = lean_st_ref_get(x_4, x_13); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint64_t x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_array_get_size(x_18); -x_20 = lean_uint64_of_nat(x_1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_array_get_size(x_19); x_21 = 32; -x_22 = lean_uint64_shift_right(x_20, x_21); -x_23 = lean_uint64_xor(x_20, x_22); +x_22 = lean_uint64_shift_right(x_14, x_21); +x_23 = lean_uint64_xor(x_14, x_22); x_24 = 16; x_25 = lean_uint64_shift_right(x_23, x_24); x_26 = lean_uint64_xor(x_23, x_25); x_27 = lean_uint64_to_usize(x_26); -x_28 = lean_usize_of_nat(x_19); -lean_dec(x_19); +x_28 = lean_usize_of_nat(x_20); +lean_dec(x_20); x_29 = 1; x_30 = lean_usize_sub(x_28, x_29); x_31 = lean_usize_land(x_27, x_30); -x_32 = lean_array_uget(x_18, x_31); -lean_dec(x_18); -x_33 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_1, x_32); -lean_dec(x_32); +x_32 = lean_array_uget(x_19, x_31); +lean_dec(x_19); +x_33 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_32); if (lean_obj_tag(x_33) == 0) { lean_object* x_34; -lean_free_object(x_14); +lean_free_object(x_15); lean_inc(x_4); -x_34 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); +x_34 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); if (lean_obj_tag(x_34) == 0) { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; @@ -9004,273 +9010,276 @@ lean_dec(x_43); x_45 = lean_usize_sub(x_44, x_29); x_46 = lean_usize_land(x_27, x_45); x_47 = lean_array_uget(x_42, x_46); -x_48 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_1, x_47); +lean_inc(x_47); +x_48 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, 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; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; x_49 = lean_unsigned_to_nat(1u); x_50 = lean_nat_add(x_41, x_49); lean_dec(x_41); +x_51 = lean_box_uint64(x_14); lean_inc(x_35); -x_51 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_51, 0, x_1); -lean_ctor_set(x_51, 1, x_35); -lean_ctor_set(x_51, 2, x_47); -x_52 = lean_array_uset(x_42, x_46, x_51); -x_53 = lean_unsigned_to_nat(4u); -x_54 = lean_nat_mul(x_50, x_53); -x_55 = lean_unsigned_to_nat(3u); -x_56 = lean_nat_div(x_54, x_55); -lean_dec(x_54); -x_57 = lean_array_get_size(x_52); -x_58 = lean_nat_dec_le(x_56, x_57); +x_52 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_35); +lean_ctor_set(x_52, 2, x_47); +x_53 = lean_array_uset(x_42, x_46, x_52); +x_54 = lean_unsigned_to_nat(4u); +x_55 = lean_nat_mul(x_50, x_54); +x_56 = lean_unsigned_to_nat(3u); +x_57 = lean_nat_div(x_55, x_56); +lean_dec(x_55); +x_58 = lean_array_get_size(x_53); +x_59 = lean_nat_dec_le(x_57, x_58); +lean_dec(x_58); lean_dec(x_57); -lean_dec(x_56); -if (x_58 == 0) +if (x_59 == 0) { -lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_59 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_52); -lean_ctor_set(x_38, 1, x_59); +lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_60 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_53); +lean_ctor_set(x_38, 1, x_60); lean_ctor_set(x_38, 0, x_50); -x_60 = lean_st_ref_set(x_4, x_38, x_39); +x_61 = lean_st_ref_set(x_4, x_38, x_39); lean_dec(x_4); -x_61 = !lean_is_exclusive(x_60); -if (x_61 == 0) +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) { -lean_object* x_62; -x_62 = lean_ctor_get(x_60, 0); -lean_dec(x_62); -lean_ctor_set(x_60, 0, x_35); -return x_60; +lean_object* x_63; +x_63 = lean_ctor_get(x_61, 0); +lean_dec(x_63); +lean_ctor_set(x_61, 0, x_35); +return x_61; } else { -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_60, 1); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_35); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -else -{ -lean_object* x_65; uint8_t x_66; -lean_ctor_set(x_38, 1, x_52); -lean_ctor_set(x_38, 0, x_50); -x_65 = lean_st_ref_set(x_4, x_38, x_39); -lean_dec(x_4); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_65, 0); -lean_dec(x_67); +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_61, 1); +lean_inc(x_64); +lean_dec(x_61); +x_65 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_65, 0, x_35); +lean_ctor_set(x_65, 1, x_64); return x_65; } -else -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_35); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_70 = lean_box(0); -x_71 = lean_array_uset(x_42, x_46, x_70); -lean_inc(x_35); -x_72 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_1, x_35, x_47); -x_73 = lean_array_uset(x_71, x_46, x_72); -lean_ctor_set(x_38, 1, x_73); -x_74 = lean_st_ref_set(x_4, x_38, x_39); +lean_object* x_66; uint8_t x_67; +lean_ctor_set(x_38, 1, x_53); +lean_ctor_set(x_38, 0, x_50); +x_66 = lean_st_ref_set(x_4, x_38, x_39); lean_dec(x_4); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) { -lean_object* x_76; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -lean_ctor_set(x_74, 0, x_35); -return x_74; +lean_object* x_68; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +lean_ctor_set(x_66, 0, x_35); +return x_66; } else { -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -lean_dec(x_74); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_35); -lean_ctor_set(x_78, 1, x_77); -return x_78; +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_35); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; size_t x_84; lean_object* x_85; uint8_t x_86; -x_79 = lean_ctor_get(x_38, 0); -x_80 = lean_ctor_get(x_38, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_71 = lean_box(0); +x_72 = lean_array_uset(x_42, x_46, x_71); +lean_inc(x_35); +x_73 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_35, x_47); +x_74 = lean_array_uset(x_72, x_46, x_73); +lean_ctor_set(x_38, 1, x_74); +x_75 = lean_st_ref_set(x_4, x_38, x_39); +lean_dec(x_4); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_75, 0); +lean_dec(x_77); +lean_ctor_set(x_75, 0, x_35); +return x_75; +} +else +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_75, 1); +lean_inc(x_78); +lean_dec(x_75); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_35); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; size_t x_83; size_t x_84; size_t x_85; lean_object* x_86; uint8_t x_87; +x_80 = lean_ctor_get(x_38, 0); +x_81 = lean_ctor_get(x_38, 1); +lean_inc(x_81); lean_inc(x_80); -lean_inc(x_79); lean_dec(x_38); -x_81 = lean_array_get_size(x_80); -x_82 = lean_usize_of_nat(x_81); -lean_dec(x_81); -x_83 = lean_usize_sub(x_82, x_29); -x_84 = lean_usize_land(x_27, x_83); -x_85 = lean_array_uget(x_80, x_84); -x_86 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_1, x_85); -if (x_86 == 0) +x_82 = lean_array_get_size(x_81); +x_83 = lean_usize_of_nat(x_82); +lean_dec(x_82); +x_84 = lean_usize_sub(x_83, x_29); +x_85 = lean_usize_land(x_27, x_84); +x_86 = lean_array_uget(x_81, x_85); +lean_inc(x_86); +x_87 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_86); +if (x_87 == 0) { -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; uint8_t x_96; -x_87 = lean_unsigned_to_nat(1u); -x_88 = lean_nat_add(x_79, x_87); -lean_dec(x_79); +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; uint8_t x_98; +x_88 = lean_unsigned_to_nat(1u); +x_89 = lean_nat_add(x_80, x_88); +lean_dec(x_80); +x_90 = lean_box_uint64(x_14); lean_inc(x_35); -x_89 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_89, 0, x_1); -lean_ctor_set(x_89, 1, x_35); -lean_ctor_set(x_89, 2, x_85); -x_90 = lean_array_uset(x_80, x_84, x_89); -x_91 = lean_unsigned_to_nat(4u); -x_92 = lean_nat_mul(x_88, x_91); -x_93 = lean_unsigned_to_nat(3u); -x_94 = lean_nat_div(x_92, x_93); -lean_dec(x_92); -x_95 = lean_array_get_size(x_90); -x_96 = lean_nat_dec_le(x_94, x_95); -lean_dec(x_95); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_35); +lean_ctor_set(x_91, 2, x_86); +x_92 = lean_array_uset(x_81, x_85, x_91); +x_93 = lean_unsigned_to_nat(4u); +x_94 = lean_nat_mul(x_89, x_93); +x_95 = lean_unsigned_to_nat(3u); +x_96 = lean_nat_div(x_94, x_95); lean_dec(x_94); -if (x_96 == 0) +x_97 = lean_array_get_size(x_92); +x_98 = lean_nat_dec_le(x_96, x_97); +lean_dec(x_97); +lean_dec(x_96); +if (x_98 == 0) { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_97 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_90); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_88); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_st_ref_set(x_4, x_98, x_39); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_99 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_92); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_89); +lean_ctor_set(x_100, 1, x_99); +x_101 = lean_st_ref_set(x_4, x_100, x_39); lean_dec(x_4); -x_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_101 = x_99; +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; } else { - lean_dec_ref(x_99); - x_101 = lean_box(0); + lean_dec_ref(x_101); + x_103 = lean_box(0); } -if (lean_is_scalar(x_101)) { - x_102 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); } else { - x_102 = x_101; + x_104 = x_103; } -lean_ctor_set(x_102, 0, x_35); -lean_ctor_set(x_102, 1, x_100); -return x_102; +lean_ctor_set(x_104, 0, x_35); +lean_ctor_set(x_104, 1, x_102); +return x_104; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_88); -lean_ctor_set(x_103, 1, x_90); -x_104 = lean_st_ref_set(x_4, x_103, x_39); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_89); +lean_ctor_set(x_105, 1, x_92); +x_106 = lean_st_ref_set(x_4, x_105, x_39); lean_dec(x_4); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_106 = x_104; +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_108 = x_106; } else { - lean_dec_ref(x_104); - x_106 = lean_box(0); + lean_dec_ref(x_106); + x_108 = lean_box(0); } -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(0, 2, 0); } else { - x_107 = x_106; + x_109 = x_108; } -lean_ctor_set(x_107, 0, x_35); -lean_ctor_set(x_107, 1, x_105); -return x_107; +lean_ctor_set(x_109, 0, x_35); +lean_ctor_set(x_109, 1, x_107); +return x_109; } } else { -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 = lean_box(0); -x_109 = lean_array_uset(x_80, x_84, x_108); +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_110 = lean_box(0); +x_111 = lean_array_uset(x_81, x_85, x_110); lean_inc(x_35); -x_110 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_1, x_35, x_85); -x_111 = lean_array_uset(x_109, x_84, x_110); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_79); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_st_ref_set(x_4, x_112, x_39); +x_112 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_35, x_86); +x_113 = lean_array_uset(x_111, x_85, x_112); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_80); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_st_ref_set(x_4, x_114, x_39); lean_dec(x_4); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_115 = x_113; +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; } else { - lean_dec_ref(x_113); - x_115 = lean_box(0); + lean_dec_ref(x_115); + x_117 = lean_box(0); } -if (lean_is_scalar(x_115)) { - x_116 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(0, 2, 0); } else { - x_116 = x_115; + x_118 = x_117; } -lean_ctor_set(x_116, 0, x_35); -lean_ctor_set(x_116, 1, x_114); -return x_116; +lean_ctor_set(x_118, 0, x_35); +lean_ctor_set(x_118, 1, x_116); +return x_118; } } } else { -uint8_t x_117; +uint8_t x_119; lean_dec(x_4); -lean_dec(x_1); -x_117 = !lean_is_exclusive(x_34); -if (x_117 == 0) +x_119 = !lean_is_exclusive(x_34); +if (x_119 == 0) { return x_34; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_34, 0); -x_119 = lean_ctor_get(x_34, 1); -lean_inc(x_119); -lean_inc(x_118); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_34, 0); +x_121 = lean_ctor_get(x_34, 1); +lean_inc(x_121); +lean_inc(x_120); lean_dec(x_34); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; +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_object* x_121; +lean_object* x_123; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -9282,2655 +9291,299 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_121 = lean_ctor_get(x_33, 0); -lean_inc(x_121); +x_123 = lean_ctor_get(x_33, 0); +lean_inc(x_123); lean_dec(x_33); -lean_ctor_set(x_14, 0, x_121); -return x_14; +lean_ctor_set(x_15, 0, x_123); +return x_15; } } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint64_t x_126; uint64_t x_127; uint64_t x_128; uint64_t x_129; uint64_t x_130; uint64_t x_131; uint64_t x_132; size_t x_133; size_t x_134; size_t x_135; size_t x_136; size_t x_137; lean_object* x_138; lean_object* x_139; -x_122 = lean_ctor_get(x_14, 0); -x_123 = lean_ctor_get(x_14, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_14); -x_124 = lean_ctor_get(x_122, 1); +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint64_t x_128; uint64_t x_129; uint64_t x_130; uint64_t x_131; uint64_t x_132; uint64_t x_133; size_t x_134; size_t x_135; size_t x_136; size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; +x_124 = lean_ctor_get(x_15, 0); +x_125 = lean_ctor_get(x_15, 1); +lean_inc(x_125); lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_array_get_size(x_124); -x_126 = lean_uint64_of_nat(x_1); -x_127 = 32; -x_128 = lean_uint64_shift_right(x_126, x_127); -x_129 = lean_uint64_xor(x_126, x_128); -x_130 = 16; -x_131 = lean_uint64_shift_right(x_129, x_130); -x_132 = lean_uint64_xor(x_129, x_131); -x_133 = lean_uint64_to_usize(x_132); -x_134 = lean_usize_of_nat(x_125); -lean_dec(x_125); -x_135 = 1; -x_136 = lean_usize_sub(x_134, x_135); -x_137 = lean_usize_land(x_133, x_136); -x_138 = lean_array_uget(x_124, x_137); +lean_dec(x_15); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); lean_dec(x_124); -x_139 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_1, x_138); -lean_dec(x_138); -if (lean_obj_tag(x_139) == 0) -{ -lean_object* x_140; -lean_inc(x_4); -x_140 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_123); +x_127 = lean_array_get_size(x_126); +x_128 = 32; +x_129 = lean_uint64_shift_right(x_14, x_128); +x_130 = lean_uint64_xor(x_14, x_129); +x_131 = 16; +x_132 = lean_uint64_shift_right(x_130, x_131); +x_133 = lean_uint64_xor(x_130, x_132); +x_134 = lean_uint64_to_usize(x_133); +x_135 = lean_usize_of_nat(x_127); +lean_dec(x_127); +x_136 = 1; +x_137 = lean_usize_sub(x_135, x_136); +x_138 = lean_usize_land(x_134, x_137); +x_139 = lean_array_uget(x_126, x_138); +lean_dec(x_126); +x_140 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_139); if (lean_obj_tag(x_140) == 0) { -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; size_t x_150; size_t x_151; size_t x_152; lean_object* x_153; uint8_t x_154; -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); +lean_object* x_141; +lean_inc(x_4); +x_141 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_125); +if (lean_obj_tag(x_141) == 0) +{ +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; size_t x_151; size_t x_152; size_t x_153; lean_object* x_154; uint8_t x_155; +x_142 = lean_ctor_get(x_141, 0); lean_inc(x_142); -lean_dec(x_140); -x_143 = lean_st_ref_take(x_4, x_142); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = lean_st_ref_take(x_4, x_143); +x_145 = lean_ctor_get(x_144, 0); lean_inc(x_145); -lean_dec(x_143); -x_146 = lean_ctor_get(x_144, 0); +x_146 = lean_ctor_get(x_144, 1); lean_inc(x_146); -x_147 = lean_ctor_get(x_144, 1); +lean_dec(x_144); +x_147 = lean_ctor_get(x_145, 0); lean_inc(x_147); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_148 = x_144; +x_148 = lean_ctor_get(x_145, 1); +lean_inc(x_148); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_149 = x_145; } else { - lean_dec_ref(x_144); - x_148 = lean_box(0); + lean_dec_ref(x_145); + x_149 = lean_box(0); } -x_149 = lean_array_get_size(x_147); -x_150 = lean_usize_of_nat(x_149); -lean_dec(x_149); -x_151 = lean_usize_sub(x_150, x_135); -x_152 = lean_usize_land(x_133, x_151); -x_153 = lean_array_uget(x_147, x_152); -x_154 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_1, x_153); -if (x_154 == 0) +x_150 = lean_array_get_size(x_148); +x_151 = lean_usize_of_nat(x_150); +lean_dec(x_150); +x_152 = lean_usize_sub(x_151, x_136); +x_153 = lean_usize_land(x_134, x_152); +x_154 = lean_array_uget(x_148, x_153); +lean_inc(x_154); +x_155 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_154); +if (x_155 == 0) { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; -x_155 = lean_unsigned_to_nat(1u); -x_156 = lean_nat_add(x_146, x_155); -lean_dec(x_146); -lean_inc(x_141); -x_157 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_157, 0, x_1); -lean_ctor_set(x_157, 1, x_141); -lean_ctor_set(x_157, 2, x_153); -x_158 = lean_array_uset(x_147, x_152, x_157); -x_159 = lean_unsigned_to_nat(4u); -x_160 = lean_nat_mul(x_156, x_159); -x_161 = lean_unsigned_to_nat(3u); -x_162 = lean_nat_div(x_160, x_161); -lean_dec(x_160); -x_163 = lean_array_get_size(x_158); -x_164 = lean_nat_dec_le(x_162, x_163); -lean_dec(x_163); +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; +x_156 = lean_unsigned_to_nat(1u); +x_157 = lean_nat_add(x_147, x_156); +lean_dec(x_147); +x_158 = lean_box_uint64(x_14); +lean_inc(x_142); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_142); +lean_ctor_set(x_159, 2, x_154); +x_160 = lean_array_uset(x_148, x_153, x_159); +x_161 = lean_unsigned_to_nat(4u); +x_162 = lean_nat_mul(x_157, x_161); +x_163 = lean_unsigned_to_nat(3u); +x_164 = lean_nat_div(x_162, x_163); lean_dec(x_162); -if (x_164 == 0) +x_165 = lean_array_get_size(x_160); +x_166 = lean_nat_dec_le(x_164, x_165); +lean_dec(x_165); +lean_dec(x_164); +if (x_166 == 0) { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_165 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_158); -if (lean_is_scalar(x_148)) { - x_166 = lean_alloc_ctor(0, 2, 0); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_167 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_160); +if (lean_is_scalar(x_149)) { + x_168 = lean_alloc_ctor(0, 2, 0); } else { - x_166 = x_148; + x_168 = x_149; } -lean_ctor_set(x_166, 0, x_156); -lean_ctor_set(x_166, 1, x_165); -x_167 = lean_st_ref_set(x_4, x_166, x_145); +lean_ctor_set(x_168, 0, x_157); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_st_ref_set(x_4, x_168, x_146); lean_dec(x_4); -x_168 = lean_ctor_get(x_167, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_169 = x_167; +x_170 = lean_ctor_get(x_169, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_171 = x_169; } else { - lean_dec_ref(x_167); - x_169 = lean_box(0); + lean_dec_ref(x_169); + x_171 = lean_box(0); } -if (lean_is_scalar(x_169)) { - x_170 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_171)) { + x_172 = lean_alloc_ctor(0, 2, 0); } else { - x_170 = x_169; + x_172 = x_171; } -lean_ctor_set(x_170, 0, x_141); -lean_ctor_set(x_170, 1, x_168); -return x_170; +lean_ctor_set(x_172, 0, x_142); +lean_ctor_set(x_172, 1, x_170); +return x_172; } else { -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_148)) { - x_171 = lean_alloc_ctor(0, 2, 0); +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +if (lean_is_scalar(x_149)) { + x_173 = lean_alloc_ctor(0, 2, 0); } else { - x_171 = x_148; + x_173 = x_149; } -lean_ctor_set(x_171, 0, x_156); -lean_ctor_set(x_171, 1, x_158); -x_172 = lean_st_ref_set(x_4, x_171, x_145); +lean_ctor_set(x_173, 0, x_157); +lean_ctor_set(x_173, 1, x_160); +x_174 = lean_st_ref_set(x_4, x_173, x_146); lean_dec(x_4); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - x_174 = x_172; +x_175 = lean_ctor_get(x_174, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_176 = x_174; } else { - lean_dec_ref(x_172); - x_174 = lean_box(0); + lean_dec_ref(x_174); + x_176 = lean_box(0); } -if (lean_is_scalar(x_174)) { - x_175 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_176)) { + x_177 = lean_alloc_ctor(0, 2, 0); } else { - x_175 = x_174; + x_177 = x_176; } -lean_ctor_set(x_175, 0, x_141); -lean_ctor_set(x_175, 1, x_173); -return x_175; +lean_ctor_set(x_177, 0, x_142); +lean_ctor_set(x_177, 1, x_175); +return x_177; } } else { -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; -x_176 = lean_box(0); -x_177 = lean_array_uset(x_147, x_152, x_176); -lean_inc(x_141); -x_178 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_1, x_141, x_153); -x_179 = lean_array_uset(x_177, x_152, x_178); -if (lean_is_scalar(x_148)) { - x_180 = lean_alloc_ctor(0, 2, 0); +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_178 = lean_box(0); +x_179 = lean_array_uset(x_148, x_153, x_178); +lean_inc(x_142); +x_180 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_142, x_154); +x_181 = lean_array_uset(x_179, x_153, x_180); +if (lean_is_scalar(x_149)) { + x_182 = lean_alloc_ctor(0, 2, 0); } else { - x_180 = x_148; + x_182 = x_149; } -lean_ctor_set(x_180, 0, x_146); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_st_ref_set(x_4, x_180, x_145); +lean_ctor_set(x_182, 0, x_147); +lean_ctor_set(x_182, 1, x_181); +x_183 = lean_st_ref_set(x_4, x_182, x_146); lean_dec(x_4); -x_182 = lean_ctor_get(x_181, 1); -lean_inc(x_182); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - x_183 = x_181; +x_184 = lean_ctor_get(x_183, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_185 = x_183; } else { - lean_dec_ref(x_181); - x_183 = lean_box(0); + lean_dec_ref(x_183); + x_185 = lean_box(0); } -if (lean_is_scalar(x_183)) { - x_184 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_185)) { + x_186 = lean_alloc_ctor(0, 2, 0); } else { - x_184 = x_183; + x_186 = x_185; } -lean_ctor_set(x_184, 0, x_141); -lean_ctor_set(x_184, 1, x_182); -return x_184; +lean_ctor_set(x_186, 0, x_142); +lean_ctor_set(x_186, 1, x_184); +return x_186; } } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_dec(x_4); -lean_dec(x_1); -x_185 = lean_ctor_get(x_140, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_140, 1); -lean_inc(x_186); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - x_187 = x_140; +x_187 = lean_ctor_get(x_141, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_141, 1); +lean_inc(x_188); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + x_189 = x_141; } else { - lean_dec_ref(x_140); - x_187 = lean_box(0); + lean_dec_ref(x_141); + x_189 = lean_box(0); } -if (lean_is_scalar(x_187)) { - x_188 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_189)) { + x_190 = lean_alloc_ctor(1, 2, 0); } else { - x_188 = x_187; + x_190 = x_189; } -lean_ctor_set(x_188, 0, x_185); -lean_ctor_set(x_188, 1, x_186); -return x_188; -} -} -else -{ -lean_object* x_189; lean_object* x_190; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_189 = lean_ctor_get(x_139, 0); -lean_inc(x_189); -lean_dec(x_139); -x_190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_123); +lean_ctor_set(x_190, 0, x_187); +lean_ctor_set(x_190, 1, x_188); return x_190; } } +else +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_191 = lean_ctor_get(x_140, 0); +lean_inc(x_191); +lean_dec(x_140); +x_192 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_125); +return x_192; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_Cutsat_caching___rarg___boxed), 13, 0); +return x_2; } } LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___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_Meta_Grind_Arith_Cutsat_caching___spec__1(x_1, x_2); -lean_dec(x_2); +uint64_t x_3; lean_object* x_4; +x_3 = lean_unbox_uint64(x_1); lean_dec(x_1); -return x_3; +x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_3, x_2); +return x_4; } } LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2___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_Meta_Grind_Arith_Cutsat_caching___spec__2(x_1, x_2); -lean_dec(x_2); +uint64_t x_3; uint8_t x_4; lean_object* x_5; +x_3 = lean_unbox_uint64(x_1); lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; +x_4 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_3, x_2); +x_5 = lean_box(x_4); +return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_caching(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_1, 3); -lean_inc(x_14); +uint64_t x_4; lean_object* x_5; +x_4 = lean_unbox_uint64(x_1); lean_dec(x_1); -x_15 = lean_st_ref_get(x_4, x_13); -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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_14); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_30 = 1; -x_31 = lean_usize_sub(x_29, x_30); -x_32 = lean_usize_land(x_28, x_31); -x_33 = lean_array_uget(x_19, x_32); -lean_dec(x_19); -x_34 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_33); -lean_dec(x_33); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; -lean_free_object(x_15); -lean_inc(x_4); -x_35 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_st_ref_take(x_4, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; size_t x_47; lean_object* x_48; uint8_t x_49; -x_42 = lean_ctor_get(x_39, 0); -x_43 = lean_ctor_get(x_39, 1); -x_44 = lean_array_get_size(x_43); -x_45 = lean_usize_of_nat(x_44); -lean_dec(x_44); -x_46 = lean_usize_sub(x_45, x_30); -x_47 = lean_usize_land(x_28, x_46); -x_48 = lean_array_uget(x_43, x_47); -x_49 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_50 = lean_unsigned_to_nat(1u); -x_51 = lean_nat_add(x_42, x_50); -lean_dec(x_42); -lean_inc(x_36); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_14); -lean_ctor_set(x_52, 1, x_36); -lean_ctor_set(x_52, 2, x_48); -x_53 = lean_array_uset(x_43, x_47, x_52); -x_54 = lean_unsigned_to_nat(4u); -x_55 = lean_nat_mul(x_51, x_54); -x_56 = lean_unsigned_to_nat(3u); -x_57 = lean_nat_div(x_55, x_56); -lean_dec(x_55); -x_58 = lean_array_get_size(x_53); -x_59 = lean_nat_dec_le(x_57, x_58); -lean_dec(x_58); -lean_dec(x_57); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_60 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_53); -lean_ctor_set(x_39, 1, x_60); -lean_ctor_set(x_39, 0, x_51); -x_61 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -lean_ctor_set(x_61, 0, x_36); -return x_61; -} -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); -lean_dec(x_61); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_36); -lean_ctor_set(x_65, 1, x_64); -return x_65; +x_5 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_4, x_2, x_3); +return x_5; } } -else -{ -lean_object* x_66; uint8_t x_67; -lean_ctor_set(x_39, 1, x_53); -lean_ctor_set(x_39, 0, x_51); -x_66 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_66, 0); -lean_dec(x_68); -lean_ctor_set(x_66, 0, x_36); -return x_66; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_36); -lean_ctor_set(x_70, 1, x_69); -return x_70; -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_71 = lean_box(0); -x_72 = lean_array_uset(x_43, x_47, x_71); -lean_inc(x_36); -x_73 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_36, x_48); -x_74 = lean_array_uset(x_72, x_47, x_73); -lean_ctor_set(x_39, 1, x_74); -x_75 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_36); -return x_75; -} -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_36); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; size_t x_83; size_t x_84; size_t x_85; lean_object* x_86; uint8_t x_87; -x_80 = lean_ctor_get(x_39, 0); -x_81 = lean_ctor_get(x_39, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_39); -x_82 = lean_array_get_size(x_81); -x_83 = lean_usize_of_nat(x_82); -lean_dec(x_82); -x_84 = lean_usize_sub(x_83, x_30); -x_85 = lean_usize_land(x_28, x_84); -x_86 = lean_array_uget(x_81, x_85); -x_87 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_88 = lean_unsigned_to_nat(1u); -x_89 = lean_nat_add(x_80, x_88); -lean_dec(x_80); -lean_inc(x_36); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_14); -lean_ctor_set(x_90, 1, x_36); -lean_ctor_set(x_90, 2, x_86); -x_91 = lean_array_uset(x_81, x_85, x_90); -x_92 = lean_unsigned_to_nat(4u); -x_93 = lean_nat_mul(x_89, x_92); -x_94 = lean_unsigned_to_nat(3u); -x_95 = lean_nat_div(x_93, x_94); -lean_dec(x_93); -x_96 = lean_array_get_size(x_91); -x_97 = lean_nat_dec_le(x_95, x_96); -lean_dec(x_96); -lean_dec(x_95); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_98 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_91); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_89); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_st_ref_set(x_4, x_99, x_40); -lean_dec(x_4); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_102; -} -lean_ctor_set(x_103, 0, x_36); -lean_ctor_set(x_103, 1, x_101); -return x_103; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_89); -lean_ctor_set(x_104, 1, x_91); -x_105 = lean_st_ref_set(x_4, x_104, x_40); -lean_dec(x_4); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_107 = x_105; -} else { - lean_dec_ref(x_105); - x_107 = lean_box(0); -} -if (lean_is_scalar(x_107)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_107; -} -lean_ctor_set(x_108, 0, x_36); -lean_ctor_set(x_108, 1, x_106); -return x_108; -} -} -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; lean_object* x_117; -x_109 = lean_box(0); -x_110 = lean_array_uset(x_81, x_85, x_109); -lean_inc(x_36); -x_111 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_36, x_86); -x_112 = lean_array_uset(x_110, x_85, x_111); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_80); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_st_ref_set(x_4, x_113, x_40); -lean_dec(x_4); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_116 = x_114; -} else { - lean_dec_ref(x_114); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(0, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_36); -lean_ctor_set(x_117, 1, x_115); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_14); -lean_dec(x_4); -x_118 = !lean_is_exclusive(x_35); -if (x_118 == 0) -{ -return x_35; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_35, 0); -x_120 = lean_ctor_get(x_35, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_35); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -lean_object* x_122; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_122 = lean_ctor_get(x_34, 0); -lean_inc(x_122); -lean_dec(x_34); -lean_ctor_set(x_15, 0, x_122); -return x_15; -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint64_t x_127; uint64_t x_128; uint64_t x_129; uint64_t x_130; uint64_t x_131; uint64_t x_132; uint64_t x_133; size_t x_134; size_t x_135; size_t x_136; size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; -x_123 = lean_ctor_get(x_15, 0); -x_124 = lean_ctor_get(x_15, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_15); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_array_get_size(x_125); -x_127 = lean_uint64_of_nat(x_14); -x_128 = 32; -x_129 = lean_uint64_shift_right(x_127, x_128); -x_130 = lean_uint64_xor(x_127, x_129); -x_131 = 16; -x_132 = lean_uint64_shift_right(x_130, x_131); -x_133 = lean_uint64_xor(x_130, x_132); -x_134 = lean_uint64_to_usize(x_133); -x_135 = lean_usize_of_nat(x_126); -lean_dec(x_126); -x_136 = 1; -x_137 = lean_usize_sub(x_135, x_136); -x_138 = lean_usize_land(x_134, x_137); -x_139 = lean_array_uget(x_125, x_138); -lean_dec(x_125); -x_140 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_139); -lean_dec(x_139); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; -lean_inc(x_4); -x_141 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_124); -if (lean_obj_tag(x_141) == 0) -{ -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; size_t x_151; size_t x_152; size_t x_153; lean_object* x_154; uint8_t x_155; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_st_ref_take(x_4, x_143); -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, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_145, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_149 = x_145; -} else { - lean_dec_ref(x_145); - x_149 = lean_box(0); -} -x_150 = lean_array_get_size(x_148); -x_151 = lean_usize_of_nat(x_150); -lean_dec(x_150); -x_152 = lean_usize_sub(x_151, x_136); -x_153 = lean_usize_land(x_134, x_152); -x_154 = lean_array_uget(x_148, x_153); -x_155 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_156 = lean_unsigned_to_nat(1u); -x_157 = lean_nat_add(x_147, x_156); -lean_dec(x_147); -lean_inc(x_142); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_14); -lean_ctor_set(x_158, 1, x_142); -lean_ctor_set(x_158, 2, x_154); -x_159 = lean_array_uset(x_148, x_153, x_158); -x_160 = lean_unsigned_to_nat(4u); -x_161 = lean_nat_mul(x_157, x_160); -x_162 = lean_unsigned_to_nat(3u); -x_163 = lean_nat_div(x_161, x_162); -lean_dec(x_161); -x_164 = lean_array_get_size(x_159); -x_165 = lean_nat_dec_le(x_163, x_164); -lean_dec(x_164); -lean_dec(x_163); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_166 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_159); -if (lean_is_scalar(x_149)) { - x_167 = lean_alloc_ctor(0, 2, 0); -} else { - x_167 = x_149; -} -lean_ctor_set(x_167, 0, x_157); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_st_ref_set(x_4, x_167, x_146); -lean_dec(x_4); -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_170 = x_168; -} else { - lean_dec_ref(x_168); - x_170 = lean_box(0); -} -if (lean_is_scalar(x_170)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_170; -} -lean_ctor_set(x_171, 0, x_142); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -else -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -if (lean_is_scalar(x_149)) { - x_172 = lean_alloc_ctor(0, 2, 0); -} else { - x_172 = x_149; -} -lean_ctor_set(x_172, 0, x_157); -lean_ctor_set(x_172, 1, x_159); -x_173 = lean_st_ref_set(x_4, x_172, x_146); -lean_dec(x_4); -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_175 = x_173; -} else { - lean_dec_ref(x_173); - x_175 = lean_box(0); -} -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(0, 2, 0); -} else { - x_176 = x_175; -} -lean_ctor_set(x_176, 0, x_142); -lean_ctor_set(x_176, 1, x_174); -return x_176; -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_177 = lean_box(0); -x_178 = lean_array_uset(x_148, x_153, x_177); -lean_inc(x_142); -x_179 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_142, x_154); -x_180 = lean_array_uset(x_178, x_153, x_179); -if (lean_is_scalar(x_149)) { - x_181 = lean_alloc_ctor(0, 2, 0); -} else { - x_181 = x_149; -} -lean_ctor_set(x_181, 0, x_147); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_st_ref_set(x_4, x_181, x_146); -lean_dec(x_4); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - x_184 = x_182; -} else { - lean_dec_ref(x_182); - x_184 = lean_box(0); -} -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(0, 2, 0); -} else { - x_185 = x_184; -} -lean_ctor_set(x_185, 0, x_142); -lean_ctor_set(x_185, 1, x_183); -return x_185; -} -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_14); -lean_dec(x_4); -x_186 = lean_ctor_get(x_141, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_141, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_188 = x_141; -} else { - lean_dec_ref(x_141); - x_188 = lean_box(0); -} -if (lean_is_scalar(x_188)) { - x_189 = lean_alloc_ctor(1, 2, 0); -} else { - x_189 = x_188; -} -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -return x_189; -} -} -else -{ -lean_object* x_190; lean_object* x_191; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_190 = lean_ctor_get(x_140, 0); -lean_inc(x_190); -lean_dec(x_140); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_124); -return x_191; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_caching(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_caching___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_1, 2); -lean_inc(x_14); +lean_object* x_14; +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_caching___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_1); -x_15 = lean_st_ref_get(x_4, x_13); -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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_14); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_30 = 1; -x_31 = lean_usize_sub(x_29, x_30); -x_32 = lean_usize_land(x_28, x_31); -x_33 = lean_array_uget(x_19, x_32); -lean_dec(x_19); -x_34 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_33); -lean_dec(x_33); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; -lean_free_object(x_15); -lean_inc(x_4); -x_35 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_st_ref_take(x_4, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; size_t x_47; lean_object* x_48; uint8_t x_49; -x_42 = lean_ctor_get(x_39, 0); -x_43 = lean_ctor_get(x_39, 1); -x_44 = lean_array_get_size(x_43); -x_45 = lean_usize_of_nat(x_44); -lean_dec(x_44); -x_46 = lean_usize_sub(x_45, x_30); -x_47 = lean_usize_land(x_28, x_46); -x_48 = lean_array_uget(x_43, x_47); -x_49 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_50 = lean_unsigned_to_nat(1u); -x_51 = lean_nat_add(x_42, x_50); -lean_dec(x_42); -lean_inc(x_36); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_14); -lean_ctor_set(x_52, 1, x_36); -lean_ctor_set(x_52, 2, x_48); -x_53 = lean_array_uset(x_43, x_47, x_52); -x_54 = lean_unsigned_to_nat(4u); -x_55 = lean_nat_mul(x_51, x_54); -x_56 = lean_unsigned_to_nat(3u); -x_57 = lean_nat_div(x_55, x_56); -lean_dec(x_55); -x_58 = lean_array_get_size(x_53); -x_59 = lean_nat_dec_le(x_57, x_58); -lean_dec(x_58); -lean_dec(x_57); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_60 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_53); -lean_ctor_set(x_39, 1, x_60); -lean_ctor_set(x_39, 0, x_51); -x_61 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -lean_ctor_set(x_61, 0, x_36); -return x_61; -} -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); -lean_dec(x_61); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_36); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -} -else -{ -lean_object* x_66; uint8_t x_67; -lean_ctor_set(x_39, 1, x_53); -lean_ctor_set(x_39, 0, x_51); -x_66 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_66, 0); -lean_dec(x_68); -lean_ctor_set(x_66, 0, x_36); -return x_66; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_36); -lean_ctor_set(x_70, 1, x_69); -return x_70; -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_71 = lean_box(0); -x_72 = lean_array_uset(x_43, x_47, x_71); -lean_inc(x_36); -x_73 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_36, x_48); -x_74 = lean_array_uset(x_72, x_47, x_73); -lean_ctor_set(x_39, 1, x_74); -x_75 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_36); -return x_75; -} -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_36); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; size_t x_83; size_t x_84; size_t x_85; lean_object* x_86; uint8_t x_87; -x_80 = lean_ctor_get(x_39, 0); -x_81 = lean_ctor_get(x_39, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_39); -x_82 = lean_array_get_size(x_81); -x_83 = lean_usize_of_nat(x_82); -lean_dec(x_82); -x_84 = lean_usize_sub(x_83, x_30); -x_85 = lean_usize_land(x_28, x_84); -x_86 = lean_array_uget(x_81, x_85); -x_87 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_88 = lean_unsigned_to_nat(1u); -x_89 = lean_nat_add(x_80, x_88); -lean_dec(x_80); -lean_inc(x_36); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_14); -lean_ctor_set(x_90, 1, x_36); -lean_ctor_set(x_90, 2, x_86); -x_91 = lean_array_uset(x_81, x_85, x_90); -x_92 = lean_unsigned_to_nat(4u); -x_93 = lean_nat_mul(x_89, x_92); -x_94 = lean_unsigned_to_nat(3u); -x_95 = lean_nat_div(x_93, x_94); -lean_dec(x_93); -x_96 = lean_array_get_size(x_91); -x_97 = lean_nat_dec_le(x_95, x_96); -lean_dec(x_96); -lean_dec(x_95); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_98 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_91); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_89); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_st_ref_set(x_4, x_99, x_40); -lean_dec(x_4); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_102; -} -lean_ctor_set(x_103, 0, x_36); -lean_ctor_set(x_103, 1, x_101); -return x_103; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_89); -lean_ctor_set(x_104, 1, x_91); -x_105 = lean_st_ref_set(x_4, x_104, x_40); -lean_dec(x_4); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_107 = x_105; -} else { - lean_dec_ref(x_105); - x_107 = lean_box(0); -} -if (lean_is_scalar(x_107)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_107; -} -lean_ctor_set(x_108, 0, x_36); -lean_ctor_set(x_108, 1, x_106); -return x_108; -} -} -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; lean_object* x_117; -x_109 = lean_box(0); -x_110 = lean_array_uset(x_81, x_85, x_109); -lean_inc(x_36); -x_111 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_36, x_86); -x_112 = lean_array_uset(x_110, x_85, x_111); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_80); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_st_ref_set(x_4, x_113, x_40); -lean_dec(x_4); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_116 = x_114; -} else { - lean_dec_ref(x_114); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(0, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_36); -lean_ctor_set(x_117, 1, x_115); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_14); -lean_dec(x_4); -x_118 = !lean_is_exclusive(x_35); -if (x_118 == 0) -{ -return x_35; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_35, 0); -x_120 = lean_ctor_get(x_35, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_35); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -lean_object* x_122; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_122 = lean_ctor_get(x_34, 0); -lean_inc(x_122); -lean_dec(x_34); -lean_ctor_set(x_15, 0, x_122); -return x_15; -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint64_t x_127; uint64_t x_128; uint64_t x_129; uint64_t x_130; uint64_t x_131; uint64_t x_132; uint64_t x_133; size_t x_134; size_t x_135; size_t x_136; size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; -x_123 = lean_ctor_get(x_15, 0); -x_124 = lean_ctor_get(x_15, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_15); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_array_get_size(x_125); -x_127 = lean_uint64_of_nat(x_14); -x_128 = 32; -x_129 = lean_uint64_shift_right(x_127, x_128); -x_130 = lean_uint64_xor(x_127, x_129); -x_131 = 16; -x_132 = lean_uint64_shift_right(x_130, x_131); -x_133 = lean_uint64_xor(x_130, x_132); -x_134 = lean_uint64_to_usize(x_133); -x_135 = lean_usize_of_nat(x_126); -lean_dec(x_126); -x_136 = 1; -x_137 = lean_usize_sub(x_135, x_136); -x_138 = lean_usize_land(x_134, x_137); -x_139 = lean_array_uget(x_125, x_138); -lean_dec(x_125); -x_140 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_139); -lean_dec(x_139); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; -lean_inc(x_4); -x_141 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_124); -if (lean_obj_tag(x_141) == 0) -{ -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; size_t x_151; size_t x_152; size_t x_153; lean_object* x_154; uint8_t x_155; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_st_ref_take(x_4, x_143); -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, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_145, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_149 = x_145; -} else { - lean_dec_ref(x_145); - x_149 = lean_box(0); -} -x_150 = lean_array_get_size(x_148); -x_151 = lean_usize_of_nat(x_150); -lean_dec(x_150); -x_152 = lean_usize_sub(x_151, x_136); -x_153 = lean_usize_land(x_134, x_152); -x_154 = lean_array_uget(x_148, x_153); -x_155 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_156 = lean_unsigned_to_nat(1u); -x_157 = lean_nat_add(x_147, x_156); -lean_dec(x_147); -lean_inc(x_142); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_14); -lean_ctor_set(x_158, 1, x_142); -lean_ctor_set(x_158, 2, x_154); -x_159 = lean_array_uset(x_148, x_153, x_158); -x_160 = lean_unsigned_to_nat(4u); -x_161 = lean_nat_mul(x_157, x_160); -x_162 = lean_unsigned_to_nat(3u); -x_163 = lean_nat_div(x_161, x_162); -lean_dec(x_161); -x_164 = lean_array_get_size(x_159); -x_165 = lean_nat_dec_le(x_163, x_164); -lean_dec(x_164); -lean_dec(x_163); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_166 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_159); -if (lean_is_scalar(x_149)) { - x_167 = lean_alloc_ctor(0, 2, 0); -} else { - x_167 = x_149; -} -lean_ctor_set(x_167, 0, x_157); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_st_ref_set(x_4, x_167, x_146); -lean_dec(x_4); -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_170 = x_168; -} else { - lean_dec_ref(x_168); - x_170 = lean_box(0); -} -if (lean_is_scalar(x_170)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_170; -} -lean_ctor_set(x_171, 0, x_142); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -else -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -if (lean_is_scalar(x_149)) { - x_172 = lean_alloc_ctor(0, 2, 0); -} else { - x_172 = x_149; -} -lean_ctor_set(x_172, 0, x_157); -lean_ctor_set(x_172, 1, x_159); -x_173 = lean_st_ref_set(x_4, x_172, x_146); -lean_dec(x_4); -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_175 = x_173; -} else { - lean_dec_ref(x_173); - x_175 = lean_box(0); -} -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(0, 2, 0); -} else { - x_176 = x_175; -} -lean_ctor_set(x_176, 0, x_142); -lean_ctor_set(x_176, 1, x_174); -return x_176; -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_177 = lean_box(0); -x_178 = lean_array_uset(x_148, x_153, x_177); -lean_inc(x_142); -x_179 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_142, x_154); -x_180 = lean_array_uset(x_178, x_153, x_179); -if (lean_is_scalar(x_149)) { - x_181 = lean_alloc_ctor(0, 2, 0); -} else { - x_181 = x_149; -} -lean_ctor_set(x_181, 0, x_147); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_st_ref_set(x_4, x_181, x_146); -lean_dec(x_4); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - x_184 = x_182; -} else { - lean_dec_ref(x_182); - x_184 = lean_box(0); -} -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(0, 2, 0); -} else { - x_185 = x_184; -} -lean_ctor_set(x_185, 0, x_142); -lean_ctor_set(x_185, 1, x_183); -return x_185; -} -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_14); -lean_dec(x_4); -x_186 = lean_ctor_get(x_141, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_141, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_188 = x_141; -} else { - lean_dec_ref(x_141); - x_188 = lean_box(0); -} -if (lean_is_scalar(x_188)) { - x_189 = lean_alloc_ctor(1, 2, 0); -} else { - x_189 = x_188; -} -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -return x_189; -} -} -else -{ -lean_object* x_190; lean_object* x_191; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_190 = lean_ctor_get(x_140, 0); -lean_inc(x_190); -lean_dec(x_140); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_124); -return x_191; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_caching(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_1, 2); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_st_ref_get(x_4, x_13); -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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_14); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_30 = 1; -x_31 = lean_usize_sub(x_29, x_30); -x_32 = lean_usize_land(x_28, x_31); -x_33 = lean_array_uget(x_19, x_32); -lean_dec(x_19); -x_34 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_33); -lean_dec(x_33); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; -lean_free_object(x_15); -lean_inc(x_4); -x_35 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_st_ref_take(x_4, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; size_t x_47; lean_object* x_48; uint8_t x_49; -x_42 = lean_ctor_get(x_39, 0); -x_43 = lean_ctor_get(x_39, 1); -x_44 = lean_array_get_size(x_43); -x_45 = lean_usize_of_nat(x_44); -lean_dec(x_44); -x_46 = lean_usize_sub(x_45, x_30); -x_47 = lean_usize_land(x_28, x_46); -x_48 = lean_array_uget(x_43, x_47); -x_49 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_50 = lean_unsigned_to_nat(1u); -x_51 = lean_nat_add(x_42, x_50); -lean_dec(x_42); -lean_inc(x_36); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_14); -lean_ctor_set(x_52, 1, x_36); -lean_ctor_set(x_52, 2, x_48); -x_53 = lean_array_uset(x_43, x_47, x_52); -x_54 = lean_unsigned_to_nat(4u); -x_55 = lean_nat_mul(x_51, x_54); -x_56 = lean_unsigned_to_nat(3u); -x_57 = lean_nat_div(x_55, x_56); -lean_dec(x_55); -x_58 = lean_array_get_size(x_53); -x_59 = lean_nat_dec_le(x_57, x_58); -lean_dec(x_58); -lean_dec(x_57); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_60 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_53); -lean_ctor_set(x_39, 1, x_60); -lean_ctor_set(x_39, 0, x_51); -x_61 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -lean_ctor_set(x_61, 0, x_36); -return x_61; -} -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); -lean_dec(x_61); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_36); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -} -else -{ -lean_object* x_66; uint8_t x_67; -lean_ctor_set(x_39, 1, x_53); -lean_ctor_set(x_39, 0, x_51); -x_66 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_66, 0); -lean_dec(x_68); -lean_ctor_set(x_66, 0, x_36); -return x_66; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_36); -lean_ctor_set(x_70, 1, x_69); -return x_70; -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_71 = lean_box(0); -x_72 = lean_array_uset(x_43, x_47, x_71); -lean_inc(x_36); -x_73 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_36, x_48); -x_74 = lean_array_uset(x_72, x_47, x_73); -lean_ctor_set(x_39, 1, x_74); -x_75 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_36); -return x_75; -} -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_36); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; size_t x_83; size_t x_84; size_t x_85; lean_object* x_86; uint8_t x_87; -x_80 = lean_ctor_get(x_39, 0); -x_81 = lean_ctor_get(x_39, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_39); -x_82 = lean_array_get_size(x_81); -x_83 = lean_usize_of_nat(x_82); -lean_dec(x_82); -x_84 = lean_usize_sub(x_83, x_30); -x_85 = lean_usize_land(x_28, x_84); -x_86 = lean_array_uget(x_81, x_85); -x_87 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_88 = lean_unsigned_to_nat(1u); -x_89 = lean_nat_add(x_80, x_88); -lean_dec(x_80); -lean_inc(x_36); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_14); -lean_ctor_set(x_90, 1, x_36); -lean_ctor_set(x_90, 2, x_86); -x_91 = lean_array_uset(x_81, x_85, x_90); -x_92 = lean_unsigned_to_nat(4u); -x_93 = lean_nat_mul(x_89, x_92); -x_94 = lean_unsigned_to_nat(3u); -x_95 = lean_nat_div(x_93, x_94); -lean_dec(x_93); -x_96 = lean_array_get_size(x_91); -x_97 = lean_nat_dec_le(x_95, x_96); -lean_dec(x_96); -lean_dec(x_95); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_98 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_91); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_89); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_st_ref_set(x_4, x_99, x_40); -lean_dec(x_4); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_102; -} -lean_ctor_set(x_103, 0, x_36); -lean_ctor_set(x_103, 1, x_101); -return x_103; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_89); -lean_ctor_set(x_104, 1, x_91); -x_105 = lean_st_ref_set(x_4, x_104, x_40); -lean_dec(x_4); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_107 = x_105; -} else { - lean_dec_ref(x_105); - x_107 = lean_box(0); -} -if (lean_is_scalar(x_107)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_107; -} -lean_ctor_set(x_108, 0, x_36); -lean_ctor_set(x_108, 1, x_106); -return x_108; -} -} -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; lean_object* x_117; -x_109 = lean_box(0); -x_110 = lean_array_uset(x_81, x_85, x_109); -lean_inc(x_36); -x_111 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_36, x_86); -x_112 = lean_array_uset(x_110, x_85, x_111); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_80); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_st_ref_set(x_4, x_113, x_40); -lean_dec(x_4); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_116 = x_114; -} else { - lean_dec_ref(x_114); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(0, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_36); -lean_ctor_set(x_117, 1, x_115); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_14); -lean_dec(x_4); -x_118 = !lean_is_exclusive(x_35); -if (x_118 == 0) -{ -return x_35; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_35, 0); -x_120 = lean_ctor_get(x_35, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_35); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -lean_object* x_122; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_122 = lean_ctor_get(x_34, 0); -lean_inc(x_122); -lean_dec(x_34); -lean_ctor_set(x_15, 0, x_122); -return x_15; -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint64_t x_127; uint64_t x_128; uint64_t x_129; uint64_t x_130; uint64_t x_131; uint64_t x_132; uint64_t x_133; size_t x_134; size_t x_135; size_t x_136; size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; -x_123 = lean_ctor_get(x_15, 0); -x_124 = lean_ctor_get(x_15, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_15); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_array_get_size(x_125); -x_127 = lean_uint64_of_nat(x_14); -x_128 = 32; -x_129 = lean_uint64_shift_right(x_127, x_128); -x_130 = lean_uint64_xor(x_127, x_129); -x_131 = 16; -x_132 = lean_uint64_shift_right(x_130, x_131); -x_133 = lean_uint64_xor(x_130, x_132); -x_134 = lean_uint64_to_usize(x_133); -x_135 = lean_usize_of_nat(x_126); -lean_dec(x_126); -x_136 = 1; -x_137 = lean_usize_sub(x_135, x_136); -x_138 = lean_usize_land(x_134, x_137); -x_139 = lean_array_uget(x_125, x_138); -lean_dec(x_125); -x_140 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_139); -lean_dec(x_139); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; -lean_inc(x_4); -x_141 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_124); -if (lean_obj_tag(x_141) == 0) -{ -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; size_t x_151; size_t x_152; size_t x_153; lean_object* x_154; uint8_t x_155; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_st_ref_take(x_4, x_143); -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, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_145, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_149 = x_145; -} else { - lean_dec_ref(x_145); - x_149 = lean_box(0); -} -x_150 = lean_array_get_size(x_148); -x_151 = lean_usize_of_nat(x_150); -lean_dec(x_150); -x_152 = lean_usize_sub(x_151, x_136); -x_153 = lean_usize_land(x_134, x_152); -x_154 = lean_array_uget(x_148, x_153); -x_155 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_156 = lean_unsigned_to_nat(1u); -x_157 = lean_nat_add(x_147, x_156); -lean_dec(x_147); -lean_inc(x_142); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_14); -lean_ctor_set(x_158, 1, x_142); -lean_ctor_set(x_158, 2, x_154); -x_159 = lean_array_uset(x_148, x_153, x_158); -x_160 = lean_unsigned_to_nat(4u); -x_161 = lean_nat_mul(x_157, x_160); -x_162 = lean_unsigned_to_nat(3u); -x_163 = lean_nat_div(x_161, x_162); -lean_dec(x_161); -x_164 = lean_array_get_size(x_159); -x_165 = lean_nat_dec_le(x_163, x_164); -lean_dec(x_164); -lean_dec(x_163); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_166 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_159); -if (lean_is_scalar(x_149)) { - x_167 = lean_alloc_ctor(0, 2, 0); -} else { - x_167 = x_149; -} -lean_ctor_set(x_167, 0, x_157); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_st_ref_set(x_4, x_167, x_146); -lean_dec(x_4); -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_170 = x_168; -} else { - lean_dec_ref(x_168); - x_170 = lean_box(0); -} -if (lean_is_scalar(x_170)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_170; -} -lean_ctor_set(x_171, 0, x_142); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -else -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -if (lean_is_scalar(x_149)) { - x_172 = lean_alloc_ctor(0, 2, 0); -} else { - x_172 = x_149; -} -lean_ctor_set(x_172, 0, x_157); -lean_ctor_set(x_172, 1, x_159); -x_173 = lean_st_ref_set(x_4, x_172, x_146); -lean_dec(x_4); -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_175 = x_173; -} else { - lean_dec_ref(x_173); - x_175 = lean_box(0); -} -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(0, 2, 0); -} else { - x_176 = x_175; -} -lean_ctor_set(x_176, 0, x_142); -lean_ctor_set(x_176, 1, x_174); -return x_176; -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_177 = lean_box(0); -x_178 = lean_array_uset(x_148, x_153, x_177); -lean_inc(x_142); -x_179 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_142, x_154); -x_180 = lean_array_uset(x_178, x_153, x_179); -if (lean_is_scalar(x_149)) { - x_181 = lean_alloc_ctor(0, 2, 0); -} else { - x_181 = x_149; -} -lean_ctor_set(x_181, 0, x_147); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_st_ref_set(x_4, x_181, x_146); -lean_dec(x_4); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - x_184 = x_182; -} else { - lean_dec_ref(x_182); - x_184 = lean_box(0); -} -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(0, 2, 0); -} else { - x_185 = x_184; -} -lean_ctor_set(x_185, 0, x_142); -lean_ctor_set(x_185, 1, x_183); -return x_185; -} -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_14); -lean_dec(x_4); -x_186 = lean_ctor_get(x_141, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_141, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_188 = x_141; -} else { - lean_dec_ref(x_141); - x_188 = lean_box(0); -} -if (lean_is_scalar(x_188)) { - x_189 = lean_alloc_ctor(1, 2, 0); -} else { - x_189 = x_188; -} -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -return x_189; -} -} -else -{ -lean_object* x_190; lean_object* x_191; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_190 = lean_ctor_get(x_140, 0); -lean_inc(x_190); -lean_dec(x_140); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_124); -return x_191; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_caching(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_1, 2); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_st_ref_get(x_4, x_13); -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; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_array_get_size(x_19); -x_21 = lean_uint64_of_nat(x_14); -x_22 = 32; -x_23 = lean_uint64_shift_right(x_21, x_22); -x_24 = lean_uint64_xor(x_21, x_23); -x_25 = 16; -x_26 = lean_uint64_shift_right(x_24, x_25); -x_27 = lean_uint64_xor(x_24, x_26); -x_28 = lean_uint64_to_usize(x_27); -x_29 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_30 = 1; -x_31 = lean_usize_sub(x_29, x_30); -x_32 = lean_usize_land(x_28, x_31); -x_33 = lean_array_uget(x_19, x_32); -lean_dec(x_19); -x_34 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_33); -lean_dec(x_33); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; -lean_free_object(x_15); -lean_inc(x_4); -x_35 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_st_ref_take(x_4, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; size_t x_47; lean_object* x_48; uint8_t x_49; -x_42 = lean_ctor_get(x_39, 0); -x_43 = lean_ctor_get(x_39, 1); -x_44 = lean_array_get_size(x_43); -x_45 = lean_usize_of_nat(x_44); -lean_dec(x_44); -x_46 = lean_usize_sub(x_45, x_30); -x_47 = lean_usize_land(x_28, x_46); -x_48 = lean_array_uget(x_43, x_47); -x_49 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_50 = lean_unsigned_to_nat(1u); -x_51 = lean_nat_add(x_42, x_50); -lean_dec(x_42); -lean_inc(x_36); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_14); -lean_ctor_set(x_52, 1, x_36); -lean_ctor_set(x_52, 2, x_48); -x_53 = lean_array_uset(x_43, x_47, x_52); -x_54 = lean_unsigned_to_nat(4u); -x_55 = lean_nat_mul(x_51, x_54); -x_56 = lean_unsigned_to_nat(3u); -x_57 = lean_nat_div(x_55, x_56); -lean_dec(x_55); -x_58 = lean_array_get_size(x_53); -x_59 = lean_nat_dec_le(x_57, x_58); -lean_dec(x_58); -lean_dec(x_57); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_60 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_53); -lean_ctor_set(x_39, 1, x_60); -lean_ctor_set(x_39, 0, x_51); -x_61 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -lean_ctor_set(x_61, 0, x_36); -return x_61; -} -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); -lean_dec(x_61); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_36); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -} -else -{ -lean_object* x_66; uint8_t x_67; -lean_ctor_set(x_39, 1, x_53); -lean_ctor_set(x_39, 0, x_51); -x_66 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_66, 0); -lean_dec(x_68); -lean_ctor_set(x_66, 0, x_36); -return x_66; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_36); -lean_ctor_set(x_70, 1, x_69); -return x_70; -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_71 = lean_box(0); -x_72 = lean_array_uset(x_43, x_47, x_71); -lean_inc(x_36); -x_73 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_36, x_48); -x_74 = lean_array_uset(x_72, x_47, x_73); -lean_ctor_set(x_39, 1, x_74); -x_75 = lean_st_ref_set(x_4, x_39, x_40); -lean_dec(x_4); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_36); -return x_75; -} -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_36); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; size_t x_83; size_t x_84; size_t x_85; lean_object* x_86; uint8_t x_87; -x_80 = lean_ctor_get(x_39, 0); -x_81 = lean_ctor_get(x_39, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_39); -x_82 = lean_array_get_size(x_81); -x_83 = lean_usize_of_nat(x_82); -lean_dec(x_82); -x_84 = lean_usize_sub(x_83, x_30); -x_85 = lean_usize_land(x_28, x_84); -x_86 = lean_array_uget(x_81, x_85); -x_87 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_88 = lean_unsigned_to_nat(1u); -x_89 = lean_nat_add(x_80, x_88); -lean_dec(x_80); -lean_inc(x_36); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_14); -lean_ctor_set(x_90, 1, x_36); -lean_ctor_set(x_90, 2, x_86); -x_91 = lean_array_uset(x_81, x_85, x_90); -x_92 = lean_unsigned_to_nat(4u); -x_93 = lean_nat_mul(x_89, x_92); -x_94 = lean_unsigned_to_nat(3u); -x_95 = lean_nat_div(x_93, x_94); -lean_dec(x_93); -x_96 = lean_array_get_size(x_91); -x_97 = lean_nat_dec_le(x_95, x_96); -lean_dec(x_96); -lean_dec(x_95); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_98 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_91); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_89); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_st_ref_set(x_4, x_99, x_40); -lean_dec(x_4); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_102; -} -lean_ctor_set(x_103, 0, x_36); -lean_ctor_set(x_103, 1, x_101); -return x_103; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_89); -lean_ctor_set(x_104, 1, x_91); -x_105 = lean_st_ref_set(x_4, x_104, x_40); -lean_dec(x_4); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_107 = x_105; -} else { - lean_dec_ref(x_105); - x_107 = lean_box(0); -} -if (lean_is_scalar(x_107)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_107; -} -lean_ctor_set(x_108, 0, x_36); -lean_ctor_set(x_108, 1, x_106); -return x_108; -} -} -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; lean_object* x_117; -x_109 = lean_box(0); -x_110 = lean_array_uset(x_81, x_85, x_109); -lean_inc(x_36); -x_111 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_36, x_86); -x_112 = lean_array_uset(x_110, x_85, x_111); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_80); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_st_ref_set(x_4, x_113, x_40); -lean_dec(x_4); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_116 = x_114; -} else { - lean_dec_ref(x_114); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(0, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_36); -lean_ctor_set(x_117, 1, x_115); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_14); -lean_dec(x_4); -x_118 = !lean_is_exclusive(x_35); -if (x_118 == 0) -{ -return x_35; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_35, 0); -x_120 = lean_ctor_get(x_35, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_35); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -lean_object* x_122; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_122 = lean_ctor_get(x_34, 0); -lean_inc(x_122); -lean_dec(x_34); -lean_ctor_set(x_15, 0, x_122); -return x_15; -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint64_t x_127; uint64_t x_128; uint64_t x_129; uint64_t x_130; uint64_t x_131; uint64_t x_132; uint64_t x_133; size_t x_134; size_t x_135; size_t x_136; size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; -x_123 = lean_ctor_get(x_15, 0); -x_124 = lean_ctor_get(x_15, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_15); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_array_get_size(x_125); -x_127 = lean_uint64_of_nat(x_14); -x_128 = 32; -x_129 = lean_uint64_shift_right(x_127, x_128); -x_130 = lean_uint64_xor(x_127, x_129); -x_131 = 16; -x_132 = lean_uint64_shift_right(x_130, x_131); -x_133 = lean_uint64_xor(x_130, x_132); -x_134 = lean_uint64_to_usize(x_133); -x_135 = lean_usize_of_nat(x_126); -lean_dec(x_126); -x_136 = 1; -x_137 = lean_usize_sub(x_135, x_136); -x_138 = lean_usize_land(x_134, x_137); -x_139 = lean_array_uget(x_125, x_138); -lean_dec(x_125); -x_140 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__1(x_14, x_139); -lean_dec(x_139); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; -lean_inc(x_4); -x_141 = lean_apply_11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_124); -if (lean_obj_tag(x_141) == 0) -{ -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; size_t x_151; size_t x_152; size_t x_153; lean_object* x_154; uint8_t x_155; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_st_ref_take(x_4, x_143); -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, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_145, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_149 = x_145; -} else { - lean_dec_ref(x_145); - x_149 = lean_box(0); -} -x_150 = lean_array_get_size(x_148); -x_151 = lean_usize_of_nat(x_150); -lean_dec(x_150); -x_152 = lean_usize_sub(x_151, x_136); -x_153 = lean_usize_land(x_134, x_152); -x_154 = lean_array_uget(x_148, x_153); -x_155 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__2(x_14, x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_156 = lean_unsigned_to_nat(1u); -x_157 = lean_nat_add(x_147, x_156); -lean_dec(x_147); -lean_inc(x_142); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_14); -lean_ctor_set(x_158, 1, x_142); -lean_ctor_set(x_158, 2, x_154); -x_159 = lean_array_uset(x_148, x_153, x_158); -x_160 = lean_unsigned_to_nat(4u); -x_161 = lean_nat_mul(x_157, x_160); -x_162 = lean_unsigned_to_nat(3u); -x_163 = lean_nat_div(x_161, x_162); -lean_dec(x_161); -x_164 = lean_array_get_size(x_159); -x_165 = lean_nat_dec_le(x_163, x_164); -lean_dec(x_164); -lean_dec(x_163); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_166 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__3(x_159); -if (lean_is_scalar(x_149)) { - x_167 = lean_alloc_ctor(0, 2, 0); -} else { - x_167 = x_149; -} -lean_ctor_set(x_167, 0, x_157); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_st_ref_set(x_4, x_167, x_146); -lean_dec(x_4); -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_170 = x_168; -} else { - lean_dec_ref(x_168); - x_170 = lean_box(0); -} -if (lean_is_scalar(x_170)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_170; -} -lean_ctor_set(x_171, 0, x_142); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -else -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -if (lean_is_scalar(x_149)) { - x_172 = lean_alloc_ctor(0, 2, 0); -} else { - x_172 = x_149; -} -lean_ctor_set(x_172, 0, x_157); -lean_ctor_set(x_172, 1, x_159); -x_173 = lean_st_ref_set(x_4, x_172, x_146); -lean_dec(x_4); -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_175 = x_173; -} else { - lean_dec_ref(x_173); - x_175 = lean_box(0); -} -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(0, 2, 0); -} else { - x_176 = x_175; -} -lean_ctor_set(x_176, 0, x_142); -lean_ctor_set(x_176, 1, x_174); -return x_176; -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_177 = lean_box(0); -x_178 = lean_array_uset(x_148, x_153, x_177); -lean_inc(x_142); -x_179 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Grind_Arith_Cutsat_caching___spec__7(x_14, x_142, x_154); -x_180 = lean_array_uset(x_178, x_153, x_179); -if (lean_is_scalar(x_149)) { - x_181 = lean_alloc_ctor(0, 2, 0); -} else { - x_181 = x_149; -} -lean_ctor_set(x_181, 0, x_147); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_st_ref_set(x_4, x_181, x_146); -lean_dec(x_4); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - x_184 = x_182; -} else { - lean_dec_ref(x_182); - x_184 = lean_box(0); -} -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(0, 2, 0); -} else { - x_185 = x_184; -} -lean_ctor_set(x_185, 0, x_142); -lean_ctor_set(x_185, 1, x_183); -return x_185; -} -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_14); -lean_dec(x_4); -x_186 = lean_ctor_get(x_141, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_141, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_188 = x_141; -} else { - lean_dec_ref(x_141); - x_188 = lean_box(0); -} -if (lean_is_scalar(x_188)) { - x_189 = lean_alloc_ctor(1, 2, 0); -} else { - x_189 = x_188; -} -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -return x_189; -} -} -else -{ -lean_object* x_190; lean_object* x_191; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_190 = lean_ctor_get(x_140, 0); -lean_inc(x_190); -lean_dec(x_140); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_124); -return x_191; -} -} +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_Grind_Arith_Cutsat_withProofContext___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -13186,6 +10839,401 @@ lean_dec(x_1); return x_2; } } +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("none", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___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_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__2; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", ", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(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; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +x_17 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +lean_dec(x_1); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_17); +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; +x_20 = lean_ctor_get(x_17, 0); +x_21 = l_Int_Linear_Poly_pp_go___closed__2; +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_14); +lean_ctor_set(x_12, 0, x_21); +x_22 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5; +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_12); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_20); +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +x_26 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__3; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_17, 0, x_28); +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; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_29 = lean_ctor_get(x_17, 0); +x_30 = lean_ctor_get(x_17, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_17); +x_31 = l_Int_Linear_Poly_pp_go___closed__2; +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_14); +lean_ctor_set(x_12, 0, x_31); +x_32 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5; +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_12); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_29); +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +x_36 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__3; +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 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_31); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_30); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_40 = lean_ctor_get(x_17, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_17, 1); +lean_inc(x_41); +lean_dec(x_17); +x_42 = lean_ctor_get(x_18, 0); +lean_inc(x_42); +lean_dec(x_18); +x_43 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_41); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +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; +x_45 = lean_ctor_get(x_43, 0); +x_46 = l_Int_Linear_Poly_pp_go___closed__2; +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_14); +lean_ctor_set(x_12, 0, x_46); +x_47 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_12); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_40); +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_45); +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_46); +lean_ctor_set(x_43, 0, x_52); +return x_43; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_53 = lean_ctor_get(x_43, 0); +x_54 = lean_ctor_get(x_43, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_43); +x_55 = l_Int_Linear_Poly_pp_go___closed__2; +lean_ctor_set_tag(x_12, 7); +lean_ctor_set(x_12, 1, x_14); +lean_ctor_set(x_12, 0, x_55); +x_56 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_12); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_40); +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_53); +x_61 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_55); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_54); +return x_62; +} +} +} +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_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_ctor_get(x_1, 1); +lean_inc(x_65); +x_66 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_65, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_64); +x_67 = lean_ctor_get(x_1, 2); +lean_inc(x_67); +lean_dec(x_1); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_68 = lean_ctor_get(x_66, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_70 = x_66; +} else { + lean_dec_ref(x_66); + x_70 = lean_box(0); +} +x_71 = l_Int_Linear_Poly_pp_go___closed__2; +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_63); +x_73 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5; +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_68); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_73); +x_77 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__3; +x_78 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_71); +if (lean_is_scalar(x_70)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_70; +} +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_69); +return x_80; +} +else +{ +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; +x_81 = lean_ctor_get(x_66, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_66, 1); +lean_inc(x_82); +lean_dec(x_66); +x_83 = lean_ctor_get(x_67, 0); +lean_inc(x_83); +lean_dec(x_67); +x_84 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_82); +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_84); + x_87 = lean_box(0); +} +x_88 = l_Int_Linear_Poly_pp_go___closed__2; +x_89 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_63); +x_90 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5; +x_91 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_81); +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_85); +x_95 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_88); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_86); +return x_96; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(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: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_pp(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +case 1: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_pp(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_14; +} +case 2: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +lean_dec(x_1); +x_16 = l_Lean_Meta_Grind_Arith_Cutsat_EqCnstr_pp(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +default: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_pp(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Grind_Arith_Cutsat_UnsatProof_pp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} lean_object* initialize_Lean_Meta_Tactic_Grind_Types(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_Util(uint8_t builtin, lean_object* w) { @@ -13305,6 +11353,16 @@ l_Lean_Meta_Grind_Arith_Cutsat_withProofContext___closed__7 = _init_l_Lean_Meta_ lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_withProofContext___closed__7); l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_satisfied___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_satisfied___closed__1(); l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_satisfied___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_satisfied___closed__2(); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__1); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__2); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__3 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__3); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__4 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__4); +l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5 = _init_l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_CooperSplitPred_pp___closed__5); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Replay.c b/stage0/stdlib/Lean/Replay.c index e31f45f203..52766f396e 100644 --- a/stage0/stdlib/Lean/Replay.c +++ b/stage0/stdlib/Lean/Replay.c @@ -16,11 +16,10 @@ extern "C" { LEAN_EXPORT lean_object* l_Lean_Environment_Replay_replayConstant___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_Replay_replayConstant(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Environment_Replay_replayConstant___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_elab_environment_of_kernel_env(lean_object*); +lean_object* l_Lean_Environment_addDeclCore(lean_object*, size_t, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Environment_Replay_replayConstant___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); -lean_object* lean_add_decl(lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Environment_Replay_replayConstant___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); @@ -31,9 +30,8 @@ LEAN_EXPORT lean_object* l_Lean_Environment_Replay_checkPostponedRecursors___box LEAN_EXPORT uint8_t l_Lean_RBNode_forIn_visit___at_Lean_Environment_Replay_checkPostponedConstructors___spec__1___lambda__1(lean_object*); lean_object* l_Lean_ConstantInfo_getUsedConstantsAsSet(lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); -lean_object* lean_elab_environment_to_kernel_env(lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); -lean_object* lean_environment_find(lean_object*, lean_object*); +lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_balLeft___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_ConstantInfo_isUnsafe(lean_object*); @@ -588,7 +586,7 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_Environment_Replay_addDecl(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; size_t x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; x_5 = lean_st_ref_get(x_3, x_4); x_6 = lean_ctor_get(x_5, 0); lean_inc(x_6); @@ -600,97 +598,98 @@ lean_inc(x_8); lean_dec(x_6); x_9 = 0; x_10 = lean_box(0); -x_11 = lean_add_decl(x_8, x_9, x_1, x_10); -if (lean_obj_tag(x_11) == 0) +x_11 = 1; +x_12 = l_Lean_Environment_addDeclCore(x_8, x_9, x_1, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -x_13 = l_Lean_Environment_Replay_throwKernelException(x_12, x_2, x_3, x_7); -return x_13; +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_Environment_Replay_throwKernelException(x_13, x_2, x_3, x_7); +return x_14; } 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_11, 0); -lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_st_ref_take(x_3, x_7); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +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_12, 0); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_st_ref_take(x_3, x_7); +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_16, 0); -lean_dec(x_19); -lean_ctor_set(x_16, 0, x_14); -x_20 = lean_st_ref_set(x_3, x_16, x_17); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -x_23 = lean_box(0); -lean_ctor_set(x_20, 0, x_23); -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_17, 0); lean_dec(x_20); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; +lean_ctor_set(x_17, 0, x_15); +x_21 = lean_st_ref_set(x_3, x_17, x_18); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_21, 0, x_24); +return x_21; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -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_27 = lean_ctor_get(x_16, 1); -x_28 = lean_ctor_get(x_16, 2); -x_29 = lean_ctor_get(x_16, 3); -x_30 = lean_ctor_get(x_16, 4); +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_17, 1); +x_29 = lean_ctor_get(x_17, 2); +x_30 = lean_ctor_get(x_17, 3); +x_31 = lean_ctor_get(x_17, 4); +lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_16); -x_31 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_31, 0, x_14); -lean_ctor_set(x_31, 1, x_27); -lean_ctor_set(x_31, 2, x_28); -lean_ctor_set(x_31, 3, x_29); -lean_ctor_set(x_31, 4, x_30); -x_32 = lean_st_ref_set(x_3, x_31, x_17); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; +lean_dec(x_17); +x_32 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_32, 0, x_15); +lean_ctor_set(x_32, 1, x_28); +lean_ctor_set(x_32, 2, x_29); +lean_ctor_set(x_32, 3, x_30); +lean_ctor_set(x_32, 4, x_31); +x_33 = lean_st_ref_set(x_3, x_32, x_18); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; } else { - lean_dec_ref(x_32); - x_34 = lean_box(0); + lean_dec_ref(x_33); + x_35 = lean_box(0); } -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); +x_36 = lean_box(0); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); } else { - x_36 = x_34; + x_37 = x_35; } -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; } } } @@ -702,7 +701,6 @@ lean_object* x_5; x_5 = l_Lean_Environment_Replay_addDecl(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); return x_5; } } @@ -1572,7 +1570,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Environment_Replay_replayConstant___closed__1; x_2 = l_Lean_Environment_Replay_replayConstant___closed__2; -x_3 = lean_unsigned_to_nat(78u); +x_3 = lean_unsigned_to_nat(74u); x_4 = lean_unsigned_to_nat(50u); x_5 = l_Lean_Environment_Replay_replayConstant___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1704,7 +1702,6 @@ if (x_44 == 0) { lean_object* x_45; x_45 = l_Lean_Environment_Replay_addDecl(x_33, x_2, x_3, x_40); -lean_dec(x_33); if (lean_obj_tag(x_45) == 0) { lean_object* x_46; lean_object* x_47; lean_object* x_48; @@ -1755,7 +1752,6 @@ lean_dec(x_33); x_54 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_54, 0, x_53); x_55 = l_Lean_Environment_Replay_addDecl(x_54, x_2, x_3, x_40); -lean_dec(x_54); if (lean_obj_tag(x_55) == 0) { lean_object* x_56; lean_object* x_57; lean_object* x_58; @@ -1808,7 +1804,6 @@ if (x_63 == 0) { lean_object* x_64; x_64 = l_Lean_Environment_Replay_addDecl(x_33, x_2, x_3, x_40); -lean_dec(x_33); if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_object* x_66; lean_object* x_67; @@ -1859,7 +1854,6 @@ lean_dec(x_33); x_73 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_73, 0, x_72); x_74 = l_Lean_Environment_Replay_addDecl(x_73, x_2, x_3, x_40); -lean_dec(x_73); if (lean_obj_tag(x_74) == 0) { lean_object* x_75; lean_object* x_76; lean_object* x_77; @@ -1912,7 +1906,6 @@ if (x_82 == 0) { lean_object* x_83; x_83 = l_Lean_Environment_Replay_addDecl(x_33, x_2, x_3, x_40); -lean_dec(x_33); if (lean_obj_tag(x_83) == 0) { lean_object* x_84; lean_object* x_85; lean_object* x_86; @@ -1963,7 +1956,6 @@ lean_dec(x_33); x_92 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_92, 0, x_91); x_93 = l_Lean_Environment_Replay_addDecl(x_92, x_2, x_3, x_40); -lean_dec(x_92); if (lean_obj_tag(x_93) == 0) { lean_object* x_94; lean_object* x_95; lean_object* x_96; @@ -2016,7 +2008,6 @@ if (x_101 == 0) { lean_object* x_102; x_102 = l_Lean_Environment_Replay_addDecl(x_33, x_2, x_3, x_40); -lean_dec(x_33); if (lean_obj_tag(x_102) == 0) { lean_object* x_103; lean_object* x_104; lean_object* x_105; @@ -2067,7 +2058,6 @@ lean_dec(x_33); x_111 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_111, 0, x_110); x_112 = l_Lean_Environment_Replay_addDecl(x_111, x_2, x_3, x_40); -lean_dec(x_111); if (lean_obj_tag(x_112) == 0) { lean_object* x_113; lean_object* x_114; lean_object* x_115; @@ -2212,7 +2202,6 @@ lean_ctor_set(x_149, 1, x_131); lean_ctor_set(x_149, 2, x_147); lean_ctor_set_uint8(x_149, sizeof(void*)*3, x_148); x_150 = l_Lean_Environment_Replay_addDecl(x_149, x_2, x_3, x_146); -lean_dec(x_149); if (lean_obj_tag(x_150) == 0) { lean_object* x_151; lean_object* x_152; lean_object* x_153; @@ -2484,7 +2473,6 @@ if (lean_is_scalar(x_221)) { } lean_ctor_set(x_222, 0, x_220); x_223 = l_Lean_Environment_Replay_addDecl(x_222, x_2, x_3, x_215); -lean_dec(x_222); if (lean_obj_tag(x_223) == 0) { lean_object* x_224; lean_object* x_225; lean_object* x_226; @@ -2547,7 +2535,6 @@ if (lean_is_scalar(x_232)) { } lean_ctor_set(x_233, 0, x_231); x_234 = l_Lean_Environment_Replay_addDecl(x_233, x_2, x_3, x_215); -lean_dec(x_233); if (lean_obj_tag(x_234) == 0) { lean_object* x_235; lean_object* x_236; lean_object* x_237; @@ -2610,7 +2597,6 @@ if (lean_is_scalar(x_243)) { } lean_ctor_set(x_244, 0, x_242); x_245 = l_Lean_Environment_Replay_addDecl(x_244, x_2, x_3, x_215); -lean_dec(x_244); if (lean_obj_tag(x_245) == 0) { lean_object* x_246; lean_object* x_247; lean_object* x_248; @@ -2673,7 +2659,6 @@ if (lean_is_scalar(x_254)) { } lean_ctor_set(x_255, 0, x_253); x_256 = l_Lean_Environment_Replay_addDecl(x_255, x_2, x_3, x_215); -lean_dec(x_255); if (lean_obj_tag(x_256) == 0) { lean_object* x_257; lean_object* x_258; lean_object* x_259; @@ -2819,7 +2804,6 @@ lean_ctor_set(x_293, 1, x_275); lean_ctor_set(x_293, 2, x_291); lean_ctor_set_uint8(x_293, sizeof(void*)*3, x_292); x_294 = l_Lean_Environment_Replay_addDecl(x_293, x_2, x_3, x_290); -lean_dec(x_293); if (lean_obj_tag(x_294) == 0) { lean_object* x_295; lean_object* x_296; lean_object* x_297; @@ -3438,7 +3422,7 @@ x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); lean_dec(x_18); lean_inc(x_9); -x_21 = lean_environment_find(x_20, x_9); +x_21 = l_Lean_Environment_find_x3f(x_20, x_9); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -3835,7 +3819,7 @@ x_164 = lean_ctor_get(x_162, 0); lean_inc(x_164); lean_dec(x_162); lean_inc(x_9); -x_165 = lean_environment_find(x_164, x_9); +x_165 = l_Lean_Environment_find_x3f(x_164, x_9); if (lean_obj_tag(x_165) == 0) { uint8_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; @@ -4067,7 +4051,7 @@ x_242 = lean_ctor_get(x_239, 0); lean_inc(x_242); lean_dec(x_239); lean_inc(x_9); -x_243 = lean_environment_find(x_242, x_9); +x_243 = l_Lean_Environment_find_x3f(x_242, x_9); if (lean_obj_tag(x_243) == 0) { uint8_t x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; @@ -4485,7 +4469,7 @@ x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); lean_dec(x_18); lean_inc(x_9); -x_21 = lean_environment_find(x_20, x_9); +x_21 = l_Lean_Environment_find_x3f(x_20, x_9); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -4882,7 +4866,7 @@ x_164 = lean_ctor_get(x_162, 0); lean_inc(x_164); lean_dec(x_162); lean_inc(x_9); -x_165 = lean_environment_find(x_164, x_9); +x_165 = l_Lean_Environment_find_x3f(x_164, x_9); if (lean_obj_tag(x_165) == 0) { uint8_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; @@ -5114,7 +5098,7 @@ x_242 = lean_ctor_get(x_239, 0); lean_inc(x_242); lean_dec(x_239); lean_inc(x_9); -x_243 = lean_environment_find(x_242, x_9); +x_243 = l_Lean_Environment_find_x3f(x_242, x_9); if (lean_obj_tag(x_243) == 0) { uint8_t x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; @@ -5570,35 +5554,35 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Environment_replay(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +lean_object* x_4; lean_object* x_5; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_4 = lean_box(0); -x_47 = lean_box(0); -x_48 = lean_ctor_get(x_1, 1); -lean_inc(x_48); -x_49 = lean_array_get_size(x_48); -x_50 = lean_unsigned_to_nat(0u); -x_51 = lean_nat_dec_lt(x_50, x_49); -if (x_51 == 0) +x_44 = lean_box(0); +x_45 = lean_ctor_get(x_1, 1); +lean_inc(x_45); +x_46 = lean_array_get_size(x_45); +x_47 = lean_unsigned_to_nat(0u); +x_48 = lean_nat_dec_lt(x_47, x_46); +if (x_48 == 0) { -lean_dec(x_49); -lean_dec(x_48); -x_5 = x_47; -goto block_46; +lean_dec(x_46); +lean_dec(x_45); +x_5 = x_44; +goto block_43; } else { -size_t x_52; size_t x_53; lean_object* x_54; -x_52 = lean_usize_of_nat(x_49); -lean_dec(x_49); -x_53 = 0; -x_54 = l_Array_foldrMUnsafe_fold___at_Lean_Environment_replay___spec__3(x_48, x_52, x_53, x_47); -lean_dec(x_48); -x_5 = x_54; -goto block_46; +size_t x_49; size_t x_50; lean_object* x_51; +x_49 = lean_usize_of_nat(x_46); +lean_dec(x_46); +x_50 = 0; +x_51 = l_Array_foldrMUnsafe_fold___at_Lean_Environment_replay___spec__3(x_45, x_49, x_50, x_44); +lean_dec(x_45); +x_5 = x_51; +goto block_43; } -block_46: +block_43: { -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_39; lean_object* x_40; +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_36; lean_object* x_37; x_6 = l_Lean_NameSet_empty; lean_inc(x_5); x_7 = l_List_forIn_x27_loop___at_Lean_Environment_replay___spec__1(x_4, x_5, x_5, x_5, x_6, lean_box(0), x_3); @@ -5608,154 +5592,151 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = lean_elab_environment_to_kernel_env(x_2); lean_inc(x_8); -x_11 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_8); -lean_ctor_set(x_11, 2, x_6); -lean_ctor_set(x_11, 3, x_6); -lean_ctor_set(x_11, 4, x_6); -x_12 = lean_st_mk_ref(x_11, x_9); -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_39 = lean_box(0); +x_10 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_8); +lean_ctor_set(x_10, 2, x_6); +lean_ctor_set(x_10, 3, x_6); +lean_ctor_set(x_10, 4, x_6); +x_11 = lean_st_mk_ref(x_10, x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); +lean_dec(x_11); +x_36 = lean_box(0); +lean_inc(x_12); lean_inc(x_1); -x_40 = l_Lean_RBNode_forIn_visit___at_Lean_Environment_Replay_replayConstants___spec__1(x_8, x_39, x_1, x_13, x_14); -if (lean_obj_tag(x_40) == 0) +x_37 = l_Lean_RBNode_forIn_visit___at_Lean_Environment_Replay_replayConstants___spec__1(x_8, x_36, x_1, x_12, x_13); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_41; -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_15 = x_41; -goto block_38; +lean_object* x_38; +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_14 = x_38; +goto block_35; } else { -uint8_t x_42; -lean_dec(x_13); +uint8_t x_39; +lean_dec(x_12); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_40); -if (x_42 == 0) +x_39 = !lean_is_exclusive(x_37); +if (x_39 == 0) { -return x_40; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_40, 0); -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_40); -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; -} -} -block_38: -{ -lean_object* x_16; -x_16 = l_Lean_Environment_Replay_checkPostponedConstructors(x_1, x_13, x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_Environment_Replay_checkPostponedRecursors(x_1, x_13, x_17); -lean_dec(x_1); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_st_ref_get(x_13, x_19); -lean_dec(x_13); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_elab_environment_of_kernel_env(x_23); -lean_ctor_set(x_20, 0, x_24); -return x_20; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_20, 0); -x_26 = lean_ctor_get(x_20, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_20); -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_elab_environment_of_kernel_env(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -} -else -{ -uint8_t x_30; -lean_dec(x_13); -x_30 = !lean_is_exclusive(x_18); -if (x_30 == 0) -{ -return x_18; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_18, 0); -x_32 = lean_ctor_get(x_18, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_18); -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_13); -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_16); -if (x_34 == 0) -{ -return x_16; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_16, 0); -x_36 = lean_ctor_get(x_16, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_16); -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 +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_37, 0); +x_41 = lean_ctor_get(x_37, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_37); +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; +} +} +block_35: +{ +lean_object* x_15; +x_15 = l_Lean_Environment_Replay_checkPostponedConstructors(x_1, x_12, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_Environment_Replay_checkPostponedRecursors(x_1, x_12, x_16); +lean_dec(x_1); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_st_ref_get(x_12, x_18); +lean_dec(x_12); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_22); +return x_19; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_19, 0); +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_19); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(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_24); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_12); +x_27 = !lean_is_exclusive(x_17); +if (x_27 == 0) +{ +return x_17; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_17, 0); +x_29 = lean_ctor_get(x_17, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_17); +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 +{ +uint8_t x_31; +lean_dec(x_12); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_15); +if (x_31 == 0) +{ +return x_15; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_15, 0); +x_33 = lean_ctor_get(x_15, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_15); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} } } } diff --git a/stage0/stdlib/Lean/Server/FileWorker/InlayHints.c b/stage0/stdlib/Lean/Server/FileWorker/InlayHints.c index 4297220ca6..fad64ac965 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/InlayHints.c +++ b/stage0/stdlib/Lean/Server/FileWorker/InlayHints.c @@ -13,37 +13,42 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__8___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_Server_FileWorker_handleInlayHints___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__5; lean_object* l_IO_AsyncList_getFinishedPrefixWithConsistentLatency___rarg(lean_object*, uint32_t, lean_object*, lean_object*); lean_object* l_Lean_FileMap_lspRangeToUtf8Range(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_utf8RangeToLspRange(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_instInhabitedInlayHintState; lean_object* l_Lean_Json_compress(lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__5(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__5___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__4; lean_object* l_Lean_Server_documentUriFromModule(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_instInhabitedInlayHintState___closed__2; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__4; +static lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__1; lean_object* l_ReaderT_bind___at___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__6; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__3; lean_object* l_EStateM_instInhabited___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__3; static lean_object* l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__4___closed__2; -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_InfoTree_visitM_x27___at_Lean_Server_FileWorker_handleInlayHints___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___closed__1; static lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4(lean_object*); +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintKind_toLspInlayHintKind___boxed(lean_object*); @@ -51,52 +56,50 @@ static lean_object* l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec_ uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* l_Std_Mutex_new___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_InfoTree_visitM_x27___at_Lean_Server_FileWorker_handleInlayHints___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745_; lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__4; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_applyEditToHint_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___closed__1; +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonInlayHint____x40_Lean_Data_Lsp_LanguageFeatures___hyg_12835_(lean_object*); -static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__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_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484_(lean_object*); uint8_t l___private_Lean_Elab_InfoTree_InlayHints_0__Lean_Elab_beqInlayHintTextEdit____x40_Lean_Elab_InfoTree_InlayHints___hyg_104_(lean_object*, lean_object*); lean_object* lean_module_name_of_file(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleInlayHints___closed__3; extern lean_object* l_Lean_Server_requestHandlers; -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__4(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__3; lean_object* l_EStateM_instMonad(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_PersistentArray_toList___rarg(lean_object*); -static size_t l_Lean_Server_FileWorker_handleInlayHints___closed__6; -static lean_object* l_Lean_Server_FileWorker_handleInlayHints___closed__1; +static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__5; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__2; lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__4___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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* l_Lean_initializing(lean_object*); lean_object* l_Lean_Server_RequestContext_srcSearchPath(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintTextEdit_toLspTextEdit(lean_object*, lean_object*); -static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__4(lean_object*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_Server_instInhabitedRequestError; lean_object* l___private_Lean_Server_Requests_0__Lean_Server_getState_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InlayHint_ofCustomInfo_x3f(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___closed__1; +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__3; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_mono_ms_now(lean_object*); lean_object* lean_task_pure(lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3(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_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__2; @@ -104,24 +107,17 @@ uint8_t l_String_Range_overlaps(lean_object*, lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); uint32_t lean_uint32_of_nat(lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleInlayHints___closed__4; +static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__3; lean_object* l_Lean_Server_RequestM_mapTaskCostly___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_updateContext_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_visitM_go___at_Lean_Server_FileWorker_handleInlayHints___spec__3___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintLabel_toLspInlayHintLabel(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__4___boxed(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f___spec__3(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_PartialContextInfo_mergeIntoOuter_x3f(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Server_FileWorker_handleInlayHints___closed__5; lean_object* l_Std_Mutex_atomically___at___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleInlayHints___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__1(lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3(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_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_applyEditToHint_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___closed__2; @@ -129,16 +125,17 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_upda lean_object* l_Lean_Elab_InlayHint_resolveDeferred(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4(lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__1(lean_object*); lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__3(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(size_t, size_t, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___closed__1; static lean_object* l_Lean_Server_FileWorker_InlayHintState_init___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintLabelPart_toLspInlayHintLabelPart(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__9(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_Server_FileWorker_applyEditToHint_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Task_Priority_default; @@ -147,18 +144,14 @@ extern lean_object* l_Lean_Server_statefulRequestHandlers; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintTextEdit_toLspTextEdit___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_visitM_go___at_Lean_Server_FileWorker_handleInlayHints___spec__3___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintLinkLocation_toLspLocation___boxed(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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__3; +LEAN_EXPORT lean_object* l_Lean_Server_registerPartialStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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_Array_mapMUnsafe_map___at_Lean_Elab_InlayHintInfo_toLspInlayHint___spec__1(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___spec__2___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_visitM_go___at_Lean_Server_FileWorker_handleInlayHints___spec__3___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -170,34 +163,37 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_instTypeNameInlayHintState; lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___spec__2(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_int_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Parser_ParserState_mkUnexpectedTokenErrors___spec__1(lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_visitM_go___at_Lean_Server_FileWorker_handleInlayHints___spec__3___closed__3; lean_object* l_StateT_instMonad___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__3(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*); -static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__1; lean_object* l_String_Range_bsize(lean_object*); uint8_t l_String_Range_contains(lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_searchModuleNameOfFileName(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InfoTree_visitM_go___at_Lean_Server_FileWorker_handleInlayHints___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_InlayHintKind_toLspInlayHintKind(uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InlayHintLabel_toLspInlayHintLabel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints___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*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_InlayHintState_init; lean_object* l_Lean_Server_RequestCancellationToken_cancellationTask(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__2; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__5(lean_object*, lean_object*, lean_object*); +lean_object* lean_io_get_task_state(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InfoTree_visitM_x27___at_Lean_Server_FileWorker_handleInlayHints___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737_; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___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* l_Int_toNat(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t); @@ -206,61 +202,74 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_hand lean_object* l_StateRefT_x27_get___at___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_System_Uri_fileUriToPath_x3f(lean_object*); static lean_object* l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__4___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_registerPartialStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__2; static lean_object* l_Lean_Server_FileWorker_instInhabitedInlayHintState___closed__1; lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InlayHintInfo_toLspInlayHint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__4___closed__3; +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__2; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonInlayHintParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11544_(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_PersistentHashMap_insert___at___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___spec__7(lean_object*, lean_object*, lean_object*); size_t lean_array_size(lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__1; lean_object* lean_int_add(lean_object*, lean_object*); lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__3; +static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__1; +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6___closed__1; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__7; LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__16(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleInlayHints___closed__7; uint8_t l_Lean_PersistentHashMap_contains___at_Lean_Server_registerLspRequestHandler___spec__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Mutex_atomically___at___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_applyEditToHint_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6(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___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1; uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintInfo_toLspInlayHint(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints___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_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_RequestError_ofIoError(lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__14(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +static size_t l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__6; lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__1; +static lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__4; lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintLinkLocation_toLspLocation(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_InlayHintLinkLocation_toLspLocation(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -2616,7 +2625,7 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__1() { _start: { lean_object* x_1; @@ -2624,7 +2633,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__2() { _start: { lean_object* x_1; @@ -2632,7 +2641,7 @@ x_1 = lean_mk_string_unchecked("Server", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__3() { _start: { lean_object* x_1; @@ -2640,7 +2649,7 @@ x_1 = lean_mk_string_unchecked("FileWorker", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__4() { _start: { lean_object* x_1; @@ -2648,23 +2657,23 @@ x_1 = lean_mk_string_unchecked("InlayHintState", 14, 14); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____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_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__1; -x_2 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__2; -x_3 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__3; -x_4 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__4; +x_1 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__1; +x_2 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__2; +x_3 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__3; +x_4 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____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_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737_() { +static lean_object* _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745_() { _start: { lean_object* x_1; -x_1 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__5; +x_1 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__5; return x_1; } } @@ -2672,7 +2681,7 @@ static lean_object* _init_l_Lean_Server_FileWorker_instTypeNameInlayHintState() _start: { lean_object* x_1; -x_1 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737_; +x_1 = l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745_; return x_1; } } @@ -2688,15 +2697,17 @@ return x_2; static lean_object* _init_l_Lean_Server_FileWorker_instInhabitedInlayHintState___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = lean_box(0); x_2 = l_Lean_Server_FileWorker_instInhabitedInlayHintState___closed__1; x_3 = lean_unsigned_to_nat(0u); -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -lean_ctor_set(x_4, 2, x_1); -return x_4; +x_4 = 0; +x_5 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_1); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); +return x_5; } } static lean_object* _init_l_Lean_Server_FileWorker_instInhabitedInlayHintState() { @@ -2719,15 +2730,17 @@ return x_2; static lean_object* _init_l_Lean_Server_FileWorker_InlayHintState_init___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = lean_box(0); x_2 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; x_3 = lean_unsigned_to_nat(0u); -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -lean_ctor_set(x_4, 2, x_1); -return x_4; +x_4 = 0; +x_5 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_1); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); +return x_5; } } static lean_object* _init_l_Lean_Server_FileWorker_InlayHintState_init() { @@ -4411,7 +4424,153 @@ return x_5; } } } -static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___closed__1() { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_4, x_3); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_array_uget(x_5, x_4); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_5, x_4, x_11); +lean_inc(x_1); +lean_inc(x_2); +x_13 = l_Lean_Elab_InlayHintInfo_toLspInlayHint(x_2, x_1, x_10, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_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 = 1; +x_17 = lean_usize_add(x_4, x_16); +x_18 = lean_array_uset(x_12, x_4, x_14); +x_4 = x_17; +x_5 = x_18; +x_7 = x_15; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_12); +lean_dec(x_2); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_13, 0); +x_22 = l_Lean_Server_RequestError_ofIoError(x_21); +lean_ctor_set(x_13, 0, x_22); +return x_13; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_13, 0); +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_13); +x_25 = l_Lean_Server_RequestError_ofIoError(x_23); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__16(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_4, x_3); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_array_uget(x_5, x_4); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_5, x_4, x_11); +lean_inc(x_1); +lean_inc(x_2); +x_13 = l_Lean_Elab_InlayHintInfo_toLspInlayHint(x_2, x_1, x_10, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_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 = 1; +x_17 = lean_usize_add(x_4, x_16); +x_18 = lean_array_uset(x_12, x_4, x_14); +x_4 = x_17; +x_5 = x_18; +x_7 = x_15; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_12); +lean_dec(x_2); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_13, 0); +x_22 = l_Lean_Server_RequestError_ofIoError(x_21); +lean_ctor_set(x_13, 0, x_22); +return x_13; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_13, 0); +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_13); +x_25 = l_Lean_Server_RequestError_ofIoError(x_23); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +} +} +} +static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -4419,7 +4578,7 @@ x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -4427,17 +4586,17 @@ x_1 = lean_mk_string_unchecked("finishedSnaps >= oldFinishedSnaps\n -- VS Code return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleInlayHints___closed__1; -x_2 = l_Lean_Server_FileWorker_handleInlayHints___closed__2; +x_1 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__1; +x_2 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__2; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -4445,20 +4604,20 @@ x_1 = lean_mk_string_unchecked("Lean.Server.FileWorker.handleInlayHints", 39, 39 return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___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; x_1 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__5; -x_2 = l_Lean_Server_FileWorker_handleInlayHints___closed__4; -x_3 = lean_unsigned_to_nat(133u); +x_2 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__4; +x_3 = lean_unsigned_to_nat(159u); x_4 = lean_unsigned_to_nat(2u); -x_5 = l_Lean_Server_FileWorker_handleInlayHints___closed__3; +x_5 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static size_t _init_l_Lean_Server_FileWorker_handleInlayHints___closed__6() { +static size_t _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__6() { _start: { lean_object* x_1; size_t x_2; @@ -4467,7 +4626,7 @@ x_2 = lean_array_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___closed__7() { +static lean_object* _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -4478,10 +4637,977 @@ lean_ctor_set(x_2, 1, x_1); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1(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, uint8_t 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; +x_13 = lean_array_mk(x_1); +x_14 = lean_array_get_size(x_13); +x_15 = lean_nat_dec_le(x_2, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_16 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__5; +x_17 = l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__1(x_16, x_11, x_12); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; lean_object* x_30; size_t x_31; lean_object* x_32; +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_2, x_18); +x_20 = lean_nat_dec_lt(x_19, x_14); +x_21 = lean_nat_sub(x_14, x_18); +x_22 = lean_nat_dec_lt(x_21, x_14); +x_23 = lean_array_get_size(x_3); +x_24 = lean_unsigned_to_nat(0u); +x_25 = lean_nat_dec_lt(x_24, x_23); +x_26 = lean_array_get_size(x_13); +lean_inc(x_13); +x_27 = l_Array_toSubarray___rarg(x_13, x_2, x_26); +x_28 = lean_ctor_get(x_27, 2); +lean_inc(x_28); +x_29 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +x_31 = lean_usize_of_nat(x_30); +lean_dec(x_30); +if (x_20 == 0) +{ +lean_dec(x_19); +if (x_22 == 0) +{ +lean_dec(x_21); +lean_dec(x_13); +if (x_25 == 0) +{ +lean_object* x_145; +lean_dec(x_23); +x_145 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_32 = x_145; +goto block_144; +} +else +{ +uint8_t x_146; +x_146 = lean_nat_dec_le(x_23, x_23); +if (x_146 == 0) +{ +lean_object* x_147; +lean_dec(x_23); +x_147 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_32 = x_147; +goto block_144; +} +else +{ +size_t x_148; size_t x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_148 = 0; +x_149 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_150 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__7; +x_151 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_152 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__11(x_150, x_3, x_148, x_149, x_151); +x_32 = x_152; +goto block_144; +} +} +} +else +{ +if (x_25 == 0) +{ +lean_object* x_153; +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_13); +x_153 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_32 = x_153; +goto block_144; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_154 = lean_array_fget(x_13, x_21); +lean_dec(x_21); +lean_dec(x_13); +x_155 = l_Lean_Server_Snapshots_Snapshot_endPos(x_154); +lean_dec(x_154); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_24); +lean_ctor_set(x_156, 1, x_155); +x_157 = lean_nat_dec_le(x_23, x_23); +if (x_157 == 0) +{ +lean_object* x_158; +lean_dec(x_156); +lean_dec(x_23); +x_158 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_32 = x_158; +goto block_144; +} +else +{ +size_t x_159; size_t x_160; lean_object* x_161; lean_object* x_162; +x_159 = 0; +x_160 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_161 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_162 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__12(x_156, x_3, x_159, x_160, x_161); +lean_dec(x_156); +x_32 = x_162; +goto block_144; +} +} +} +} +else +{ +lean_object* x_163; lean_object* x_164; +x_163 = lean_array_fget(x_13, x_19); +lean_dec(x_19); +x_164 = l_Lean_Server_Snapshots_Snapshot_endPos(x_163); +lean_dec(x_163); +if (x_22 == 0) +{ +lean_dec(x_21); +lean_dec(x_13); +if (x_25 == 0) +{ +lean_object* x_165; +lean_dec(x_164); +lean_dec(x_23); +x_165 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_32 = x_165; +goto block_144; +} +else +{ +lean_object* x_166; uint8_t x_167; +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_24); +x_167 = lean_nat_dec_le(x_23, x_23); +if (x_167 == 0) +{ +lean_object* x_168; +lean_dec(x_166); +lean_dec(x_23); +x_168 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_32 = x_168; +goto block_144; +} +else +{ +size_t x_169; size_t x_170; lean_object* x_171; lean_object* x_172; +x_169 = 0; +x_170 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_171 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_172 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__13(x_166, x_3, x_169, x_170, x_171); +lean_dec(x_166); +x_32 = x_172; +goto block_144; +} +} +} +else +{ +if (x_25 == 0) +{ +lean_object* x_173; +lean_dec(x_164); +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_13); +x_173 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_32 = x_173; +goto block_144; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; +x_174 = lean_array_fget(x_13, x_21); +lean_dec(x_21); +lean_dec(x_13); +x_175 = l_Lean_Server_Snapshots_Snapshot_endPos(x_174); +lean_dec(x_174); +x_176 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_176, 0, x_164); +lean_ctor_set(x_176, 1, x_175); +x_177 = lean_nat_dec_le(x_23, x_23); +if (x_177 == 0) +{ +lean_object* x_178; +lean_dec(x_176); +lean_dec(x_23); +x_178 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_32 = x_178; +goto block_144; +} +else +{ +size_t x_179; size_t x_180; lean_object* x_181; lean_object* x_182; +x_179 = 0; +x_180 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_181 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +x_182 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__14(x_176, x_3, x_179, x_180, x_181); +lean_dec(x_176); +x_32 = x_182; +goto block_144; +} +} +} +} +block_144: +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_box(0); +x_34 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; +lean_inc(x_11); +x_35 = l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6(x_27, x_29, x_31, x_33, x_34, x_11, x_12); +lean_dec(x_27); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = !lean_is_exclusive(x_36); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; size_t x_44; +x_39 = lean_ctor_get(x_36, 1); +x_40 = lean_ctor_get(x_36, 0); +lean_dec(x_40); +x_41 = l_Array_append___rarg(x_39, x_32); +lean_dec(x_32); +x_42 = lean_array_get_size(x_41); +x_43 = lean_nat_dec_lt(x_24, x_42); +x_44 = 0; +if (x_43 == 0) +{ +size_t x_45; lean_object* x_46; +lean_dec(x_42); +x_45 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__6; +x_46 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__7(x_4, x_5, x_45, x_44, x_34, x_11, x_37); +lean_dec(x_11); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_46, 0); +x_49 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_6); +x_50 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_50, 0, x_41); +lean_ctor_set(x_50, 1, x_14); +lean_ctor_set(x_50, 2, x_7); +lean_ctor_set_uint8(x_50, sizeof(void*)*3, x_8); +lean_ctor_set(x_36, 1, x_50); +lean_ctor_set(x_36, 0, x_49); +lean_ctor_set(x_46, 0, x_36); +return x_46; +} +else +{ +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_46, 0); +x_52 = lean_ctor_get(x_46, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_46); +x_53 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_6); +x_54 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_54, 0, x_41); +lean_ctor_set(x_54, 1, x_14); +lean_ctor_set(x_54, 2, x_7); +lean_ctor_set_uint8(x_54, sizeof(void*)*3, x_8); +lean_ctor_set(x_36, 1, x_54); +lean_ctor_set(x_36, 0, x_53); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_36); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +} +else +{ +uint8_t x_56; +lean_dec(x_41); +lean_free_object(x_36); +lean_dec(x_14); +lean_dec(x_7); +x_56 = !lean_is_exclusive(x_46); +if (x_56 == 0) +{ +return x_46; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_46, 0); +x_58 = lean_ctor_get(x_46, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_46); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +uint8_t x_60; +x_60 = lean_nat_dec_le(x_42, x_42); +if (x_60 == 0) +{ +size_t x_61; lean_object* x_62; +lean_dec(x_42); +x_61 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__6; +x_62 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__8(x_4, x_5, x_61, x_44, x_34, x_11, x_37); +lean_dec(x_11); +if (lean_obj_tag(x_62) == 0) +{ +uint8_t x_63; +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +x_65 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set_uint8(x_65, sizeof(void*)*1, x_6); +x_66 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_66, 0, x_41); +lean_ctor_set(x_66, 1, x_14); +lean_ctor_set(x_66, 2, x_7); +lean_ctor_set_uint8(x_66, sizeof(void*)*3, x_8); +lean_ctor_set(x_36, 1, x_66); +lean_ctor_set(x_36, 0, x_65); +lean_ctor_set(x_62, 0, x_36); +return x_62; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_62, 0); +x_68 = lean_ctor_get(x_62, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_62); +x_69 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set_uint8(x_69, sizeof(void*)*1, x_6); +x_70 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_70, 0, x_41); +lean_ctor_set(x_70, 1, x_14); +lean_ctor_set(x_70, 2, x_7); +lean_ctor_set_uint8(x_70, sizeof(void*)*3, x_8); +lean_ctor_set(x_36, 1, x_70); +lean_ctor_set(x_36, 0, x_69); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_36); +lean_ctor_set(x_71, 1, x_68); +return x_71; +} +} +else +{ +uint8_t x_72; +lean_dec(x_41); +lean_free_object(x_36); +lean_dec(x_14); +lean_dec(x_7); +x_72 = !lean_is_exclusive(x_62); +if (x_72 == 0) +{ +return x_62; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_62, 0); +x_74 = lean_ctor_get(x_62, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_62); +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; +} +} +} +else +{ +size_t x_76; lean_object* x_77; size_t x_78; lean_object* x_79; +x_76 = lean_usize_of_nat(x_42); +lean_dec(x_42); +x_77 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__9(x_9, x_41, x_44, x_76, x_34); +x_78 = lean_array_size(x_77); +x_79 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__10(x_4, x_5, x_78, x_44, x_77, x_11, x_37); +lean_dec(x_11); +if (lean_obj_tag(x_79) == 0) +{ +uint8_t x_80; +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_79, 0); +x_82 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set_uint8(x_82, sizeof(void*)*1, x_6); +x_83 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_83, 0, x_41); +lean_ctor_set(x_83, 1, x_14); +lean_ctor_set(x_83, 2, x_7); +lean_ctor_set_uint8(x_83, sizeof(void*)*3, x_8); +lean_ctor_set(x_36, 1, x_83); +lean_ctor_set(x_36, 0, x_82); +lean_ctor_set(x_79, 0, x_36); +return x_79; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_84 = lean_ctor_get(x_79, 0); +x_85 = lean_ctor_get(x_79, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_79); +x_86 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set_uint8(x_86, sizeof(void*)*1, x_6); +x_87 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_87, 0, x_41); +lean_ctor_set(x_87, 1, x_14); +lean_ctor_set(x_87, 2, x_7); +lean_ctor_set_uint8(x_87, sizeof(void*)*3, x_8); +lean_ctor_set(x_36, 1, x_87); +lean_ctor_set(x_36, 0, x_86); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_36); +lean_ctor_set(x_88, 1, x_85); +return x_88; +} +} +else +{ +uint8_t x_89; +lean_dec(x_41); +lean_free_object(x_36); +lean_dec(x_14); +lean_dec(x_7); +x_89 = !lean_is_exclusive(x_79); +if (x_89 == 0) +{ +return x_79; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_79, 0); +x_91 = lean_ctor_get(x_79, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_79); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +} +} +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; size_t x_97; +x_93 = lean_ctor_get(x_36, 1); +lean_inc(x_93); +lean_dec(x_36); +x_94 = l_Array_append___rarg(x_93, x_32); +lean_dec(x_32); +x_95 = lean_array_get_size(x_94); +x_96 = lean_nat_dec_lt(x_24, x_95); +x_97 = 0; +if (x_96 == 0) +{ +size_t x_98; lean_object* x_99; +lean_dec(x_95); +x_98 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__6; +x_99 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__7(x_4, x_5, x_98, x_97, x_34, x_11, x_37); +lean_dec(x_11); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_102 = x_99; +} else { + lean_dec_ref(x_99); + x_102 = lean_box(0); +} +x_103 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_103, 0, x_100); +lean_ctor_set_uint8(x_103, sizeof(void*)*1, x_6); +x_104 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_104, 0, x_94); +lean_ctor_set(x_104, 1, x_14); +lean_ctor_set(x_104, 2, x_7); +lean_ctor_set_uint8(x_104, sizeof(void*)*3, x_8); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +if (lean_is_scalar(x_102)) { + x_106 = lean_alloc_ctor(0, 2, 0); +} else { + x_106 = x_102; +} +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_101); +return x_106; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_94); +lean_dec(x_14); +lean_dec(x_7); +x_107 = lean_ctor_get(x_99, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_99, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_109 = x_99; +} else { + lean_dec_ref(x_99); + x_109 = lean_box(0); +} +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(1, 2, 0); +} else { + x_110 = x_109; +} +lean_ctor_set(x_110, 0, x_107); +lean_ctor_set(x_110, 1, x_108); +return x_110; +} +} +else +{ +uint8_t x_111; +x_111 = lean_nat_dec_le(x_95, x_95); +if (x_111 == 0) +{ +size_t x_112; lean_object* x_113; +lean_dec(x_95); +x_112 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__6; +x_113 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__8(x_4, x_5, x_112, x_97, x_34, x_11, x_37); +lean_dec(x_11); +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; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_116 = x_113; +} else { + lean_dec_ref(x_113); + x_116 = lean_box(0); +} +x_117 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_117, 0, x_114); +lean_ctor_set_uint8(x_117, sizeof(void*)*1, x_6); +x_118 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_118, 0, x_94); +lean_ctor_set(x_118, 1, x_14); +lean_ctor_set(x_118, 2, x_7); +lean_ctor_set_uint8(x_118, sizeof(void*)*3, x_8); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +if (lean_is_scalar(x_116)) { + x_120 = lean_alloc_ctor(0, 2, 0); +} else { + x_120 = x_116; +} +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_115); +return x_120; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +lean_dec(x_94); +lean_dec(x_14); +lean_dec(x_7); +x_121 = lean_ctor_get(x_113, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_113, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_123 = x_113; +} else { + lean_dec_ref(x_113); + x_123 = lean_box(0); +} +if (lean_is_scalar(x_123)) { + x_124 = lean_alloc_ctor(1, 2, 0); +} else { + x_124 = x_123; +} +lean_ctor_set(x_124, 0, x_121); +lean_ctor_set(x_124, 1, x_122); +return x_124; +} +} +else +{ +size_t x_125; lean_object* x_126; size_t x_127; lean_object* x_128; +x_125 = lean_usize_of_nat(x_95); +lean_dec(x_95); +x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__9(x_9, x_94, x_97, x_125, x_34); +x_127 = lean_array_size(x_126); +x_128 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__10(x_4, x_5, x_127, x_97, x_126, x_11, x_37); +lean_dec(x_11); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_131 = x_128; +} else { + lean_dec_ref(x_128); + x_131 = lean_box(0); +} +x_132 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set_uint8(x_132, sizeof(void*)*1, x_6); +x_133 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_133, 0, x_94); +lean_ctor_set(x_133, 1, x_14); +lean_ctor_set(x_133, 2, x_7); +lean_ctor_set_uint8(x_133, sizeof(void*)*3, x_8); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +if (lean_is_scalar(x_131)) { + x_135 = lean_alloc_ctor(0, 2, 0); +} else { + x_135 = x_131; +} +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; +lean_dec(x_94); +lean_dec(x_14); +lean_dec(x_7); +x_136 = lean_ctor_get(x_128, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_128, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_138 = x_128; +} else { + lean_dec_ref(x_128); + x_138 = lean_box(0); +} +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(1, 2, 0); +} else { + x_139 = x_138; +} +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_137); +return x_139; +} +} +} +} +} +else +{ +uint8_t x_140; +lean_dec(x_32); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +x_140 = !lean_is_exclusive(x_35); +if (x_140 == 0) +{ +return x_35; +} +else +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_35, 0); +x_142 = lean_ctor_get(x_35, 1); +lean_inc(x_142); +lean_inc(x_141); +lean_dec(x_35); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +return x_143; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints___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, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; 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_14 = lean_io_mono_ms_now(x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_1, 2); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_ctor_get(x_2, 5); +x_19 = l_Lean_Server_RequestCancellationToken_cancellationTask(x_18); +lean_inc(x_19); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +if (lean_obj_tag(x_7) == 0) +{ +uint32_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_15); +x_58 = 0; +x_59 = l_IO_AsyncList_getFinishedPrefixWithConsistentLatency___rarg(x_17, x_58, x_20, x_16); +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_21 = x_60; +x_22 = x_61; +goto block_57; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint32_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_62 = lean_ctor_get(x_7, 0); +lean_inc(x_62); +x_63 = lean_nat_sub(x_15, x_62); +lean_dec(x_62); +lean_dec(x_15); +x_64 = lean_unsigned_to_nat(3000u); +x_65 = lean_nat_sub(x_64, x_63); +lean_dec(x_63); +x_66 = lean_uint32_of_nat(x_65); +lean_dec(x_65); +x_67 = l_IO_AsyncList_getFinishedPrefixWithConsistentLatency___rarg(x_17, x_66, x_20, x_16); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_21 = x_68; +x_22 = x_69; +goto block_57; +} +block_57: +{ +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_51; lean_object* x_52; +x_23 = lean_ctor_get(x_21, 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_23, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; +} else { + lean_dec_ref(x_23); + x_26 = lean_box(0); +} +x_51 = lean_io_get_task_state(x_19, x_22); +lean_dec(x_19); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 2) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = 1; +x_27 = x_54; +x_28 = x_53; +goto block_50; +} +else +{ +lean_object* x_55; uint8_t x_56; +lean_dec(x_52); +x_55 = lean_ctor_get(x_51, 1); +lean_inc(x_55); +lean_dec(x_51); +x_56 = 0; +x_27 = x_56; +x_28 = x_55; +goto block_50; +} +block_50: +{ +if (x_27 == 0) +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +lean_dec(x_26); +lean_dec(x_10); +x_29 = lean_box(0); +x_30 = lean_unbox(x_25); +lean_dec(x_25); +x_31 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1(x_24, x_3, x_4, x_5, x_6, x_30, x_7, x_8, x_9, x_29, x_12, x_28); +lean_dec(x_4); +return x_31; +} +else +{ +size_t x_32; size_t x_33; lean_object* x_34; +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_7); +lean_dec(x_3); +x_32 = lean_array_size(x_4); +x_33 = 0; +x_34 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__15(x_5, x_6, x_32, x_33, x_4, x_12, x_28); +lean_dec(x_12); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_34, 0); +x_37 = 0; +x_38 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_37); +if (lean_is_scalar(x_26)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_26; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_10); +lean_ctor_set(x_34, 0, x_39); +return x_34; +} +else +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_34, 0); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_34); +x_42 = 0; +x_43 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set_uint8(x_43, sizeof(void*)*1, x_42); +if (lean_is_scalar(x_26)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_26; +} +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_10); +x_45 = lean_alloc_ctor(0, 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_26); +lean_dec(x_10); +x_46 = !lean_is_exclusive(x_34); +if (x_46 == 0) +{ +return x_34; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_34, 0); +x_48 = lean_ctor_get(x_34, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_34); +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_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +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; x_5 = lean_ctor_get(x_3, 2); lean_inc(x_5); x_6 = lean_ctor_get(x_5, 0); @@ -4498,1514 +5624,185 @@ lean_dec(x_1); x_10 = l_Lean_FileMap_lspRangeToUtf8Range(x_8, x_9); lean_inc(x_3); x_11 = l_Lean_Server_RequestContext_srcSearchPath(x_3); -x_12 = lean_io_mono_ms_now(x_4); -x_13 = lean_ctor_get(x_12, 0); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); +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_2, 0); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); +x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); -lean_dec(x_12); x_15 = lean_ctor_get(x_2, 2); lean_inc(x_15); -x_326 = lean_ctor_get(x_6, 2); -lean_inc(x_326); +x_16 = lean_box(0); +lean_inc(x_3); +x_17 = l_Lean_Server_FileWorker_handleInlayHints___lambda__2(x_6, x_3, x_14, x_13, x_8, x_11, x_15, x_12, x_10, x_2, x_16, x_3, x_4); +lean_dec(x_10); +lean_dec(x_3); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_10); lean_dec(x_6); -x_327 = lean_ctor_get(x_3, 5); -lean_inc(x_327); -x_328 = l_Lean_Server_RequestCancellationToken_cancellationTask(x_327); -lean_dec(x_327); -x_329 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_329, 0, x_328); -if (lean_obj_tag(x_15) == 0) +x_18 = !lean_is_exclusive(x_2); +if (x_18 == 0) { -uint32_t x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; -lean_dec(x_13); -x_330 = 0; -x_331 = l_IO_AsyncList_getFinishedPrefixWithConsistentLatency___rarg(x_326, x_330, x_329, x_14); -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_331, 1); -lean_inc(x_333); -lean_dec(x_331); -x_16 = x_332; -x_17 = x_333; -goto block_325; -} -else -{ -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; uint32_t x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; -x_334 = lean_ctor_get(x_15, 0); -lean_inc(x_334); -x_335 = lean_nat_sub(x_13, x_334); -lean_dec(x_334); -lean_dec(x_13); -x_336 = lean_unsigned_to_nat(3000u); -x_337 = lean_nat_sub(x_336, x_335); -lean_dec(x_335); -x_338 = lean_uint32_of_nat(x_337); -lean_dec(x_337); -x_339 = l_IO_AsyncList_getFinishedPrefixWithConsistentLatency___rarg(x_326, x_338, x_329, x_14); -x_340 = lean_ctor_get(x_339, 0); -lean_inc(x_340); -x_341 = lean_ctor_get(x_339, 1); -lean_inc(x_341); -lean_dec(x_339); -x_16 = x_340; -x_17 = x_341; -goto block_325; -} -block_325: -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +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_array_size(x_19); +x_23 = 0; lean_inc(x_19); -lean_dec(x_16); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) +x_24 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__16(x_8, x_11, x_22, x_23, x_19, x_3, x_4); +lean_dec(x_3); +if (lean_obj_tag(x_24) == 0) { -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_21 = lean_ctor_get(x_18, 1); -x_22 = lean_ctor_get(x_18, 0); -lean_dec(x_22); -x_23 = lean_array_mk(x_19); -x_24 = lean_array_get_size(x_23); -x_25 = lean_ctor_get(x_2, 1); -lean_inc(x_25); -x_26 = lean_nat_dec_le(x_25, x_24); -if (x_26 == 0) +uint8_t x_25; +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -lean_object* x_27; lean_object* x_28; -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_free_object(x_18); -lean_dec(x_21); -lean_dec(x_15); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_27 = l_Lean_Server_FileWorker_handleInlayHints___closed__5; -x_28 = l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__1(x_27, x_3, x_17); -return x_28; +lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_24, 0); +x_27 = 0; +x_28 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_27); +lean_ctor_set_uint8(x_2, sizeof(void*)*3, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_2); +lean_ctor_set(x_24, 0, x_29); +return x_24; } else { -lean_object* x_29; lean_object* x_30; uint8_t 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; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; size_t x_44; lean_object* x_45; -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_sub(x_25, x_29); -x_31 = lean_nat_dec_lt(x_30, x_24); -x_32 = lean_nat_sub(x_24, x_29); -x_33 = lean_nat_dec_lt(x_32, x_24); -x_34 = lean_ctor_get(x_2, 0); -lean_inc(x_34); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - x_35 = x_2; -} else { - lean_dec_ref(x_2); - x_35 = lean_box(0); +lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = lean_ctor_get(x_24, 0); +x_31 = lean_ctor_get(x_24, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_24); +x_32 = 0; +x_33 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_32); +lean_ctor_set_uint8(x_2, sizeof(void*)*3, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_2); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; } -x_36 = lean_array_get_size(x_34); -x_37 = lean_unsigned_to_nat(0u); -x_38 = lean_nat_dec_lt(x_37, x_36); -x_39 = lean_array_get_size(x_23); -lean_inc(x_23); -x_40 = l_Array_toSubarray___rarg(x_23, x_25, x_39); -x_41 = lean_ctor_get(x_40, 2); +} +else +{ +uint8_t x_36; +lean_free_object(x_2); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +x_36 = !lean_is_exclusive(x_24); +if (x_36 == 0) +{ +return x_24; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_24, 0); +x_38 = lean_ctor_get(x_24, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_24); +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_40; lean_object* x_41; lean_object* x_42; size_t x_43; size_t x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_2, 0); +x_41 = lean_ctor_get(x_2, 1); +x_42 = lean_ctor_get(x_2, 2); +lean_inc(x_42); lean_inc(x_41); -x_42 = lean_usize_of_nat(x_41); -lean_dec(x_41); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -x_44 = lean_usize_of_nat(x_43); -lean_dec(x_43); -if (x_31 == 0) -{ -lean_dec(x_30); -if (x_33 == 0) -{ -lean_dec(x_32); -lean_dec(x_23); -lean_free_object(x_18); -if (x_38 == 0) -{ -lean_object* x_167; -lean_dec(x_36); -lean_dec(x_34); -x_167 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_45 = x_167; -goto block_166; -} -else -{ -uint8_t x_168; -x_168 = lean_nat_dec_le(x_36, x_36); -if (x_168 == 0) -{ -lean_object* x_169; -lean_dec(x_36); -lean_dec(x_34); -x_169 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_45 = x_169; -goto block_166; -} -else -{ -size_t x_170; size_t x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_170 = 0; -x_171 = lean_usize_of_nat(x_36); -lean_dec(x_36); -x_172 = l_Lean_Server_FileWorker_handleInlayHints___closed__7; -x_173 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_174 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__11(x_172, x_34, x_170, x_171, x_173); -lean_dec(x_34); -x_45 = x_174; -goto block_166; -} -} -} -else -{ -if (x_38 == 0) -{ -lean_object* x_175; -lean_dec(x_36); -lean_dec(x_34); -lean_dec(x_32); -lean_dec(x_23); -lean_free_object(x_18); -x_175 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_45 = x_175; -goto block_166; -} -else -{ -lean_object* x_176; lean_object* x_177; uint8_t x_178; -x_176 = lean_array_fget(x_23, x_32); -lean_dec(x_32); -lean_dec(x_23); -x_177 = l_Lean_Server_Snapshots_Snapshot_endPos(x_176); -lean_dec(x_176); -lean_ctor_set(x_18, 1, x_177); -lean_ctor_set(x_18, 0, x_37); -x_178 = lean_nat_dec_le(x_36, x_36); -if (x_178 == 0) -{ -lean_object* x_179; -lean_dec(x_18); -lean_dec(x_36); -lean_dec(x_34); -x_179 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_45 = x_179; -goto block_166; -} -else -{ -size_t x_180; size_t x_181; lean_object* x_182; lean_object* x_183; -x_180 = 0; -x_181 = lean_usize_of_nat(x_36); -lean_dec(x_36); -x_182 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_183 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__12(x_18, x_34, x_180, x_181, x_182); -lean_dec(x_34); -lean_dec(x_18); -x_45 = x_183; -goto block_166; -} -} -} -} -else -{ -lean_object* x_184; lean_object* x_185; -x_184 = lean_array_fget(x_23, x_30); -lean_dec(x_30); -x_185 = l_Lean_Server_Snapshots_Snapshot_endPos(x_184); -lean_dec(x_184); -if (x_33 == 0) -{ -lean_dec(x_32); -lean_dec(x_23); -if (x_38 == 0) -{ -lean_object* x_186; -lean_dec(x_185); -lean_dec(x_36); -lean_dec(x_34); -lean_free_object(x_18); -x_186 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_45 = x_186; -goto block_166; -} -else -{ -uint8_t x_187; -lean_ctor_set(x_18, 1, x_37); -lean_ctor_set(x_18, 0, x_185); -x_187 = lean_nat_dec_le(x_36, x_36); -if (x_187 == 0) -{ -lean_object* x_188; -lean_dec(x_18); -lean_dec(x_36); -lean_dec(x_34); -x_188 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_45 = x_188; -goto block_166; -} -else -{ -size_t x_189; size_t x_190; lean_object* x_191; lean_object* x_192; -x_189 = 0; -x_190 = lean_usize_of_nat(x_36); -lean_dec(x_36); -x_191 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_192 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__13(x_18, x_34, x_189, x_190, x_191); -lean_dec(x_34); -lean_dec(x_18); -x_45 = x_192; -goto block_166; -} -} -} -else -{ -if (x_38 == 0) -{ -lean_object* x_193; -lean_dec(x_185); -lean_dec(x_36); -lean_dec(x_34); -lean_dec(x_32); -lean_dec(x_23); -lean_free_object(x_18); -x_193 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_45 = x_193; -goto block_166; -} -else -{ -lean_object* x_194; lean_object* x_195; uint8_t x_196; -x_194 = lean_array_fget(x_23, x_32); -lean_dec(x_32); -lean_dec(x_23); -x_195 = l_Lean_Server_Snapshots_Snapshot_endPos(x_194); -lean_dec(x_194); -lean_ctor_set(x_18, 1, x_195); -lean_ctor_set(x_18, 0, x_185); -x_196 = lean_nat_dec_le(x_36, x_36); -if (x_196 == 0) -{ -lean_object* x_197; -lean_dec(x_18); -lean_dec(x_36); -lean_dec(x_34); -x_197 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_45 = x_197; -goto block_166; -} -else -{ -size_t x_198; size_t x_199; lean_object* x_200; lean_object* x_201; -x_198 = 0; -x_199 = lean_usize_of_nat(x_36); -lean_dec(x_36); -x_200 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_201 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__14(x_18, x_34, x_198, x_199, x_200); -lean_dec(x_34); -lean_dec(x_18); -x_45 = x_201; -goto block_166; -} -} -} -} -block_166: -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_box(0); -x_47 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -lean_inc(x_3); -x_48 = l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6(x_40, x_42, x_44, x_46, x_47, x_3, x_17); -lean_dec(x_40); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = !lean_is_exclusive(x_49); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; size_t x_57; -x_52 = lean_ctor_get(x_49, 1); -x_53 = lean_ctor_get(x_49, 0); -lean_dec(x_53); -x_54 = l_Array_append___rarg(x_52, x_45); -lean_dec(x_45); -x_55 = lean_array_get_size(x_54); -x_56 = lean_nat_dec_lt(x_37, x_55); -x_57 = 0; -if (x_56 == 0) -{ -size_t x_58; lean_object* x_59; -lean_dec(x_55); -lean_dec(x_10); -x_58 = l_Lean_Server_FileWorker_handleInlayHints___closed__6; -x_59 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__7(x_8, x_11, x_58, x_57, x_47, x_3, x_50); -lean_dec(x_3); -if (lean_obj_tag(x_59) == 0) -{ -uint8_t x_60; -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_59, 0); -x_62 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_62, 0, x_61); -x_63 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_62, sizeof(void*)*1, x_63); -if (lean_is_scalar(x_35)) { - x_64 = lean_alloc_ctor(0, 3, 0); -} else { - x_64 = x_35; -} -lean_ctor_set(x_64, 0, x_54); -lean_ctor_set(x_64, 1, x_24); -lean_ctor_set(x_64, 2, x_15); -lean_ctor_set(x_49, 1, x_64); -lean_ctor_set(x_49, 0, x_62); -lean_ctor_set(x_59, 0, x_49); -return x_59; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; -x_65 = lean_ctor_get(x_59, 0); -x_66 = lean_ctor_get(x_59, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_59); -x_67 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_67, 0, x_65); -x_68 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_67, sizeof(void*)*1, x_68); -if (lean_is_scalar(x_35)) { - x_69 = lean_alloc_ctor(0, 3, 0); -} else { - x_69 = x_35; -} -lean_ctor_set(x_69, 0, x_54); -lean_ctor_set(x_69, 1, x_24); -lean_ctor_set(x_69, 2, x_15); -lean_ctor_set(x_49, 1, x_69); -lean_ctor_set(x_49, 0, x_67); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_49); -lean_ctor_set(x_70, 1, x_66); -return x_70; -} -} -else -{ -uint8_t x_71; -lean_dec(x_54); -lean_free_object(x_49); -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_15); -x_71 = !lean_is_exclusive(x_59); -if (x_71 == 0) -{ -return x_59; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_59, 0); -x_73 = lean_ctor_get(x_59, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_59); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -else -{ -uint8_t x_75; -x_75 = lean_nat_dec_le(x_55, x_55); -if (x_75 == 0) -{ -size_t x_76; lean_object* x_77; -lean_dec(x_55); -lean_dec(x_10); -x_76 = l_Lean_Server_FileWorker_handleInlayHints___closed__6; -x_77 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__8(x_8, x_11, x_76, x_57, x_47, x_3, x_50); -lean_dec(x_3); -if (lean_obj_tag(x_77) == 0) -{ -uint8_t x_78; -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; -x_79 = lean_ctor_get(x_77, 0); -x_80 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_80, 0, x_79); -x_81 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_80, sizeof(void*)*1, x_81); -if (lean_is_scalar(x_35)) { - x_82 = lean_alloc_ctor(0, 3, 0); -} else { - x_82 = x_35; -} -lean_ctor_set(x_82, 0, x_54); -lean_ctor_set(x_82, 1, x_24); -lean_ctor_set(x_82, 2, x_15); -lean_ctor_set(x_49, 1, x_82); -lean_ctor_set(x_49, 0, x_80); -lean_ctor_set(x_77, 0, x_49); -return x_77; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_83 = lean_ctor_get(x_77, 0); -x_84 = lean_ctor_get(x_77, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_77); -x_85 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_85, 0, x_83); -x_86 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_85, sizeof(void*)*1, x_86); -if (lean_is_scalar(x_35)) { - x_87 = lean_alloc_ctor(0, 3, 0); -} else { - x_87 = x_35; -} -lean_ctor_set(x_87, 0, x_54); -lean_ctor_set(x_87, 1, x_24); -lean_ctor_set(x_87, 2, x_15); -lean_ctor_set(x_49, 1, x_87); -lean_ctor_set(x_49, 0, x_85); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_49); -lean_ctor_set(x_88, 1, x_84); -return x_88; -} -} -else -{ -uint8_t x_89; -lean_dec(x_54); -lean_free_object(x_49); -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_15); -x_89 = !lean_is_exclusive(x_77); -if (x_89 == 0) -{ -return x_77; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_77, 0); -x_91 = lean_ctor_get(x_77, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_77); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; -} -} -} -else -{ -size_t x_93; lean_object* x_94; size_t x_95; lean_object* x_96; -x_93 = lean_usize_of_nat(x_55); -lean_dec(x_55); -x_94 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__9(x_10, x_54, x_57, x_93, x_47); -lean_dec(x_10); -x_95 = lean_array_size(x_94); -x_96 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__10(x_8, x_11, x_95, x_57, x_94, x_3, x_50); -lean_dec(x_3); -if (lean_obj_tag(x_96) == 0) -{ -uint8_t x_97; -x_97 = !lean_is_exclusive(x_96); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; -x_98 = lean_ctor_get(x_96, 0); -x_99 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_99, 0, x_98); -x_100 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_99, sizeof(void*)*1, x_100); -if (lean_is_scalar(x_35)) { - x_101 = lean_alloc_ctor(0, 3, 0); -} else { - x_101 = x_35; -} -lean_ctor_set(x_101, 0, x_54); -lean_ctor_set(x_101, 1, x_24); -lean_ctor_set(x_101, 2, x_15); -lean_ctor_set(x_49, 1, x_101); -lean_ctor_set(x_49, 0, x_99); -lean_ctor_set(x_96, 0, x_49); -return x_96; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_107; -x_102 = lean_ctor_get(x_96, 0); -x_103 = lean_ctor_get(x_96, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_96); -x_104 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_104, 0, x_102); -x_105 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_104, sizeof(void*)*1, x_105); -if (lean_is_scalar(x_35)) { - x_106 = lean_alloc_ctor(0, 3, 0); -} else { - x_106 = x_35; -} -lean_ctor_set(x_106, 0, x_54); -lean_ctor_set(x_106, 1, x_24); -lean_ctor_set(x_106, 2, x_15); -lean_ctor_set(x_49, 1, x_106); -lean_ctor_set(x_49, 0, x_104); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_49); -lean_ctor_set(x_107, 1, x_103); -return x_107; -} -} -else -{ -uint8_t x_108; -lean_dec(x_54); -lean_free_object(x_49); -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_15); -x_108 = !lean_is_exclusive(x_96); -if (x_108 == 0) -{ -return x_96; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_96, 0); -x_110 = lean_ctor_get(x_96, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_96); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} -} -} -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; size_t x_116; -x_112 = lean_ctor_get(x_49, 1); -lean_inc(x_112); -lean_dec(x_49); -x_113 = l_Array_append___rarg(x_112, x_45); -lean_dec(x_45); -x_114 = lean_array_get_size(x_113); -x_115 = lean_nat_dec_lt(x_37, x_114); -x_116 = 0; -if (x_115 == 0) -{ -size_t x_117; lean_object* x_118; -lean_dec(x_114); -lean_dec(x_10); -x_117 = l_Lean_Server_FileWorker_handleInlayHints___closed__6; -x_118 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__7(x_8, x_11, x_117, x_116, x_47, x_3, x_50); -lean_dec(x_3); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_121 = x_118; -} else { - lean_dec_ref(x_118); - x_121 = lean_box(0); -} -x_122 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_122, 0, x_119); -x_123 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_122, sizeof(void*)*1, x_123); -if (lean_is_scalar(x_35)) { - x_124 = lean_alloc_ctor(0, 3, 0); -} else { - x_124 = x_35; -} -lean_ctor_set(x_124, 0, x_113); -lean_ctor_set(x_124, 1, x_24); -lean_ctor_set(x_124, 2, x_15); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_124); -if (lean_is_scalar(x_121)) { - x_126 = lean_alloc_ctor(0, 2, 0); -} else { - x_126 = x_121; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_120); -return x_126; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_113); -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_15); -x_127 = lean_ctor_get(x_118, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_118, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_129 = x_118; -} else { - lean_dec_ref(x_118); - x_129 = lean_box(0); -} -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(1, 2, 0); -} else { - x_130 = x_129; -} -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_128); -return x_130; -} -} -else -{ -uint8_t x_131; -x_131 = lean_nat_dec_le(x_114, x_114); -if (x_131 == 0) -{ -size_t x_132; lean_object* x_133; -lean_dec(x_114); -lean_dec(x_10); -x_132 = l_Lean_Server_FileWorker_handleInlayHints___closed__6; -x_133 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__8(x_8, x_11, x_132, x_116, x_47, x_3, x_50); -lean_dec(x_3); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - x_136 = x_133; -} else { - lean_dec_ref(x_133); - x_136 = lean_box(0); -} -x_137 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_137, 0, x_134); -x_138 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_137, sizeof(void*)*1, x_138); -if (lean_is_scalar(x_35)) { - x_139 = lean_alloc_ctor(0, 3, 0); -} else { - x_139 = x_35; -} -lean_ctor_set(x_139, 0, x_113); -lean_ctor_set(x_139, 1, x_24); -lean_ctor_set(x_139, 2, x_15); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_139); -if (lean_is_scalar(x_136)) { - x_141 = lean_alloc_ctor(0, 2, 0); -} else { - x_141 = x_136; -} -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_135); -return x_141; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -lean_dec(x_113); -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_15); -x_142 = lean_ctor_get(x_133, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_133, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - x_144 = x_133; -} else { - lean_dec_ref(x_133); - 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; -} -} -else -{ -size_t x_146; lean_object* x_147; size_t x_148; lean_object* x_149; -x_146 = lean_usize_of_nat(x_114); -lean_dec(x_114); -x_147 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__9(x_10, x_113, x_116, x_146, x_47); -lean_dec(x_10); -x_148 = lean_array_size(x_147); -x_149 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__10(x_8, x_11, x_148, x_116, x_147, x_3, x_50); -lean_dec(x_3); -if (lean_obj_tag(x_149) == 0) -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - x_152 = x_149; -} else { - lean_dec_ref(x_149); - x_152 = lean_box(0); -} -x_153 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_153, 0, x_150); -x_154 = lean_unbox(x_21); -lean_dec(x_21); -lean_ctor_set_uint8(x_153, sizeof(void*)*1, x_154); -if (lean_is_scalar(x_35)) { - x_155 = lean_alloc_ctor(0, 3, 0); -} else { - x_155 = x_35; -} -lean_ctor_set(x_155, 0, x_113); -lean_ctor_set(x_155, 1, x_24); -lean_ctor_set(x_155, 2, x_15); -x_156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_155); -if (lean_is_scalar(x_152)) { - x_157 = lean_alloc_ctor(0, 2, 0); -} else { - x_157 = x_152; -} -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_151); -return x_157; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_113); -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_15); -x_158 = lean_ctor_get(x_149, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_149, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - x_160 = x_149; -} else { - lean_dec_ref(x_149); - x_160 = lean_box(0); -} -if (lean_is_scalar(x_160)) { - x_161 = lean_alloc_ctor(1, 2, 0); -} else { - x_161 = x_160; -} -lean_ctor_set(x_161, 0, x_158); -lean_ctor_set(x_161, 1, x_159); -return x_161; -} -} -} -} -} -else -{ -uint8_t x_162; -lean_dec(x_45); -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_15); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_3); -x_162 = !lean_is_exclusive(x_48); -if (x_162 == 0) -{ -return x_48; -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_163 = lean_ctor_get(x_48, 0); -x_164 = lean_ctor_get(x_48, 1); -lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_48); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -return x_165; -} -} -} -} -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; -x_202 = lean_ctor_get(x_18, 1); -lean_inc(x_202); -lean_dec(x_18); -x_203 = lean_array_mk(x_19); -x_204 = lean_array_get_size(x_203); -x_205 = lean_ctor_get(x_2, 1); -lean_inc(x_205); -x_206 = lean_nat_dec_le(x_205, x_204); -if (x_206 == 0) -{ -lean_object* x_207; lean_object* x_208; -lean_dec(x_205); -lean_dec(x_204); -lean_dec(x_203); -lean_dec(x_202); -lean_dec(x_15); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); +lean_inc(x_40); lean_dec(x_2); -x_207 = l_Lean_Server_FileWorker_handleInlayHints___closed__5; -x_208 = l_panic___at_Lean_Server_FileWorker_handleInlayHints___spec__1(x_207, x_3, x_17); -return x_208; -} -else -{ -lean_object* x_209; lean_object* x_210; uint8_t x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; size_t x_222; lean_object* x_223; size_t x_224; lean_object* x_225; -x_209 = lean_unsigned_to_nat(1u); -x_210 = lean_nat_sub(x_205, x_209); -x_211 = lean_nat_dec_lt(x_210, x_204); -x_212 = lean_nat_sub(x_204, x_209); -x_213 = lean_nat_dec_lt(x_212, x_204); -x_214 = lean_ctor_get(x_2, 0); -lean_inc(x_214); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - x_215 = x_2; -} else { - lean_dec_ref(x_2); - x_215 = lean_box(0); -} -x_216 = lean_array_get_size(x_214); -x_217 = lean_unsigned_to_nat(0u); -x_218 = lean_nat_dec_lt(x_217, x_216); -x_219 = lean_array_get_size(x_203); -lean_inc(x_203); -x_220 = l_Array_toSubarray___rarg(x_203, x_205, x_219); -x_221 = lean_ctor_get(x_220, 2); -lean_inc(x_221); -x_222 = lean_usize_of_nat(x_221); -lean_dec(x_221); -x_223 = lean_ctor_get(x_220, 1); -lean_inc(x_223); -x_224 = lean_usize_of_nat(x_223); -lean_dec(x_223); -if (x_211 == 0) -{ -lean_dec(x_210); -if (x_213 == 0) -{ -lean_dec(x_212); -lean_dec(x_203); -if (x_218 == 0) -{ -lean_object* x_287; -lean_dec(x_216); -lean_dec(x_214); -x_287 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_225 = x_287; -goto block_286; -} -else -{ -uint8_t x_288; -x_288 = lean_nat_dec_le(x_216, x_216); -if (x_288 == 0) -{ -lean_object* x_289; -lean_dec(x_216); -lean_dec(x_214); -x_289 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_225 = x_289; -goto block_286; -} -else -{ -size_t x_290; size_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_290 = 0; -x_291 = lean_usize_of_nat(x_216); -lean_dec(x_216); -x_292 = l_Lean_Server_FileWorker_handleInlayHints___closed__7; -x_293 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_294 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__11(x_292, x_214, x_290, x_291, x_293); -lean_dec(x_214); -x_225 = x_294; -goto block_286; -} -} -} -else -{ -if (x_218 == 0) -{ -lean_object* x_295; -lean_dec(x_216); -lean_dec(x_214); -lean_dec(x_212); -lean_dec(x_203); -x_295 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_225 = x_295; -goto block_286; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; uint8_t x_299; -x_296 = lean_array_fget(x_203, x_212); -lean_dec(x_212); -lean_dec(x_203); -x_297 = l_Lean_Server_Snapshots_Snapshot_endPos(x_296); -lean_dec(x_296); -x_298 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_298, 0, x_217); -lean_ctor_set(x_298, 1, x_297); -x_299 = lean_nat_dec_le(x_216, x_216); -if (x_299 == 0) -{ -lean_object* x_300; -lean_dec(x_298); -lean_dec(x_216); -lean_dec(x_214); -x_300 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_225 = x_300; -goto block_286; -} -else -{ -size_t x_301; size_t x_302; lean_object* x_303; lean_object* x_304; -x_301 = 0; -x_302 = lean_usize_of_nat(x_216); -lean_dec(x_216); -x_303 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_304 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__12(x_298, x_214, x_301, x_302, x_303); -lean_dec(x_214); -lean_dec(x_298); -x_225 = x_304; -goto block_286; -} -} -} -} -else -{ -lean_object* x_305; lean_object* x_306; -x_305 = lean_array_fget(x_203, x_210); -lean_dec(x_210); -x_306 = l_Lean_Server_Snapshots_Snapshot_endPos(x_305); -lean_dec(x_305); -if (x_213 == 0) -{ -lean_dec(x_212); -lean_dec(x_203); -if (x_218 == 0) -{ -lean_object* x_307; -lean_dec(x_306); -lean_dec(x_216); -lean_dec(x_214); -x_307 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_225 = x_307; -goto block_286; -} -else -{ -lean_object* x_308; uint8_t x_309; -x_308 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_308, 0, x_306); -lean_ctor_set(x_308, 1, x_217); -x_309 = lean_nat_dec_le(x_216, x_216); -if (x_309 == 0) -{ -lean_object* x_310; -lean_dec(x_308); -lean_dec(x_216); -lean_dec(x_214); -x_310 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_225 = x_310; -goto block_286; -} -else -{ -size_t x_311; size_t x_312; lean_object* x_313; lean_object* x_314; -x_311 = 0; -x_312 = lean_usize_of_nat(x_216); -lean_dec(x_216); -x_313 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_314 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__13(x_308, x_214, x_311, x_312, x_313); -lean_dec(x_214); -lean_dec(x_308); -x_225 = x_314; -goto block_286; -} -} -} -else -{ -if (x_218 == 0) -{ -lean_object* x_315; -lean_dec(x_306); -lean_dec(x_216); -lean_dec(x_214); -lean_dec(x_212); -lean_dec(x_203); -x_315 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_225 = x_315; -goto block_286; -} -else -{ -lean_object* x_316; lean_object* x_317; lean_object* x_318; uint8_t x_319; -x_316 = lean_array_fget(x_203, x_212); -lean_dec(x_212); -lean_dec(x_203); -x_317 = l_Lean_Server_Snapshots_Snapshot_endPos(x_316); -lean_dec(x_316); -x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_306); -lean_ctor_set(x_318, 1, x_317); -x_319 = lean_nat_dec_le(x_216, x_216); -if (x_319 == 0) -{ -lean_object* x_320; -lean_dec(x_318); -lean_dec(x_216); -lean_dec(x_214); -x_320 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_225 = x_320; -goto block_286; -} -else -{ -size_t x_321; size_t x_322; lean_object* x_323; lean_object* x_324; -x_321 = 0; -x_322 = lean_usize_of_nat(x_216); -lean_dec(x_216); -x_323 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -x_324 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__14(x_318, x_214, x_321, x_322, x_323); -lean_dec(x_214); -lean_dec(x_318); -x_225 = x_324; -goto block_286; -} -} -} -} -block_286: -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_226 = lean_box(0); -x_227 = l_Lean_Server_FileWorker_InlayHintState_init___closed__1; -lean_inc(x_3); -x_228 = l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6(x_220, x_222, x_224, x_226, x_227, x_3, x_17); -lean_dec(x_220); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; size_t x_236; -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec(x_228); -x_231 = lean_ctor_get(x_229, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_229)) { - lean_ctor_release(x_229, 0); - lean_ctor_release(x_229, 1); - x_232 = x_229; -} else { - lean_dec_ref(x_229); - x_232 = lean_box(0); -} -x_233 = l_Array_append___rarg(x_231, x_225); -lean_dec(x_225); -x_234 = lean_array_get_size(x_233); -x_235 = lean_nat_dec_lt(x_217, x_234); -x_236 = 0; -if (x_235 == 0) -{ -size_t x_237; lean_object* x_238; -lean_dec(x_234); -lean_dec(x_10); -x_237 = l_Lean_Server_FileWorker_handleInlayHints___closed__6; -x_238 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__7(x_8, x_11, x_237, x_236, x_227, x_3, x_230); +x_43 = lean_array_size(x_40); +x_44 = 0; +lean_inc(x_40); +x_45 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__16(x_8, x_11, x_43, x_44, x_40, x_3, x_4); lean_dec(x_3); -if (lean_obj_tag(x_238) == 0) +if (lean_obj_tag(x_45) == 0) { -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -if (lean_is_exclusive(x_238)) { - lean_ctor_release(x_238, 0); - lean_ctor_release(x_238, 1); - x_241 = x_238; +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_48 = x_45; } else { - lean_dec_ref(x_238); - x_241 = lean_box(0); + lean_dec_ref(x_45); + x_48 = lean_box(0); } -x_242 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_242, 0, x_239); -x_243 = lean_unbox(x_202); -lean_dec(x_202); -lean_ctor_set_uint8(x_242, sizeof(void*)*1, x_243); -if (lean_is_scalar(x_215)) { - x_244 = lean_alloc_ctor(0, 3, 0); +x_49 = 0; +x_50 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_50, 0, x_46); +lean_ctor_set_uint8(x_50, sizeof(void*)*1, x_49); +x_51 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_51, 0, x_40); +lean_ctor_set(x_51, 1, x_41); +lean_ctor_set(x_51, 2, x_42); +lean_ctor_set_uint8(x_51, sizeof(void*)*3, x_49); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +if (lean_is_scalar(x_48)) { + x_53 = lean_alloc_ctor(0, 2, 0); } else { - x_244 = x_215; + x_53 = x_48; } -lean_ctor_set(x_244, 0, x_233); -lean_ctor_set(x_244, 1, x_204); -lean_ctor_set(x_244, 2, x_15); -if (lean_is_scalar(x_232)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_232; -} -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_244); -if (lean_is_scalar(x_241)) { - x_246 = lean_alloc_ctor(0, 2, 0); -} else { - x_246 = x_241; -} -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_240); -return x_246; +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_47); +return x_53; } else { -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; -lean_dec(x_233); -lean_dec(x_232); -lean_dec(x_215); -lean_dec(x_204); -lean_dec(x_202); -lean_dec(x_15); -x_247 = lean_ctor_get(x_238, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_238, 1); -lean_inc(x_248); -if (lean_is_exclusive(x_238)) { - lean_ctor_release(x_238, 0); - lean_ctor_release(x_238, 1); - x_249 = x_238; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_42); +lean_dec(x_41); +lean_dec(x_40); +x_54 = lean_ctor_get(x_45, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_45, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_56 = x_45; } else { - lean_dec_ref(x_238); - x_249 = lean_box(0); + lean_dec_ref(x_45); + x_56 = lean_box(0); } -if (lean_is_scalar(x_249)) { - x_250 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(1, 2, 0); } else { - x_250 = x_249; -} -lean_ctor_set(x_250, 0, x_247); -lean_ctor_set(x_250, 1, x_248); -return x_250; -} -} -else -{ -uint8_t x_251; -x_251 = lean_nat_dec_le(x_234, x_234); -if (x_251 == 0) -{ -size_t x_252; lean_object* x_253; -lean_dec(x_234); -lean_dec(x_10); -x_252 = l_Lean_Server_FileWorker_handleInlayHints___closed__6; -x_253 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__8(x_8, x_11, x_252, x_236, x_227, x_3, x_230); -lean_dec(x_3); -if (lean_obj_tag(x_253) == 0) -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_254 = lean_ctor_get(x_253, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_253, 1); -lean_inc(x_255); -if (lean_is_exclusive(x_253)) { - lean_ctor_release(x_253, 0); - lean_ctor_release(x_253, 1); - x_256 = x_253; -} else { - lean_dec_ref(x_253); - x_256 = lean_box(0); -} -x_257 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_257, 0, x_254); -x_258 = lean_unbox(x_202); -lean_dec(x_202); -lean_ctor_set_uint8(x_257, sizeof(void*)*1, x_258); -if (lean_is_scalar(x_215)) { - x_259 = lean_alloc_ctor(0, 3, 0); -} else { - x_259 = x_215; -} -lean_ctor_set(x_259, 0, x_233); -lean_ctor_set(x_259, 1, x_204); -lean_ctor_set(x_259, 2, x_15); -if (lean_is_scalar(x_232)) { - x_260 = lean_alloc_ctor(0, 2, 0); -} else { - x_260 = x_232; -} -lean_ctor_set(x_260, 0, x_257); -lean_ctor_set(x_260, 1, x_259); -if (lean_is_scalar(x_256)) { - x_261 = lean_alloc_ctor(0, 2, 0); -} else { - x_261 = x_256; -} -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_255); -return x_261; -} -else -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_233); -lean_dec(x_232); -lean_dec(x_215); -lean_dec(x_204); -lean_dec(x_202); -lean_dec(x_15); -x_262 = lean_ctor_get(x_253, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_253, 1); -lean_inc(x_263); -if (lean_is_exclusive(x_253)) { - lean_ctor_release(x_253, 0); - lean_ctor_release(x_253, 1); - x_264 = x_253; -} else { - lean_dec_ref(x_253); - x_264 = lean_box(0); -} -if (lean_is_scalar(x_264)) { - x_265 = lean_alloc_ctor(1, 2, 0); -} else { - x_265 = x_264; -} -lean_ctor_set(x_265, 0, x_262); -lean_ctor_set(x_265, 1, x_263); -return x_265; -} -} -else -{ -size_t x_266; lean_object* x_267; size_t x_268; lean_object* x_269; -x_266 = lean_usize_of_nat(x_234); -lean_dec(x_234); -x_267 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleInlayHints___spec__9(x_10, x_233, x_236, x_266, x_227); -lean_dec(x_10); -x_268 = lean_array_size(x_267); -x_269 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__10(x_8, x_11, x_268, x_236, x_267, x_3, x_230); -lean_dec(x_3); -if (lean_obj_tag(x_269) == 0) -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; uint8_t x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - x_272 = x_269; -} else { - lean_dec_ref(x_269); - x_272 = lean_box(0); -} -x_273 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_273, 0, x_270); -x_274 = lean_unbox(x_202); -lean_dec(x_202); -lean_ctor_set_uint8(x_273, sizeof(void*)*1, x_274); -if (lean_is_scalar(x_215)) { - x_275 = lean_alloc_ctor(0, 3, 0); -} else { - x_275 = x_215; -} -lean_ctor_set(x_275, 0, x_233); -lean_ctor_set(x_275, 1, x_204); -lean_ctor_set(x_275, 2, x_15); -if (lean_is_scalar(x_232)) { - x_276 = lean_alloc_ctor(0, 2, 0); -} else { - x_276 = x_232; -} -lean_ctor_set(x_276, 0, x_273); -lean_ctor_set(x_276, 1, x_275); -if (lean_is_scalar(x_272)) { - x_277 = lean_alloc_ctor(0, 2, 0); -} else { - x_277 = x_272; -} -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_271); -return x_277; -} -else -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -lean_dec(x_233); -lean_dec(x_232); -lean_dec(x_215); -lean_dec(x_204); -lean_dec(x_202); -lean_dec(x_15); -x_278 = lean_ctor_get(x_269, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_269, 1); -lean_inc(x_279); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - x_280 = x_269; -} else { - lean_dec_ref(x_269); - 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_225); -lean_dec(x_215); -lean_dec(x_204); -lean_dec(x_202); -lean_dec(x_15); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_3); -x_282 = lean_ctor_get(x_228, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_228, 1); -lean_inc(x_283); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_284 = x_228; -} else { - lean_dec_ref(x_228); - 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; -} + x_57 = x_56; } +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_55); +return x_57; } } } @@ -6165,6 +5962,60 @@ lean_dec(x_1); return x_8; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__15(x_1, x_2, x_8, x_9, x_5, x_6, x_7); +lean_dec(x_6); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__16___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: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleInlayHints___spec__16(x_1, x_2, x_8, x_9, x_5, x_6, x_7); +lean_dec(x_6); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_6); +lean_dec(x_6); +x_14 = lean_unbox(x_8); +lean_dec(x_8); +x_15 = l_Lean_Server_FileWorker_handleInlayHints___lambda__1(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_14, x_9, x_10, x_11, x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHints___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_8); +lean_dec(x_8); +x_15 = l_Lean_Server_FileWorker_handleInlayHints___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +return x_15; +} +} LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -6898,7 +6749,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_20; lean_object* x_21; lean_object* x_22; +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_19; lean_object* x_20; lean_object* x_21; x_5 = lean_ctor_get(x_3, 2); lean_inc(x_5); x_6 = lean_ctor_get(x_5, 0); @@ -6910,226 +6761,222 @@ lean_dec(x_6); x_8 = lean_ctor_get(x_7, 2); lean_inc(x_8); lean_inc(x_3); -x_20 = l_Lean_Server_RequestContext_srcSearchPath(x_3); -x_21 = lean_ctor_get(x_7, 0); -lean_inc(x_21); +x_19 = l_Lean_Server_RequestContext_srcSearchPath(x_3); +x_20 = lean_ctor_get(x_7, 0); +lean_inc(x_20); lean_dec(x_7); -x_22 = l_System_Uri_fileUriToPath_x3f(x_21); -if (lean_obj_tag(x_22) == 0) +x_21 = l_System_Uri_fileUriToPath_x3f(x_20); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_23; -lean_dec(x_20); -x_23 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___closed__1; -x_9 = x_23; +lean_object* x_22; +lean_dec(x_19); +x_22 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___closed__1; +x_9 = x_22; x_10 = x_4; -goto block_19; +goto block_18; } else { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) +uint8_t x_23; +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); -x_26 = l_Lean_searchModuleNameOfFileName(x_25, x_20, x_4); -x_27 = lean_ctor_get(x_26, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +x_25 = l_Lean_searchModuleNameOfFileName(x_24, x_19, x_4); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_box(0); -x_30 = lean_module_name_of_file(x_25, x_29, x_28); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -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_ctor_set(x_22, 0, x_31); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_22); -x_9 = x_33; -x_10 = x_32; -goto block_19; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_free_object(x_22); -x_34 = lean_ctor_get(x_30, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); -x_36 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_36, 0, x_34); -x_9 = x_36; -x_10 = x_35; -goto block_19; -} -} -else -{ -lean_object* x_37; uint8_t x_38; -lean_free_object(x_22); lean_dec(x_25); -x_37 = lean_ctor_get(x_26, 1); -lean_inc(x_37); -lean_dec(x_26); -x_38 = !lean_is_exclusive(x_27); -if (x_38 == 0) +x_28 = lean_box(0); +x_29 = lean_module_name_of_file(x_24, x_28, x_27); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_39; -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_27); -x_9 = x_39; -x_10 = x_37; -goto block_19; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +lean_ctor_set(x_21, 0, x_30); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_21); +x_9 = x_32; +x_10 = x_31; +goto block_18; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_27, 0); -lean_inc(x_40); -lean_dec(x_27); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_free_object(x_21); +x_33 = lean_ctor_get(x_29, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); +lean_dec(x_29); +x_35 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_35, 0, x_33); +x_9 = x_35; +x_10 = x_34; +goto block_18; +} +} +else +{ +lean_object* x_36; uint8_t x_37; +lean_free_object(x_21); +lean_dec(x_24); +x_36 = lean_ctor_get(x_25, 1); +lean_inc(x_36); +lean_dec(x_25); +x_37 = !lean_is_exclusive(x_26); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_26); +x_9 = x_38; +x_10 = x_36; +goto block_18; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_26, 0); +lean_inc(x_39); +lean_dec(x_26); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); x_41 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_41, 0, x_40); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -x_9 = x_42; -x_10 = x_37; -goto block_19; +x_9 = x_41; +x_10 = x_36; +goto block_18; } } } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_22, 0); -lean_inc(x_43); -lean_dec(x_22); -lean_inc(x_43); -x_44 = l_Lean_searchModuleNameOfFileName(x_43, x_20, x_4); -x_45 = lean_ctor_get(x_44, 0); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_21, 0); +lean_inc(x_42); +lean_dec(x_21); +lean_inc(x_42); +x_43 = l_Lean_searchModuleNameOfFileName(x_42, x_19, x_4); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_box(0); -x_48 = lean_module_name_of_file(x_43, x_47, x_46); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -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 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_49); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_9 = x_52; -x_10 = x_50; -goto block_19; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_48, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_48, 1); -lean_inc(x_54); -lean_dec(x_48); -x_55 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_55, 0, x_53); -x_9 = x_55; -x_10 = x_54; -goto block_19; -} -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_dec(x_43); -x_56 = lean_ctor_get(x_44, 1); +x_46 = lean_box(0); +x_47 = lean_module_name_of_file(x_42, x_46, x_45); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +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 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_48); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_9 = x_51; +x_10 = x_49; +goto block_18; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_47, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_dec(x_47); +x_54 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_54, 0, x_52); +x_9 = x_54; +x_10 = x_53; +goto block_18; +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_42); +x_55 = lean_ctor_get(x_43, 1); +lean_inc(x_55); +lean_dec(x_43); +x_56 = lean_ctor_get(x_44, 0); lean_inc(x_56); -lean_dec(x_44); -x_57 = lean_ctor_get(x_45, 0); -lean_inc(x_57); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - x_58 = x_45; +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + x_57 = x_44; } else { - lean_dec_ref(x_45); - x_58 = lean_box(0); + lean_dec_ref(x_44); + x_57 = lean_box(0); } -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(1, 1, 0); } else { - x_59 = x_58; + x_58 = x_57; } -lean_ctor_set(x_59, 0, x_57); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_59); -x_9 = x_60; -x_10 = x_56; -goto block_19; +lean_ctor_set(x_58, 0, x_56); +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_9 = x_59; +x_10 = x_55; +goto block_18; } } } -block_19: +block_18: { if (lean_obj_tag(x_9) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_8); -lean_dec(x_3); -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); +lean_object* x_11; lean_object* x_12; lean_dec(x_9); -x_12 = l_Lean_Server_RequestError_ofIoError(x_11); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_10); -return x_13; +x_11 = lean_box(0); +x_12 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2(x_2, x_1, x_8, x_11, x_3, x_10); +lean_dec(x_3); +lean_dec(x_8); +return x_12; } else { -lean_object* x_14; -x_14 = lean_ctor_get(x_9, 0); -lean_inc(x_14); +lean_object* x_13; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); lean_dec(x_9); -if (lean_obj_tag(x_14) == 0) +if (lean_obj_tag(x_13) == 0) { -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -x_16 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2(x_2, x_1, x_8, x_15, x_3, x_10); +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2(x_2, x_1, x_8, x_14, x_3, x_10); lean_dec(x_3); lean_dec(x_8); -return x_16; +return x_15; } else { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -lean_dec(x_14); -x_18 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2(x_2, x_1, x_8, x_17, x_3, x_10); +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2(x_2, x_1, x_8, x_16, x_3, x_10); lean_dec(x_3); -lean_dec(x_17); +lean_dec(x_16); lean_dec(x_8); -return x_18; +return x_17; } } } @@ -7591,82 +7438,101 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleInlayHintsDidChange(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_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 0); lean_inc(x_3); x_6 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints(x_1, x_5, x_3, x_4); -if (lean_obj_tag(x_6) == 0) +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -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 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f(x_1, x_5, x_3, x_8); +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +x_10 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f(x_1, x_5, x_3, x_9); lean_dec(x_3); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_13, 0, x_7); -lean_ctor_set(x_13, 1, x_12); -lean_ctor_set(x_13, 2, x_11); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_unsigned_to_nat(0u); +x_14 = 1; +x_15 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_15, 0, x_8); lean_ctor_set(x_15, 1, x_13); -lean_ctor_set(x_9, 0, x_15); -return x_9; +lean_ctor_set(x_15, 2, x_12); +lean_ctor_set_uint8(x_15, sizeof(void*)*3, x_14); +x_16 = lean_box(0); +lean_ctor_set(x_6, 1, x_15); +lean_ctor_set(x_6, 0, x_16); +lean_ctor_set(x_10, 0, x_6); +return x_10; } 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; lean_object* x_22; -x_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_9); -x_18 = lean_unsigned_to_nat(0u); -x_19 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_19, 0, x_7); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_19, 2, x_16); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); +lean_dec(x_10); +x_19 = lean_unsigned_to_nat(0u); +x_20 = 1; +x_21 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_21, 0, x_8); lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_17); -return x_22; +lean_ctor_set(x_21, 2, x_17); +lean_ctor_set_uint8(x_21, sizeof(void*)*3, x_20); +x_22 = lean_box(0); +lean_ctor_set(x_6, 1, x_21); +lean_ctor_set(x_6, 0, x_22); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_6); +lean_ctor_set(x_23, 1, x_18); +return x_23; } } else { -uint8_t x_23; -lean_dec(x_3); -x_23 = !lean_is_exclusive(x_6); -if (x_23 == 0) -{ -return x_6; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_24 = lean_ctor_get(x_6, 0); x_25 = lean_ctor_get(x_6, 1); lean_inc(x_25); lean_inc(x_24); lean_dec(x_6); -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; +x_26 = l_Lean_Server_FileWorker_handleInlayHintsDidChange_determineLastEditTimestamp_x3f(x_1, x_5, x_3, x_25); +lean_dec(x_3); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; +} else { + lean_dec_ref(x_26); + x_29 = lean_box(0); } +x_30 = lean_unsigned_to_nat(0u); +x_31 = 1; +x_32 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_27); +lean_ctor_set_uint8(x_32, sizeof(void*)*3, x_31); +x_33 = lean_box(0); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +if (lean_is_scalar(x_29)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_29; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_28); +return x_35; } } } @@ -7680,7 +7546,7 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__1() { +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__1() { _start: { lean_object* x_1; @@ -7688,7 +7554,7 @@ x_1 = lean_mk_string_unchecked("Cannot parse request params: ", 29, 29); return x_1; } } -static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__2() { +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__2() { _start: { lean_object* x_1; @@ -7696,7 +7562,7 @@ x_1 = lean_mk_string_unchecked("\n", 1, 1); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4(lean_object* x_1) { _start: { lean_object* x_2; @@ -7711,10 +7577,10 @@ 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; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -7734,10 +7600,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -7774,7 +7640,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -7799,7 +7665,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -7824,11 +7690,11 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -7878,12 +7744,12 @@ return x_11; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___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) { _start: { lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4(x_4); -x_9 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__5(x_8, x_6, x_7); +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4(x_4); +x_9 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__5(x_8, x_6, x_7); lean_dec(x_8); if (lean_obj_tag(x_9) == 0) { @@ -7929,7 +7795,7 @@ lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_2 x_23 = lean_ctor_get(x_17, 0); x_24 = lean_array_size(x_23); x_25 = 0; -x_26 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(x_24, x_25, x_23); +x_26 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(x_24, x_25, x_23); x_27 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_17, 0, x_27); @@ -7949,7 +7815,7 @@ lean_inc(x_29); lean_dec(x_17); x_31 = lean_array_size(x_29); x_32 = 0; -x_33 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(x_31, x_32, x_29); +x_33 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(x_31, x_32, x_29); x_34 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_34, 0, x_33); x_35 = lean_alloc_ctor(0, 1, 1); @@ -7981,7 +7847,7 @@ if (lean_is_exclusive(x_17)) { } x_41 = lean_array_size(x_38); x_42 = 0; -x_43 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(x_41, x_42, x_38); +x_43 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(x_41, x_42, x_38); x_44 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_44, 0, x_43); if (lean_is_scalar(x_40)) { @@ -8029,7 +7895,7 @@ if (lean_is_exclusive(x_17)) { } x_54 = lean_array_size(x_51); x_55 = 0; -x_56 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(x_54, x_55, x_51); +x_56 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(x_54, x_55, x_51); x_57 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_57, 0, x_56); if (lean_is_scalar(x_53)) { @@ -8133,7 +7999,7 @@ return x_73; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -8143,8 +8009,8 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4(x_2); -x_13 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__5(x_12, x_7, x_11); +x_12 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4(x_2); +x_13 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__5(x_12, x_7, x_11); lean_dec(x_12); if (lean_obj_tag(x_13) == 0) { @@ -8188,7 +8054,7 @@ lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_3 x_26 = lean_ctor_get(x_21, 0); x_27 = lean_array_size(x_26); x_28 = 0; -x_29 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(x_27, x_28, x_26); +x_29 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(x_27, x_28, x_26); x_30 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_21, 0, x_30); @@ -8224,7 +8090,7 @@ lean_inc(x_36); lean_dec(x_21); x_38 = lean_array_size(x_36); x_39 = 0; -x_40 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(x_38, x_39, x_36); +x_40 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(x_38, x_39, x_36); x_41 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_41, 0, x_40); x_42 = lean_alloc_ctor(0, 1, 1); @@ -8270,7 +8136,7 @@ if (lean_is_exclusive(x_21)) { } x_51 = lean_array_size(x_48); x_52 = 0; -x_53 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(x_51, x_52, x_48); +x_53 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(x_51, x_52, x_48); x_54 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_54, 0, x_53); if (lean_is_scalar(x_50)) { @@ -8383,7 +8249,7 @@ return x_72; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__4(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__4(lean_object* x_1) { _start: { lean_object* x_2; @@ -8391,19 +8257,19 @@ x_2 = lean_box(0); return x_2; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___closed__1() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__4___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__4___boxed), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_10 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__3___boxed), 8, 5); +x_10 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__3___boxed), 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); @@ -8415,7 +8281,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_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___closed__1; +x_14 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___closed__1; x_15 = l_Task_Priority_default; x_16 = 1; lean_inc(x_12); @@ -8443,7 +8309,7 @@ return x_22; } } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6___closed__1() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6___closed__1() { _start: { lean_object* x_1; @@ -8451,17 +8317,17 @@ x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_get___at___private_Lean_Server_ return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___boxed), 9, 5); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___boxed), 9, 5); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_6); lean_closure_set(x_9, 2, x_2); lean_closure_set(x_9, 3, x_3); lean_closure_set(x_9, 4, x_4); -x_10 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6___closed__1; +x_10 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6___closed__1; x_11 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___spec__4___rarg), 5, 2); lean_closure_set(x_11, 0, x_10); lean_closure_set(x_11, 1, x_9); @@ -8469,7 +8335,7 @@ x_12 = l_Std_Mutex_atomically___at___private_Lean_Server_Requests_0__Lean_Server return x_12; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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) { _start: { lean_object* x_8; @@ -8609,7 +8475,7 @@ return x_37; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -8749,11 +8615,11 @@ return x_39; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_10 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__8___boxed), 8, 5); +x_10 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__8___boxed), 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); @@ -8765,7 +8631,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_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___closed__1; +x_14 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___closed__1; x_15 = l_Task_Priority_default; x_16 = 1; x_17 = lean_task_map(x_14, x_12, x_15, x_16); @@ -8790,17 +8656,17 @@ return x_22; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__9___boxed), 9, 5); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__9___boxed), 9, 5); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_2); lean_closure_set(x_9, 2, x_3); lean_closure_set(x_9, 3, x_4); lean_closure_set(x_9, 4, x_6); -x_10 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6___closed__1; +x_10 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6___closed__1; x_11 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___spec__4___rarg), 5, 2); lean_closure_set(x_11, 0, x_10); lean_closure_set(x_11, 1, x_9); @@ -8808,7 +8674,7 @@ x_12 = l_Std_Mutex_atomically___at___private_Lean_Server_Requests_0__Lean_Server return x_12; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__1() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -8817,7 +8683,7 @@ x_2 = lean_task_pure(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__2() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__2() { _start: { lean_object* x_1; @@ -8825,19 +8691,19 @@ x_1 = l_Lean_Server_statefulRequestHandlers; return x_1; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__3() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__1; +x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__1; x_10 = l_Std_Mutex_new___rarg(x_9, x_8); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) @@ -8858,7 +8724,7 @@ lean_dec(x_14); lean_inc(x_4); lean_inc(x_1); lean_inc(x_3); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__2___boxed), 7, 3); +x_17 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__2___boxed), 7, 3); lean_closure_set(x_17, 0, x_3); lean_closure_set(x_17, 1, x_1); lean_closure_set(x_17, 2, x_4); @@ -8866,7 +8732,7 @@ lean_inc(x_12); lean_inc(x_1); lean_inc(x_3); lean_inc(x_15); -x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6), 8, 5); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6), 8, 5); lean_closure_set(x_18, 0, x_15); lean_closure_set(x_18, 1, x_3); lean_closure_set(x_18, 2, x_1); @@ -8875,27 +8741,27 @@ lean_closure_set(x_18, 4, x_12); lean_inc(x_5); lean_inc(x_1); lean_inc(x_3); -x_19 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__7___boxed), 7, 3); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__7___boxed), 7, 3); lean_closure_set(x_19, 0, x_3); lean_closure_set(x_19, 1, x_1); lean_closure_set(x_19, 2, x_5); lean_inc(x_12); lean_inc(x_3); lean_inc(x_15); -x_20 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__10), 8, 5); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__10), 8, 5); lean_closure_set(x_20, 0, x_15); lean_closure_set(x_20, 1, x_3); lean_closure_set(x_20, 2, x_1); lean_closure_set(x_20, 3, x_5); lean_closure_set(x_20, 4, x_12); -x_21 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__2; +x_21 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__2; x_22 = lean_st_ref_take(x_21, x_16); 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___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__3; +x_25 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__3; x_26 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_17); @@ -8949,7 +8815,7 @@ lean_dec(x_36); lean_inc(x_4); lean_inc(x_1); lean_inc(x_3); -x_39 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__2___boxed), 7, 3); +x_39 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__2___boxed), 7, 3); lean_closure_set(x_39, 0, x_3); lean_closure_set(x_39, 1, x_1); lean_closure_set(x_39, 2, x_4); @@ -8957,7 +8823,7 @@ lean_inc(x_33); lean_inc(x_1); lean_inc(x_3); lean_inc(x_37); -x_40 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6), 8, 5); +x_40 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6), 8, 5); lean_closure_set(x_40, 0, x_37); lean_closure_set(x_40, 1, x_3); lean_closure_set(x_40, 2, x_1); @@ -8966,27 +8832,27 @@ lean_closure_set(x_40, 4, x_33); lean_inc(x_5); lean_inc(x_1); lean_inc(x_3); -x_41 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__7___boxed), 7, 3); +x_41 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__7___boxed), 7, 3); lean_closure_set(x_41, 0, x_3); lean_closure_set(x_41, 1, x_1); lean_closure_set(x_41, 2, x_5); lean_inc(x_33); lean_inc(x_3); lean_inc(x_37); -x_42 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__10), 8, 5); +x_42 = lean_alloc_closure((void*)(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__10), 8, 5); lean_closure_set(x_42, 0, x_37); lean_closure_set(x_42, 1, x_3); lean_closure_set(x_42, 2, x_1); lean_closure_set(x_42, 3, x_5); lean_closure_set(x_42, 4, x_33); -x_43 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__2; +x_43 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__2; x_44 = lean_st_ref_take(x_43, x_38); 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_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__3; +x_47 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__3; x_48 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_39); @@ -9022,7 +8888,7 @@ return x_54; } } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1() { _start: { lean_object* x_1; @@ -9030,7 +8896,7 @@ x_1 = lean_mk_string_unchecked("Failed to register stateful LSP request handler return x_1; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__2() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__2() { _start: { lean_object* x_1; @@ -9038,7 +8904,7 @@ x_1 = lean_mk_string_unchecked("': only possible during initialization", 38, 38) return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -9061,10 +8927,10 @@ if (x_12 == 0) lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_13 = lean_ctor_get(x_9, 0); lean_dec(x_13); -x_14 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1; +x_14 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1; x_15 = lean_string_append(x_14, x_1); lean_dec(x_1); -x_16 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__2; +x_16 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__2; x_17 = lean_string_append(x_15, x_16); x_18 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_18, 0, x_17); @@ -9078,10 +8944,10 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean x_19 = lean_ctor_get(x_9, 1); lean_inc(x_19); lean_dec(x_9); -x_20 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1; +x_20 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1; x_21 = lean_string_append(x_20, x_1); lean_dec(x_1); -x_22 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__2; +x_22 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__2; x_23 = lean_string_append(x_21, x_22); x_24 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_24, 0, x_23); @@ -9098,20 +8964,20 @@ x_26 = lean_ctor_get(x_9, 1); lean_inc(x_26); lean_dec(x_9); x_27 = lean_box(0); -x_28 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11(x_4, x_5, x_1, x_6, x_7, x_2, x_27, x_26); +x_28 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11(x_4, x_5, x_1, x_6, x_7, x_2, x_27, x_26); return x_28; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___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) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3(x_1, x_2, lean_box(0), x_3, x_4, x_5, x_6, x_8); +x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3(x_1, x_2, lean_box(0), x_3, x_4, x_5, x_6, x_8); return x_9; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__1() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__1() { _start: { lean_object* x_1; @@ -9119,7 +8985,7 @@ x_1 = l_Lean_Server_requestHandlers; return x_1; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__2() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__2() { _start: { lean_object* x_1; @@ -9127,11 +8993,11 @@ x_1 = lean_mk_string_unchecked("': already registered", 21, 21); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__1; +x_9 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__1; x_10 = lean_st_ref_get(x_9, x_8); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) @@ -9144,7 +9010,7 @@ if (x_14 == 0) { lean_object* x_15; lean_free_object(x_10); -x_15 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3(x_1, x_2, lean_box(0), x_4, x_5, x_6, x_7, x_13); +x_15 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3(x_1, x_2, lean_box(0), x_4, x_5, x_6, x_7, x_13); return x_15; } else @@ -9155,10 +9021,10 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_16 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1; +x_16 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1; x_17 = lean_string_append(x_16, x_1); lean_dec(x_1); -x_18 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__2; +x_18 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__2; x_19 = lean_string_append(x_17, x_18); x_20 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_20, 0, x_19); @@ -9179,7 +9045,7 @@ x_23 = l_Lean_PersistentHashMap_contains___at_Lean_Server_registerLspRequestHand if (x_23 == 0) { lean_object* x_24; -x_24 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3(x_1, x_2, lean_box(0), x_4, x_5, x_6, x_7, x_22); +x_24 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3(x_1, x_2, lean_box(0), x_4, x_5, x_6, x_7, x_22); return x_24; } else @@ -9190,10 +9056,10 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_25 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1; +x_25 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1; x_26 = lean_string_append(x_25, x_1); lean_dec(x_1); -x_27 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__2; +x_27 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__2; x_28 = lean_string_append(x_26, x_27); x_29 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_29, 0, x_28); @@ -9205,18 +9071,18 @@ return x_30; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerPartialStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Server_registerPartialStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; x_10 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_10, 0, x_2); lean_ctor_set(x_10, 1, x_3); -x_11 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2(x_1, x_10, lean_box(0), x_5, x_6, x_7, x_8, x_9); +x_11 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2(x_1, x_10, lean_box(0), x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__1() { _start: { lean_object* x_1; @@ -9224,7 +9090,7 @@ x_1 = lean_mk_string_unchecked("textDocument/inlayHint", 22, 22); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__2() { _start: { lean_object* x_1; @@ -9232,7 +9098,7 @@ x_1 = lean_mk_string_unchecked("workspace/inlayHint/refresh", 27, 27); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__3() { _start: { lean_object* x_1; @@ -9240,7 +9106,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleInlayHints), 4, return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__4() { _start: { lean_object* x_1; @@ -9248,32 +9114,32 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleInlayHintsDidCha return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484_(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; -x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__1; -x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__2; +x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__1; +x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__2; x_4 = lean_unsigned_to_nat(500u); x_5 = l_Lean_Server_FileWorker_instTypeNameInlayHintState; x_6 = l_Lean_Server_FileWorker_InlayHintState_init; -x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__3; -x_8 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__4; -x_9 = l_Lean_Server_registerPartialStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__1(x_2, x_3, x_4, lean_box(0), x_5, x_6, x_7, x_8, x_1); +x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__3; +x_8 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__4; +x_9 = l_Lean_Server_registerPartialStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__1(x_2, x_3, x_4, lean_box(0), x_5, x_6, x_7, x_8, x_1); return x_9; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__5(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__5(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_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6___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; @@ -9281,93 +9147,93 @@ 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_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__6(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__6(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_5); lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___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) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__4___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__4___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__4(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__4(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___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) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_5); lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____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) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___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_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___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) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); return x_9; } @@ -9397,18 +9263,18 @@ l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1 lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__5); l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__6(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_applyEditToHint_x3f___spec__1___closed__6); -l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__1 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__1); -l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__2 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__2); -l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__3 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__3); -l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__4 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__4); -l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__5 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737____closed__5); -l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737_ = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737_(); -lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_737_); +l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__1 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__1); +l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__2 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__2); +l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__3 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__3); +l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__4 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__4); +l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__5 = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745____closed__5); +l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745_ = _init_l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745_(); +lean_mark_persistent(l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker_InlayHints___hyg_745_); l_Lean_Server_FileWorker_instTypeNameInlayHintState = _init_l_Lean_Server_FileWorker_instTypeNameInlayHintState(); lean_mark_persistent(l_Lean_Server_FileWorker_instTypeNameInlayHintState); l_Lean_Server_FileWorker_instInhabitedInlayHintState___closed__1 = _init_l_Lean_Server_FileWorker_instInhabitedInlayHintState___closed__1(); @@ -9447,54 +9313,54 @@ l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec_ lean_mark_persistent(l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___closed__1); l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___closed__2 = _init_l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___closed__2(); lean_mark_persistent(l_Subarray_forInUnsafe_loop___at_Lean_Server_FileWorker_handleInlayHints___spec__6___closed__2); -l_Lean_Server_FileWorker_handleInlayHints___closed__1 = _init_l_Lean_Server_FileWorker_handleInlayHints___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___closed__1); -l_Lean_Server_FileWorker_handleInlayHints___closed__2 = _init_l_Lean_Server_FileWorker_handleInlayHints___closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___closed__2); -l_Lean_Server_FileWorker_handleInlayHints___closed__3 = _init_l_Lean_Server_FileWorker_handleInlayHints___closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___closed__3); -l_Lean_Server_FileWorker_handleInlayHints___closed__4 = _init_l_Lean_Server_FileWorker_handleInlayHints___closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___closed__4); -l_Lean_Server_FileWorker_handleInlayHints___closed__5 = _init_l_Lean_Server_FileWorker_handleInlayHints___closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___closed__5); -l_Lean_Server_FileWorker_handleInlayHints___closed__6 = _init_l_Lean_Server_FileWorker_handleInlayHints___closed__6(); -l_Lean_Server_FileWorker_handleInlayHints___closed__7 = _init_l_Lean_Server_FileWorker_handleInlayHints___closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___closed__7); +l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__1 = _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__1); +l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__2 = _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__2); +l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__3 = _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__3); +l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__4 = _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__4); +l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__5 = _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__5); +l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__6 = _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__6(); +l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__7 = _init_l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHints___lambda__1___closed__7); l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2___closed__1 = _init_l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___lambda__2___closed__1); l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___closed__1 = _init_l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleInlayHintsDidChange_updateOldInlayHints___closed__1); -l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__1(); -lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__1); -l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__2 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__2(); -lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__4___closed__2); -l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__5___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__6___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__2); -l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__3 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__3(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___lambda__11___closed__3); -l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__3___closed__2); -l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____spec__2___closed__2); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__2); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__3); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313____closed__4); -if (builtin) {res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2313_(lean_io_mk_world()); +l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__1(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__1); +l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__2 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__2(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__4___closed__2); +l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__5___closed__1); +l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__6___closed__1); +l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__1); +l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__2); +l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__3 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__3(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___lambda__11___closed__3); +l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__1); +l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__3___closed__2); +l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__1); +l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_registerStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____spec__2___closed__2); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__2); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__3); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484____closed__4); +if (builtin) {res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_InlayHints___hyg_2484_(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/Std/Data/DHashMap/Basic.c b/stage0/stdlib/Std/Data/DHashMap/Basic.c index 4820c261bd..ddfe2b8161 100644 --- a/stage0/stdlib/Std/Data/DHashMap/Basic.c +++ b/stage0/stdlib/Std/Data/DHashMap/Basic.c @@ -14,6 +14,7 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Std_DHashMap_Const_insertMany___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_forIn___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_keys___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DHashMap_instRepr___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -21,6 +22,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_toArray___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_instRepr___spec__15___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Const_toList___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forMUncurried(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_instRepr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_get___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -43,6 +45,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_values___sp LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at_Std_DHashMap_instRepr___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_getD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_instUnion(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_contains___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DHashMap_instRepr___spec__2___rarg___closed__11; size_t lean_uint64_to_usize(uint64_t); @@ -74,6 +77,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Const_unitOfArray(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_values___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_partition___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DHashMap_ofList___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DHashMap_instRepr___spec__3___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_getKey_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_instForMSigma___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -81,6 +85,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_keysArray__ lean_object* l_Std_DHashMap_Raw_Internal_numBuckets___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_toArray___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_unitOfList___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_foldM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); static lean_object* l_Std_DHashMap_instEmptyCollection___closed__2; @@ -90,6 +95,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_values___sp LEAN_EXPORT lean_object* l_Std_DHashMap_getKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_alter(lean_object*); lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forInUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_filter___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Std_DHashMap_instRepr___spec__19(lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Internal_AssocList_length___spec__1___rarg(lean_object*, lean_object*); @@ -101,6 +107,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_instSingletonSigma___rarg(lean_object*, LEAN_EXPORT lean_object* l_Std_DHashMap_valuesArray(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_instForInSigma___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_forIn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_filter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_forM___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_toArray___spec__2(lean_object*, lean_object*); @@ -127,6 +134,7 @@ LEAN_EXPORT lean_object* l_List_repr___at_Std_DHashMap_instRepr___spec__16___rar LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_forIn___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_Array_foldrMUnsafe_fold___at_Std_DHashMap_keys___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_toList___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forMUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_forM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_valuesArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_forM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -178,6 +186,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHash LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_numBuckets(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_toArray___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_DHashMap_Internal_AssocList_contains___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_getKey_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -212,6 +221,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_keys___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_unitOfArray___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_toArray___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forMUncurried___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_toArray___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_keys___spec__2___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -245,13 +255,17 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_keys___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_containsThenInsertIfNew(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_insertManyIfNewUnit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_getKey_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DHashMap_instRepr___spec__2___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_instUnion___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_values___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at_Std_DHashMap_toList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_union___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_containsThenInsert(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Const_toList___spec__3___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_instForInSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_instEmptyCollection___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -285,6 +299,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at_Std_DHash LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DHashMap_instRepr___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at_Std_DHashMap_instRepr___spec__17(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_union___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_unitOfArray___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_fold___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_getD(lean_object*, lean_object*); @@ -335,6 +350,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_size___rarg(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_instDecidableMem___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_values___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Const_getThenInsertIfNew_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_filter___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); @@ -342,6 +358,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_instEmptyCollection(lean_object*, lean_o LEAN_EXPORT lean_object* l_Std_DHashMap_toArray___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_erase(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_DHashMap_instRepr___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg___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_foldlMUnsafe_fold___at_Std_DHashMap_fold___spec__2___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -383,6 +400,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHash LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_keys___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_instForInSigma___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_DHashMap_instRepr___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_filter_go___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_keys___spec__3___rarg(lean_object*, size_t, size_t, lean_object*); @@ -394,6 +412,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Const_get___rarg(lean_object*, lean_obje uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DHashMap_Const_ofList___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DHashMap_ofList___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forInUncurried(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DHashMap_instRepr___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_forM___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_partition___spec__2(lean_object*, lean_object*); @@ -409,6 +428,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_insert(lean_object*, lean_object*); static lean_object* l_Std_DHashMap_toArray___rarg___closed__1; static lean_object* l_Std_DHashMap_partition___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Const_toList___spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forInUncurried___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_get___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DHashMap_instRepr___spec__3___rarg___closed__6; LEAN_EXPORT lean_object* l_Std_DHashMap_insertIfNew(lean_object*, lean_object*); @@ -430,9 +450,11 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_getKey(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_insertMany___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l_Std_DHashMap_toList___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_erase___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_instForMSigma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_isEmpty___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_instForInSigma___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_isEmpty___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -4721,6 +4743,474 @@ lean_dec(x_4); return x_7; } } +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_2, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1___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_5) == 0) +{ +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); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_7, lean_box(0), x_4); +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; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 2); +lean_inc(x_11); +lean_dec(x_5); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_10); +lean_inc(x_3); +x_14 = lean_apply_1(x_3, x_13); +x_15 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1___rarg___lambda__1), 4, 3); +lean_closure_set(x_15, 0, x_1); +lean_closure_set(x_15, 1, x_3); +lean_closure_set(x_15, 2, x_11); +x_16 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_14, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1___rarg), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = 1; +x_8 = lean_usize_add(x_1, x_7); +x_9 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg(x_2, lean_box(0), x_3, x_4, x_8, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg(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) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_eq(x_5, x_6); +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_dec(x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_array_uget(x_4, x_5); +x_11 = lean_box(0); +lean_inc(x_3); +lean_inc(x_1); +x_12 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_11, x_10); +x_13 = lean_box_usize(x_5); +x_14 = lean_box_usize(x_6); +x_15 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg___lambda__1___boxed), 6, 5); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_4); +lean_closure_set(x_15, 4, x_14); +x_16 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_12, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +lean_dec(x_3); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_apply_2(x_18, lean_box(0), x_7); +return x_19; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg___boxed), 7, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forMUncurried___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; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_lt(x_9, x_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_box(0); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_8, x_8); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +lean_dec(x_1); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_box(0); +x_19 = lean_apply_2(x_17, lean_box(0), x_18); +return x_19; +} +else +{ +size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; +x_20 = 0; +x_21 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_22 = lean_box(0); +x_23 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg(x_1, lean_box(0), x_5, x_7, x_20, x_21, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forMUncurried(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DHashMap_Const_forMUncurried___rarg___boxed), 6, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg___lambda__1(x_7, x_2, x_3, x_4, x_8, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___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, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Const_forMUncurried___spec__2___rarg(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forMUncurried___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_Std_DHashMap_Const_forMUncurried___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1___rarg___lambda__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) +{ +uint8_t x_5; +lean_dec(x_3); +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; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_7, lean_box(0), x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_9); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_4, 0); +lean_inc(x_14); +lean_dec(x_4); +x_15 = l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_2, x_3, x_14); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1___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_4) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = lean_apply_2(x_7, lean_box(0), 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; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_ctor_get(x_4, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_4, 2); +lean_inc(x_12); +lean_dec(x_4); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_11); +lean_inc(x_3); +x_15 = lean_apply_2(x_3, x_14, x_5); +x_16 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1___rarg___lambda__1), 4, 3); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_3); +lean_closure_set(x_16, 2, x_12); +x_17 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_15, x_16); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1___rarg), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_apply_2(x_11, lean_box(0), x_9); +return x_12; +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_8, 0); +lean_inc(x_13); +lean_dec(x_8); +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_16 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg(x_1, lean_box(0), x_3, x_4, x_5, x_6, x_7, x_15, x_13); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___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, size_t x_7, size_t x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_8, x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_apply_2(x_12, lean_box(0), x_9); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_array_uget(x_6, x_8); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_inc(x_3); +lean_inc(x_1); +x_16 = l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_14, x_9); +x_17 = lean_box_usize(x_8); +x_18 = lean_box_usize(x_7); +x_19 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg___lambda__1___boxed), 8, 7); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_17); +lean_closure_set(x_19, 2, x_3); +lean_closure_set(x_19, 3, x_4); +lean_closure_set(x_19, 4, x_5); +lean_closure_set(x_19, 5, x_6); +lean_closure_set(x_19, 6, x_18); +x_20 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_16, x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg___boxed), 9, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forInUncurried___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, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; +x_8 = lean_box(0); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_array_size(x_9); +x_11 = 0; +lean_inc(x_9); +x_12 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg(x_1, lean_box(0), x_5, x_8, x_9, x_9, x_10, x_11, x_6); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forInUncurried(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_DHashMap_Const_forInUncurried___rarg___boxed), 7, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg___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) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg___lambda__1(x_1, x_9, x_3, x_4, x_5, x_6, x_10, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_12 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Const_forInUncurried___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Const_forInUncurried___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, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Std_DHashMap_Const_forInUncurried___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_filter___spec__1___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { diff --git a/stage0/stdlib/Std/Data/DHashMap/Internal/RawLemmas.c b/stage0/stdlib/Std/Data/DHashMap/Internal/RawLemmas.c index f94be2853c..ff04b48c5e 100644 --- a/stage0/stdlib/Std/Data/DHashMap/Internal/RawLemmas.c +++ b/stage0/stdlib/Std/Data/DHashMap/Internal/RawLemmas.c @@ -14,163 +14,193 @@ extern "C" { #endif static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__34; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__69; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__91; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__63; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__22; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__67; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__13; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__43; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__30; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__2; -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__123; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__3; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__2; 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__15; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__2; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__10; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__121; 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__61; 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__53; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__84; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__7; 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__20; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__31; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6(lean_object*, size_t, size_t, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__82; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__44; LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_Const_modify_match__2_splitter(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__2; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__127; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__20; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__5; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__1; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__8; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__27; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__6; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__1; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__22; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__59; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__67; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__62; 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__6; 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__42; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__28; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__29; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__39; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__54; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__2; 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__41; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__16; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__9; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__48; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__1___boxed(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__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__3; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__17; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__7; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__111; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10(lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__7; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__4; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__9; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__21; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__40; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; size_t lean_uint64_to_usize(uint64_t); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__5; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__4; 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__100; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__11; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__5; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__92; 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__102; 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__19; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__6; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__6; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__5(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__8; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__8; 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__31; lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__18; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__14; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__81; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__51; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__8; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__8; lean_object* lean_mk_array(lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__39; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___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__114; uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__1; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__14; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__7; lean_object* l_Lean_Syntax_getArgs(lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__96; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; 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__66; 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__4; 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__90; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__24; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__16; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__23; 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__30; 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__108; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__31; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___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_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__72; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__29; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14___rarg(lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__2; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___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_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__50; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__40; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__105; 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__5; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72; +lean_object* l_ReaderT_read___at_Lean_Macro_instMonadRefMacroM___spec__1(lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__5; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__59; 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__17; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44; 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__14; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__10; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__2; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__10; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__79; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__5; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__63; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__86; 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__21; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__74; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__45; lean_object* l_Lean_Syntax_node5(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__68; +static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__2; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__23; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__3; uint8_t l_Lean_Syntax_isOfKind(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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__79; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__123; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__11(lean_object*, lean_object*, lean_object*, size_t, size_t, 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__92; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__56; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__6; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__37; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__34; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__28; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__41; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__2(lean_object*, lean_object*, lean_object*); +static size_t l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__70; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__5; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__58; 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__116; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__37; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__78; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__50; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__3; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__14; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__3; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__66; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__49; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__102; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__19; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__29; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__57; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__90; 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__62; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__119; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__1(size_t, size_t, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__84; 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__tacticWf__trivial__1___closed__80; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__6___boxed(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__tacticEmpty__1___closed__9; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__13; 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; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__14; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__26; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__39; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__12; 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__18; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__6___boxed(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__56; 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__26; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__38; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__43; 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__82; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__43; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__108; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__4; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__5(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__tacticEmpty__1___closed__16; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15; 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__119; @@ -179,382 +209,428 @@ static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHas size_t lean_usize_of_nat(lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__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__40; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__7; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__95; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__25; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial; LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_expandIfNecessary_match__1_splitter___rarg(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__22; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__16; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__2; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__2; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__53; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__19; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__99; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__31; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__15; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__38; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4___boxed(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__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__95; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__26; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__2; 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__24; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__86; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__97; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__7; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__49; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__98; 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__1; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__21; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__2; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__1; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__22; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__68; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); -static size_t l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13; +static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__9; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__92; +lean_object* l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__39; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__8; lean_object* l_Lean_Syntax_node6(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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__30; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__94; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__5(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__17; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__2; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__80; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__109; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__12; 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__103; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__4; 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__106; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__12; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__32; 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__78; 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__43; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__26; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__96; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__64; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__55; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__6; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__110; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__33; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__116; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__21; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__17; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__56; +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__1(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__64; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__67; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__30; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__10; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__1; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__22; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__52; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__49; +static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__18; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__11; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__45; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__94; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17(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__118; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10(lean_object*, size_t, size_t, 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__104; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__115; 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__57; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__5; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__50; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__47; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__36; 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__107; LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_Const_modify_match__2_splitter___rarg(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__46; 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__81; 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__109; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__18; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__46; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__1; 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__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__44; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__60; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__3; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__28; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__89; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__23; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__1; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap; 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__48; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__65; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__24; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__4; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__5; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__35; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__41; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__80; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__52; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__101; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__15; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__55; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__19; 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__110; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__77; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__93; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing__; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__2; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__30; 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__16; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7(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__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__115; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__3; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__40; uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__91; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__98; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__20; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__45; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__61; lean_object* l_Lean_Syntax_node2(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__122; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__1; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__15; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__60; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__120; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__4; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__63; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__5; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__38; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__7; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__11; uint8_t l_Lean_Syntax_matchesNull(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__tacticEmpty__1___closed__4; 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__111; -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__44; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__42; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__44; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__4; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__52; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__2; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__16; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__51; LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_expandIfNecessary_match__1_splitter(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__60; -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__120; 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__25; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__2; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__4(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__36; 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__74; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____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_mk_syntax_ident(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__55; +static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__37; 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__72; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__57; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6(lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__8; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__2(lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__83; 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__36; 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__54; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(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__94; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__68; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__90; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__71; 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__33; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__6; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__29; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__88; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__48; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__13; 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__55; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__73; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__24; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__8; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__2; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__37; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__28; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__77; 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__84; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__21; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__73; 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__67; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__8; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__27; lean_object* l_Lean_Name_mkStr6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__20; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__11; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__14; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__46; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__6; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__42; -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__121; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__1; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__32; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__3; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__23; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__51; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__42; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__4; -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames(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__75; 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__117; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__126; 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__46; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__76; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__13(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__12; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__21; lean_object* lean_array_fget(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__113; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__70; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__4; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__12; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__2; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___rarg___boxed(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__tacticEmpty__1___closed__8; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__5; 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__83; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__7; 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__112; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__2; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__81; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__27; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(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_tacticSimp__to__model_x5b___x5dUsing_____closed__5; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__16; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__54; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__47; -static lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1; 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__69; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__69; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__125; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__34; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__1; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__25; -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__85; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__85; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__89; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__12(lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__18; 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__87; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__33; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__1; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__32; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__33; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__97; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__11; lean_object* l_Lean_Name_mkStr2(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__tacticEmpty__1___closed__15; 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__10; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__3(lean_object*, lean_object*, size_t, size_t, 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__37; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18; 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__93; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__2; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__4; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__88; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__2; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__19; 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__32; 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__12; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__35; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__15___boxed(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*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__23; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__61; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__106; uint64_t l_Lean_Name_hash___override(lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__1; 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__89; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__13; 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__99; 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__23; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__93; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__26; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__129; 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__79; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__87; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__4; uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__100; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__114; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__12; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__35; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__4; 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__73; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__124; lean_object* lean_nat_mul(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__76; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__57; 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__29; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__1; 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__96; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__43; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__4(lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__56; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__7; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__66; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__7; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__107; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__75; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__65; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__69; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__9; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__16___boxed(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__101; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__15(lean_object*, lean_object*, lean_object*, size_t, size_t, 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__tacticEmpty__1___closed__20; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__19; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14___rarg___boxed(lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__130; 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__13; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__104; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__3; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__16; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__47; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__63; 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__50; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__2; size_t lean_usize_add(size_t, size_t); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__30; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__78; 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; 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; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__2(lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__75; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__1; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__103; 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__85; +static uint8_t l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__2; 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__86; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__58; 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; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__87; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__20; 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__71; 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__49; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__2; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__3; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__117; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__3(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__47; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__15; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__122; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__10; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__25; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__57; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__48; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__4; 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__91; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__28; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__2(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__11; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____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__65; lean_object* lean_array_get_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__27; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___rarg___boxed(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__52; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__45; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__99; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__27; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__4; 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__59; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__29; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__2; 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__95; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__31; +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mkArray2___rarg(lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__11; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__36; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__18; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34; 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__77; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__41; 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__7; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__54; 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__70; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__82; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__61; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14(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__51; 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__105; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__53; 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__28; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__12; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__51; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; 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__88; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__22; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__62; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__128; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__4; static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__3; lean_object* l_String_toSubstring_x27(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__13; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__5(lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__10; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__100; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__83; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__64; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__112; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__118; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__58; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__25; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__17; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__14; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__53; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__12___boxed(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__97; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__24; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5; 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__2; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__49; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17; size_t lean_usize_land(size_t, size_t); static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__2; -static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__71; -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__124; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__1(lean_object*, lean_object*); +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__113; +static uint8_t l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___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__98; -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_congrNames___closed__74; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__6; +static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__17; +uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__17; 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; LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_Const_modify_match__2_splitter___rarg(lean_object* x_1, lean_object* x_2) { @@ -722,7 +798,7 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DH _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticRepeat_", 13, 13); +x_1 = lean_mk_string_unchecked("tactic_<;>_", 11, 11); return x_1; } } @@ -742,35 +818,35 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DH _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("repeat", 6, 6); +x_1 = lean_mk_string_unchecked("paren", 5, 5); return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__7() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); -return x_1; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__6; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; -x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__7; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("(", 1, 1); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__9() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); +x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); return x_1; } } @@ -790,69 +866,61 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DH _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("null", 4, 4); +x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__11; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__11; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__13() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("paren", 5, 5); +x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; -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; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__13; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__15() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("(", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__16() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_unchecked("first", 5, 5); return x_1; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__17() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; -x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__16; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__15; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__18() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__17() { _start: { lean_object* x_1; @@ -860,17 +928,17 @@ x_1 = lean_mk_string_unchecked("group", 5, 5); return x_1; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__19() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__18; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__17; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__20() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__19() { _start: { lean_object* x_1; @@ -878,640 +946,642 @@ x_1 = lean_mk_string_unchecked("|", 1, 1); return x_1; } } +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assumption", 10, 10); +return x_1; +} +} static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__21() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__20; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("apply", 5, 5); return x_1; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__23() { _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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; -x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__21; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.wfImp_insert", 19, 17); -return x_1; -} -} static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__24() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__23; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw.WFImp.distinct", 18, 18); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__25() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfImp_insert", 12, 12); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__24; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__25; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw", 3, 3); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__27() { _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_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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__25; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("WFImp", 5, 5); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__28() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__27; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("distinct", 8, 8); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__29() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__28; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__27; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__28; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__30() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.wfImp_insertIfNew", 24, 22); -return x_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; +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__tacticWf__trivial__1___closed__26; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__27; +x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__28; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__31() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__30; -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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__32() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfImp_insertIfNew", 17, 17); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__31; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__33() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__32; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw.WF.out", 10, 10); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__34() { _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_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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__32; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__33; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__34; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("WF", 2, 2); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__36() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("out", 3, 3); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__37() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.wfImp_insertMany", 23, 21); -return x_1; +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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__36; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__38() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__37; -x_2 = l_String_toSubstring_x27(x_1); -return x_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; +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__tacticWf__trivial__1___closed__26; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__36; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__39() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfImp_insertMany", 16, 16); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; +x_1 = lean_box(0); x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__39; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__41() { _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_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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__39; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw.WF.insert₀", 16, 14); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__42() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__41; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__41; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__43() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__42; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("insert₀", 9, 7); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__44() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.Const.wfImp_insertMany", 29, 27); -return x_1; +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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__43; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__45() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__44; -x_2 = l_String_toSubstring_x27(x_1); -return x_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_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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__43; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Const", 5, 5); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__47() { _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_tacticWf__trivial___closed__4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__39; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__48() { _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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__39; -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("Raw.WF.insertIfNew₀", 21, 19); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__49() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__48; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__48; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__50() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__49; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("insertIfNew₀", 14, 12); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__51() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.Const.wfImp_insertManyIfNewUnit", 38, 36); -return x_1; +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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__50; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__52() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__51; -x_2 = l_String_toSubstring_x27(x_1); -return x_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_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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__50; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__53() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfImp_insertManyIfNewUnit", 25, 25); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__52; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__54() { _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_tacticWf__trivial___closed__4; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__53; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__53; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__55() { _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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__53; -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("Raw.WF.erase₀", 15, 13); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__56() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__55; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__55; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__57() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("erase₀", 8, 6); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__58() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.wfImp_alter", 18, 16); -return x_1; +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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__57; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__59() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__58; -x_2 = l_String_toSubstring_x27(x_1); -return x_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_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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__57; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__60() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfImp_alter", 11, 11); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__59; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__61() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; +x_1 = lean_box(0); x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__60; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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; -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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__60; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw.WF.alter₀", 15, 13); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__63() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__62; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__64() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("alter₀", 8, 6); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__65() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.wfImp_modify", 19, 17); -return x_1; +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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__64; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__66() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__65; -x_2 = l_String_toSubstring_x27(x_1); -return x_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_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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__64; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__67() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfImp_modify", 12, 12); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__66; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__68() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; +x_1 = lean_box(0); x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__67; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__69() { _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_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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__67; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw.WF.modify₀", 16, 14); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__70() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__69; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__71() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__70; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("modify₀", 9, 7); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__72() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.Const.wfImp_alter", 24, 22); -return x_1; +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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__71; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__73() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__72; -x_2 = l_String_toSubstring_x27(x_1); -return x_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_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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__74() { _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_tacticWf__trivial___closed__4; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__60; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__73; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__75() { _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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__60; -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; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__76() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___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); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw.WF.constAlter₀", 20, 18); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__77() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__76; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__76; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__78() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.Const.wfImp_modify", 25, 23); +x_1 = lean_mk_string_unchecked("constAlter₀", 13, 11); return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__79() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__78; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; +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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__78; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__80() { _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_tacticWf__trivial___closed__4; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__67; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_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_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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__78; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__81() { _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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__67; -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; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__80; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__82() { @@ -1529,61 +1599,62 @@ return x_3; static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__83() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__82; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw.WF.constModify₀", 21, 19); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__84() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.wfImp_erase", 18, 16); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__83; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__85() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__84; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("constModify₀", 14, 12); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__86() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfImp_erase", 11, 11); -return x_1; +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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__85; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__87() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__86; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_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; +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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__85; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__88() { _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_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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__86; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__87; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__89() { @@ -1601,161 +1672,39 @@ return x_3; static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__90() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__89; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw₀.wf_insertMany₀", 23, 19); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__91() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw.WF.out", 10, 10); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__90; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__92() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__91; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("wf_insertMany₀", 16, 14); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__93() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__94() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("WF", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__95() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("out", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__96() { -_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__tacticWf__trivial__1___closed__93; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__94; -x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__95; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__97() { -_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__tacticWf__trivial__1___closed__93; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__94; -x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__95; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__98() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__97; -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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__98; -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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__100() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("assumption", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__101() { -_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; -x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__100; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__102() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀.wfImp_empty", 18, 16); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__103() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__102; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__104() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("wfImp_empty", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__105() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__104; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__92; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__106() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__94() { _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; @@ -1763,103 +1712,230 @@ 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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__104; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__92; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__107() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__95() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__106; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__94; 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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__108() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__96() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__107; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__95; 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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__109() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__97() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw.WFImp.distinct", 18, 18); +x_1 = lean_mk_string_unchecked("Raw₀.Const.wf_insertMany₀", 29, 25); return x_1; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__110() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__98() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__109; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__97; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__111() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("WFImp", 5, 5); +x_1 = lean_mk_string_unchecked("Const", 5, 5); return x_1; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__112() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("distinct", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__113() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__100() { _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__tacticWf__trivial__1___closed__93; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__111; -x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__112; +x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__92; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__114() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__101() { _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__tacticWf__trivial__1___closed__93; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__111; -x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__112; +x_4 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__4; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__92; x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__102() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__101; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__103() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__102; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__104() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw₀.Const.wf_insertManyIfNewUnit₀", 38, 34); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__105() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__104; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__106() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("wf_insertManyIfNewUnit₀", 25, 23); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__107() { +_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_tacticWf__trivial___closed__4; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__106; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__108() { +_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_tacticWf__trivial___closed__4; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__106; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__109() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__108; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__110() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__109; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__111() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Raw.WF.empty₀", 15, 13); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__112() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__111; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__113() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("empty₀", 8, 6); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__114() { +_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__tacticWf__trivial__1___closed__26; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__113; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__115() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__114; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__113; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__116() { @@ -1877,81 +1953,28 @@ return x_3; static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__117() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw.WF.empty₀", 15, 13); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__116; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__118() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__117; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked(")", 1, 1); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__119() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("empty₀", 8, 6); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__120() { -_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__tacticWf__trivial__1___closed__93; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__94; -x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__119; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__121() { -_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_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___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__93; -x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__94; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__119; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__122() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__121; -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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__123() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__122; -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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__124() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(")", 1, 1); +x_1 = lean_mk_string_unchecked("<;>", 3, 3); return x_1; } } @@ -1973,7 +1996,7 @@ 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; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +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; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; x_8 = lean_ctor_get(x_2, 5); lean_inc(x_8); x_9 = 0; @@ -1984,7 +2007,7 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_2, 1); lean_inc(x_12); lean_dec(x_2); -x_13 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__6; +x_13 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__8; lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); @@ -1994,7 +2017,7 @@ 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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__16; +x_17 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__19; lean_inc(x_10); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_10); @@ -2006,444 +2029,418 @@ lean_ctor_set(x_20, 0, x_10); lean_ctor_set(x_20, 1, x_19); x_21 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__21; 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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__26; +x_22 = l_Lean_Syntax_node1(x_10, x_21, x_20); +x_23 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_10); +x_24 = l_Lean_Syntax_node1(x_10, x_23, 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__12; +lean_inc(x_10); +x_26 = l_Lean_Syntax_node1(x_10, x_25, x_24); +x_27 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__10; +lean_inc(x_10); +x_28 = l_Lean_Syntax_node1(x_10, x_27, x_26); +x_29 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__18; +lean_inc(x_18); +lean_inc(x_10); +x_30 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_28); +x_31 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22; +lean_inc(x_10); +x_32 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_32, 0, x_10); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__29; lean_inc(x_11); lean_inc(x_12); -x_24 = l_Lean_addMacroScope(x_12, x_23, x_11); -x_25 = lean_box(0); -x_26 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__24; -x_27 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__29; +x_34 = l_Lean_addMacroScope(x_12, x_33, x_11); +x_35 = lean_box(0); +x_36 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__25; +x_37 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__32; lean_inc(x_10); -x_28 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_28, 0, x_10); -lean_ctor_set(x_28, 1, x_26); -lean_ctor_set(x_28, 2, x_24); -lean_ctor_set(x_28, 3, x_27); -x_29 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22; -lean_inc(x_22); +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_10); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_38, 2, x_34); +lean_ctor_set(x_38, 3, x_37); +x_39 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__23; +lean_inc(x_32); lean_inc(x_10); -x_30 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_28); -x_31 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__12; +x_40 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_38); lean_inc(x_10); -x_32 = l_Lean_Syntax_node1(x_10, x_31, x_30); -x_33 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__10; +x_41 = l_Lean_Syntax_node1(x_10, x_23, x_40); lean_inc(x_10); -x_34 = l_Lean_Syntax_node1(x_10, x_33, x_32); -x_35 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__8; +x_42 = l_Lean_Syntax_node1(x_10, x_25, x_41); lean_inc(x_10); -x_36 = l_Lean_Syntax_node1(x_10, x_35, x_34); -x_37 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__19; -lean_inc(x_20); +x_43 = l_Lean_Syntax_node1(x_10, x_27, x_42); +lean_inc(x_18); lean_inc(x_10); -x_38 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_36); -x_39 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__33; +x_44 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_43); +x_45 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__37; lean_inc(x_11); lean_inc(x_12); -x_40 = l_Lean_addMacroScope(x_12, x_39, x_11); -x_41 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__31; -x_42 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__36; +x_46 = l_Lean_addMacroScope(x_12, x_45, x_11); +x_47 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__34; +x_48 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__40; lean_inc(x_10); -x_43 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_43, 0, x_10); -lean_ctor_set(x_43, 1, x_41); -lean_ctor_set(x_43, 2, x_40); -lean_ctor_set(x_43, 3, x_42); -lean_inc(x_22); +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_10); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_48); +lean_inc(x_32); lean_inc(x_10); -x_44 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_43); +x_50 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_49); lean_inc(x_10); -x_45 = l_Lean_Syntax_node1(x_10, x_31, x_44); +x_51 = l_Lean_Syntax_node1(x_10, x_23, x_50); lean_inc(x_10); -x_46 = l_Lean_Syntax_node1(x_10, x_33, x_45); +x_52 = l_Lean_Syntax_node1(x_10, x_25, x_51); lean_inc(x_10); -x_47 = l_Lean_Syntax_node1(x_10, x_35, x_46); -lean_inc(x_20); +x_53 = l_Lean_Syntax_node1(x_10, x_27, x_52); +lean_inc(x_18); lean_inc(x_10); -x_48 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_47); -x_49 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__40; +x_54 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_53); +x_55 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__44; lean_inc(x_11); lean_inc(x_12); -x_50 = l_Lean_addMacroScope(x_12, x_49, x_11); -x_51 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__38; -x_52 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__43; +x_56 = l_Lean_addMacroScope(x_12, x_55, x_11); +x_57 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__42; +x_58 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__47; lean_inc(x_10); -x_53 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_53, 0, x_10); -lean_ctor_set(x_53, 1, x_51); -lean_ctor_set(x_53, 2, x_50); -lean_ctor_set(x_53, 3, x_52); -lean_inc(x_22); +x_59 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_59, 0, x_10); +lean_ctor_set(x_59, 1, x_57); +lean_ctor_set(x_59, 2, x_56); +lean_ctor_set(x_59, 3, x_58); +lean_inc(x_32); lean_inc(x_10); -x_54 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_53); +x_60 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_59); lean_inc(x_10); -x_55 = l_Lean_Syntax_node1(x_10, x_31, x_54); +x_61 = l_Lean_Syntax_node1(x_10, x_23, x_60); lean_inc(x_10); -x_56 = l_Lean_Syntax_node1(x_10, x_33, x_55); +x_62 = l_Lean_Syntax_node1(x_10, x_25, x_61); lean_inc(x_10); -x_57 = l_Lean_Syntax_node1(x_10, x_35, x_56); -lean_inc(x_20); +x_63 = l_Lean_Syntax_node1(x_10, x_27, x_62); +lean_inc(x_18); lean_inc(x_10); -x_58 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_57); -x_59 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__47; +x_64 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_63); +x_65 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__51; lean_inc(x_11); lean_inc(x_12); -x_60 = l_Lean_addMacroScope(x_12, x_59, x_11); -x_61 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__45; -x_62 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__50; +x_66 = l_Lean_addMacroScope(x_12, x_65, x_11); +x_67 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__49; +x_68 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__54; lean_inc(x_10); -x_63 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_63, 0, x_10); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_60); -lean_ctor_set(x_63, 3, x_62); -lean_inc(x_22); +x_69 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_69, 0, x_10); +lean_ctor_set(x_69, 1, x_67); +lean_ctor_set(x_69, 2, x_66); +lean_ctor_set(x_69, 3, x_68); +lean_inc(x_32); lean_inc(x_10); -x_64 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_63); +x_70 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_69); lean_inc(x_10); -x_65 = l_Lean_Syntax_node1(x_10, x_31, x_64); +x_71 = l_Lean_Syntax_node1(x_10, x_23, x_70); lean_inc(x_10); -x_66 = l_Lean_Syntax_node1(x_10, x_33, x_65); +x_72 = l_Lean_Syntax_node1(x_10, x_25, x_71); lean_inc(x_10); -x_67 = l_Lean_Syntax_node1(x_10, x_35, x_66); -lean_inc(x_20); +x_73 = l_Lean_Syntax_node1(x_10, x_27, x_72); +lean_inc(x_18); lean_inc(x_10); -x_68 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_67); -x_69 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__54; +x_74 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_73); +x_75 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__58; lean_inc(x_11); lean_inc(x_12); -x_70 = l_Lean_addMacroScope(x_12, x_69, x_11); -x_71 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__52; -x_72 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__57; +x_76 = l_Lean_addMacroScope(x_12, x_75, x_11); +x_77 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__56; +x_78 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__61; lean_inc(x_10); -x_73 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_73, 0, x_10); -lean_ctor_set(x_73, 1, x_71); -lean_ctor_set(x_73, 2, x_70); -lean_ctor_set(x_73, 3, x_72); -lean_inc(x_22); +x_79 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_79, 0, x_10); +lean_ctor_set(x_79, 1, x_77); +lean_ctor_set(x_79, 2, x_76); +lean_ctor_set(x_79, 3, x_78); +lean_inc(x_32); lean_inc(x_10); -x_74 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_73); +x_80 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_79); lean_inc(x_10); -x_75 = l_Lean_Syntax_node1(x_10, x_31, x_74); +x_81 = l_Lean_Syntax_node1(x_10, x_23, x_80); lean_inc(x_10); -x_76 = l_Lean_Syntax_node1(x_10, x_33, x_75); +x_82 = l_Lean_Syntax_node1(x_10, x_25, x_81); lean_inc(x_10); -x_77 = l_Lean_Syntax_node1(x_10, x_35, x_76); -lean_inc(x_20); +x_83 = l_Lean_Syntax_node1(x_10, x_27, x_82); +lean_inc(x_18); lean_inc(x_10); -x_78 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_77); -x_79 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__61; +x_84 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_83); +x_85 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__65; lean_inc(x_11); lean_inc(x_12); -x_80 = l_Lean_addMacroScope(x_12, x_79, x_11); -x_81 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__59; -x_82 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__64; +x_86 = l_Lean_addMacroScope(x_12, x_85, x_11); +x_87 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__63; +x_88 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__68; lean_inc(x_10); -x_83 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_83, 0, x_10); -lean_ctor_set(x_83, 1, x_81); -lean_ctor_set(x_83, 2, x_80); -lean_ctor_set(x_83, 3, x_82); -lean_inc(x_22); +x_89 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_89, 0, x_10); +lean_ctor_set(x_89, 1, x_87); +lean_ctor_set(x_89, 2, x_86); +lean_ctor_set(x_89, 3, x_88); +lean_inc(x_32); lean_inc(x_10); -x_84 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_83); +x_90 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_89); lean_inc(x_10); -x_85 = l_Lean_Syntax_node1(x_10, x_31, x_84); +x_91 = l_Lean_Syntax_node1(x_10, x_23, x_90); lean_inc(x_10); -x_86 = l_Lean_Syntax_node1(x_10, x_33, x_85); +x_92 = l_Lean_Syntax_node1(x_10, x_25, x_91); lean_inc(x_10); -x_87 = l_Lean_Syntax_node1(x_10, x_35, x_86); -lean_inc(x_20); +x_93 = l_Lean_Syntax_node1(x_10, x_27, x_92); +lean_inc(x_18); lean_inc(x_10); -x_88 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_87); -x_89 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__68; +x_94 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_93); +x_95 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__72; lean_inc(x_11); lean_inc(x_12); -x_90 = l_Lean_addMacroScope(x_12, x_89, x_11); -x_91 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__66; -x_92 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__71; +x_96 = l_Lean_addMacroScope(x_12, x_95, x_11); +x_97 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__70; +x_98 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__75; 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(x_22); +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(x_32); lean_inc(x_10); -x_94 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_93); +x_100 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_99); lean_inc(x_10); -x_95 = l_Lean_Syntax_node1(x_10, x_31, x_94); +x_101 = l_Lean_Syntax_node1(x_10, x_23, x_100); lean_inc(x_10); -x_96 = l_Lean_Syntax_node1(x_10, x_33, x_95); +x_102 = l_Lean_Syntax_node1(x_10, x_25, x_101); lean_inc(x_10); -x_97 = l_Lean_Syntax_node1(x_10, x_35, x_96); -lean_inc(x_20); +x_103 = l_Lean_Syntax_node1(x_10, x_27, x_102); +lean_inc(x_18); lean_inc(x_10); -x_98 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_97); -x_99 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__74; +x_104 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_103); +x_105 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__79; lean_inc(x_11); lean_inc(x_12); -x_100 = l_Lean_addMacroScope(x_12, x_99, x_11); -x_101 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__73; -x_102 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__77; +x_106 = l_Lean_addMacroScope(x_12, x_105, x_11); +x_107 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__77; +x_108 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__82; lean_inc(x_10); -x_103 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_103, 0, x_10); -lean_ctor_set(x_103, 1, x_101); -lean_ctor_set(x_103, 2, x_100); -lean_ctor_set(x_103, 3, x_102); -lean_inc(x_22); +x_109 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_109, 0, x_10); +lean_ctor_set(x_109, 1, x_107); +lean_ctor_set(x_109, 2, x_106); +lean_ctor_set(x_109, 3, x_108); +lean_inc(x_32); lean_inc(x_10); -x_104 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_103); +x_110 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_109); lean_inc(x_10); -x_105 = l_Lean_Syntax_node1(x_10, x_31, x_104); +x_111 = l_Lean_Syntax_node1(x_10, x_23, x_110); lean_inc(x_10); -x_106 = l_Lean_Syntax_node1(x_10, x_33, x_105); +x_112 = l_Lean_Syntax_node1(x_10, x_25, x_111); lean_inc(x_10); -x_107 = l_Lean_Syntax_node1(x_10, x_35, x_106); -lean_inc(x_20); +x_113 = l_Lean_Syntax_node1(x_10, x_27, x_112); +lean_inc(x_18); lean_inc(x_10); -x_108 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_107); -x_109 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__80; +x_114 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_113); +x_115 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__86; lean_inc(x_11); lean_inc(x_12); -x_110 = l_Lean_addMacroScope(x_12, x_109, x_11); -x_111 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__79; -x_112 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__83; +x_116 = l_Lean_addMacroScope(x_12, x_115, x_11); +x_117 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__84; +x_118 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__89; lean_inc(x_10); -x_113 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_113, 0, x_10); -lean_ctor_set(x_113, 1, x_111); -lean_ctor_set(x_113, 2, x_110); -lean_ctor_set(x_113, 3, x_112); -lean_inc(x_22); +x_119 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_119, 0, x_10); +lean_ctor_set(x_119, 1, x_117); +lean_ctor_set(x_119, 2, x_116); +lean_ctor_set(x_119, 3, x_118); +lean_inc(x_32); lean_inc(x_10); -x_114 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_113); +x_120 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_119); lean_inc(x_10); -x_115 = l_Lean_Syntax_node1(x_10, x_31, x_114); +x_121 = l_Lean_Syntax_node1(x_10, x_23, x_120); lean_inc(x_10); -x_116 = l_Lean_Syntax_node1(x_10, x_33, x_115); +x_122 = l_Lean_Syntax_node1(x_10, x_25, x_121); lean_inc(x_10); -x_117 = l_Lean_Syntax_node1(x_10, x_35, x_116); -lean_inc(x_20); +x_123 = l_Lean_Syntax_node1(x_10, x_27, x_122); +lean_inc(x_18); lean_inc(x_10); -x_118 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_117); -x_119 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__87; +x_124 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_123); +x_125 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__93; lean_inc(x_11); lean_inc(x_12); -x_120 = l_Lean_addMacroScope(x_12, x_119, x_11); -x_121 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__85; -x_122 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__90; +x_126 = l_Lean_addMacroScope(x_12, x_125, x_11); +x_127 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__91; +x_128 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__96; 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(x_22); +x_129 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_129, 0, x_10); +lean_ctor_set(x_129, 1, x_127); +lean_ctor_set(x_129, 2, x_126); +lean_ctor_set(x_129, 3, x_128); +lean_inc(x_32); lean_inc(x_10); -x_124 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_123); +x_130 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_129); lean_inc(x_10); -x_125 = l_Lean_Syntax_node1(x_10, x_31, x_124); +x_131 = l_Lean_Syntax_node1(x_10, x_23, x_130); lean_inc(x_10); -x_126 = l_Lean_Syntax_node1(x_10, x_33, x_125); +x_132 = l_Lean_Syntax_node1(x_10, x_25, x_131); lean_inc(x_10); -x_127 = l_Lean_Syntax_node1(x_10, x_35, x_126); -lean_inc(x_20); +x_133 = l_Lean_Syntax_node1(x_10, x_27, x_132); +lean_inc(x_18); lean_inc(x_10); -x_128 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_127); -x_129 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__96; +x_134 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_133); +x_135 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__100; lean_inc(x_11); lean_inc(x_12); -x_130 = l_Lean_addMacroScope(x_12, x_129, x_11); -x_131 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__92; -x_132 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_136 = l_Lean_addMacroScope(x_12, x_135, x_11); +x_137 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__98; +x_138 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__103; lean_inc(x_10); -x_133 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_133, 0, x_10); -lean_ctor_set(x_133, 1, x_131); -lean_ctor_set(x_133, 2, x_130); -lean_ctor_set(x_133, 3, x_132); -lean_inc(x_22); +x_139 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_139, 0, x_10); +lean_ctor_set(x_139, 1, x_137); +lean_ctor_set(x_139, 2, x_136); +lean_ctor_set(x_139, 3, x_138); +lean_inc(x_32); lean_inc(x_10); -x_134 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_133); +x_140 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_139); lean_inc(x_10); -x_135 = l_Lean_Syntax_node1(x_10, x_31, x_134); +x_141 = l_Lean_Syntax_node1(x_10, x_23, x_140); lean_inc(x_10); -x_136 = l_Lean_Syntax_node1(x_10, x_33, x_135); +x_142 = l_Lean_Syntax_node1(x_10, x_25, x_141); lean_inc(x_10); -x_137 = l_Lean_Syntax_node1(x_10, x_35, x_136); -lean_inc(x_20); +x_143 = l_Lean_Syntax_node1(x_10, x_27, x_142); +lean_inc(x_18); lean_inc(x_10); -x_138 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_137); -x_139 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__100; -lean_inc(x_10); -x_140 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_140, 0, x_10); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__101; -lean_inc(x_10); -x_142 = l_Lean_Syntax_node1(x_10, x_141, x_140); -lean_inc(x_10); -x_143 = l_Lean_Syntax_node1(x_10, x_31, x_142); -lean_inc(x_10); -x_144 = l_Lean_Syntax_node1(x_10, x_33, x_143); -lean_inc(x_10); -x_145 = l_Lean_Syntax_node1(x_10, x_35, x_144); -lean_inc(x_20); -lean_inc(x_10); -x_146 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_145); +x_144 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_143); +x_145 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__107; +lean_inc(x_11); +lean_inc(x_12); +x_146 = l_Lean_addMacroScope(x_12, x_145, x_11); x_147 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__105; -lean_inc(x_11); -lean_inc(x_12); -x_148 = l_Lean_addMacroScope(x_12, x_147, x_11); -x_149 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__103; -x_150 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__108; +x_148 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__110; lean_inc(x_10); -x_151 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_151, 0, x_10); -lean_ctor_set(x_151, 1, x_149); -lean_ctor_set(x_151, 2, x_148); -lean_ctor_set(x_151, 3, x_150); -lean_inc(x_22); +x_149 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_149, 0, x_10); +lean_ctor_set(x_149, 1, x_147); +lean_ctor_set(x_149, 2, x_146); +lean_ctor_set(x_149, 3, x_148); +lean_inc(x_32); lean_inc(x_10); -x_152 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_151); +x_150 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_149); lean_inc(x_10); -x_153 = l_Lean_Syntax_node1(x_10, x_31, x_152); +x_151 = l_Lean_Syntax_node1(x_10, x_23, x_150); lean_inc(x_10); -x_154 = l_Lean_Syntax_node1(x_10, x_33, x_153); +x_152 = l_Lean_Syntax_node1(x_10, x_25, x_151); lean_inc(x_10); -x_155 = l_Lean_Syntax_node1(x_10, x_35, x_154); -lean_inc(x_20); +x_153 = l_Lean_Syntax_node1(x_10, x_27, x_152); +lean_inc(x_18); lean_inc(x_10); -x_156 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_155); -x_157 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__113; -lean_inc(x_11); -lean_inc(x_12); -x_158 = l_Lean_addMacroScope(x_12, x_157, x_11); -x_159 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__110; -x_160 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__116; +x_154 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_153); +x_155 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__114; +x_156 = l_Lean_addMacroScope(x_12, x_155, x_11); +x_157 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__112; +x_158 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__117; lean_inc(x_10); -x_161 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_161, 0, x_10); -lean_ctor_set(x_161, 1, x_159); -lean_ctor_set(x_161, 2, x_158); -lean_ctor_set(x_161, 3, x_160); -lean_inc(x_22); +x_159 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_159, 0, x_10); +lean_ctor_set(x_159, 1, x_157); +lean_ctor_set(x_159, 2, x_156); +lean_ctor_set(x_159, 3, x_158); lean_inc(x_10); -x_162 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_161); +x_160 = l_Lean_Syntax_node2(x_10, x_39, x_32, x_159); lean_inc(x_10); -x_163 = l_Lean_Syntax_node1(x_10, x_31, x_162); +x_161 = l_Lean_Syntax_node1(x_10, x_23, x_160); lean_inc(x_10); -x_164 = l_Lean_Syntax_node1(x_10, x_33, x_163); +x_162 = l_Lean_Syntax_node1(x_10, x_25, x_161); lean_inc(x_10); -x_165 = l_Lean_Syntax_node1(x_10, x_35, x_164); -lean_inc(x_20); +x_163 = l_Lean_Syntax_node1(x_10, x_27, x_162); lean_inc(x_10); -x_166 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_165); -x_167 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__120; -x_168 = l_Lean_addMacroScope(x_12, x_167, x_11); -x_169 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__118; -x_170 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__123; -lean_inc(x_10); -x_171 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_171, 0, x_10); -lean_ctor_set(x_171, 1, x_169); -lean_ctor_set(x_171, 2, x_168); -lean_ctor_set(x_171, 3, x_170); -lean_inc(x_10); -x_172 = l_Lean_Syntax_node2(x_10, x_29, x_22, x_171); -lean_inc(x_10); -x_173 = l_Lean_Syntax_node1(x_10, x_31, x_172); -lean_inc(x_10); -x_174 = l_Lean_Syntax_node1(x_10, x_33, x_173); -lean_inc(x_10); -x_175 = l_Lean_Syntax_node1(x_10, x_35, x_174); -lean_inc(x_10); -x_176 = l_Lean_Syntax_node2(x_10, x_37, x_20, x_175); +x_164 = l_Lean_Syntax_node2(x_10, x_29, x_18, x_163); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_35); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_154); +lean_ctor_set(x_166, 1, x_165); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_144); +lean_ctor_set(x_167, 1, x_166); +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_134); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_124); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_114); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_104); +lean_ctor_set(x_171, 1, x_170); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_94); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_84); +lean_ctor_set(x_173, 1, x_172); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_74); +lean_ctor_set(x_174, 1, x_173); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_64); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_54); +lean_ctor_set(x_176, 1, x_175); x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_25); +lean_ctor_set(x_177, 0, x_44); +lean_ctor_set(x_177, 1, x_176); x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_166); +lean_ctor_set(x_178, 0, x_30); lean_ctor_set(x_178, 1, x_177); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_156); -lean_ctor_set(x_179, 1, x_178); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_146); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_138); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_128); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_118); -lean_ctor_set(x_183, 1, x_182); -x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_108); -lean_ctor_set(x_184, 1, x_183); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_98); -lean_ctor_set(x_185, 1, x_184); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_88); -lean_ctor_set(x_186, 1, x_185); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_78); +x_179 = lean_array_mk(x_178); +lean_inc(x_10); +x_180 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_180, 0, x_10); +lean_ctor_set(x_180, 1, x_23); +lean_ctor_set(x_180, 2, x_179); +x_181 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__16; +lean_inc(x_10); +x_182 = l_Lean_Syntax_node2(x_10, x_181, x_16, x_180); +lean_inc(x_10); +x_183 = l_Lean_Syntax_node1(x_10, x_23, x_182); +lean_inc(x_10); +x_184 = l_Lean_Syntax_node1(x_10, x_25, x_183); +lean_inc(x_10); +x_185 = l_Lean_Syntax_node1(x_10, x_27, x_184); +x_186 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__118; +lean_inc(x_10); +x_187 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_187, 0, x_10); lean_ctor_set(x_187, 1, x_186); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_68); -lean_ctor_set(x_188, 1, x_187); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_58); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_48); -lean_ctor_set(x_190, 1, x_189); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_38); +x_188 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__7; +lean_inc(x_10); +x_189 = l_Lean_Syntax_node3(x_10, x_188, x_14, x_185, x_187); +x_190 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__119; +lean_inc(x_10); +x_191 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_191, 0, x_10); lean_ctor_set(x_191, 1, x_190); -x_192 = lean_array_mk(x_191); +x_192 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__7; lean_inc(x_10); -x_193 = lean_alloc_ctor(1, 3, 0); +x_193 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_193, 0, x_10); -lean_ctor_set(x_193, 1, x_31); -lean_ctor_set(x_193, 2, x_192); -x_194 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__17; +lean_ctor_set(x_193, 1, x_192); lean_inc(x_10); -x_195 = l_Lean_Syntax_node2(x_10, x_194, x_18, x_193); -lean_inc(x_10); -x_196 = l_Lean_Syntax_node1(x_10, x_31, x_195); -lean_inc(x_10); -x_197 = l_Lean_Syntax_node1(x_10, x_33, x_196); -lean_inc(x_10); -x_198 = l_Lean_Syntax_node1(x_10, x_35, x_197); -x_199 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__124; -lean_inc(x_10); -x_200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_200, 0, x_10); -lean_ctor_set(x_200, 1, x_199); -x_201 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; -lean_inc(x_10); -x_202 = l_Lean_Syntax_node3(x_10, x_201, x_16, x_198, x_200); -lean_inc(x_10); -x_203 = l_Lean_Syntax_node1(x_10, x_31, x_202); -lean_inc(x_10); -x_204 = l_Lean_Syntax_node1(x_10, x_33, x_203); -lean_inc(x_10); -x_205 = l_Lean_Syntax_node1(x_10, x_35, x_204); -x_206 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__5; -x_207 = l_Lean_Syntax_node2(x_10, x_206, x_14, x_205); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_3); -return x_208; +x_194 = l_Lean_Syntax_node1(x_10, x_4, x_193); +x_195 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__5; +x_196 = l_Lean_Syntax_node3(x_10, x_195, x_189, x_191, x_194); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_3); +return x_197; } } } @@ -2773,7 +2770,7 @@ 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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__12; +x_17 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; lean_inc(x_10); x_19 = lean_alloc_ctor(1, 3, 0); @@ -2846,820 +2843,6 @@ return x_48; } } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("contains_eq_containsKey", 23, 23); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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; -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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__1; -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_queryNames___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("isEmpty_eq_isEmpty", 18, 18); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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_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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__3; -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_queryNames___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("size_eq_length", 14, 14); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__6() { -_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_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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__5; -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_queryNames___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get\?_eq_getValueCast\?", 21, 21); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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_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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__7; -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_queryNames___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get\?_eq_getValue\?", 17, 17); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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; -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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__9; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get_eq_getValueCast", 19, 19); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__12() { -_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_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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__11; -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_queryNames___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get_eq_getValue", 15, 15); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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; 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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__13; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get!_eq_getValueCast!", 21, 21); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__16() { -_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_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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__15; -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_queryNames___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getD_eq_getValueCastD", 21, 21); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__18() { -_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_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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__17; -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_queryNames___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get!_eq_getValue!", 17, 17); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__20() { -_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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__19; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getD_eq_getValueD", 17, 17); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__22() { -_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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__21; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKey\?_eq_getKey\?", 18, 18); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__24() { -_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_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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__23; -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_queryNames___closed__25() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKey_eq_getKey", 16, 16); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__26() { -_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_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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__25; -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_queryNames___closed__27() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKeyD_eq_getKeyD", 18, 18); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__28() { -_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_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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__27; -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_queryNames___closed__29() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKey!_eq_getKey!", 18, 18); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__30() { -_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_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_tacticWf__trivial___closed__4; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__29; -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_queryNames___closed__31() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("toList_eq_toListModel", 21, 21); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__32() { -_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_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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__31; -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_queryNames___closed__33() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("keys_eq_keys_toListModel", 24, 24); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__34() { -_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_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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__33; -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_queryNames___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("toList_eq_toListModel_map", 25, 25); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__36() { -_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__tacticWf__trivial__1___closed__93; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; -x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__35; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__37() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("foldM_eq_foldlM_toListModel", 27, 27); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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; -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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__37; -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_queryNames___closed__39() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("fold_eq_foldl_toListModel", 25, 25); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__40() { -_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_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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__39; -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_queryNames___closed__41() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("foldRevM_eq_foldrM_toListModel", 30, 30); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__42() { -_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_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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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_queryNames___closed__43() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("foldRev_eq_foldr_toListModel", 28, 28); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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; -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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__43; -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_queryNames___closed__45() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("forIn_eq_forIn_toListModel", 26, 26); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__46() { -_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_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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__45; -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_queryNames___closed__47() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("forM_eq_forM_toListModel", 24, 24); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__48() { -_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_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__tacticWf__trivial__1___closed__93; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___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_queryNames___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_queryNames___closed__48; -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_queryNames___closed__50() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__46; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__49; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__51() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__44; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__50; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__52() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__42; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__51; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__53() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__40; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__52; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__54() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__38; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__53; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__55() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__36; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__54; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__56() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__34; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__55; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__57() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__32; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__56; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__30; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__57; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__59() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__28; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__58; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__60() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__26; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__59; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__61() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__24; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__60; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__62() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__22; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__61; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__63() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__20; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__62; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__64() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__18; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__63; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__65() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__16; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__64; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__66() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__14; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__65; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__67() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__12; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__66; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__68() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__10; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__67; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__69() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__8; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__68; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__70() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__6; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__69; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__71() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__4; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__70; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__72() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__2; -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__71; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__73() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__72; -x_2 = lean_array_mk(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames() { -_start: -{ -lean_object* x_1; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__73; -return x_1; -} -} LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -4272,7 +3455,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__St _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__16; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -4286,7 +3469,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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__18; x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; @@ -4316,7 +3499,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__St _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__24; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -4338,7 +3521,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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__26; x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; @@ -4462,7 +3645,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__St _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__29; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -4476,7 +3659,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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__31; x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; @@ -4498,7 +3681,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__St _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__34; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -4512,7 +3695,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_tacticWf__trivial___closed__4; -x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__46; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__36; x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; @@ -4717,7 +3900,435 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__1() { +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_name_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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__4(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 = l_Lean_Name_hash___override(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 = l_Lean_Name_hash___override(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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__4(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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__3(x_7, x_1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__5(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_name_eq(x_6, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__5(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_name_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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__5(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_List_forIn_x27_loop___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_dec(x_3); +return x_7; +} +else +{ +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_6, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_6, 1); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = !lean_is_exclusive(x_7); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* 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; uint64_t x_23; size_t x_24; size_t x_25; size_t x_26; size_t x_27; size_t x_28; lean_object* x_29; uint8_t x_30; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_array_get_size(x_15); +x_17 = l_Lean_Name_hash___override(x_11); +x_18 = 32; +x_19 = lean_uint64_shift_right(x_17, x_18); +x_20 = lean_uint64_xor(x_17, x_19); +x_21 = 16; +x_22 = lean_uint64_shift_right(x_20, x_21); +x_23 = lean_uint64_xor(x_20, x_22); +x_24 = lean_uint64_to_usize(x_23); +x_25 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_26 = 1; +x_27 = lean_usize_sub(x_25, x_26); +x_28 = lean_usize_land(x_24, x_27); +x_29 = lean_array_uget(x_15, x_28); +x_30 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__1(x_11, x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_add(x_14, x_31); +lean_dec(x_14); +x_33 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_33, 0, x_11); +lean_ctor_set(x_33, 1, x_12); +lean_ctor_set(x_33, 2, x_29); +x_34 = lean_array_uset(x_15, x_28, x_33); +x_35 = lean_unsigned_to_nat(4u); +x_36 = lean_nat_mul(x_32, x_35); +x_37 = lean_unsigned_to_nat(3u); +x_38 = lean_nat_div(x_36, x_37); +lean_dec(x_36); +x_39 = lean_array_get_size(x_34); +x_40 = lean_nat_dec_le(x_38, x_39); +lean_dec(x_39); +lean_dec(x_38); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__2(x_34); +lean_ctor_set(x_7, 1, x_41); +lean_ctor_set(x_7, 0, x_32); +x_6 = x_10; +x_8 = lean_box(0); +goto _start; +} +else +{ +lean_ctor_set(x_7, 1, x_34); +lean_ctor_set(x_7, 0, x_32); +x_6 = x_10; +x_8 = lean_box(0); +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_inc(x_3); +x_44 = lean_array_uset(x_15, x_28, x_3); +x_45 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__5(x_11, x_12, x_29); +x_46 = lean_array_uset(x_44, x_28, x_45); +lean_ctor_set(x_7, 1, x_46); +x_6 = x_10; +x_8 = lean_box(0); +goto _start; +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint64_t x_51; uint64_t x_52; uint64_t x_53; uint64_t x_54; uint64_t x_55; uint64_t x_56; uint64_t x_57; size_t x_58; size_t x_59; size_t x_60; size_t x_61; size_t x_62; lean_object* x_63; uint8_t x_64; +x_48 = lean_ctor_get(x_7, 0); +x_49 = lean_ctor_get(x_7, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_7); +x_50 = lean_array_get_size(x_49); +x_51 = l_Lean_Name_hash___override(x_11); +x_52 = 32; +x_53 = lean_uint64_shift_right(x_51, x_52); +x_54 = lean_uint64_xor(x_51, x_53); +x_55 = 16; +x_56 = lean_uint64_shift_right(x_54, x_55); +x_57 = lean_uint64_xor(x_54, x_56); +x_58 = lean_uint64_to_usize(x_57); +x_59 = lean_usize_of_nat(x_50); +lean_dec(x_50); +x_60 = 1; +x_61 = lean_usize_sub(x_59, x_60); +x_62 = lean_usize_land(x_58, x_61); +x_63 = lean_array_uget(x_49, x_62); +x_64 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__1(x_11, x_63); +if (x_64 == 0) +{ +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; uint8_t x_74; +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_add(x_48, x_65); +lean_dec(x_48); +x_67 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_67, 0, x_11); +lean_ctor_set(x_67, 1, x_12); +lean_ctor_set(x_67, 2, x_63); +x_68 = lean_array_uset(x_49, x_62, x_67); +x_69 = lean_unsigned_to_nat(4u); +x_70 = lean_nat_mul(x_66, x_69); +x_71 = lean_unsigned_to_nat(3u); +x_72 = lean_nat_div(x_70, x_71); +lean_dec(x_70); +x_73 = lean_array_get_size(x_68); +x_74 = lean_nat_dec_le(x_72, x_73); +lean_dec(x_73); +lean_dec(x_72); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +x_75 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__2(x_68); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_66); +lean_ctor_set(x_76, 1, x_75); +x_6 = x_10; +x_7 = x_76; +x_8 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_78; +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_66); +lean_ctor_set(x_78, 1, x_68); +x_6 = x_10; +x_7 = x_78; +x_8 = lean_box(0); +goto _start; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_inc(x_3); +x_80 = lean_array_uset(x_49, x_62, x_3); +x_81 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__5(x_11, x_12, x_63); +x_82 = lean_array_uset(x_80, x_62, x_81); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_48); +lean_ctor_set(x_83, 1, x_82); +x_6 = x_10; +x_7 = x_83; +x_8 = lean_box(0); +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__1(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_1, 5); +lean_inc(x_4); +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; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_4 = 0; +x_5 = l_Lean_SourceInfo_fromRef(x_1, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -4725,16 +4336,16 @@ x_1 = lean_mk_string_unchecked("_root_.List.Perm.isEmpty_eq", 27, 27); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__2() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__2() { _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__1; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__1; 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__3() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -4742,7 +4353,7 @@ x_1 = lean_mk_string_unchecked("_root_", 6, 6); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4() { _start: { lean_object* x_1; @@ -4750,7 +4361,7 @@ 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() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__5() { _start: { lean_object* x_1; @@ -4758,54 +4369,78 @@ 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() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__18; -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_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__18; -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_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__7; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__9() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__8; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__10() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_4 = lean_ctor_get(x_2, 2); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__6; +x_7 = l_Lean_addMacroScope(x_5, x_6, x_4); +x_8 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__2; +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__9; +x_10 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_8); +lean_ctor_set(x_10, 2, x_7); +lean_ctor_set(x_10, 3, x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_3); +return x_11; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -4813,62 +4448,69 @@ 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__11() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__2() { _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__10; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__1; 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__12() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__3() { _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__10; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__1; 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__13() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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__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; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__2; +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_4); +return x_14; } } -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__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__16() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -4876,16 +4518,16 @@ 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__17() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__2() { _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__16; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__1; 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__18() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__3() { _start: { lean_object* x_1; @@ -4893,54 +4535,61 @@ 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__19() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___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__18; -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_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___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_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_queryMap___lambda__5___closed__5() { _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__18; -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_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__3; 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() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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__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; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__4; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__5; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__2; +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_4); +return x_14; } } -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__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__23() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1() { _start: { lean_object* x_1; @@ -4948,7 +4597,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__24() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__2() { _start: { lean_object* x_1; @@ -4956,19 +4605,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__25() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___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_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__23; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__2; 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__26() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__4() { _start: { lean_object* x_1; @@ -4976,62 +4625,38 @@ 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__27() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__5() { _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__26; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__4; 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__28() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__6() { _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_queryMap___lambda__6___closed__4; 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__29() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__4; 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__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__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__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__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__32() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__8() { _start: { lean_object* x_1; @@ -5039,19 +4664,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__33() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_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__23; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__8; 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__34() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10() { _start: { lean_object* x_1; @@ -5059,7 +4684,52 @@ 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__35() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__6; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__7; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__5; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__1() { _start: { lean_object* x_1; @@ -5067,62 +4737,83 @@ 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__36() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__2() { _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__35; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__1; 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__37() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__3() { _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_queryMap___lambda__7___closed__1; 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__38() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__1; 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__39() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -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__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__41() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__1() { _start: { lean_object* x_1; @@ -5130,62 +4821,83 @@ 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__42() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__2() { _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__41; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__1; 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__43() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__3() { _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_queryMap___lambda__8___closed__1; 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__44() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__1; 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__45() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -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__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__47() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__1() { _start: { lean_object* x_1; @@ -5193,62 +4905,83 @@ 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__48() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__2() { _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__47; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__1; 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__49() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__3() { _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_queryMap___lambda__9___closed__1; 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__50() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__1; 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__51() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -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__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__53() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__1() { _start: { lean_object* x_1; @@ -5256,62 +4989,83 @@ 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__54() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__2() { _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__53; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__1; 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__55() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__3() { _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_queryMap___lambda__10___closed__1; 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__56() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__1; 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__57() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -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__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__59() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__1() { _start: { lean_object* x_1; @@ -5319,62 +5073,83 @@ 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__60() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__2() { _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__59; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__1; 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__61() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__3() { _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_queryMap___lambda__11___closed__1; 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__62() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__1; 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__63() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -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__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__65() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__1() { _start: { lean_object* x_1; @@ -5382,62 +5157,83 @@ 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__66() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__2() { _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__65; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__1; 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__67() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__3() { _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_queryMap___lambda__12___closed__1; 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__68() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__1; 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__69() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -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__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__71() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__1() { _start: { lean_object* x_1; @@ -5445,62 +5241,83 @@ 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__72() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__2() { _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__71; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__1; 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__73() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__3() { _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_queryMap___lambda__13___closed__1; 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__74() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__1; 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__75() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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__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; +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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -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__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); -return x_3; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__77() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__1() { _start: { lean_object* x_1; @@ -5508,62 +5325,83 @@ x_1 = lean_mk_string_unchecked("getKey\?_of_perm", 15, 15); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__78() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__2() { _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__77; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__1; 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__79() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__3() { _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__77; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__1; 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__80() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__77; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__1; 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__81() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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__80; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__82() { -_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__81; -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__83() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__1() { _start: { lean_object* x_1; @@ -5571,62 +5409,83 @@ x_1 = lean_mk_string_unchecked("getKey_of_perm", 14, 14); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__84() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__2() { _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__83; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__1; 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__85() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__3() { _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__83; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__1; 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__86() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__83; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__1; 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__87() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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__86; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__88() { -_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__87; -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__89() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__1() { _start: { lean_object* x_1; @@ -5634,62 +5493,83 @@ x_1 = lean_mk_string_unchecked("getKeyD_of_perm", 15, 15); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__90() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__2() { _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__89; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__1; 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__91() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__3() { _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__89; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__1; 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__92() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__89; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__1; 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__93() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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__92; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 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_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__94() { -_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__93; -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__95() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__1() { _start: { lean_object* x_1; @@ -5697,350 +5577,1770 @@ x_1 = lean_mk_string_unchecked("getKey!_of_perm", 15, 15); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__96() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__2() { _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__95; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__1; 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__97() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__3() { _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__95; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__1; 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__98() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___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_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_3 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__18; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__95; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__1; 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__99() { +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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__98; -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__100() { -_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__99; -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 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; -x_3 = lean_ctor_get(x_1, 5); -lean_inc(x_3); -x_4 = 0; -x_5 = l_Lean_SourceInfo_fromRef(x_3, 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_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 2); -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__6; -lean_inc(x_6); -lean_inc(x_7); -x_9 = l_Lean_addMacroScope(x_7, x_8, x_6); -x_10 = lean_box(0); -x_11 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__2; -x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9; -lean_inc(x_5); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__2; +lean_inc(x_2); x_13 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_13, 0, x_5); -lean_ctor_set(x_13, 1, x_11); -lean_ctor_set(x_13, 2, x_9); -lean_ctor_set(x_13, 3, x_12); -x_14 = 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_15 = l_Lean_addMacroScope(x_7, x_14, x_6); -x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11; -x_17 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15; -lean_inc(x_5); -x_18 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_18, 0, x_5); +lean_ctor_set(x_13, 0, x_2); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_13, 2, x_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isEmpty", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__2() { +_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_queryMap___closed__1; +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_queryMap___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isEmpty_eq_isEmpty", 18, 18); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__3; +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_queryMap___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ReaderT_read___at_Lean_Macro_instMonadRefMacroM___spec__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__1___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__5; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__6; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__2___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__7; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__8; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3), 3, 0); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__9; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__10; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__12; +x_2 = lean_array_mk(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__4; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__13; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__2; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__14; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("contains", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__17() { +_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_queryMap___closed__16; +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_queryMap___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("contains_eq_containsKey", 23, 23); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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; +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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__18; +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_queryMap___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("size", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___closed__20; +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_queryMap___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("size_eq_length", 14, 14); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__23() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__22; +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_queryMap___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get\?", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__25() { +_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_queryMap___closed__24; +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_queryMap___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get\?_eq_getValueCast\?", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__27() { +_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_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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__24; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__29() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get\?_eq_getValue\?", 17, 17); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__30() { +_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_tacticWf__trivial___closed__4; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__29; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__31; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get_eq_getValue", 15, 15); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__34() { +_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_tacticWf__trivial___closed__4; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__33; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__35() { +_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_queryMap___closed__31; +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_queryMap___closed__36() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get_eq_getValueCast", 19, 19); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__37() { +_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_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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__36; +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_queryMap___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get!", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___closed__38; +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_queryMap___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get!_eq_getValueCast!", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__41() { +_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_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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__40; +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_queryMap___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getD", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___closed__42; +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_queryMap___closed__44() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getD_eq_getValueCastD", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__45() { +_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_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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__44; +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_queryMap___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__38; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__47() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get!_eq_getValue!", 17, 17); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__48() { +_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_tacticWf__trivial___closed__4; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__47; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__42; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__50() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getD_eq_getValueD", 17, 17); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__51() { +_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_tacticWf__trivial___closed__4; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__50; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__52() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getKey\?", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__53() { +_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_queryMap___closed__52; +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_queryMap___closed__54() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getKey\?_eq_getKey\?", 18, 18); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__55() { +_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_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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__54; +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_queryMap___closed__56() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getKey", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___closed__56; +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_queryMap___closed__58() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getKey_eq_getKey", 16, 16); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__59() { +_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_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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__58; +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_queryMap___closed__60() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getKeyD", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___closed__60; +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_queryMap___closed__62() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getKeyD_eq_getKeyD", 18, 18); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__63() { +_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_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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__62; +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_queryMap___closed__64() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getKey!", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__65() { +_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_queryMap___closed__64; +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_queryMap___closed__66() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getKey!_eq_getKey!", 18, 18); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__67() { +_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_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_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__66; +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_queryMap___closed__68() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("toList", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___closed__68; +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_queryMap___closed__70() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("toList_eq_toListModel", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__71() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__70; +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_queryMap___closed__72() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_array_mk(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__73() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__71; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__74() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__69; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__73; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__75() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("keys", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_queryMap___closed__75; +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_queryMap___closed__77() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("keys_eq_keys_toListModel", 24, 24); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__78() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__77; +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_queryMap___closed__79() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__78; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__80() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__76; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__79; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__81() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__68; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__82() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("toList_eq_toListModel_map", 25, 25); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__83() { +_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__tacticWf__trivial__1___closed__26; +x_5 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__99; +x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__82; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__84() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__83; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__85() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__81; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__84; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__86() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldM", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__87() { +_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_queryMap___closed__86; +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_queryMap___closed__88() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldM_eq_foldlM_toListModel", 27, 27); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__89() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__88; +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_queryMap___closed__90() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__89; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__91() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__87; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__90; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__92() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fold", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__93() { +_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_queryMap___closed__92; +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_queryMap___closed__94() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fold_eq_foldl_toListModel", 25, 25); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__95() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__94; +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_queryMap___closed__96() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__95; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__97() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__93; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__96; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__98() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldRevM", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__99() { +_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_queryMap___closed__98; +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_queryMap___closed__100() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldRevM_eq_foldrM_toListModel", 30, 30); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__101() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__100; +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_queryMap___closed__102() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__101; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__103() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__99; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__102; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__104() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldRev", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__105() { +_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_queryMap___closed__104; +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_queryMap___closed__106() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldRev_eq_foldr_toListModel", 28, 28); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__107() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__106; +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_queryMap___closed__108() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__107; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__109() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__105; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__108; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__110() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("forIn", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__111() { +_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_queryMap___closed__110; +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_queryMap___closed__112() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("forIn_eq_forIn_toListModel", 26, 26); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__113() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__112; +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_queryMap___closed__114() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__113; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__115() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__111; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__114; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__116() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("forM", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__117() { +_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_queryMap___closed__116; +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_queryMap___closed__118() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("forM_eq_forM_toListModel", 24, 24); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__119() { +_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_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__tacticWf__trivial__1___closed__26; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__118; +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_queryMap___closed__120() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__119; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__121() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__117; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__120; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__122() { +_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_queryMap___closed__121; +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_queryMap___closed__123() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__115; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__122; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__124() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__109; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__123; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__125() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__103; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__124; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__126() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__97; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__125; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__127() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__91; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__126; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__128() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__85; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__127; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__129() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__80; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__128; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__130() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__74; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__129; +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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap() { +_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; 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; +x_1 = lean_box(0); +x_2 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4), 4, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__9; +x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_1); +x_6 = lean_array_mk(x_5); +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__19; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__17; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5), 4, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_12, 0, x_3); +lean_closure_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_1); +x_14 = lean_array_mk(x_13); +x_15 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__23; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__21; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_15); -lean_ctor_set(x_18, 3, x_17); -x_19 = 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_20 = l_Lean_addMacroScope(x_7, x_19, x_6); -x_21 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17; -x_22 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22; -lean_inc(x_5); -x_23 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_23, 0, x_5); -lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_23, 2, x_20); -lean_ctor_set(x_23, 3, x_22); -x_24 = 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_25 = l_Lean_addMacroScope(x_7, x_24, x_6); -x_26 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27; -x_27 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31; -lean_inc(x_5); -x_28 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_28, 0, x_5); -lean_ctor_set(x_28, 1, x_26); -lean_ctor_set(x_28, 2, x_25); -lean_ctor_set(x_28, 3, x_27); -x_29 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34; -lean_inc(x_5); -x_30 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_30, 0, x_5); -lean_ctor_set(x_30, 1, x_29); -x_31 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33; -lean_inc(x_5); -x_32 = l_Lean_Syntax_node1(x_5, x_31, x_30); -x_33 = 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_34 = l_Lean_Syntax_node1(x_5, x_33, x_32); -x_35 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25; -lean_inc(x_34); -lean_inc(x_5); -x_36 = l_Lean_Syntax_node2(x_5, x_35, x_28, x_34); -x_37 = 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_38 = l_Lean_addMacroScope(x_7, x_37, x_6); -x_39 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36; -x_40 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40; -lean_inc(x_5); -x_41 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_41, 0, x_5); -lean_ctor_set(x_41, 1, x_39); -lean_ctor_set(x_41, 2, x_38); -lean_ctor_set(x_41, 3, x_40); -lean_inc(x_34); -lean_inc(x_5); -x_42 = l_Lean_Syntax_node2(x_5, x_35, x_41, x_34); -x_43 = 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_44 = l_Lean_addMacroScope(x_7, x_43, x_6); -x_45 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42; -x_46 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46; -lean_inc(x_5); -x_47 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_47, 0, x_5); -lean_ctor_set(x_47, 1, x_45); -lean_ctor_set(x_47, 2, x_44); -lean_ctor_set(x_47, 3, x_46); -lean_inc(x_34); -lean_inc(x_5); -x_48 = l_Lean_Syntax_node2(x_5, x_35, x_47, x_34); -x_49 = 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_50 = l_Lean_addMacroScope(x_7, x_49, x_6); -x_51 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48; -x_52 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52; -lean_inc(x_5); -x_53 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_53, 0, x_5); -lean_ctor_set(x_53, 1, x_51); -lean_ctor_set(x_53, 2, x_50); -lean_ctor_set(x_53, 3, x_52); -lean_inc(x_34); -lean_inc(x_5); -x_54 = l_Lean_Syntax_node2(x_5, x_35, x_53, x_34); -x_55 = 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_56 = l_Lean_addMacroScope(x_7, x_55, x_6); -x_57 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54; -x_58 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58; -lean_inc(x_5); -x_59 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_59, 0, x_5); -lean_ctor_set(x_59, 1, x_57); -lean_ctor_set(x_59, 2, x_56); -lean_ctor_set(x_59, 3, x_58); -lean_inc(x_34); -lean_inc(x_5); -x_60 = l_Lean_Syntax_node2(x_5, x_35, x_59, x_34); -x_61 = 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_62 = l_Lean_addMacroScope(x_7, x_61, x_6); -x_63 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60; -x_64 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64; -lean_inc(x_5); -x_65 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_65, 0, x_5); -lean_ctor_set(x_65, 1, x_63); -lean_ctor_set(x_65, 2, x_62); -lean_ctor_set(x_65, 3, x_64); -lean_inc(x_34); -lean_inc(x_5); -x_66 = l_Lean_Syntax_node2(x_5, x_35, x_65, x_34); -x_67 = 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_68 = l_Lean_addMacroScope(x_7, x_67, x_6); -x_69 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66; -x_70 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70; -lean_inc(x_5); -x_71 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_71, 0, x_5); -lean_ctor_set(x_71, 1, x_69); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_70); -lean_inc(x_34); -lean_inc(x_5); -x_72 = l_Lean_Syntax_node2(x_5, x_35, x_71, x_34); -x_73 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73; -lean_inc(x_6); -lean_inc(x_7); -x_74 = l_Lean_addMacroScope(x_7, x_73, x_6); -x_75 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72; -x_76 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__76; -lean_inc(x_5); -x_77 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_77, 0, x_5); -lean_ctor_set(x_77, 1, x_75); -lean_ctor_set(x_77, 2, x_74); -lean_ctor_set(x_77, 3, x_76); -lean_inc(x_34); -lean_inc(x_5); -x_78 = l_Lean_Syntax_node2(x_5, x_35, x_77, x_34); -x_79 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__79; -lean_inc(x_6); -lean_inc(x_7); -x_80 = l_Lean_addMacroScope(x_7, x_79, x_6); -x_81 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__78; -x_82 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__82; -lean_inc(x_5); -x_83 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_83, 0, x_5); -lean_ctor_set(x_83, 1, x_81); -lean_ctor_set(x_83, 2, x_80); -lean_ctor_set(x_83, 3, x_82); -lean_inc(x_34); -lean_inc(x_5); -x_84 = l_Lean_Syntax_node2(x_5, x_35, x_83, x_34); -x_85 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__85; -lean_inc(x_6); -lean_inc(x_7); -x_86 = l_Lean_addMacroScope(x_7, x_85, x_6); -x_87 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__84; -x_88 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__88; -lean_inc(x_5); -x_89 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_89, 0, x_5); -lean_ctor_set(x_89, 1, x_87); -lean_ctor_set(x_89, 2, x_86); -lean_ctor_set(x_89, 3, x_88); -lean_inc(x_34); -lean_inc(x_5); -x_90 = l_Lean_Syntax_node2(x_5, x_35, x_89, x_34); -x_91 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__91; -lean_inc(x_6); -lean_inc(x_7); -x_92 = l_Lean_addMacroScope(x_7, x_91, x_6); -x_93 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__90; -x_94 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__94; -lean_inc(x_5); -x_95 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_95, 0, x_5); -lean_ctor_set(x_95, 1, x_93); -lean_ctor_set(x_95, 2, x_92); -lean_ctor_set(x_95, 3, x_94); -lean_inc(x_34); -lean_inc(x_5); -x_96 = l_Lean_Syntax_node2(x_5, x_35, x_95, x_34); -x_97 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__97; -x_98 = l_Lean_addMacroScope(x_7, x_97, x_6); -x_99 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__96; -x_100 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__100; -lean_inc(x_5); -x_101 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_101, 0, x_5); -lean_ctor_set(x_101, 1, x_99); -lean_ctor_set(x_101, 2, x_98); -lean_ctor_set(x_101, 3, x_100); -x_102 = l_Lean_Syntax_node2(x_5, x_35, x_101, x_34); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_10); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_96); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_90); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_84); -lean_ctor_set(x_106, 1, x_105); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_78); -lean_ctor_set(x_107, 1, x_106); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_72); -lean_ctor_set(x_108, 1, x_107); +x_19 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6), 4, 1); +lean_closure_set(x_19, 0, x_1); +x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_20, 0, x_3); +lean_closure_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_1); +x_22 = lean_array_mk(x_21); +x_23 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__27; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__25; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7), 4, 1); +lean_closure_set(x_27, 0, x_1); +x_28 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_28, 0, x_3); +lean_closure_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_1); +x_30 = lean_array_mk(x_29); +x_31 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__30; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__28; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8), 4, 1); +lean_closure_set(x_35, 0, x_1); +x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_36, 0, x_3); +lean_closure_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_1); +x_38 = lean_array_mk(x_37); +x_39 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__34; +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__32; +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9), 4, 1); +lean_closure_set(x_43, 0, x_1); +x_44 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_44, 0, x_3); +lean_closure_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_1); +x_46 = lean_array_mk(x_45); +x_47 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__37; +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__35; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10), 4, 1); +lean_closure_set(x_51, 0, x_1); +x_52 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_52, 0, x_3); +lean_closure_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_1); +x_54 = lean_array_mk(x_53); +x_55 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__41; +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__39; +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11), 4, 1); +lean_closure_set(x_59, 0, x_1); +x_60 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_60, 0, x_3); +lean_closure_set(x_60, 1, x_59); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_1); +x_62 = lean_array_mk(x_61); +x_63 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__45; +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__43; +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12), 4, 1); +lean_closure_set(x_67, 0, x_1); +x_68 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_68, 0, x_3); +lean_closure_set(x_68, 1, x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_1); +x_70 = lean_array_mk(x_69); +x_71 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__48; +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__46; +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +x_75 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13), 4, 1); +lean_closure_set(x_75, 0, x_1); +x_76 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_76, 0, x_3); +lean_closure_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_1); +x_78 = lean_array_mk(x_77); +x_79 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__51; +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__49; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14), 4, 1); +lean_closure_set(x_83, 0, x_1); +x_84 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_84, 0, x_3); +lean_closure_set(x_84, 1, x_83); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_1); +x_86 = lean_array_mk(x_85); +x_87 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__55; +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_86); +x_89 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__53; +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15), 4, 1); +lean_closure_set(x_91, 0, x_1); +x_92 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_92, 0, x_3); +lean_closure_set(x_92, 1, x_91); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_1); +x_94 = lean_array_mk(x_93); +x_95 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__59; +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__57; +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16), 4, 1); +lean_closure_set(x_99, 0, x_1); +x_100 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_100, 0, x_3); +lean_closure_set(x_100, 1, x_99); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_1); +x_102 = lean_array_mk(x_101); +x_103 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__63; +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__61; +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = lean_alloc_closure((void*)(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17), 4, 1); +lean_closure_set(x_107, 0, x_1); +x_108 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_108, 0, x_3); +lean_closure_set(x_108, 1, x_107); x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_66); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_60); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_54); -lean_ctor_set(x_111, 1, x_110); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_48); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_42); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_36); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_23); -lean_ctor_set(x_115, 1, x_114); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_1); +x_110 = lean_array_mk(x_109); +x_111 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__67; +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_110); +x_113 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__65; +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +x_115 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__130; x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_18); +lean_ctor_set(x_116, 0, x_114); lean_ctor_set(x_116, 1, x_115); x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_13); +lean_ctor_set(x_117, 0, x_106); lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_mk(x_117); -x_119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_2); -return x_119; +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_98); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_90); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_82); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_74); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_66); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_58); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_50); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_42); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_34); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_26); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_18); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_10); +lean_ctor_set(x_129, 1, x_128); +x_130 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__15; +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_129); +x_132 = lean_box(0); +x_133 = lean_box(0); +x_134 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__57; +lean_inc(x_131); +x_135 = l_List_forIn_x27_loop___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__6(x_131, x_132, x_133, x_134, x_131, x_131, x_134, lean_box(0)); +lean_dec(x_131); +return x_135; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___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_List_forIn_x27_loop___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_List_forIn_x27_loop___at___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__2(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__1() { @@ -6461,32 +7761,35 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { -uint8_t x_6; -x_6 = lean_usize_dec_lt(x_4, x_3); -if (x_6 == 0) +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) { -lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_4; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; -x_7 = lean_array_uget(x_5, x_4); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_5, x_4, x_8); -x_10 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__15; -lean_inc_n(x_2, 2); +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; lean_object* x_15; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22; lean_inc(x_1); -x_11 = l_Lean_Syntax_node3(x_1, x_10, x_2, x_2, x_7); -x_12 = 1; -x_13 = lean_usize_add(x_4, x_12); -x_14 = lean_array_uset(x_9, x_4, x_11); -x_4 = x_13; -x_5 = x_14; +x_10 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__23; +lean_inc(x_1); +x_12 = l_Lean_Syntax_node2(x_1, x_11, x_10, x_6); +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_15 = lean_array_uset(x_8, x_3, x_12); +x_3 = x_14; +x_4 = x_15; goto _start; } } @@ -6507,12 +7810,12 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj 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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__21; +x_9 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22; lean_inc(x_1); x_10 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_10, 0, x_1); lean_ctor_set(x_10, 1, x_9); -x_11 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22; +x_11 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__23; lean_inc(x_1); x_12 = l_Lean_Syntax_node2(x_1, x_11, x_10, x_6); x_13 = 1; @@ -6524,40 +7827,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -lean_dec(x_1); -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; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__21; -lean_inc(x_1); -x_10 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -x_11 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__22; -lean_inc(x_1); -x_12 = l_Lean_Syntax_node2(x_1, x_11, x_10, x_6); -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_15 = lean_array_uset(x_8, x_3, x_12); -x_3 = x_14; -x_4 = x_15; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -6589,27 +7859,27 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___rarg___boxed), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___rarg___boxed), 2, 0); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__1() { _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__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_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__6; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__2() { _start: { lean_object* x_1; @@ -6617,19 +7887,19 @@ x_1 = lean_mk_string_unchecked("ellipsis", 8, 8); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___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_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__23; -x_4 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__2; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1; +x_4 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__2; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__4() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__4() { _start: { lean_object* x_1; @@ -6637,7 +7907,7 @@ x_1 = lean_mk_string_unchecked("..", 2, 2); return x_1; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -6645,7 +7915,7 @@ x_11 = lean_usize_dec_lt(x_7, x_6); if (x_11 == 0) { lean_object* x_12; -lean_dec(x_2); +lean_dec(x_3); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_8); lean_ctor_set(x_12, 1, x_10); @@ -6658,33 +7928,33 @@ x_13 = lean_array_uget(x_5, x_7); x_14 = lean_ctor_get(x_9, 5); x_15 = 0; x_16 = l_Lean_SourceInfo_fromRef(x_14, x_15); -x_17 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__15; +x_17 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__8; lean_inc(x_16); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -lean_inc(x_2); -x_19 = lean_mk_syntax_ident(x_2); -x_20 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__4; +lean_inc(x_3); +x_19 = lean_mk_syntax_ident(x_3); +x_20 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__4; lean_inc(x_16); x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_16); lean_ctor_set(x_21, 1, x_20); -x_22 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__3; +x_22 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__3; lean_inc(x_16); x_23 = l_Lean_Syntax_node1(x_16, x_22, x_21); -x_24 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__12; +x_24 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; lean_inc(x_16); x_25 = l_Lean_Syntax_node1(x_16, x_24, x_23); -x_26 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25; +x_26 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3; lean_inc(x_16); x_27 = l_Lean_Syntax_node2(x_16, x_26, x_19, x_25); -x_28 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__124; +x_28 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__118; lean_inc(x_16); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_16); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__1; +x_30 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__1; lean_inc(x_16); x_31 = l_Lean_Syntax_node3(x_16, x_30, x_18, x_27, x_29); lean_inc(x_16); @@ -6699,133 +7969,114 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_7, x_6); -if (x_11 == 0) +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_8, x_7); +if (x_12 == 0) { -lean_object* x_12; -lean_dec(x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_8); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_object* x_13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_11); +return x_13; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; -x_13 = lean_array_uget(x_5, x_7); -lean_inc(x_9); -x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames(x_9, x_10); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_box(0); -x_18 = lean_array_size(x_15); -x_19 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8(x_2, x_13, x_15, x_17, x_15, x_18, x_3, x_8, x_9, x_16); +lean_object* x_14; lean_object* x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; +x_14 = lean_array_uget(x_6, x_8); +x_15 = lean_box(0); +x_16 = lean_array_size(x_1); +x_17 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7(x_1, x_3, x_14, x_15, x_1, x_16, x_4, x_9, x_10, x_11); +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 = 1; +x_21 = lean_usize_add(x_8, x_20); +x_8 = x_21; +x_9 = x_18; +x_11 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(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; lean_object* x_12; uint8_t x_13; +x_8 = lean_array_uget(x_3, x_4); +x_9 = l_Lean_Syntax_getId(x_8); +lean_dec(x_8); +x_10 = 1; +x_11 = lean_usize_add(x_4, x_10); +x_12 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* 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; uint64_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; +x_14 = lean_ctor_get(x_12, 1); +x_15 = lean_ctor_get(x_12, 0); lean_dec(x_15); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = 1; -x_23 = lean_usize_add(x_7, x_22); -x_7 = x_23; -x_8 = x_20; -x_10 = x_21; -goto _start; -} -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_array_mk(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10(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; lean_object* x_10; uint8_t x_11; -x_6 = lean_array_uget(x_1, x_2); -x_7 = l_Lean_Syntax_getId(x_6); -lean_dec(x_6); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_10 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap; -x_11 = !lean_is_exclusive(x_10); -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; lean_object* x_27; -x_12 = lean_ctor_get(x_10, 1); -x_13 = lean_ctor_get(x_10, 0); -lean_dec(x_13); -x_14 = lean_array_get_size(x_12); -x_15 = l_Lean_Name_hash___override(x_7); -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); +x_16 = lean_array_get_size(x_14); +x_17 = l_Lean_Name_hash___override(x_9); +x_18 = 32; +x_19 = lean_uint64_shift_right(x_17, x_18); +x_20 = lean_uint64_xor(x_17, x_19); +x_21 = 16; +x_22 = lean_uint64_shift_right(x_20, x_21); +x_23 = lean_uint64_xor(x_20, x_22); +x_24 = lean_uint64_to_usize(x_23); +x_25 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_26 = lean_usize_sub(x_25, x_10); +x_27 = lean_usize_land(x_24, x_26); +x_28 = lean_array_uget(x_14, x_27); lean_dec(x_14); -x_24 = lean_usize_sub(x_23, x_8); -x_25 = lean_usize_land(x_22, x_24); -x_26 = lean_array_uget(x_12, x_25); -lean_dec(x_12); -x_27 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___rarg(x_7, x_26); -lean_dec(x_26); -lean_dec(x_7); -if (lean_obj_tag(x_27) == 0) +x_29 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___rarg(x_9, x_28); +lean_dec(x_28); +lean_dec(x_9); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_28; lean_object* x_29; -lean_free_object(x_10); -x_28 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1; -x_29 = l_Array_append___rarg(x_4, x_28); -x_2 = x_9; -x_4 = x_29; +lean_object* x_30; +lean_free_object(x_12); +x_30 = l_Array_append___rarg(x_6, x_2); +x_4 = x_11; +x_6 = x_30; goto _start; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_27, 0); -lean_inc(x_31); -lean_dec(x_27); -x_32 = lean_box(0); -lean_ctor_set_tag(x_10, 1); -lean_ctor_set(x_10, 1, x_32); -lean_ctor_set(x_10, 0, x_31); -x_33 = lean_array_mk(x_10); -x_34 = l_Array_append___rarg(x_4, x_33); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_29, 0); +lean_inc(x_32); +lean_dec(x_29); +lean_inc(x_1); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 1, x_1); +lean_ctor_set(x_12, 0, x_32); +x_33 = lean_array_mk(x_12); +x_34 = l_Array_append___rarg(x_6, x_33); lean_dec(x_33); -x_2 = x_9; -x_4 = x_34; +x_4 = x_11; +x_6 = x_34; goto _start; } } else { lean_object* x_36; lean_object* 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; uint64_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_36 = lean_ctor_get(x_10, 1); +x_36 = lean_ctor_get(x_12, 1); lean_inc(x_36); -lean_dec(x_10); +lean_dec(x_12); x_37 = lean_array_get_size(x_36); -x_38 = l_Lean_Name_hash___override(x_7); +x_38 = l_Lean_Name_hash___override(x_9); x_39 = 32; x_40 = lean_uint64_shift_right(x_38, x_39); x_41 = lean_uint64_xor(x_38, x_40); @@ -6835,52 +8086,631 @@ x_44 = lean_uint64_xor(x_41, x_43); x_45 = lean_uint64_to_usize(x_44); x_46 = lean_usize_of_nat(x_37); lean_dec(x_37); -x_47 = lean_usize_sub(x_46, x_8); +x_47 = lean_usize_sub(x_46, x_10); x_48 = lean_usize_land(x_45, x_47); x_49 = lean_array_uget(x_36, x_48); lean_dec(x_36); -x_50 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___rarg(x_7, x_49); +x_50 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___rarg(x_9, x_49); lean_dec(x_49); -lean_dec(x_7); +lean_dec(x_9); if (lean_obj_tag(x_50) == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1; -x_52 = l_Array_append___rarg(x_4, x_51); -x_2 = x_9; -x_4 = x_52; +lean_object* x_51; +x_51 = l_Array_append___rarg(x_6, x_2); +x_4 = x_11; +x_6 = x_51; goto _start; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_54 = lean_ctor_get(x_50, 0); -lean_inc(x_54); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_50, 0); +lean_inc(x_53); lean_dec(x_50); -x_55 = lean_box(0); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_mk(x_56); -x_58 = l_Array_append___rarg(x_4, x_57); -lean_dec(x_57); -x_2 = x_9; -x_4 = x_58; +lean_inc(x_1); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_1); +x_55 = lean_array_mk(x_54); +x_56 = l_Array_append___rarg(x_6, x_55); +lean_dec(x_55); +x_4 = x_11; +x_6 = x_56; goto _start; } } } else { +lean_dec(x_1); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10(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; +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 2); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_array_push(x_1, x_3); +x_1 = x_5; +x_2 = x_4; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__11(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) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_5, x_4); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_6); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_array_uget(x_3, x_5); +lean_inc(x_7); +x_12 = lean_apply_2(x_11, x_7, x_8); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; +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_6, x_13); +x_16 = 1; +x_17 = lean_usize_add(x_5, x_16); +x_5 = x_17; +x_6 = x_15; +x_8 = x_14; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_7); +lean_dec(x_6); +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) +{ +return x_12; +} +else +{ +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_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_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__12(lean_object* x_1, size_t 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) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_6, x_5); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_array_uget(x_4, x_6); +x_13 = !lean_is_exclusive(x_12); +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; size_t x_20; lean_object* x_21; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_dec(x_7); +x_18 = lean_array_push(x_17, x_14); +x_19 = lean_box(0); +x_20 = lean_array_size(x_15); +lean_inc(x_8); +x_21 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__11(x_15, x_19, x_15, x_20, x_2, x_16, x_8, x_9); +lean_dec(x_15); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; size_t x_24; size_t 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); +lean_ctor_set(x_12, 1, x_18); +lean_ctor_set(x_12, 0, x_22); +x_24 = 1; +x_25 = lean_usize_add(x_6, x_24); +x_6 = x_25; +x_7 = x_12; +x_9 = x_23; +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_18); +lean_free_object(x_12); +lean_dec(x_8); +x_27 = !lean_is_exclusive(x_21); +if (x_27 == 0) +{ +return x_21; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_21, 0); +x_29 = lean_ctor_get(x_21, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_21); +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 +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; size_t x_37; lean_object* x_38; +x_31 = lean_ctor_get(x_12, 0); +x_32 = lean_ctor_get(x_12, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_12); +x_33 = lean_ctor_get(x_7, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_7, 1); +lean_inc(x_34); +lean_dec(x_7); +x_35 = lean_array_push(x_34, x_31); +x_36 = lean_box(0); +x_37 = lean_array_size(x_32); +lean_inc(x_8); +x_38 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__11(x_32, x_36, x_32, x_37, x_2, x_33, x_8, x_9); +lean_dec(x_32); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_35); +x_42 = 1; +x_43 = lean_usize_add(x_6, x_42); +x_6 = x_43; +x_7 = x_41; +x_9 = x_40; +goto _start; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_35); +lean_dec(x_8); +x_45 = lean_ctor_get(x_38, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_38, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_47 = x_38; +} else { + lean_dec_ref(x_38); + 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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__13(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_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_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10(x_4, x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ return x_4; } } } +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14___rarg(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_name_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_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__15(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) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_5, x_4); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_6); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_array_uget(x_3, x_5); +lean_inc(x_7); +x_12 = lean_apply_2(x_11, x_7, x_8); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; +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_6, x_13); +x_16 = 1; +x_17 = lean_usize_add(x_5, x_16); +x_5 = x_17; +x_6 = x_15; +x_8 = x_14; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_7); +lean_dec(x_6); +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) +{ +return x_12; +} +else +{ +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_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_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__16(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) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_6, x_5); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_array_uget(x_4, x_6); +x_13 = !lean_is_exclusive(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; uint64_t x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = l_Lean_Syntax_getId(x_12); +lean_dec(x_12); +x_17 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_array_get_size(x_18); +x_20 = l_Lean_Name_hash___override(x_16); +x_21 = 32; +x_22 = lean_uint64_shift_right(x_20, x_21); +x_23 = lean_uint64_xor(x_20, x_22); +x_24 = 16; +x_25 = lean_uint64_shift_right(x_23, x_24); +x_26 = lean_uint64_xor(x_23, x_25); +x_27 = lean_uint64_to_usize(x_26); +x_28 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_29 = 1; +x_30 = lean_usize_sub(x_28, x_29); +x_31 = lean_usize_land(x_27, x_30); +x_32 = lean_array_uget(x_18, x_31); +lean_dec(x_18); +x_33 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14___rarg(x_16, x_32); +lean_dec(x_32); +lean_dec(x_16); +if (lean_obj_tag(x_33) == 0) +{ +size_t x_34; +x_34 = lean_usize_add(x_6, x_29); +x_6 = x_34; +goto _start; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; +x_36 = lean_ctor_get(x_33, 0); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_array_push(x_15, x_37); +x_40 = lean_box(0); +x_41 = lean_array_size(x_38); +x_42 = 0; +lean_inc(x_8); +x_43 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__15(x_38, x_40, x_38, x_41, x_42, x_14, x_8, x_9); +lean_dec(x_38); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; size_t x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +lean_ctor_set(x_7, 1, x_39); +lean_ctor_set(x_7, 0, x_44); +x_46 = lean_usize_add(x_6, x_29); +x_6 = x_46; +x_9 = x_45; +goto _start; +} +else +{ +uint8_t x_48; +lean_dec(x_39); +lean_free_object(x_7); +lean_dec(x_8); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) +{ +return x_43; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_43, 0); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_43); +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; +} +} +} +} +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; uint64_t 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; size_t x_65; size_t x_66; size_t x_67; size_t x_68; size_t x_69; lean_object* x_70; lean_object* x_71; +x_52 = lean_ctor_get(x_7, 0); +x_53 = lean_ctor_get(x_7, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_7); +x_54 = l_Lean_Syntax_getId(x_12); +lean_dec(x_12); +x_55 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +x_57 = lean_array_get_size(x_56); +x_58 = l_Lean_Name_hash___override(x_54); +x_59 = 32; +x_60 = lean_uint64_shift_right(x_58, x_59); +x_61 = lean_uint64_xor(x_58, x_60); +x_62 = 16; +x_63 = lean_uint64_shift_right(x_61, x_62); +x_64 = lean_uint64_xor(x_61, x_63); +x_65 = lean_uint64_to_usize(x_64); +x_66 = lean_usize_of_nat(x_57); +lean_dec(x_57); +x_67 = 1; +x_68 = lean_usize_sub(x_66, x_67); +x_69 = lean_usize_land(x_65, x_68); +x_70 = lean_array_uget(x_56, x_69); +lean_dec(x_56); +x_71 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14___rarg(x_54, x_70); +lean_dec(x_70); +lean_dec(x_54); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; size_t x_73; +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_52); +lean_ctor_set(x_72, 1, x_53); +x_73 = lean_usize_add(x_6, x_67); +x_6 = x_73; +x_7 = x_72; +goto _start; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; size_t x_80; size_t x_81; lean_object* x_82; +x_75 = lean_ctor_get(x_71, 0); +lean_inc(x_75); +lean_dec(x_71); +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_array_push(x_53, x_76); +x_79 = lean_box(0); +x_80 = lean_array_size(x_77); +x_81 = 0; +lean_inc(x_8); +x_82 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__15(x_77, x_79, x_77, x_80, x_81, x_52, x_8, x_9); +lean_dec(x_77); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; size_t x_86; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_78); +x_86 = lean_usize_add(x_6, x_67); +x_6 = x_86; +x_7 = x_85; +x_9 = x_84; +goto _start; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_78); +lean_dec(x_8); +x_88 = lean_ctor_get(x_82, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_82, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_90 = x_82; +} else { + lean_dec_ref(x_82); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_89); +return x_91; +} +} +} +} +} +} static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("tactic_<;>_", 11, 11); +x_1 = lean_mk_string_unchecked("simp", 4, 4); return x_1; } } @@ -6900,7 +8730,7 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DH _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("simp", 4, 4); +x_1 = lean_mk_string_unchecked("discharger", 10, 10); return x_1; } } @@ -6920,41 +8750,21 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DH _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("discharger", 10, 10); +x_1 = lean_mk_string_unchecked("patternIgnore", 13, 13); return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___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_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; -x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__5; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("patternIgnore", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__8() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__7; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__9() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__7() { _start: { lean_object* x_1; @@ -6962,17 +8772,17 @@ x_1 = lean_mk_string_unchecked("token", 5, 5); return x_1; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__10() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__9; -x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__5; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__7; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__3; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__11() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__9() { _start: { lean_object* x_1; @@ -6980,23 +8790,42 @@ x_1 = lean_mk_string_unchecked(":=", 2, 2); return x_1; } } +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("withReducible", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__10; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__12() { _start: { lean_object* x_1; +x_1 = lean_mk_string_unchecked("with_reducible", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string_unchecked("only", 4, 4); return x_1; } } -static size_t _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13() { -_start: -{ -lean_object* x_1; size_t x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames; -x_2 = lean_array_size(x_1); -return x_2; -} -} static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__14() { _start: { @@ -7025,217 +8854,504 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DH _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("<;>", 3, 3); +x_1 = lean_mk_string_unchecked("tacticTry_", 10, 10); return x_1; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__17() { _start: { -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; size_t x_47; size_t x_48; lean_object* x_49; lean_object* x_50; size_t x_51; lean_object* x_52; size_t 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; size_t 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; -x_8 = lean_ctor_get(x_6, 5); -x_9 = 0; -x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); -x_11 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__15; -lean_inc(x_10); -x_12 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -x_13 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__3; -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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__12; -x_16 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; -lean_inc(x_10); -x_17 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_16); -x_18 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__12; -lean_inc(x_17); -lean_inc(x_10); -x_19 = l_Lean_Syntax_node1(x_10, x_18, x_17); -x_20 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__5; -lean_inc(x_10); -x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_10); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__10; -lean_inc(x_10); -x_23 = l_Lean_Syntax_node1(x_10, x_22, x_21); -x_24 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__8; -lean_inc(x_10); -x_25 = l_Lean_Syntax_node1(x_10, x_24, x_23); -x_26 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__11; -lean_inc(x_10); -x_27 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_27, 0, x_10); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__7; -lean_inc(x_10); -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_10); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__6; -lean_inc(x_10); -x_31 = l_Lean_Syntax_node1(x_10, x_30, x_29); -lean_inc(x_31); -lean_inc(x_10); -x_32 = l_Lean_Syntax_node1(x_10, x_15, x_31); -x_33 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__10; -lean_inc(x_10); -x_34 = l_Lean_Syntax_node1(x_10, x_33, x_32); -x_35 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__8; -lean_inc(x_10); -x_36 = l_Lean_Syntax_node1(x_10, x_35, x_34); -x_37 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__124; -lean_inc(x_10); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_10); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__6; -lean_inc(x_38); -lean_inc(x_12); -lean_inc(x_10); -x_40 = l_Lean_Syntax_node5(x_10, x_39, x_12, x_25, x_27, x_36, x_38); -lean_inc(x_10); -x_41 = l_Lean_Syntax_node1(x_10, x_15, x_40); -x_42 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__12; -lean_inc(x_10); -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_10); -lean_ctor_set(x_43, 1, x_42); -lean_inc(x_10); -x_44 = l_Lean_Syntax_node1(x_10, x_15, x_43); -x_45 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__13; -lean_inc(x_10); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_10); -lean_ctor_set(x_46, 1, x_45); -x_47 = 0; -x_48 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13; -x_49 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames; -x_50 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__1(x_48, x_47, x_49); -x_51 = lean_array_size(x_50); -x_52 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__2(x_1, x_51, x_47, x_50); -x_53 = lean_array_size(x_52); -lean_inc(x_17); -lean_inc(x_10); -x_54 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__3(x_10, x_17, x_53, x_47, x_52); -x_55 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__14; -x_56 = l_Lean_mkSepArray(x_54, x_55); -lean_dec(x_54); -x_57 = l_Array_append___rarg(x_16, x_56); -lean_dec(x_56); -x_58 = l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__16; -lean_inc(x_10); -x_59 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_59, 0, x_10); -lean_ctor_set(x_59, 1, x_58); -x_60 = lean_array_push(x_57, x_59); -x_61 = lean_array_size(x_4); -lean_inc(x_17); -lean_inc(x_10); -x_62 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(x_10, x_17, x_61, x_47, x_4); -x_63 = l_Lean_mkSepArray(x_62, x_55); -lean_dec(x_62); -x_64 = l_Array_append___rarg(x_60, x_63); -lean_dec(x_63); -lean_inc(x_10); -x_65 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_65, 0, x_10); -lean_ctor_set(x_65, 1, x_15); -lean_ctor_set(x_65, 2, x_64); -x_66 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__23; -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); -lean_inc(x_10); -x_68 = l_Lean_Syntax_node3(x_10, x_15, x_46, x_65, x_67); -x_69 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__4; -lean_inc(x_17); -lean_inc(x_10); -x_70 = l_Lean_Syntax_node6(x_10, x_69, x_14, x_19, x_41, x_44, x_68, x_17); -x_71 = l_Array_mkArray2___rarg(x_70, x_17); -x_72 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__16; -lean_inc(x_10); -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_10); -lean_ctor_set(x_73, 1, x_72); -if (lean_obj_tag(x_2) == 0) +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__3; +x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__16; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__18() { +_start: { -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; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_1); -x_74 = lean_array_size(x_3); -lean_inc(x_10); -x_75 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__5(x_10, x_74, x_47, x_3); -x_76 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15; -x_77 = l_Lean_mkSepArray(x_75, x_76); -lean_dec(x_75); -x_78 = l_Array_append___rarg(x_71, x_77); -lean_dec(x_77); -lean_inc(x_10); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_10); -lean_ctor_set(x_79, 1, x_15); -lean_ctor_set(x_79, 2, x_78); -lean_inc(x_10); -x_80 = l_Lean_Syntax_node1(x_10, x_33, x_79); -lean_inc(x_10); -x_81 = l_Lean_Syntax_node1(x_10, x_35, x_80); -x_82 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; -lean_inc(x_10); -x_83 = l_Lean_Syntax_node3(x_10, x_82, x_12, x_81, x_38); -x_84 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__2; -x_85 = l_Lean_Syntax_node3(x_10, x_84, x_83, x_73, x_31); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_7); -return x_86; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("try", 3, 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +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; 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; size_t x_55; size_t x_56; lean_object* x_57; size_t x_58; lean_object* x_59; lean_object* x_60; size_t 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; +x_9 = lean_ctor_get(x_7, 5); +x_10 = 0; +x_11 = l_Lean_SourceInfo_fromRef(x_9, x_10); +x_12 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__8; +lean_inc(x_11); +x_13 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__1; +lean_inc(x_11); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; +x_17 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; +lean_inc(x_11); +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); +x_19 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__12; +lean_inc(x_18); +lean_inc(x_11); +x_20 = l_Lean_Syntax_node1(x_11, x_19, x_18); +x_21 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__3; +lean_inc(x_11); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__8; +lean_inc(x_11); +x_24 = l_Lean_Syntax_node1(x_11, x_23, x_22); +x_25 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__6; +lean_inc(x_11); +x_26 = l_Lean_Syntax_node1(x_11, x_25, x_24); +x_27 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__9; +lean_inc(x_11); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_11); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__12; +lean_inc(x_11); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_11); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__7; +lean_inc(x_11); +x_32 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_32, 0, x_11); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__6; +lean_inc(x_11); +x_34 = l_Lean_Syntax_node1(x_11, x_33, x_32); +lean_inc(x_11); +x_35 = l_Lean_Syntax_node1(x_11, x_16, x_34); +x_36 = 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_11); +x_37 = l_Lean_Syntax_node1(x_11, x_36, x_35); +x_38 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__10; +lean_inc(x_11); +x_39 = l_Lean_Syntax_node1(x_11, x_38, x_37); +x_40 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__11; +lean_inc(x_39); +lean_inc(x_30); +lean_inc(x_11); +x_41 = l_Lean_Syntax_node2(x_11, x_40, x_30, x_39); +lean_inc(x_11); +x_42 = l_Lean_Syntax_node1(x_11, x_16, x_41); +lean_inc(x_11); +x_43 = l_Lean_Syntax_node1(x_11, x_36, x_42); +lean_inc(x_11); +x_44 = l_Lean_Syntax_node1(x_11, x_38, x_43); +x_45 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__118; +lean_inc(x_11); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_11); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__4; +lean_inc(x_46); +lean_inc(x_13); +lean_inc(x_11); +x_48 = l_Lean_Syntax_node5(x_11, x_47, x_13, x_26, x_28, x_44, x_46); +lean_inc(x_11); +x_49 = l_Lean_Syntax_node1(x_11, x_16, x_48); +x_50 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13; +lean_inc(x_11); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_11); +lean_ctor_set(x_51, 1, x_50); +lean_inc(x_11); +x_52 = l_Lean_Syntax_node1(x_11, x_16, x_51); +x_53 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__13; +lean_inc(x_11); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_11); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_array_size(x_1); +x_56 = 0; +x_57 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__1(x_55, x_56, x_1); +x_58 = lean_array_size(x_57); +x_59 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__2(x_2, x_58, x_56, x_57); +x_60 = l_Array_append___rarg(x_59, x_5); +x_61 = lean_array_size(x_60); +lean_inc(x_18); +lean_inc(x_11); +x_62 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__3(x_11, x_18, x_61, x_56, x_60); +x_63 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__14; +x_64 = l_Lean_mkSepArray(x_62, x_63); +lean_dec(x_62); +x_65 = l_Array_append___rarg(x_17, x_64); +lean_dec(x_64); +lean_inc(x_11); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_11); +lean_ctor_set(x_66, 1, x_16); +lean_ctor_set(x_66, 2, x_65); +x_67 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__23; +lean_inc(x_11); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_11); +lean_ctor_set(x_68, 1, x_67); +lean_inc(x_11); +x_69 = l_Lean_Syntax_node3(x_11, x_16, x_54, x_66, x_68); +x_70 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__2; +lean_inc(x_18); +lean_inc(x_11); +x_71 = l_Lean_Syntax_node6(x_11, x_70, x_15, x_20, x_49, x_52, x_69, x_18); +x_72 = l_Array_mkArray2___rarg(x_71, x_18); +x_73 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__119; +lean_inc(x_11); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_11); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__18; +lean_inc(x_11); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_11); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__17; +lean_inc(x_11); +x_78 = l_Lean_Syntax_node2(x_11, x_77, x_76, x_39); +lean_inc(x_11); +x_79 = l_Lean_Syntax_node1(x_11, x_16, x_78); +lean_inc(x_11); +x_80 = l_Lean_Syntax_node1(x_11, x_36, x_79); +lean_inc(x_11); +x_81 = l_Lean_Syntax_node1(x_11, x_38, x_80); +lean_inc(x_11); +x_82 = l_Lean_Syntax_node2(x_11, x_40, x_30, x_81); +if (lean_obj_tag(x_3) == 0) +{ +size_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_2); +x_83 = lean_array_size(x_4); +lean_inc(x_11); +x_84 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(x_11, x_83, x_56, x_4); +x_85 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15; +x_86 = l_Lean_mkSepArray(x_84, x_85); +lean_dec(x_84); +x_87 = l_Array_append___rarg(x_72, x_86); +lean_dec(x_86); +lean_inc(x_11); +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_11); +lean_ctor_set(x_88, 1, x_16); +lean_ctor_set(x_88, 2, x_87); +lean_inc(x_11); +x_89 = l_Lean_Syntax_node1(x_11, x_36, x_88); +lean_inc(x_11); +x_90 = l_Lean_Syntax_node1(x_11, x_38, x_89); +x_91 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__7; +lean_inc(x_11); +x_92 = l_Lean_Syntax_node3(x_11, x_91, x_13, x_90, x_46); +x_93 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__5; +x_94 = l_Lean_Syntax_node3(x_11, x_93, x_92, x_74, x_82); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_8); +return x_95; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; size_t 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_96; lean_object* x_97; lean_object* x_98; size_t 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_dec(x_4); +x_96 = lean_ctor_get(x_3, 0); +lean_inc(x_96); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_2); +x_98 = lean_array_mk(x_97); +x_99 = lean_array_size(x_98); +lean_inc(x_11); +x_100 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__5(x_11, x_99, x_56, x_98); +x_101 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15; +x_102 = l_Lean_mkSepArray(x_100, x_101); +lean_dec(x_100); +x_103 = l_Array_append___rarg(x_72, x_102); +lean_dec(x_102); +lean_inc(x_11); +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_11); +lean_ctor_set(x_104, 1, x_16); +lean_ctor_set(x_104, 2, x_103); +lean_inc(x_11); +x_105 = l_Lean_Syntax_node1(x_11, x_36, x_104); +lean_inc(x_11); +x_106 = l_Lean_Syntax_node1(x_11, x_38, x_105); +x_107 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__7; +lean_inc(x_11); +x_108 = l_Lean_Syntax_node3(x_11, x_107, x_13, x_106, x_46); +x_109 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__5; +x_110 = l_Lean_Syntax_node3(x_11, x_109, x_108, x_74, x_82); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_8); +return x_111; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___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) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +lean_inc(x_3); +x_11 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(x_6, x_1, x_2, x_3, x_3, x_10, x_8, x_9); lean_dec(x_3); -x_87 = lean_ctor_get(x_2, 0); -lean_inc(x_87); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_1); -x_89 = lean_array_mk(x_88); -x_90 = lean_array_size(x_89); -lean_inc(x_10); -x_91 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6(x_10, x_90, x_47, x_89); -x_92 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15; -x_93 = l_Lean_mkSepArray(x_91, x_92); -lean_dec(x_91); -x_94 = l_Array_append___rarg(x_71, x_93); -lean_dec(x_93); -lean_inc(x_10); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_10); -lean_ctor_set(x_95, 1, x_15); -lean_ctor_set(x_95, 2, x_94); -lean_inc(x_10); -x_96 = l_Lean_Syntax_node1(x_10, x_33, x_95); -lean_inc(x_10); -x_97 = l_Lean_Syntax_node1(x_10, x_35, x_96); -x_98 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__14; -lean_inc(x_10); -x_99 = l_Lean_Syntax_node3(x_10, x_98, x_12, x_97, x_38); -x_100 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__2; -x_101 = l_Lean_Syntax_node3(x_10, x_100, x_99, x_73, x_31); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_7); -return x_102; +return x_11; +} +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; size_t x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_4, 0); +x_13 = lean_box(0); +x_14 = l_Lean_Syntax_TSepArray_getElems___rarg(x_12); +x_15 = lean_array_get_size(x_14); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_lt(x_16, x_15); +x_18 = 0; +if (x_17 == 0) +{ +lean_object* x_27; +lean_dec(x_15); +lean_dec(x_14); +x_27 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; +x_19 = x_27; +goto block_26; +} +else +{ +uint8_t x_28; +x_28 = lean_nat_dec_le(x_15, x_15); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_15); +lean_dec(x_14); +x_29 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; +x_19 = x_29; +goto block_26; +} +else +{ +size_t x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_31 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; +lean_inc(x_1); +x_32 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(x_1, x_3, x_14, x_18, x_30, x_31); +lean_dec(x_14); +x_19 = x_32; +goto block_26; +} +} +block_26: +{ +size_t 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_array_size(x_19); +lean_inc(x_3); +x_21 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8(x_5, x_13, x_1, x_18, x_19, x_19, x_20, x_18, x_3, x_8, x_9); +lean_dec(x_19); +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_box(0); +x_25 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(x_6, x_1, x_2, x_3, x_22, x_24, x_8, x_23); +lean_dec(x_22); +return x_25; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = lean_array_get_size(x_2); +lean_dec(x_2); +return x_3; +} +} +static uint8_t _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__1; +x_3 = lean_nat_dec_lt(x_1, x_2); +return x_3; +} +} +static uint8_t _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__1; +x_2 = lean_nat_dec_le(x_1, x_1); +return x_2; +} +} +static size_t _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; size_t x_2; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__1; +x_2 = lean_usize_of_nat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___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) { +_start: +{ +uint8_t x_10; +x_10 = l_Array_isEmpty___rarg(x_6); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +lean_dec(x_8); +lean_dec(x_5); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; lean_object* x_18; uint8_t x_32; +x_13 = lean_box(0); +x_14 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_6); +x_17 = 0; +x_32 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__2; +if (x_32 == 0) +{ +lean_dec(x_15); +lean_inc(x_3); +x_18 = x_3; +goto block_31; +} +else +{ +uint8_t x_33; +x_33 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__3; +if (x_33 == 0) +{ +lean_dec(x_15); +lean_inc(x_3); +x_18 = x_3; +goto block_31; +} +else +{ +size_t x_34; lean_object* x_35; +x_34 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__4; +lean_inc(x_3); +x_35 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__13(x_15, x_17, x_34, x_3); +lean_dec(x_15); +x_18 = x_35; +goto block_31; +} +} +block_31: +{ +size_t x_19; lean_object* x_20; +x_19 = lean_array_size(x_18); +lean_inc(x_8); +x_20 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__12(x_13, x_17, x_18, x_18, x_19, x_17, x_16, x_8, x_9); +lean_dec(x_18); +if (lean_obj_tag(x_20) == 0) +{ +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_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_box(0); +x_26 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(x_1, x_2, x_3, x_4, x_23, x_24, x_25, x_8, x_22); +lean_dec(x_8); +lean_dec(x_23); +return x_26; +} +else +{ +uint8_t x_27; +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +return x_20; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_20); +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; +} +} +} +} +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__12; +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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4(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; @@ -7243,78 +9359,69 @@ x_6 = lean_box(0); if (lean_obj_tag(x_1) == 0) { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1; +x_7 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; x_8 = lean_box(0); -x_9 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(x_6, x_3, x_7, x_7, x_8, x_4, x_5); -lean_dec(x_4); +x_9 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(x_6, x_3, x_7, x_1, x_7, x_7, x_8, x_4, x_5); return x_9; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; size_t x_16; lean_object* x_17; +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; lean_object* x_17; x_10 = lean_ctor_get(x_1, 0); x_11 = lean_box(0); x_12 = l_Lean_Syntax_TSepArray_getElems___rarg(x_10); -x_13 = lean_array_get_size(x_12); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_nat_dec_lt(x_14, x_13); -x_16 = 0; -if (x_15 == 0) -{ -lean_object* x_26; -lean_dec(x_13); -lean_dec(x_12); -x_26 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; -x_17 = x_26; -goto block_25; -} -else -{ -uint8_t x_27; -x_27 = lean_nat_dec_le(x_13, x_13); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_13); -lean_dec(x_12); -x_28 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; -x_17 = x_28; -goto block_25; -} -else -{ -size_t x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_usize_of_nat(x_13); -lean_dec(x_13); -x_30 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__6; -x_31 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10(x_12, x_16, x_29, x_30); -lean_dec(x_12); -x_17 = x_31; -goto block_25; -} -} -block_25: -{ -size_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_18 = lean_array_size(x_17); -x_19 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1; +x_13 = lean_array_size(x_12); +x_14 = 0; +x_15 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__1; +x_16 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__2; lean_inc(x_4); -x_20 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(x_11, x_6, x_16, x_17, x_17, x_18, x_16, x_19, x_4, x_5); +x_17 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__16(x_11, x_15, x_12, x_12, x_13, x_14, x_16, x_4, x_5); +lean_dec(x_12); +if (lean_obj_tag(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_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_21 = lean_ctor_get(x_20, 0); +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_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); +lean_dec(x_18); +x_22 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72; x_23 = lean_box(0); -x_24 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(x_6, x_3, x_19, x_21, x_23, x_4, x_22); -lean_dec(x_4); +x_24 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(x_6, x_3, x_22, x_1, x_20, x_21, x_23, x_4, x_19); return x_24; } +else +{ +uint8_t x_25; +lean_dec(x_4); +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) +{ +return x_17; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_17, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_17); +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; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__5(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; uint8_t x_8; @@ -7346,7 +9453,7 @@ lean_dec(x_7); x_14 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_14, 0, x_13); x_15 = lean_box(0); -x_16 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(x_3, x_15, x_14, x_4, x_5); +x_16 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4(x_3, x_15, x_14, x_4, x_5); lean_dec(x_14); return x_16; } @@ -7357,7 +9464,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_dec(x_7); x_17 = lean_box(0); x_18 = lean_box(0); -x_19 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(x_3, x_18, x_17, x_4, x_5); +x_19 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4(x_3, x_18, x_17, x_4, x_5); return x_19; } } @@ -7414,7 +9521,7 @@ lean_dec(x_15); x_17 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_17, 0, x_16); x_18 = lean_box(0); -x_19 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(x_1, x_18, x_17, x_2, x_3); +x_19 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__5(x_1, x_18, x_17, x_2, x_3); lean_dec(x_17); lean_dec(x_1); return x_19; @@ -7426,7 +9533,7 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_9); x_20 = lean_box(0); x_21 = lean_box(0); -x_22 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(x_1, x_21, x_20, x_2, x_3); +x_22 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__5(x_1, x_21, x_20, x_2, x_3); lean_dec(x_1); return x_22; } @@ -7470,16 +9577,16 @@ x_8 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Da return x_8; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -size_t x_6; size_t x_7; lean_object* x_8; +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 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(x_1, x_2, x_6, x_7, x_5); -return x_8; +x_7 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(x_1, x_5, x_6, x_4); +return x_7; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -7494,29 +9601,17 @@ x_7 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Da return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6(x_1, x_5, x_6, x_4); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___rarg(x_1, x_2); +x_3 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__6___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -7524,34 +9619,82 @@ x_11 = lean_unbox_usize(x_6); lean_dec(x_6); x_12 = lean_unbox_usize(x_7); lean_dec(x_7); -x_13 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8(x_1, x_2, x_3, x_4, x_5, x_11, x_12, x_8, x_9, x_10); +x_13 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7(x_1, x_2, x_3, x_4, x_5, x_11, x_12, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; size_t x_14; lean_object* x_15; +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_14 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_15 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8(x_1, x_2, x_3, x_12, x_5, x_6, x_13, x_14, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_11 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__11(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__12___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: +{ +size_t x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_12 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_13 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__12(x_1, x_10, x_3, x_4, x_11, x_12, x_7, x_8, x_9); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); return x_13; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -size_t x_11; size_t x_12; size_t x_13; lean_object* x_14; -x_11 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_12 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_13 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_14 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(x_1, x_2, x_11, x_4, x_5, x_12, x_13, x_8, x_9, x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -7559,38 +9702,104 @@ 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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__13(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_8; -x_8 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_AssocList_getCast_x3f___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__14___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_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_4); +lean_dec(x_4); +x_10 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_11 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__15(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__16___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: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_11 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_12 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__16(x_1, x_2, x_3, x_4, x_10, x_11, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(x_1, 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_5); +lean_dec(x_4); lean_dec(x_2); -return x_8; +return x_10; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4(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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__5___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_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__5(x_1, x_2, x_3, x_4, x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -7864,16 +10073,6 @@ l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemma lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__118); l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__119 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__119(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__119); -l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__120 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__120(); -lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__120); -l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__121 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__121(); -lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__121); -l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__122 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__122(); -lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__122); -l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__123 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__123(); -lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__123); -l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__124 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__124(); -lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__124); l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__1 = _init_l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__1(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__1); l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__2 = _init_l_Std_DHashMap_Internal_Raw_u2080_tacticEmpty___closed__2(); @@ -7934,154 +10133,6 @@ l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemma lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__23); l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__24 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__24(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__24); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__1(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__1); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__2(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__2); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__3(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__3); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__4(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__4); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__5 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__5(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__5); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__6 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__6(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__6); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__7 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__7(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__7); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__8 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__8(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__8); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__9 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__9(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__9); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__10 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__10(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__10); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__11 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__11(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__11); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__12 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__12(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__12); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__13 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__13(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__13); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__14 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__14(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__14); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__15 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__15(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__15); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__16 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__16(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__16); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__17 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__17(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__17); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__18 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__18(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__18); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__19 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__19(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__19); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__20 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__20(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__20); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__21 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__21(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__21); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__22 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__22(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__22); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__23 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__23(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__23); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__24 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__24(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__24); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__25 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__25(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__25); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__26 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__26(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__26); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__27 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__27(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__27); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__28 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__28(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__28); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__29 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__29(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__29); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__30 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__30(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__30); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__31 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__31(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__31); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__32 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__32(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__32); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__33 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__33(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__33); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__34 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__34(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__34); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__35 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__35(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__35); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__36 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__36(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__36); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__37 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__37(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__37); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__38 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__38(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__38); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__39 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__39(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__39); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__40 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__40(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__40); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__41 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__41(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__41); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__42 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__42(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__42); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__43 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__43(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__43); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__44 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__44(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__44); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__45 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__45(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__45); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__46 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__46(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__46); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__47 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__47(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__47); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__48 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__48(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__48); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__49 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__49(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__49); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__50 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__50(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__50); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__51 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__51(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__51); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__52 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__52(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__52); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__53 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__53(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__53); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__54 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__54(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__54); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__55 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__55(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__55); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__56 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__56(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__56); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__57 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__57(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__57); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__58 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__58(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__58); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__59 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__59(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__59); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__60 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__60(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__60); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__61 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__61(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__61); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__62 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__62(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__62); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__63 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__63(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__63); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__64 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__64(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__64); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__65 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__65(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__65); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__66 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__66(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__66); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__67 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__67(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__67); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__68 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__68(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__68); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__69 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__69(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__69); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__70 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__70(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__70); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__71 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__71(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__71); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__72 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__72(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__72); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__73 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__73(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames___closed__73); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryNames); l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__1(); lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__1); l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap___closed__2(); @@ -8198,206 +10249,412 @@ 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_modifyMap___closed__57); l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap(); lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyMap); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__1(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__1); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__2(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__2); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__6 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__6(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__6); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__7 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__7(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__7); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__12 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__12(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__12); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__13 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__13(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__13); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__16 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__16(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__16); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__19 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__19(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__19); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__21 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__21(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__21); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__28 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__28(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__28); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__29 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__29(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__29); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__30 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__30(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__30); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__37 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__37(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__37); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__39 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__39(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__39); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__43 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__43(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__43); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__45 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__45(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__45); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__49 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__49(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__49); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__51 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__51(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__51); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__55 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__55(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__55); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__57 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__57(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__57); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__61 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__61(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__61); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__63 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__63(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__63); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__67 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__67(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__67); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__69 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__69(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__69); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72(); -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___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__77 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__77(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__77); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__78 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__78(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__78); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__79 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__79(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__79); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__80 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__80(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__80); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__81 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__81(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__81); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__82 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__82(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__82); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__83 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__83(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__83); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__84 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__84(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__84); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__85 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__85(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__85); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__86 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__86(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__86); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__87 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__87(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__87); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__88 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__88(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__88); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__89 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__89(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__89); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__90 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__90(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__90); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__91 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__91(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__91); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__92 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__92(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__92); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__93 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__93(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__93); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__94 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__94(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__94); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__95 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__95(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__95); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__96 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__96(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__96); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__97 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__97(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__97); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__98 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__98(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__98); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__99 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__99(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__99); -l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__100 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__100(); -lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__100); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__5 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__5(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__5); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__6 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__6(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__6); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__7 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__7(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__7); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__8 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__8(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__8); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__9 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__9(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__3___closed__9); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__4___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__5 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__5(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__5___closed__5); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__5 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__5(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__5); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__6 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__6(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__6); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__7 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__7(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__7); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__8 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__8(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__8); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__9); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__6___closed__10); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__7___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__8___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__9___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__10___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__11___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__12___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__13___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__14___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__15___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__16___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___lambda__17___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__1 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__1(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__1); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__2 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__2(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__2); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__3 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__3(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__3); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__4 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__4(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__4); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__5 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__5(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__5); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__6 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__6(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__6); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__7 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__7(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__7); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__8 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__8(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__8); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__9 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__9(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__9); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__10 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__10(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__10); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__11 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__11(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__11); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__12 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__12(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__12); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__13 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__13(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__13); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__14 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__14(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__14); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__15 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__15(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__15); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__16 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__16(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__16); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__17 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__17(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__17); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__18 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__18(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__18); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__19 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__19(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__19); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__20 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__20(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__20); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__21 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__21(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__21); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__22 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__22(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__22); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__23 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__23(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__23); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__24 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__24(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__24); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__25 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__25(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__25); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__26 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__26(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__26); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__27 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__27(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__27); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__28 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__28(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__28); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__29 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__29(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__29); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__30 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__30(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__30); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__31 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__31(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__31); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__32 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__32(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__32); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__33 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__33(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__33); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__34 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__34(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__34); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__35 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__35(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__35); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__36 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__36(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__36); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__37 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__37(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__37); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__38 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__38(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__38); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__39 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__39(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__39); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__40 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__40(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__40); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__41 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__41(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__41); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__42 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__42(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__42); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__43 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__43(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__43); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__44 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__44(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__44); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__45 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__45(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__45); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__46 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__46(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__46); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__47 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__47(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__47); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__48 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__48(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__48); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__49 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__49(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__49); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__50 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__50(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__50); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__51 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__51(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__51); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__52 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__52(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__52); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__53 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__53(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__53); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__54 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__54(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__54); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__55 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__55(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__55); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__56 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__56(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__56); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__57 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__57(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__57); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__58 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__58(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__58); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__59 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__59(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__59); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__60 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__60(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__60); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__61 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__61(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__61); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__62 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__62(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__62); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__63 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__63(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__63); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__64 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__64(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__64); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__65 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__65(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__65); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__66 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__66(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__66); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__67 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__67(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__67); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__68 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__68(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__68); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__69 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__69(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__69); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__70 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__70(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__70); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__71 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__71(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__71); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__72); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__73 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__73(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__73); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__74 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__74(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__74); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__75 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__75(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__75); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__76 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__76(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__76); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__77 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__77(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__77); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__78 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__78(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__78); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__79 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__79(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__79); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__80 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__80(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__80); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__81 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__81(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__81); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__82 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__82(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__82); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__83 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__83(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__83); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__84 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__84(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__84); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__85 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__85(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__85); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__86 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__86(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__86); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__87 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__87(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__87); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__88 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__88(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__88); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__89 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__89(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__89); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__90 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__90(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__90); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__91 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__91(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__91); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__92 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__92(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__92); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__93 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__93(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__93); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__94 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__94(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__94); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__95 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__95(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__95); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__96 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__96(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__96); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__97 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__97(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__97); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__98 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__98(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__98); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__99 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__99(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__99); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__100 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__100(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__100); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__101 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__101(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__101); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__102 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__102(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__102); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__103 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__103(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__103); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__104 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__104(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__104); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__105 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__105(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__105); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__106 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__106(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__106); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__107 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__107(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__107); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__108 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__108(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__108); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__109 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__109(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__109); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__110 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__110(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__110); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__111 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__111(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__111); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__112 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__112(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__112); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__113 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__113(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__113); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__114 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__114(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__114); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__115 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__115(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__115); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__116 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__116(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__116); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__117 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__117(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__117); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__118 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__118(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__118); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__119 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__119(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__119); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__120 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__120(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__120); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__121 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__121(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__121); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__122 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__122(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__122); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__123 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__123(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__123); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__124 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__124(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__124); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__125 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__125(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__125); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__126 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__126(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__126); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__127 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__127(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__127); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__128 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__128(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__128); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__129 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__129(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__129); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__130 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__130(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap___closed__130); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_queryMap); l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__1 = _init_l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__1(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__1); l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__2 = _init_l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__2(); @@ -8462,16 +10719,14 @@ l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____close lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing_____closed__31); l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing__ = _init_l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing__(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__model_x5b___x5dUsing__); -l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__8___closed__4); -l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___closed__4); l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__1 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__1(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__1); l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__2 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__2(); @@ -8497,12 +10752,26 @@ lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMa l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__12 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__12(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__12); l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__13); l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__14 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__14(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__14); l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15); l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__16 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__16(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__16); +l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__17 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__17(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__17); +l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__18 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__18(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__18); +l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__1 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__1(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__1); +l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__2 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__2(); +l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__3 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__3(); +l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__4 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3___closed__4(); +l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__1 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__1(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__1); +l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__2 = _init_l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__2(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___lambda__4___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Std/Data/DHashMap/Raw.c b/stage0/stdlib/Std/Data/DHashMap/Raw.c index c71a3fc0d5..fa8d72fbf0 100644 --- a/stage0/stdlib/Std/Data/DHashMap/Raw.c +++ b/stage0/stdlib/Std/Data/DHashMap/Raw.c @@ -16,11 +16,13 @@ extern "C" { LEAN_EXPORT lean_object* l_List_repr___at_Std_DHashMap_Raw_instRepr___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DHashMap_Raw_Const_unitOfList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_toList(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_forIn___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_Std_DHashMap_Raw_instMembershipOfBEqOfHashable(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_valuesArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_forIn___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_ofList(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_forMUncurried(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Std_DHashMap_Raw_instRepr___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_foldRevM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_forM(lean_object*, lean_object*, lean_object*); @@ -79,6 +81,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_foldRev LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_instUnionOfBEqOfHashable___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at_Std_DHashMap_Raw_keys___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Raw_filter___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_instForInSigma___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Internal_numBuckets___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_instForMSigma___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -93,6 +96,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at_Std_DHash static lean_object* l_List_repr___at_Std_DHashMap_Raw_instRepr___spec__2___rarg___closed__10; LEAN_EXPORT lean_object* l_repr___at_Std_DHashMap_Raw_instRepr___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_get_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_ofList(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at_Std_DHashMap_Raw_foldRevM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DHashMap_Raw_instRepr___spec__3___rarg___closed__7; @@ -111,6 +115,7 @@ lean_object* l_Std_DHashMap_Internal_AssocList_modify___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_foldRevM(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_get_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DHashMap_Raw_instRepr___spec__13(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_instRepr___spec__15___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_valuesArray___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Raw_filterMap___spec__1(lean_object*, lean_object*, lean_object*); @@ -131,7 +136,9 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_forI LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_foldRev___spec__3___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_filter___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_forInUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_instForMSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DHashMap_Raw_instRepr___spec__2___rarg___closed__8; LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_valuesArray___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Std_DHashMap_Raw_instRepr___spec__5(lean_object*, lean_object*); @@ -186,11 +193,13 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_alter___rarg(lean_object*, lea LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_instRepr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_containsThenInsertIfNew(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_toList___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DHashMap_Raw_instRepr___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_toArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Raw_filterMap___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_get_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_modify(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_DHashMap_Raw_instRepr___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -208,6 +217,8 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_insertManyIfNewUnit___rarg(lea LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_fold___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_toList___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_instRepr___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Std_DHashMap_Raw_instRepr___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_getKey_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DHashMap_Raw_instRepr___spec__3___rarg___closed__6; @@ -219,12 +230,14 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_keys___ LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_keys(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_valuesArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_instMembershipOfBEqOfHashable___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_values___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_getThenInsertIfNew_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_toList___spec__2___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_instForInSigma___spec__2___rarg___lambda__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_Std_DHashMap_Raw_filter___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_foldRevM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_forInUncurried(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_Const_toList___spec__3___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_Const_toList___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at_Std_DHashMap_Raw_instRepr___spec__1(lean_object*, lean_object*); @@ -232,6 +245,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Raw_map___spec LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_toArray___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_getD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_getD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_forMUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_alter(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_empty___rarg___boxed(lean_object*); static lean_object* l_List_repr___at_Std_DHashMap_Raw_instRepr___spec__2___rarg___closed__7; @@ -251,11 +265,13 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_foldRev LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_union___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_get_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_Const_toList___spec__2___rarg(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_instForMSigma(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_filter___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_foldRev___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_values___spec__2___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_instForInSigma___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_keys___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_get_x3f(lean_object*, lean_object*); static uint8_t l_Std_DHashMap_Raw_instSingletonSigmaOfBEqOfHashable___rarg___closed__2; @@ -267,6 +283,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_getKeyD___rarg___boxed(lean_object*, LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DHashMap_Raw_ofList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DHashMap_Raw_Const_ofList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_foldRevM___spec__3___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_instInhabited(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_filter___spec__2___rarg(lean_object*, size_t, size_t, lean_object*); @@ -284,6 +301,7 @@ LEAN_EXPORT lean_object* l_List_foldl___at_Std_DHashMap_Raw_instRepr___spec__19( LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Internal_numBuckets(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_valuesArray___spec__2___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_instDecidableMem(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_map(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_get___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -308,6 +326,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Std_DHashMap_Raw_foldRev___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_union___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_toArray___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_toArray___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_keysArray___rarg___boxed(lean_object*); @@ -344,6 +363,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Raw_filter___s LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_instForInSigma(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Internal_numBuckets___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_forM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_getThenInsertIfNew_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_DHashMap_Raw_instRepr___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_union___spec__2(lean_object*, lean_object*); @@ -5510,6 +5530,454 @@ x_11 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_instForInSigma___spec_ return x_11; } } +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_2, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1___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_5) == 0) +{ +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); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_7, lean_box(0), x_4); +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; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 2); +lean_inc(x_11); +lean_dec(x_5); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_10); +lean_inc(x_3); +x_14 = lean_apply_1(x_3, x_13); +x_15 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__1), 4, 3); +lean_closure_set(x_15, 0, x_1); +lean_closure_set(x_15, 1, x_3); +lean_closure_set(x_15, 2, x_11); +x_16 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_14, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1___rarg), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = 1; +x_8 = lean_usize_add(x_1, x_7); +x_9 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg(x_2, lean_box(0), x_3, x_4, x_8, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg(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) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_eq(x_5, x_6); +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_dec(x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_array_uget(x_4, x_5); +x_11 = lean_box(0); +lean_inc(x_3); +lean_inc(x_1); +x_12 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Raw_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_11, x_10); +x_13 = lean_box_usize(x_5); +x_14 = lean_box_usize(x_6); +x_15 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg___lambda__1___boxed), 6, 5); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_4); +lean_closure_set(x_15, 4, x_14); +x_16 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_12, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +lean_dec(x_3); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_apply_2(x_18, lean_box(0), x_7); +return x_19; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg___boxed), 7, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_forMUncurried___rarg(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_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_array_get_size(x_5); +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_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_box(0); +x_12 = lean_apply_2(x_10, lean_box(0), x_11); +return x_12; +} +else +{ +uint8_t x_13; +x_13 = lean_nat_dec_le(x_6, x_6); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_box(0); +x_17 = lean_apply_2(x_15, lean_box(0), x_16); +return x_17; +} +else +{ +size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; +x_18 = 0; +x_19 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_20 = lean_box(0); +x_21 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg(x_1, lean_box(0), x_3, x_5, x_18, x_19, x_20); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_forMUncurried(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DHashMap_Raw_Const_forMUncurried___rarg), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg___lambda__1(x_7, x_2, x_3, x_4, x_8, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___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, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_foldlMUnsafe_fold___at_Std_DHashMap_Raw_Const_forMUncurried___spec__2___rarg(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1___rarg___lambda__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) +{ +uint8_t x_5; +lean_dec(x_3); +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; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_7, lean_box(0), x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_9); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_4, 0); +lean_inc(x_14); +lean_dec(x_4); +x_15 = l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_2, x_3, x_14); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1___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_4) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = lean_apply_2(x_7, lean_box(0), 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; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_ctor_get(x_4, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_4, 2); +lean_inc(x_12); +lean_dec(x_4); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_11); +lean_inc(x_3); +x_15 = lean_apply_2(x_3, x_14, x_5); +x_16 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1___rarg___lambda__1), 4, 3); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_3); +lean_closure_set(x_16, 2, x_12); +x_17 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_15, x_16); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1___rarg), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_apply_2(x_11, lean_box(0), x_9); +return x_12; +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_8, 0); +lean_inc(x_13); +lean_dec(x_8); +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_16 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg(x_1, lean_box(0), x_3, x_4, x_5, x_6, x_7, x_15, x_13); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___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, size_t x_7, size_t x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_8, x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_apply_2(x_12, lean_box(0), x_9); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_array_uget(x_6, x_8); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_inc(x_3); +lean_inc(x_1); +x_16 = l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Std_DHashMap_Raw_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_14, x_9); +x_17 = lean_box_usize(x_8); +x_18 = lean_box_usize(x_7); +x_19 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg___lambda__1___boxed), 8, 7); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_17); +lean_closure_set(x_19, 2, x_3); +lean_closure_set(x_19, 3, x_4); +lean_closure_set(x_19, 4, x_5); +lean_closure_set(x_19, 5, x_6); +lean_closure_set(x_19, 6, x_18); +x_20 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_16, x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg___boxed), 9, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_forInUncurried___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; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_6 = lean_box(0); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_array_size(x_7); +x_9 = 0; +lean_inc(x_7); +x_10 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg(x_1, lean_box(0), x_3, x_6, x_7, x_7, x_8, x_9, x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Raw_Const_forInUncurried(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_DHashMap_Raw_Const_forInUncurried___rarg), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg___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) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg___lambda__1(x_1, x_9, x_3, x_4, x_5, x_6, x_10, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_12 = l_Array_forIn_x27Unsafe_loop___at_Std_DHashMap_Raw_Const_forInUncurried___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_9); +return x_12; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Raw_filterMap___spec__1___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { diff --git a/stage0/stdlib/Std/Data/DHashMap/RawLemmas.c b/stage0/stdlib/Std/Data/DHashMap/RawLemmas.c index d087079f60..b768cd782e 100644 --- a/stage0/stdlib/Std/Data/DHashMap/RawLemmas.c +++ b/stage0/stdlib/Std/Data/DHashMap/RawLemmas.c @@ -21,52 +21,36 @@ static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawL static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__69; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__34; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__140; static lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___closed__3; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__187; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__26; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__192; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__135; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__60; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__106; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__53; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__43; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__58; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__176; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__82; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__64; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__40; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__13; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__180; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing__; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__158; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__150; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__30; static lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___closed__1; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__121; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__95; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__31; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__20; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__151; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__92; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__45; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__172; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__26; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__177; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__169; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__179; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__25; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__96; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__49; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__10; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__146; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__91; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__137; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__11; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__75; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -77,13 +61,12 @@ static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Inte lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39; +static size_t l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__44; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__15; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__102; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__19; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__81; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__195; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__32; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__38; @@ -92,40 +75,29 @@ static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Inte static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__29; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__90; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__72; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__167; lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__1(size_t, size_t, lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__48; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__125; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__111; static lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__3___closed__2; -static size_t l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__147; +static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__41; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__50; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__73; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__178; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__185; static lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___closed__4; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__25; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__16; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__132; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__32; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__15; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__119; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__109; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__68; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__129; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__154; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__134; lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__33; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__39; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__105; +static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__46; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__30; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__144; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__127; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__93; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__40; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__84; @@ -133,26 +105,20 @@ static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Inte static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__14; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__42; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__188; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__3(lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__174; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__7; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__159; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__193; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__4(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__28; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__79; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__33; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__120; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__9; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__57; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__43; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__156; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__21; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__100; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__89; @@ -167,38 +133,25 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw__ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__6; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__4; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__173; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__8; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__141; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__161; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__63; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__17; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__55; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__61; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__157; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__175; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__15; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__62; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__149; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__12; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__112; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__148; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__126; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__189; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__104; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__116; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__130; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__23; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__163; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__196; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__88; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__2; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__145; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__31; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__27; @@ -206,49 +159,38 @@ static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Inte LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__86; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__3; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__133; lean_object* l_Lean_Name_mkStr6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__45; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__42; static lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__3___closed__1; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__18; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__9; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__153; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__164; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__67; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__14; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__87; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__186; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__191; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__47; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__19; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__131; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__46; -static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__162; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__143; +static size_t l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__14; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__66; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__54; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__16; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__183; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__99; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__85; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__76; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__138; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__51; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__7; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__118; static lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___closed__2; uint8_t l_Lean_Syntax_isNone(lean_object*); -static size_t l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44; +static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__24; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__21; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__5; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__59; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__128; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__103; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___closed__5; @@ -257,40 +199,26 @@ static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____clo static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__110; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__18; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__83; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__181; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__136; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__166; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__170; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__171; lean_object* lean_array_mk(lean_object*); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__56; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__155; size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__65; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__182; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__28; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__23; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); -static size_t l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34; +static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__35; +static size_t l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__47; static lean_object* l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__3; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__94; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__190; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__152; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__124; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__77; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__108; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__194; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__12; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__52; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__122; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__168; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__142; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__98; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__184; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__97; uint8_t lean_usize_dec_lt(size_t, size_t); lean_object* l_Array_mkArray2___rarg(lean_object*, lean_object*); @@ -305,17 +233,13 @@ static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Inte static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___closed__1; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__115; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__6; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__139; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__20; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__16; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__10; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__123; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__78; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__22; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__165; static lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__13; -static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__160; static lean_object* l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__74; static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1() { _start: @@ -353,41 +277,11 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Const", 5, 5); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("unitOfList_eq", 13, 13); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__6; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__8() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_unchecked("alter_eq", 8, 8); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__9() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__6() { _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; @@ -395,12 +289,20 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__8; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__10() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Const", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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; @@ -408,13 +310,13 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__8; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__11() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__9() { _start: { lean_object* x_1; @@ -422,7 +324,7 @@ x_1 = lean_mk_string_unchecked("modify_eq", 9, 9); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__12() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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; @@ -430,12 +332,12 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__11; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__9; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__13() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__11() { _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; @@ -443,21 +345,35 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__11; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__9; x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Subtype", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("eta", 3, 3); +return x_1; +} +} static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__12; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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); +x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } @@ -465,11 +381,11 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__12; +x_1 = lean_box(0); x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__14; x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -477,7 +393,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__10; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__11; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__15; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -489,7 +405,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__9; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__10; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__16; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -501,7 +417,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__8; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__17; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -512,160 +428,68 @@ return x_3; static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__19() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("insertManyIfNewUnit_eq", 22, 22); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__6; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__18; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__20() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__19; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("insertManyIfNewUnit_val", 23, 23); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__22() { -_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__21; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ofList_eq", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__23; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__25() { -_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__23; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__18; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__25; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__24; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__26; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__22; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__27; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__20; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__28; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKeyD_val", 11, 11); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__30; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__32() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_unchecked("insertMany_eq", 13, 13); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__33() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__21() { +_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__20; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("insertManyIfNewUnit_eq", 22, 22); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__23() { +_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__22; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ofList_eq", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__25() { _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; @@ -673,16 +497,112 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__32; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__24; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__26() { +_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__24; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unitOfList_eq", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__28() { +_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__27; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__19; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__28; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__26; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__29; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__25; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__30; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__23; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__31; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__21; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__32; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__34() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("insertMany_val", 14, 14); +x_1 = lean_mk_string_unchecked("getKey\?_eq", 10, 10); return x_1; } } @@ -702,100 +622,12 @@ return x_6; static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__36() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__32; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__37() { -_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__34; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__38() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__29; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__37; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__36; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__38; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__40() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__35; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__39; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__41() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__33; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__40; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__31; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__41; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__43() { -_start: -{ lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKey_val", 10, 10); +x_1 = lean_mk_string_unchecked("getKey_eq", 9, 9); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__44() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__37() { _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; @@ -803,12 +635,12 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__43; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__36; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__45() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__38() { _start: { lean_object* x_1; @@ -816,7 +648,7 @@ x_1 = lean_mk_string_unchecked("getKey!_eq", 10, 10); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__46() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__39() { _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; @@ -824,33 +656,12 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__45; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__38; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__47() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKey!_val", 11, 11); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__48() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__49() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__40() { _start: { lean_object* x_1; @@ -858,7 +669,7 @@ x_1 = lean_mk_string_unchecked("getKeyD_eq", 10, 10); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__50() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__41() { _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; @@ -866,57 +677,161 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__49; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__40; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__51() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__20; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__42; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__50; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__33; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__42; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__52() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__44() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__48; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__51; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__41; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__43; 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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__39; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__44; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__37; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__45; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__35; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__46; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__48() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getD_eq", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__48; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__50() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get\?_eq", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__51() { +_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__50; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__52() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get_eq", 6, 6); +return x_1; +} +} static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__53() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__46; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__52; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__52; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; } } static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__54() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__44; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__53; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__48; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; } } static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__55() { @@ -930,6 +845,148 @@ return x_1; static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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; lean_object* x_7; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__55; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__57() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__47; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__54; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__57; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__53; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__58; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__51; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__59; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__49; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__60; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__62() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("filter_eq", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__63() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__62; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__64() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("filterMap_eq", 12, 12); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__64; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__66() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__50; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__67() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__52; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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; x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; @@ -940,197 +997,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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__57() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get!_val", 8, 8); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__57; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__59() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKey\?_eq", 10, 10); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__60() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__61() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKey\?_val", 11, 11); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__61; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__63() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getKey_eq", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__64() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__63; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__65() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__69() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__54; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__64; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__61; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__66() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__62; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__65; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__67() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__60; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__66; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__68() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__58; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__67; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__69() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__56; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__68; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__70() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get_eq", 6, 6); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__67; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__69; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__71() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__70; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__66; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__70; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__72() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get_val", 7, 7); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__65; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__71; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__73() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__72; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__63; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__72; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__74() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("getD_eq", 7, 7); +x_1 = lean_mk_string_unchecked("getThenInsertIfNew\?_fst_eq", 26, 26); return x_1; } } @@ -1151,7 +1082,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("getD_val", 8, 8); +x_1 = lean_mk_string_unchecked("getThenInsertIfNew\?_snd_eq", 26, 26); return x_1; } } @@ -1171,102 +1102,121 @@ return x_6; static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__78() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__76; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__79() { +_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__7; +x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__74; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__80() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("map_eq", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__81() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__80; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__82() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__69; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__77; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__73; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__81; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__79() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__75; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__78; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__80() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__73; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__79; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__81() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__71; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__80; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__82() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get\?_eq", 7, 7); -return x_1; -} -} static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__83() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__82; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__79; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__82; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__84() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get\?_val", 8, 8); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__78; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__83; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__85() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__84; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__77; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__84; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__86() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__75; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__85; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__87() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("contains_eq", 11, 11); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__87() { +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__88() { _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; @@ -1274,159 +1224,140 @@ x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseN x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__86; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__87; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__88() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("contains_val", 12, 12); -return x_1; -} -} static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__89() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__88; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("containsThenInsert_fst_eq", 25, 25); +return x_1; } } static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__90() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__89; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__91() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("containsThenInsert_snd_eq", 25, 25); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__92() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__91; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__93() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("containsThenInsertIfNew_fst_eq", 30, 30); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__94() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__93; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__95() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("containsThenInsertIfNew_snd_eq", 30, 30); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__96() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__95; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__97() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__81; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__89; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__86; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__96; 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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__91() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__87; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__90; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__92() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__85; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__91; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__93() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__83; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__92; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__94() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getThenInsertIfNew\?_fst_eq", 26, 26); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__95() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__94; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__96() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getThenInsertIfNew\?_fst_val", 27, 27); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__97() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__96; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__98() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__94; -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; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__94; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__97; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__99() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__96; -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; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__92; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__98; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__100() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__93; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__90; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__99; x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } @@ -1434,7 +1365,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__98; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__88; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__100; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1445,142 +1376,117 @@ return x_3; static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__102() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__97; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__101; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("empty_eq", 8, 8); +return x_1; } } static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__103() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__95; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__102; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__102; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__104() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__72; -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("emptyc_eq", 9, 9); +return x_1; } } static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__105() { _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_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_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__74; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__104; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__106() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__76; -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("insert_eq", 9, 9); +return x_1; } } static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__107() { _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_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_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__55; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__106; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__108() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__57; -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("insertIfNew_eq", 14, 14); +return x_1; } } static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__109() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__103; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__108; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* 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_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__108; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__110() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__107; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__109; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("erase_eq", 8, 8); +return x_1; } } static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__111() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__106; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__110; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; +x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__110; +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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__112() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__105; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__101; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__111; x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -1588,7 +1494,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__104; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__109; x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__112; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1599,930 +1505,44 @@ return x_3; static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__114() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("containsThenInsertIfNew_fst_val", 31, 31); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__107; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__113; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__115() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__114; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__105; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__114; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__116() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__82; -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; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__103; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__115; +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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__117() { _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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__84; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__118() { -_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__70; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__119() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__113; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__118; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__120() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__117; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__119; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__121() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__116; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__120; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__122() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__115; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__121; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__123() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getThenInsertIfNew\?_snd_val", 27, 27); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__124() { -_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__123; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__125() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("containsThenInsert_fst_eq", 25, 25); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__126() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__125; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__127() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("containsThenInsert_fst_val", 26, 26); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__128() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__127; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__129() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("containsThenInsertIfNew_fst_eq", 30, 30); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__130() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__129; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__131() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__122; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__130; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__132() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__128; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__131; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__133() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__126; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__132; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__134() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__124; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__133; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__135() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("erase_val", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__136() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__135; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__137() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("filterMap_eq", 12, 12); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__138() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__137; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__139() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("filterMap_val", 13, 13); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__140() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__139; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__141() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("getThenInsertIfNew\?_snd_eq", 26, 26); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__142() { -_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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__5; -x_6 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__141; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__143() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__134; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__142; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__144() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__140; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__143; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__145() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__138; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__144; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__146() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__136; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__145; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__147() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("map_eq", 6, 6); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__148() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__147; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__149() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("map_val", 7, 7); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__150() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__149; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__151() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("filter_eq", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__152() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__151; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__153() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("filter_val", 10, 10); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__154() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__153; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__155() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("erase_eq", 8, 8); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__156() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__155; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__157() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__146; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__156; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__158() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__154; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__157; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__159() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__152; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__158; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__160() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__150; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__159; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__161() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__148; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__160; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__162() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("containsThenInsertIfNew_snd_eq", 30, 30); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__163() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__162; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__164() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("containsThenInsertIfNew_snd_val", 31, 31); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__165() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__164; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__166() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__141; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__167() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__123; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__168() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__161; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__167; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__169() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__166; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__168; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__170() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__165; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__169; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__171() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__163; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__170; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__172() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("insertIfNew_eq", 14, 14); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__173() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__172; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__174() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("insertIfNew_val", 15, 15); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__175() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__174; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__176() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("containsThenInsert_snd_eq", 25, 25); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__177() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__176; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__178() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("containsThenInsert_snd_val", 26, 26); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__179() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__178; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__180() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__171; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__179; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__181() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__177; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__180; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__182() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__175; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__181; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__183() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__173; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__182; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__184() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("empty_eq", 8, 8); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__185() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__184; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__186() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("emptyc_eq", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__187() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__186; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__188() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("insert_eq", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__189() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__188; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__190() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("insert_val", 10, 10); -return x_1; -} -} -static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__191() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__4; -x_5 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__190; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__192() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__183; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__191; -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_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__193() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__189; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__192; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__194() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__187; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__193; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__195() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__185; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__194; -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___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__196() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__195; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__116; x_2 = lean_array_mk(x_1); return x_2; } @@ -2531,7 +1551,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMa _start: { lean_object* x_1; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__196; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__117; return x_1; } } @@ -3157,36 +2177,35 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Raw₀", 6, 4); +x_1 = lean_mk_string_unchecked("withReducible", 13, 13); return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__28() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticWf_trivial", 16, 16); -return x_1; +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_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___closed__1; +x_2 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___closed__2; +x_3 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2___closed__3; +x_4 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__27; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___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; -x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; -x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; -x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; -x_4 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__27; -x_5 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__28; -x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("with_reducible", 14, 14); +return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__30() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("wf_trivial", 10, 10); +x_1 = lean_mk_string_unchecked("Raw₀", 6, 4); return x_1; } } @@ -3194,19 +2213,48 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(")", 1, 1); +x_1 = lean_mk_string_unchecked("tacticWf_trivial", 16, 16); return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__32() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__1; +x_2 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__2; +x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__3; +x_4 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__30; +x_5 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__31; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("wf_trivial", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(")", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("only", 4, 4); return x_1; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__33() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36() { _start: { lean_object* x_1; @@ -3214,7 +2262,7 @@ x_1 = lean_mk_string_unchecked("[", 1, 1); return x_1; } } -static size_t _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34() { +static size_t _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37() { _start: { lean_object* x_1; size_t x_2; @@ -3223,59 +2271,31 @@ x_2 = lean_array_size(x_1); return x_2; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35() { +static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38() { _start: { size_t x_1; size_t x_2; lean_object* x_3; lean_object* x_4; x_1 = 0; -x_2 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34; +x_2 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37; x_3 = l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames; x_4 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__model_x5b___x5dUsing____1___spec__1(x_2, x_1, x_3); return x_4; } } -static size_t _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36() { +static size_t _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39() { _start: { lean_object* x_1; size_t x_2; -x_1 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35; +x_1 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38; x_2 = lean_array_size(x_1); return x_2; } } -static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(",", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(2); -x_2 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("]", 1, 1); -return x_1; -} -} static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__40() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(";", 1, 1); +x_1 = lean_mk_string_unchecked(",", 1, 1); return x_1; } } @@ -3295,24 +2315,52 @@ static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("<;>", 3, 3); +x_1 = lean_mk_string_unchecked("]", 1, 1); return x_1; } } static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__43() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked(";", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__43; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__45() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("<;>", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__46() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = lean_box(0); x_2 = lean_array_mk(x_1); return x_2; } } -static size_t _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44() { +static size_t _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__47() { _start: { lean_object* x_1; size_t x_2; -x_1 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__43; +x_1 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__46; x_2 = lean_array_size(x_1); return x_2; } @@ -3320,7 +2368,7 @@ return x_2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1(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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 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; size_t x_47; lean_object* x_48; size_t x_49; lean_object* x_50; size_t 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_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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; size_t x_54; lean_object* x_55; size_t x_56; lean_object* x_57; size_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; x_5 = lean_ctor_get(x_3, 5); x_6 = 0; x_7 = l_Lean_SourceInfo_fromRef(x_5, x_6); @@ -3367,157 +2415,183 @@ lean_inc(x_7); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_7); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__30; +x_28 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__29; lean_inc(x_7); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_7); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__29; +x_30 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__33; lean_inc(x_7); -x_31 = l_Lean_Syntax_node1(x_7, x_30, x_29); -lean_inc(x_31); +x_31 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_31, 0, x_7); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__32; lean_inc(x_7); -x_32 = l_Lean_Syntax_node1(x_7, x_15, x_31); -x_33 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__9; +x_33 = l_Lean_Syntax_node1(x_7, x_32, x_31); lean_inc(x_7); -x_34 = l_Lean_Syntax_node1(x_7, x_33, x_32); -x_35 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__7; +x_34 = l_Lean_Syntax_node1(x_7, x_15, x_33); +x_35 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__9; lean_inc(x_7); x_36 = l_Lean_Syntax_node1(x_7, x_35, x_34); -x_37 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__31; +x_37 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__7; lean_inc(x_7); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_7); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__21; +x_38 = l_Lean_Syntax_node1(x_7, x_37, x_36); +x_39 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__28; lean_inc(x_38); -lean_inc(x_10); +lean_inc(x_29); lean_inc(x_7); -x_40 = l_Lean_Syntax_node5(x_7, x_39, x_10, x_25, x_27, x_36, x_38); +x_40 = l_Lean_Syntax_node2(x_7, x_39, x_29, x_38); lean_inc(x_7); x_41 = l_Lean_Syntax_node1(x_7, x_15, x_40); -x_42 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__32; lean_inc(x_7); -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_7); -lean_ctor_set(x_43, 1, x_42); +x_42 = l_Lean_Syntax_node1(x_7, x_35, x_41); lean_inc(x_7); -x_44 = l_Lean_Syntax_node1(x_7, x_15, x_43); -x_45 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__33; +x_43 = l_Lean_Syntax_node1(x_7, x_37, x_42); +x_44 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34; lean_inc(x_7); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_7); -lean_ctor_set(x_46, 1, x_45); -x_47 = 0; -x_48 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35; -x_49 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36; -x_50 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__1(x_8, x_49, x_47, x_48); -x_51 = lean_array_size(x_50); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_7); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__21; +lean_inc(x_45); +lean_inc(x_10); +lean_inc(x_7); +x_47 = l_Lean_Syntax_node5(x_7, x_46, x_10, x_25, x_27, x_43, x_45); +lean_inc(x_7); +x_48 = l_Lean_Syntax_node1(x_7, x_15, x_47); +x_49 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35; +lean_inc(x_7); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_7); +lean_ctor_set(x_50, 1, x_49); +lean_inc(x_7); +x_51 = l_Lean_Syntax_node1(x_7, x_15, x_50); +x_52 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36; +lean_inc(x_7); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_7); +lean_ctor_set(x_53, 1, x_52); +x_54 = 0; +x_55 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38; +x_56 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39; +x_57 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__1(x_8, x_56, x_54, x_55); +x_58 = lean_array_size(x_57); lean_inc(x_17); lean_inc(x_7); -x_52 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2(x_7, x_17, x_51, x_47, x_50); -x_53 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38; -x_54 = l_Lean_mkSepArray(x_52, x_53); -lean_dec(x_52); -x_55 = l_Array_append___rarg(x_16, x_54); -lean_dec(x_54); +x_59 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__2(x_7, x_17, x_58, x_54, x_57); +x_60 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__41; +x_61 = l_Lean_mkSepArray(x_59, x_60); +lean_dec(x_59); +x_62 = l_Array_append___rarg(x_16, x_61); +lean_dec(x_61); lean_inc(x_7); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_7); -lean_ctor_set(x_56, 1, x_15); -lean_ctor_set(x_56, 2, x_55); -x_57 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39; +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_7); +lean_ctor_set(x_63, 1, x_15); +lean_ctor_set(x_63, 2, x_62); +x_64 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__42; lean_inc(x_7); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_7); -lean_ctor_set(x_58, 1, x_57); +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_7); +lean_ctor_set(x_65, 1, x_64); lean_inc(x_7); -x_59 = l_Lean_Syntax_node3(x_7, x_15, x_46, x_56, x_58); -x_60 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__16; +x_66 = l_Lean_Syntax_node3(x_7, x_15, x_53, x_63, x_65); +x_67 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__16; lean_inc(x_17); lean_inc(x_7); -x_61 = l_Lean_Syntax_node6(x_7, x_60, x_14, x_19, x_41, x_44, x_59, x_17); +x_68 = l_Lean_Syntax_node6(x_7, x_67, x_14, x_19, x_48, x_51, x_66, x_17); lean_inc(x_7); -x_62 = l_Lean_Syntax_node1(x_7, x_15, x_61); +x_69 = l_Lean_Syntax_node1(x_7, x_15, x_68); lean_inc(x_7); -x_63 = l_Lean_Syntax_node1(x_7, x_33, x_62); +x_70 = l_Lean_Syntax_node1(x_7, x_35, x_69); lean_inc(x_7); -x_64 = l_Lean_Syntax_node1(x_7, x_35, x_63); -x_65 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__13; +x_71 = l_Lean_Syntax_node1(x_7, x_37, x_70); +x_72 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__13; +lean_inc(x_12); lean_inc(x_7); -x_66 = l_Lean_Syntax_node2(x_7, x_65, x_12, x_64); -x_67 = l_Array_mkArray2___rarg(x_66, x_17); -x_68 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__42; +x_73 = l_Lean_Syntax_node2(x_7, x_72, x_12, x_71); +x_74 = l_Array_mkArray2___rarg(x_73, x_17); +x_75 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__45; lean_inc(x_7); -x_69 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_69, 0, x_7); -lean_ctor_set(x_69, 1, x_68); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_7); +lean_ctor_set(x_76, 1, x_75); +lean_inc(x_7); +x_77 = l_Lean_Syntax_node2(x_7, x_72, x_12, x_38); +lean_inc(x_7); +x_78 = l_Lean_Syntax_node1(x_7, x_15, x_77); +lean_inc(x_7); +x_79 = l_Lean_Syntax_node1(x_7, x_35, x_78); +lean_inc(x_7); +x_80 = l_Lean_Syntax_node1(x_7, x_37, x_79); +lean_inc(x_7); +x_81 = l_Lean_Syntax_node2(x_7, x_39, x_29, x_80); if (lean_obj_tag(x_2) == 0) { -lean_object* x_70; size_t 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; -x_70 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__43; -x_71 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44; +lean_object* x_82; size_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_82 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__46; +x_83 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__47; lean_inc(x_7); -x_72 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__3(x_7, x_71, x_47, x_70); -x_73 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__41; -x_74 = l_Lean_mkSepArray(x_72, x_73); -lean_dec(x_72); -x_75 = l_Array_append___rarg(x_67, x_74); -lean_dec(x_74); +x_84 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__3(x_7, x_83, x_54, x_82); +x_85 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44; +x_86 = l_Lean_mkSepArray(x_84, x_85); +lean_dec(x_84); +x_87 = l_Array_append___rarg(x_74, x_86); +lean_dec(x_86); lean_inc(x_7); -x_76 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_76, 0, x_7); -lean_ctor_set(x_76, 1, x_15); -lean_ctor_set(x_76, 2, x_75); +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_7); +lean_ctor_set(x_88, 1, x_15); +lean_ctor_set(x_88, 2, x_87); lean_inc(x_7); -x_77 = l_Lean_Syntax_node1(x_7, x_33, x_76); +x_89 = l_Lean_Syntax_node1(x_7, x_35, x_88); lean_inc(x_7); -x_78 = l_Lean_Syntax_node1(x_7, x_35, x_77); -x_79 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__4; +x_90 = l_Lean_Syntax_node1(x_7, x_37, x_89); +x_91 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__4; lean_inc(x_7); -x_80 = l_Lean_Syntax_node3(x_7, x_79, x_10, x_78, x_38); -x_81 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__2; -x_82 = l_Lean_Syntax_node3(x_7, x_81, x_80, x_69, x_31); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_4); -return x_83; +x_92 = l_Lean_Syntax_node3(x_7, x_91, x_10, x_90, x_45); +x_93 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__2; +x_94 = l_Lean_Syntax_node3(x_7, x_93, x_92, x_76, x_81); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_4); +return x_95; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; size_t 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_84 = lean_ctor_get(x_2, 0); -lean_inc(x_84); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_8); -x_86 = lean_array_mk(x_85); -x_87 = lean_array_size(x_86); +lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_96 = lean_ctor_get(x_2, 0); +lean_inc(x_96); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_8); +x_98 = lean_array_mk(x_97); +x_99 = lean_array_size(x_98); lean_inc(x_7); -x_88 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__4(x_7, x_87, x_47, x_86); -x_89 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__41; -x_90 = l_Lean_mkSepArray(x_88, x_89); -lean_dec(x_88); -x_91 = l_Array_append___rarg(x_67, x_90); -lean_dec(x_90); +x_100 = l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___spec__4(x_7, x_99, x_54, x_98); +x_101 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44; +x_102 = l_Lean_mkSepArray(x_100, x_101); +lean_dec(x_100); +x_103 = l_Array_append___rarg(x_74, x_102); +lean_dec(x_102); lean_inc(x_7); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_7); -lean_ctor_set(x_92, 1, x_15); -lean_ctor_set(x_92, 2, x_91); +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_7); +lean_ctor_set(x_104, 1, x_15); +lean_ctor_set(x_104, 2, x_103); lean_inc(x_7); -x_93 = l_Lean_Syntax_node1(x_7, x_33, x_92); +x_105 = l_Lean_Syntax_node1(x_7, x_35, x_104); lean_inc(x_7); -x_94 = l_Lean_Syntax_node1(x_7, x_35, x_93); -x_95 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__4; +x_106 = l_Lean_Syntax_node1(x_7, x_37, x_105); +x_107 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__4; lean_inc(x_7); -x_96 = l_Lean_Syntax_node3(x_7, x_95, x_10, x_94, x_38); -x_97 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__2; -x_98 = l_Lean_Syntax_node3(x_7, x_97, x_96, x_69, x_31); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_4); -return x_99; +x_108 = l_Lean_Syntax_node3(x_7, x_107, x_10, x_106, x_45); +x_109 = l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__2; +x_110 = l_Lean_Syntax_node3(x_7, x_109, x_108, x_76, x_81); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_4); +return x_111; } } } @@ -3903,164 +2977,6 @@ l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames__ lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__116); l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__117 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__117(); lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__117); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__118 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__118(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__118); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__119 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__119(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__119); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__120 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__120(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__120); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__121 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__121(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__121); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__122 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__122(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__122); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__123 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__123(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__123); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__124 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__124(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__124); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__125 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__125(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__125); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__126 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__126(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__126); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__127 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__127(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__127); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__128 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__128(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__128); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__129 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__129(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__129); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__130 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__130(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__130); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__131 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__131(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__131); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__132 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__132(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__132); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__133 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__133(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__133); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__134 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__134(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__134); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__135 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__135(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__135); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__136 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__136(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__136); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__137 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__137(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__137); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__138 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__138(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__138); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__139 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__139(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__139); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__140 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__140(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__140); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__141 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__141(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__141); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__142 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__142(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__142); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__143 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__143(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__143); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__144 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__144(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__144); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__145 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__145(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__145); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__146 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__146(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__146); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__147 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__147(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__147); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__148 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__148(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__148); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__149 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__149(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__149); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__150 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__150(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__150); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__151 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__151(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__151); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__152 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__152(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__152); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__153 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__153(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__153); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__154 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__154(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__154); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__155 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__155(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__155); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__156 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__156(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__156); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__157 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__157(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__157); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__158 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__158(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__158); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__159 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__159(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__159); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__160 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__160(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__160); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__161 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__161(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__161); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__162 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__162(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__162); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__163 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__163(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__163); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__164 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__164(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__164); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__165 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__165(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__165); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__166 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__166(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__166); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__167 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__167(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__167); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__168 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__168(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__168); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__169 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__169(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__169); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__170 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__170(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__170); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__171 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__171(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__171); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__172 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__172(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__172); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__173 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__173(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__173); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__174 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__174(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__174); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__175 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__175(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__175); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__176 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__176(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__176); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__177 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__177(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__177); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__178 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__178(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__178); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__179 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__179(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__179); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__180 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__180(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__180); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__181 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__181(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__181); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__182 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__182(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__182); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__183 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__183(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__183); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__184 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__184(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__184); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__185 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__185(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__185); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__186 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__186(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__186); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__187 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__187(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__187); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__188 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__188(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__188); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__189 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__189(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__189); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__190 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__190(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__190); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__191 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__191(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__191); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__192 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__192(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__192); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__193 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__193(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__193); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__194 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__194(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__194); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__195 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__195(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__195); -l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__196 = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__196(); -lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames___closed__196); l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames = _init_l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames(); lean_mark_persistent(l___private_Std_Data_DHashMap_RawLemmas_0__Std_DHashMap_Internal_Raw_baseNames); l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__1 = _init_l_Std_DHashMap_Internal_Raw_tacticSimp__to__rawUsing_____closed__1(); @@ -4180,15 +3096,15 @@ lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__Raw l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__33 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__33(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__33); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__34); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__35); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__36); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37(); -lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__37); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__38); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39(); -lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__39); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__40 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__40(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__40); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__41 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__41(); @@ -4198,6 +3114,12 @@ lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__Raw l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__43 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__43(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__43); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__44); +l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__45 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__45(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__45); +l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__46 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__46(); +lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__46); +l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__47 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___lambda__1___closed__47(); l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___closed__1 = _init_l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___closed__1(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw___aux__Std__Data__DHashMap__RawLemmas______macroRules__Std__DHashMap__Internal__Raw__tacticSimp__to__rawUsing____1___closed__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Basic.c b/stage0/stdlib/Std/Data/DTreeMap/Basic.c index 1c562d5765..113fa62e41 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Basic.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Basic.c @@ -98,6 +98,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_get_x21___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_DTreeMap_Const_mergeBy___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6199_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toList___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_find_x21(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__16; @@ -141,6 +142,7 @@ LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Cons LEAN_EXPORT lean_object* l_Std_DTreeMap_foldr(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_DTreeMap_Const_getEntryLTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldlM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6103_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_foldr___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_fromArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -173,6 +175,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_DTreeMa LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_fromArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_isEmpty(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forMUncurried(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_values___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_getEntryGE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_insertMany___spec__1(lean_object*); @@ -217,7 +220,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_forIn___boxed(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Std_DTreeMap_getKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Const_getEntryLE_x21___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_instRepr(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_DTreeMap_maxKey_x3f___spec__1___rarg(lean_object*, lean_object*); @@ -228,7 +230,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_DT LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_modify___at_Std_DTreeMap_Const_modify___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5391_; LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_DTreeMap_minKey_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_toList___spec__1___rarg___boxed(lean_object*, lean_object*); @@ -266,10 +267,12 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGE_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter___at_Std_DTreeMap_alter___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Const_getEntryLE_x3f___spec__1(lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6003_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_DTreeMap_minKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_all___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_mergeWith___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forInUncurried(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toArray(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_forM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1(lean_object*); @@ -289,6 +292,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLE_x3f___rarg(lean_object* LEAN_EXPORT lean_object* l_Std_DTreeMap_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toArray___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_DTreeMap_getKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5638_; LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x3f___rarg(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_DTreeMap_keyAtIndex_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -296,6 +300,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx___at_Std_DTreeM LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_DTreeMap_minKeyD___spec__1(lean_object*, lean_object*); lean_object* l_panic___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Const_getEntryGE_x3f___spec__1(lean_object*); @@ -387,6 +392,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_partition___rarg(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_find_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_any___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_getKeyLED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forMUncurried___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_insertMany(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_insertManyIfNewUnit___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -403,7 +409,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_min(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Const_unitOfArray___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_getEntryLT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_forM___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_any___rarg(lean_object*, lean_object*); @@ -468,6 +473,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_instDecidableMem___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_insertMany(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toList___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_contains___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instMembership(lean_object*, lean_object*, lean_object*); @@ -498,6 +504,7 @@ static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___cl LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_insert___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6151_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndexD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -531,7 +538,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_keys___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___boxed(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_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___at_Std_DTreeMap_maxKey___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instForMSigma___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Const_ofArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -558,8 +564,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTr LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___at_Std_DTreeMap_entryAtIdx_x3f___spec__1(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__1; -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5527_; -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5892_; LEAN_EXPORT lean_object* l_Std_DTreeMap_partition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_forIn___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instForInSigma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -570,11 +574,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_DTreeMa LEAN_EXPORT lean_object* l_Std_DTreeMap_eraseMany___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_get(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_forM___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5502_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_getKeyGT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_ofArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey___at_Std_DTreeMap_minKey___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x3f(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGE_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_ofArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DTreeMap_instRepr___spec__4(lean_object*, lean_object*); @@ -620,6 +626,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_C LEAN_EXPORT lean_object* l_Std_DTreeMap_foldl___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_values___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_getThenInsertIfNew_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_keysArray___rarg___closed__1; static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_entryAtIdx_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_toArray___spec__1(lean_object*, lean_object*); @@ -638,6 +645,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_ofList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_entryAtIdxD(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DTreeMap_instRepr___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_getEntryGED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -655,6 +663,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTr lean_object* l_Std_DTreeMap_Internal_Impl_link___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__19; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forInUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_insertIfNew___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGT_x21(lean_object*); @@ -666,6 +675,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_DTreeMap_er LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___at_Std_DTreeMap_keyAtIndex_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_isEmpty___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx___at_Std_DTreeMap_Const_entryAtIdx___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -681,7 +691,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toArray___boxed(lean_object*, lean LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_DTreeMap_eraseMany___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_toArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5992_; LEAN_EXPORT lean_object* l_Std_DTreeMap_foldM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndex___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1(lean_object*, lean_object*); @@ -701,7 +710,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_C LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_partition___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__11; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTreeMap_entryAtIdxD___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6040_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGTD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_instForMSigma___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___at_Std_DTreeMap_maxKey___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -712,6 +720,7 @@ LEAN_EXPORT uint8_t l_Std_DTreeMap_contains___rarg(lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Std_DTreeMap_values___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGE_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLT_x21(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__9; @@ -799,6 +808,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_o LEAN_EXPORT lean_object* l_Std_DTreeMap_mergeBy___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_valuesArray___spec__1___rarg(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__23; +lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_insertMany___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_getThenInsertIfNew_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_contains(lean_object*, lean_object*); @@ -818,8 +828,6 @@ size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_unitOfList___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_containsThenInsert___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6088_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_modify___at_Std_DTreeMap_modify___spec__1(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_keys(lean_object*, lean_object*, lean_object*); @@ -870,6 +878,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_containsThenInsert___rarg(lean_object*, static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__13; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_getKeyGTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_fold___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_modify___at_Std_DTreeMap_Const_modify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -880,6 +889,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_D LEAN_EXPORT lean_object* l_Std_DTreeMap_revFold___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_min_x3f___rarg(lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forMUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_DTreeMap_Const_alter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_get(lean_object*, lean_object*); @@ -899,6 +909,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_find_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_getThenInsertIfNew_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_instForMSigma___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_DTreeMap_Const_mergeBy___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter___at_Std_DTreeMap_filter___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instEmptyCollection___boxed(lean_object*, lean_object*, lean_object*); @@ -948,6 +959,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGT_x3f___rarg(lean_object*, lean_o LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKey(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forInUncurried___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_containsThenInsertIfNew___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toArray___rarg(lean_object*); @@ -50969,171 +50981,6 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg___lambda__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) -{ -uint8_t x_5; -lean_dec(x_3); -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; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_apply_2(x_7, lean_box(0), x_4); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_4, 0); -lean_inc(x_9); -lean_dec(x_4); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_9); -x_13 = lean_apply_2(x_11, lean_box(0), x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_4, 0); -lean_inc(x_14); -lean_dec(x_4); -x_15 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg(x_1, x_2, x_14, x_3); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg___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) { -_start: -{ -if (lean_obj_tag(x_7) == 0) -{ -uint8_t x_8; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_apply_2(x_10, lean_box(0), x_7); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_7, 0); -lean_inc(x_12); -lean_dec(x_7); -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_12); -x_16 = lean_apply_2(x_14, lean_box(0), x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_7, 0); -lean_inc(x_17); -lean_dec(x_7); -lean_inc(x_2); -x_18 = lean_apply_3(x_2, x_3, x_4, x_17); -x_19 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg___lambda__1), 4, 3); -lean_closure_set(x_19, 0, x_1); -lean_closure_set(x_19, 1, x_2); -lean_closure_set(x_19, 2, x_5); -x_20 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_18, x_19); -return x_20; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -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; -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_4, 2); -lean_inc(x_6); -x_7 = lean_ctor_get(x_4, 3); -lean_inc(x_7); -x_8 = lean_ctor_get(x_4, 4); -lean_inc(x_8); -lean_dec(x_4); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_inc(x_2); -lean_inc(x_1); -x_10 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg(x_1, x_2, x_3, x_7); -lean_inc(x_9); -x_11 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg___lambda__2), 7, 6); -lean_closure_set(x_11, 0, x_1); -lean_closure_set(x_11, 1, x_2); -lean_closure_set(x_11, 2, x_5); -lean_closure_set(x_11, 3, x_6); -lean_closure_set(x_11, 4, x_8); -lean_closure_set(x_11, 5, x_9); -x_12 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_11); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_2); -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_3); -x_16 = lean_apply_2(x_14, lean_box(0), x_15); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg), 4, 0); -return x_5; -} -} LEAN_EXPORT lean_object* l_Std_DTreeMap_forIn___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -51158,7 +51005,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_inc(x_1); -x_6 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_forIn___spec__1___rarg(x_1, x_2, x_3, x_4); +x_6 = l_Std_DTreeMap_Internal_Impl_forInStep___rarg(x_1, x_2, x_3, x_4); x_7 = lean_alloc_closure((void*)(l_Std_DTreeMap_forIn___rarg___lambda__1), 2, 1); lean_closure_set(x_7, 0, x_1); x_8 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_7); @@ -51495,6 +51342,319 @@ lean_dec(x_3); return x_6; } } +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_2, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_2); +lean_inc(x_3); +x_9 = lean_apply_1(x_3, x_8); +x_10 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__1), 4, 3); +lean_closure_set(x_10, 0, x_4); +lean_closure_set(x_10, 1, x_3); +lean_closure_set(x_10, 2, x_5); +x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___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_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; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 3); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 4); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_1); +x_11 = l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_4, x_8); +lean_inc(x_10); +x_12 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__2___boxed), 7, 6); +lean_closure_set(x_12, 0, x_6); +lean_closure_set(x_12, 1, x_7); +lean_closure_set(x_12, 2, x_3); +lean_closure_set(x_12, 3, x_1); +lean_closure_set(x_12, 4, x_9); +lean_closure_set(x_12, 5, x_10); +x_13 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_apply_2(x_15, lean_box(0), x_4); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forMUncurried___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(0); +x_6 = l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_5, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forMUncurried(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_forMUncurried___rarg), 4, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forMUncurried___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Const_forMUncurried(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg___lambda__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) +{ +uint8_t x_5; +lean_dec(x_3); +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; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_7, lean_box(0), x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_9); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_4, 0); +lean_inc(x_14); +lean_dec(x_4); +x_15 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_2, x_14, x_3); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg___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) { +_start: +{ +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_7); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_12); +x_16 = lean_apply_2(x_14, lean_box(0), x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_7, 0); +lean_inc(x_17); +lean_dec(x_7); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_3); +lean_inc(x_4); +x_19 = lean_apply_2(x_4, x_18, x_17); +x_20 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg___lambda__1), 4, 3); +lean_closure_set(x_20, 0, x_1); +lean_closure_set(x_20, 1, x_4); +lean_closure_set(x_20, 2, x_5); +x_21 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_19, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___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_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; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 3); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 4); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_1); +x_11 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_4, x_8); +lean_inc(x_10); +x_12 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg___lambda__2), 7, 6); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_6); +lean_closure_set(x_12, 2, x_7); +lean_closure_set(x_12, 3, x_3); +lean_closure_set(x_12, 4, x_9); +lean_closure_set(x_12, 5, x_10); +x_13 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_3); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_4); +x_17 = lean_apply_2(x_15, lean_box(0), x_16); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forInUncurried___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; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_inc(x_1); +x_7 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_4, x_5); +x_8 = lean_alloc_closure((void*)(l_Std_DTreeMap_forIn___rarg___lambda__1), 2, 1); +lean_closure_set(x_8, 0, x_1); +x_9 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forInUncurried(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_forInUncurried___rarg), 5, 0); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forInUncurried___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_Std_DTreeMap_Const_forInUncurried(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} static lean_object* _init_l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_any___spec__1___rarg___closed__1() { _start: { @@ -52277,7 +52437,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5391_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5502_() { _start: { lean_object* x_1; @@ -58752,7 +58912,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5527_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5638_() { _start: { lean_object* x_1; @@ -70500,7 +70660,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5892_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6003_() { _start: { lean_object* x_1; @@ -73781,7 +73941,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5992_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6103_() { _start: { lean_object* x_1; @@ -76995,7 +77155,7 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6040_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6151_() { _start: { lean_object* x_1; @@ -80278,7 +80438,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6088_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6199_() { _start: { lean_object* x_1; @@ -106988,18 +107148,18 @@ l_Std_DTreeMap_all___rarg___closed__2 = _init_l_Std_DTreeMap_all___rarg___closed lean_mark_persistent(l_Std_DTreeMap_all___rarg___closed__2); l_Std_DTreeMap_keysArray___rarg___closed__1 = _init_l_Std_DTreeMap_keysArray___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_keysArray___rarg___closed__1); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5391_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5391_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5391_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5527_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5527_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5527_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5892_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5892_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5892_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5992_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5992_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5992_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6040_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6040_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6040_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6088_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6088_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6088_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5502_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5502_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5502_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5638_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5638_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5638_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6003_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6003_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6003_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6103_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6103_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6103_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6151_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6151_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6151_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6199_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6199_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6199_); l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__1 = _init_l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__1(); lean_mark_persistent(l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__1); l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__2 = _init_l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__2(); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Internal/Lemmas.c b/stage0/stdlib/Std/Data/DTreeMap/Internal/Lemmas.c index f96c3cabb3..6710612054 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Internal/Lemmas.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Internal/Lemmas.c @@ -47,6 +47,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Int static lean_object* l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__92; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__4; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__59; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___spec__12(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__88; @@ -84,6 +85,7 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__67; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__74; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__67; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticEmpty__1___closed__10; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__32; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___spec__10___closed__4; @@ -97,6 +99,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___priva static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__19; lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__77; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__68; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___spec__9(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__1; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__51; @@ -117,6 +120,7 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Std_Data_DTreeMap_ static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__42; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__57; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__19; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__74; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__1; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__90; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -185,6 +189,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Int static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__38; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__33; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__28; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__72; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__38; static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__26; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -227,6 +232,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Int static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticEmpty__1___closed__4; static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__17; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__49; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__61; static lean_object* l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__9; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___spec__11(lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__42; @@ -240,6 +246,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_tacticEmpty___closed__1; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__100; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__34; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__62; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__12; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__2; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__19; @@ -255,6 +262,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__69; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__66; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__75; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__60; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__75; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -287,16 +295,19 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__11; lean_object* lean_mk_syntax_ident(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticEmpty__1___closed__8; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__73; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__56; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__10; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__30; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__16; static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__9; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__71; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__29; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__97; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__76; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__63; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__7; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__58; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__11; @@ -341,6 +352,8 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__88; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__9; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__46; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__69; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__66; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__36; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__23; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__5; @@ -367,6 +380,7 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa static lean_object* l_Std_DTreeMap_Internal_Impl_tacticEmpty___closed__3; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__34; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__12; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__63; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__44; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticEmpty__1___closed__2; @@ -394,6 +408,7 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__14; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticEmpty__1___closed__20; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__47; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__65; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__82; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__33; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__82; @@ -420,6 +435,7 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__11; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__22; size_t lean_usize_add(size_t, size_t); +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__57; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__34; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__16; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__46; @@ -471,6 +487,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Int static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__46; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__23; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__64; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__29; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_congrNames___closed__36; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__15; @@ -478,6 +495,7 @@ lean_object* l_String_toSubstring_x27(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__55; static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__4; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__70; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__3; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__45; LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames; @@ -2792,156 +2810,138 @@ return x_7; static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__38() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__37; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldlM_eq_foldlM_toListModel", 28, 28); +return x_1; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__39() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__35; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__38; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__2; +x_3 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_4 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__38; +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_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__40() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__33; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__39; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldl_eq_foldl", 14, 14); +return x_1; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__41() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__31; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__40; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__2; +x_3 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_4 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__40; +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_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__42() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__29; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__41; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldrM_eq_foldrM", 16, 16); +return x_1; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__43() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__27; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__42; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__2; +x_3 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_4 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__42; +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_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__44() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__25; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__43; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("foldr_eq_foldr", 14, 14); +return x_1; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__45() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__23; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__44; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__2; +x_3 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_4 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__44; +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_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__46() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__21; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__45; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("forM_eq_forM", 12, 12); +return x_1; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__47() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__19; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__46; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__2; +x_3 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_4 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__46; +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_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__48() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__17; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__47; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("forIn_eq_forIn_toListModel", 26, 26); +return x_1; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__49() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__15; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__48; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__2; +x_3 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_4 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__48; +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_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__13; +x_1 = lean_box(0); x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__49; x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -2949,7 +2949,7 @@ static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_D _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__11; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__47; x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__50; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2961,7 +2961,7 @@ static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_D _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__8; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__45; x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__51; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2973,7 +2973,7 @@ static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_D _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__6; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__43; x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__52; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2985,7 +2985,7 @@ static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_D _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__4; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__41; x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__53; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2997,7 +2997,7 @@ static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_D _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__2; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__39; x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__54; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3008,8 +3008,224 @@ return x_3; static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__56() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__37; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__55; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__57() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__35; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__56; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__33; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__57; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__31; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__58; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__29; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__59; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__27; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__60; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__62() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__25; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__61; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__63() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__23; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__62; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__64() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__21; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__63; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__19; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__64; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__66() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__17; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__65; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__67() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__15; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__66; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__68() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__13; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__67; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__69() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__11; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__68; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__70() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__8; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__69; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__71() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__6; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__70; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__72() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__4; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__71; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__73() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__2; +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__72; +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___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__74() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__55; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__73; x_2 = lean_array_mk(x_1); return x_2; } @@ -3018,7 +3234,7 @@ static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_D _start: { lean_object* x_1; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__56; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__74; return x_1; } } @@ -7205,6 +7421,42 @@ l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_quer lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__55); l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__56 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__56(); lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__56); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__57 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__57(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__57); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__58 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__58(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__58); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__59 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__59(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__59); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__60 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__60(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__60); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__61 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__61(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__61); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__62 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__62(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__62); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__63 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__63(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__63); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__64 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__64(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__64); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__65 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__65(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__65); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__66 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__66(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__66); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__67 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__67(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__67); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__68 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__68(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__68); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__69 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__69(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__69); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__70 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__70(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__70); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__71 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__71(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__71); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__72 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__72(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__72); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__73 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__73(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__73); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__74 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__74(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames___closed__74); l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames(); lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryNames); l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__1 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__1(); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Internal/Queries.c b/stage0/stdlib/Std/Data/DTreeMap/Internal/Queries.c index f0a3ae8e19..d600d5fb22 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Internal/Queries.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Internal/Queries.c @@ -2049,7 +2049,7 @@ x_17 = lean_ctor_get(x_7, 0); lean_inc(x_17); lean_dec(x_7); lean_inc(x_2); -x_18 = lean_apply_3(x_2, x_17, x_3, x_4); +x_18 = lean_apply_3(x_2, x_3, x_4, x_17); x_19 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___rarg___lambda__1), 4, 3); lean_closure_set(x_19, 0, x_1); lean_closure_set(x_19, 1, x_2); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Internal/WF/Lemmas.c b/stage0/stdlib/Std/Data/DTreeMap/Internal/WF/Lemmas.c index 271c93b847..fe8fb16197 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Internal/WF/Lemmas.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Internal/WF/Lemmas.c @@ -16,6 +16,7 @@ extern "C" { LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_updateCell_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_contains_x27_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_Const_alter_x21_match__1_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_contains_match__2_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_link2_match__1_splitter___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_applyPartition_go_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*); @@ -41,6 +42,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_contains_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_balance_match__4_splitter(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_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_balance_match__2_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__List_forIn_x27__eq__foldlM_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_alter_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_link2_match__2_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_Const_getThenInsertIfNew_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); @@ -50,7 +52,9 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_insertMin_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_applyPartition_go_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_balance_match__1_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__List_forIn_x27__eq__foldlM_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_link2_match__2_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep__eq__foldlM_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Cell_ofOption_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_updateCell_match__2_splitter___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_link_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -82,6 +86,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_filter_match__1_splitter(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_insert_match__2_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_getThenInsertIfNew_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_updateCell_match__2_splitter(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_contains_x27_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_Internal_List_keys_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); @@ -95,6 +100,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_link2_match__3_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_link_match__1_splitter___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_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_balance_match__5_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep__eq__foldlM_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_link2_match__2_splitter___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_Internal_List_keys_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_getThenInsertIfNew_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -305,6 +311,105 @@ lean_dec(x_2); return x_4; } } +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__List_forIn_x27__eq__foldlM_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_object* x_5; +lean_dec(x_2); +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; +} +else +{ +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; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__List_forIn_x27__eq__foldlM_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__List_forIn_x27__eq__foldlM_match__1_splitter___rarg), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep_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_object* x_5; +lean_dec(x_3); +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; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +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; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep_match__1_splitter___rarg), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep__eq__foldlM_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_object* x_5; +lean_dec(x_2); +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; +} +else +{ +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; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep__eq__foldlM_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_DTreeMap_Internal_Impl_forInStep__eq__foldlM_match__1_splitter___rarg), 3, 0); +return x_3; +} +} LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_WF_Lemmas_0__Std_Internal_List_keys_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { diff --git a/stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c b/stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c index 76e8d25100..f75d4aa956 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c @@ -15,6 +15,7 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_toList___rarg(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__6___rarg(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__19; @@ -156,6 +157,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKeyD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_all(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_Const_unitOfList___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_instForMSigma___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg___closed__6; @@ -191,6 +193,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsert___spec LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forIn___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_getEntryLE_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_ofArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_find_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_Const_ofList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_modify___at_Std_DTreeMap_Raw_Const_modify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -236,7 +239,6 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_D LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_contains___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyGT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_findD___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_containsThenInsertIfNew___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instCoeWFWFInner(lean_object*, lean_object*, lean_object*, lean_object*); @@ -247,13 +249,14 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_R static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__6; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__4___rarg(lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5259_; static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertMany___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5370_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forInUncurried___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_fromArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryLT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter_x21___at_Std_DTreeMap_Raw_filter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -275,7 +278,6 @@ LEAN_EXPORT uint8_t l_Std_DTreeMap_Raw_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_insertMany(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_getD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5798_; static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_fromList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_toArray___rarg___boxed(lean_object*); @@ -289,7 +291,6 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__7(lean_ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insert___spec__4(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldlM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_getD___spec__1(lean_object*); @@ -301,6 +302,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__8___rar LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLT_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_get_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKey_x21___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertIfNew___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLE_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_fold___spec__1(lean_object*, lean_object*, lean_object*); @@ -318,13 +320,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___at_Std LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__12; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DTreeMap_Raw_instRepr___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5235_; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_isEmpty(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_revFold(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdx_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_toList___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter_x21___at_Std_DTreeMap_Raw_mergeWith___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5124_; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__7___rarg(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__26; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertMany___spec__4___rarg(lean_object*); @@ -369,6 +371,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_R LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_min_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_DTreeMap_Raw_maxKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5775_; static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_alter___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_DTreeMap_Raw_Const_get___spec__1(lean_object*); @@ -396,6 +399,7 @@ lean_object* l_Std_DTreeMap_Internal_Impl_link2_x21___rarg(lean_object*, lean_ob LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get___at_Std_DTreeMap_Raw_get___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__7; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_Raw_getKeyGE_x3f___spec__1(lean_object*, lean_object*); @@ -421,7 +425,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_DTreeMap_ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTreeMap_Raw_Const_get_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_toArray___spec__1___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_Raw_getKeyGE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___at_Std_DTreeMap_Raw_findD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTreeMap_Raw_entryAtIdxD___spec__1(lean_object*, lean_object*); @@ -448,6 +451,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_size___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_Const_unitOfList___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKey_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_Raw_getKeyLED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forMUncurried___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGT_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -464,7 +468,6 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___at_Std_DTreeMap_Raw_keyAtIndex_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_partition___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_toList___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_findD(lean_object*, lean_object*); @@ -482,6 +485,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTree LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_keys___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forMUncurried(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_DTreeMap_Raw_maxKey_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_min_x21(lean_object*); @@ -503,6 +507,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getD___rarg(lean_object*, lean LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLT_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_insertIfNew___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__4; +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5862_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_find_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_forM___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_entryAtIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -530,6 +535,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_Raw_entryAtIdx_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_ofArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Raw_instDecidableMem___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forMUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_get_x21(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -655,6 +661,7 @@ static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____clos LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_Const_ofArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instForMSigma(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5728_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_Raw_getKeyLE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_toList___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_alter___spec__2(lean_object*, lean_object*); @@ -690,6 +697,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DT static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__14; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_DTreeMap_Raw_maxKeyD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_alter___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_DTreeMap_Raw_Const_alter___spec__1(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_DTreeMap_Raw_getKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -701,6 +709,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_ofArray___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_valuesArray(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forInUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_all___rarg___lambda__1___boxed(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__7; @@ -764,6 +773,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKey_x3f___rarg(lean_object*, lean LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_getD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instSingletonSigma___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_any___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5909_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instEmptyCollection(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_unitOfArray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -848,13 +858,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeM LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_modify(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instInsertSigma___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLT_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_Const_unitOfArray___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_unitOfList___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_containsThenInsertIfNew(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKey_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5617_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x21(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__13; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_insert(lean_object*, lean_object*); @@ -882,6 +892,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__6___rarg(le LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLTD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x3f(lean_object*, lean_object*); +lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_DTreeMap_Raw_Const_get___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -955,6 +966,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGT_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_fromList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insertIfNew___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLTD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_toList(lean_object*, lean_object*, lean_object*); @@ -964,6 +976,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keysArray___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_instForMSigma___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forInUncurried(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__4(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__1; static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__5; @@ -1013,11 +1026,9 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insert___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5751_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_mergeWith___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5664_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_findD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdx_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertMany___spec__3___rarg(lean_object*); @@ -1035,6 +1046,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldrM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_values___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_any(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -56221,171 +56233,6 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg___lambda__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) -{ -uint8_t x_5; -lean_dec(x_3); -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; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_apply_2(x_7, lean_box(0), x_4); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_4, 0); -lean_inc(x_9); -lean_dec(x_4); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_9); -x_13 = lean_apply_2(x_11, lean_box(0), x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_4, 0); -lean_inc(x_14); -lean_dec(x_4); -x_15 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg(x_1, x_2, x_14, x_3); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg___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) { -_start: -{ -if (lean_obj_tag(x_7) == 0) -{ -uint8_t x_8; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_apply_2(x_10, lean_box(0), x_7); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_7, 0); -lean_inc(x_12); -lean_dec(x_7); -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_12); -x_16 = lean_apply_2(x_14, lean_box(0), x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_7, 0); -lean_inc(x_17); -lean_dec(x_7); -lean_inc(x_2); -x_18 = lean_apply_3(x_2, x_3, x_4, x_17); -x_19 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg___lambda__1), 4, 3); -lean_closure_set(x_19, 0, x_1); -lean_closure_set(x_19, 1, x_2); -lean_closure_set(x_19, 2, x_5); -x_20 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_18, x_19); -return x_20; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -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; -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_4, 2); -lean_inc(x_6); -x_7 = lean_ctor_get(x_4, 3); -lean_inc(x_7); -x_8 = lean_ctor_get(x_4, 4); -lean_inc(x_8); -lean_dec(x_4); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_inc(x_2); -lean_inc(x_1); -x_10 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg(x_1, x_2, x_3, x_7); -lean_inc(x_9); -x_11 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg___lambda__2), 7, 6); -lean_closure_set(x_11, 0, x_1); -lean_closure_set(x_11, 1, x_2); -lean_closure_set(x_11, 2, x_5); -lean_closure_set(x_11, 3, x_6); -lean_closure_set(x_11, 4, x_8); -lean_closure_set(x_11, 5, x_9); -x_12 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_11); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_2); -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_3); -x_16 = lean_apply_2(x_14, lean_box(0), x_15); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg), 4, 0); -return x_5; -} -} LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forIn___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -56410,7 +56257,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_inc(x_1); -x_6 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_forIn___spec__1___rarg(x_1, x_2, x_3, x_4); +x_6 = l_Std_DTreeMap_Internal_Impl_forInStep___rarg(x_1, x_2, x_3, x_4); x_7 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_forIn___rarg___lambda__1), 2, 1); lean_closure_set(x_7, 0, x_1); x_8 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_7); @@ -56747,6 +56594,319 @@ lean_dec(x_3); return x_6; } } +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_2, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_2); +lean_inc(x_3); +x_9 = lean_apply_1(x_3, x_8); +x_10 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__1), 4, 3); +lean_closure_set(x_10, 0, x_4); +lean_closure_set(x_10, 1, x_3); +lean_closure_set(x_10, 2, x_5); +x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___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_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; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 3); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 4); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_1); +x_11 = l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_4, x_8); +lean_inc(x_10); +x_12 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__2___boxed), 7, 6); +lean_closure_set(x_12, 0, x_6); +lean_closure_set(x_12, 1, x_7); +lean_closure_set(x_12, 2, x_3); +lean_closure_set(x_12, 3, x_1); +lean_closure_set(x_12, 4, x_9); +lean_closure_set(x_12, 5, x_10); +x_13 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_apply_2(x_15, lean_box(0), x_4); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forMUncurried___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(0); +x_6 = l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_5, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forMUncurried(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_forMUncurried___rarg), 4, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forMUncurried___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Raw_Const_forMUncurried(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg___lambda__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) +{ +uint8_t x_5; +lean_dec(x_3); +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; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_7, lean_box(0), x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_9); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_4, 0); +lean_inc(x_14); +lean_dec(x_4); +x_15 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_2, x_14, x_3); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg___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) { +_start: +{ +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_7); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_12); +x_16 = lean_apply_2(x_14, lean_box(0), x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_7, 0); +lean_inc(x_17); +lean_dec(x_7); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_3); +lean_inc(x_4); +x_19 = lean_apply_2(x_4, x_18, x_17); +x_20 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg___lambda__1), 4, 3); +lean_closure_set(x_20, 0, x_1); +lean_closure_set(x_20, 1, x_4); +lean_closure_set(x_20, 2, x_5); +x_21 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_19, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___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_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; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 3); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 4); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_1); +x_11 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_4, x_8); +lean_inc(x_10); +x_12 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg___lambda__2), 7, 6); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_6); +lean_closure_set(x_12, 2, x_7); +lean_closure_set(x_12, 3, x_3); +lean_closure_set(x_12, 4, x_9); +lean_closure_set(x_12, 5, x_10); +x_13 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_3); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_4); +x_17 = lean_apply_2(x_15, lean_box(0), x_16); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forInUncurried___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; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_inc(x_1); +x_7 = l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg(x_1, lean_box(0), x_3, x_4, x_5); +x_8 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_forIn___rarg___lambda__1), 2, 1); +lean_closure_set(x_8, 0, x_1); +x_9 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forInUncurried(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_forInUncurried___rarg), 5, 0); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forInUncurried___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_Std_DTreeMap_Raw_Const_forInUncurried(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} static lean_object* _init_l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_any___spec__1___rarg___closed__1() { _start: { @@ -57529,7 +57689,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5124_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5235_() { _start: { lean_object* x_1; @@ -64004,7 +64164,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5259_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5370_() { _start: { lean_object* x_1; @@ -76196,7 +76356,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5617_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5728_() { _start: { lean_object* x_1; @@ -79398,7 +79558,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5664_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5775_() { _start: { lean_object* x_1; @@ -82760,7 +82920,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5751_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5862_() { _start: { lean_object* x_1; @@ -85974,7 +86134,7 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5798_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5909_() { _start: { lean_object* x_1; @@ -115378,18 +115538,18 @@ l_Std_DTreeMap_Raw_all___rarg___closed__2 = _init_l_Std_DTreeMap_Raw_all___rarg_ lean_mark_persistent(l_Std_DTreeMap_Raw_all___rarg___closed__2); l_Std_DTreeMap_Raw_keysArray___rarg___closed__1 = _init_l_Std_DTreeMap_Raw_keysArray___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Raw_keysArray___rarg___closed__1); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5124_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5124_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5124_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5259_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5259_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5259_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5617_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5617_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5617_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5664_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5664_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5664_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5751_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5751_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5751_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5798_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5798_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5798_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5235_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5235_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5235_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5370_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5370_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5370_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5728_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5728_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5728_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5775_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5775_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5775_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5862_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5862_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5862_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5909_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5909_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5909_); l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__1 = _init_l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__1(); lean_mark_persistent(l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__1); l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__2 = _init_l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__2();